Modding Help [Solved] How can i add npcs in the outpost?

Discussion in 'Starbound Modding' started by the_sky_l0rd, Jul 29, 2016.

  1. the_sky_l0rd

    the_sky_l0rd Void-Bound Voyager

    I'm trying to make a mod that adds npcs to the outpost, i was able to add them in the previous version (glad giraffe) but since the outpost files have changed i can't find how to add them.
    here is the oupost_full.json.patch i've made to add my npc in the npcs and monsters array, but i cant find my npc in the outpost, also i haven't found anything related to my mod in the starbound.log file.



    Code:
    [
    {
      "op":"add",
      "path":"/layers/5/objects/-",
      "value":{
                     "height":8,
                     "id":404,
                     "name":"",
                     "properties":
                        {
                         "npc":"human",
                         "typeName":"sky_custom_npc"
                        },
                     "rotation":0,
                     "type":"",
                     "visible":true,
                     "width":8,
                     "x": 2753,
                     "y": 992
                    }
       }
       ]
    
     
  2. NeoslayerX

    NeoslayerX Big Damn Hero

    maybe you can type /admin
    then type /spawnnpc (race) (Villager / Guard / etc) and lastly, their level.
    But it may be different because you're making a mod..
     
  3. Homyk

    Homyk Astral Cartographer

    do you like to do mods?
     
  4. the_sky_l0rd

    the_sky_l0rd Void-Bound Voyager

    thanks for your answer NeoslayerX, i've already fixed it 3 days ago it was my .npctype file who was broken (as i couldn't spawn them throught the admin command).
     

Share This Page