Custom CSG mod, CSG not showing in editor

Discussion in 'Mod Support' started by Bsport, January 9, 2015.

  1. Bsport

    Bsport Well-Known Member

    Messages:
    268
    Likes Received:
    415
    Hey guys,

    This is my first ever mod, but i'm stuck so, i've created a papa file, i've shadowed the files, added the brush image. and its all turned on. but its still not showing. This is what i have so far

    https://github.com/dan-westall/com.pa.map.custom.csg.letters

    Now the way the images of csg's are shown in the editor, leads me to believe the brush itself is not being loaded, but i cant for the life of me work out out why. I'm clearly doing something wrong but i don't know what.

    Any suggestions or suggestions for already exsiting csg server mods, i should look at would be great.

    Thanks

    bsport
  2. ishytarus

    ishytarus Member

    Messages:
    22
    Likes Received:
    27
    I loaded your papa in my mod, just to see if you figured out csg papa.
    Sadly you did not :(.
    Results:
    [​IMG]

    [​IMG]

    As you can see, your papa is not corcect for csgs.

    To load custom csg you need to add the brush to the biome. In your case it would be moon.json and probably in brush_list.json.
  3. Bsport

    Bsport Well-Known Member

    Messages:
    268
    Likes Received:
    415
    Yer i've added those

    Code:
    ...
    
    "/pa/terrain/moon/brushes/moon_ruin_01.json",
    "/pa/terrain/moon/brushes/letter_w.json",
    "/pa/terrain/mountain/brushes/mountain_crack_01.json",
    
    ...
    
    and in moon.json

    Code:
    {
          "layer": 4,
          "weight": 2,
          "weight_hard": 1,
          "threshold": 0,
          "sample_scale": 1.2,
          "bias": 1,   
          "noise_range": [
                0.3,
                0.32
          ],
          "op": "BO_Add",   
          "proj": "BP_None",
          "brush_spec": "/pa/terrain/moon/brushes/letter_w.json",
          "scale": [
                1,
                1,
                1
          ],
       "scale_variation": 0.4
    }
    
    still no luck, my plan was once i can get the csg to show in editor, then to work on getting the papa right. would you mind sharing the server mod you made for your csg so i can compare and see were i've gone wrong?
  4. ishytarus

    ishytarus Member

    Messages:
    22
    Likes Received:
    27
    I modified your modinfo.json to work with pamm, and your mod worked fine. I got it to work as a client mod. Mine is a client mod as well. Your mod places the brushse randomly with the other brushes in the moon biome. Since you have no textures they do not appear unless in csg edit mod. I would recommend trying to get the test csg in terrain/test working, since it has a correct papa. The only thing I did different in my mod was making a custom biome for my csg tests.
  5. Bsport

    Bsport Well-Known Member

    Messages:
    268
    Likes Received:
    415
    Thanks @ishytarus

    So now i just need to work out a texture, dammit i'm not a 3d model person :(
  6. piebaron

    piebaron New Member

    Messages:
    26
    Likes Received:
    9
    Hi there, I am a 3d model person, but don't know anything about PA modding, I'd like to get involved and see if its possible to make ledges to simulate levels/terracing.

Share This Page