Modding Help Custom NPC Help

Discussion in 'Starbound Modding' started by poinstang, Jul 2, 2015.

  1. poinstang

    poinstang Yeah, You!

    Question: Does anyone know what to do to make a custom NPC the new way?

    I have been following this tutorial to make a custom NPC:



    I realize it is outdated, but after following it I feel like it could still apply with a few changes?

    I did everything exactly the same, except I read that the __merge does not work anymore, so I tried to make the patch file for player.config?

    This is what it is.

    Code:
    [ {"op":"add","path":"/defaultBlueprints/tier1/-","value":{"item":"spawnerreceptionist"} } ]
    And this is the error I get :

    [​IMG]


    Thanks for your help
     
  2. Kayuko

    Kayuko Oxygen Tank

    That's got nothing to with comatibility or the sorts of it.
    It's a simply syntax error.
    Validate all your Json files here.
     
    RatixFarrence likes this.
  3. poinstang

    poinstang Yeah, You!

    I tried validating all of the files I made, and it gives an error where comments are. These were copied directly from the assets folder and the errors it gives are things that I did not make or change. I still cannot find the problem. This is my first attempt at modding anything in starbound
     
  4. Kayuko

    Kayuko Oxygen Tank

    You need to remove comments - Json interpreters can't read comments.
    Just delete everything after // and scan it again.
    Alternatively you can just check the log and it'll say Which line, which character in this line and what's expected instead of the thing that's there.
     
    Last edited: Jul 3, 2015
    Relten likes this.

Share This Page