Solved How do i write an info.json file for configurations?

Discussion in 'Mod Support' started by Raptor717, Aug 1, 2017.

  1. Raptor717

    Raptor717
    Expand Collapse

    Joined:
    Jun 16, 2017
    Messages:
    31
    I'm currently working on some configs for myself that may or may not be released, and I was wondering how to write an info.json file. I haven't seen this anywhere on the wiki so I figured this would be the best place to ask.
     
  2. KaiserimnopYT

    KaiserimnopYT
    Expand Collapse

    Joined:
    Oct 9, 2016
    Messages:
    3,960
    Argh give me ur mod in pm and i Will do it
     
  3. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    The good news for you is that they are fairly simple :)

    info.json = Some metadata about your car such as body style, name, author and all availible stock paint colours.
    info_[varient of vehicle].json = Some metadata about a particular variant, such as vehicle cost, drivetrain etc.

    Just open any of the official vehicles, copy their info.json file to your own mod and change the values (in any text editor) to be suitable for your car. Same goes for the variant json files.
     
    • Like Like x 2
  4. Raptor717

    Raptor717
    Expand Collapse

    Joined:
    Jun 16, 2017
    Messages:
    31
    Thank you!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice