Item ID

Discussion in 'General Discussion' started by Treeost, Dec 30, 2020.

  1. Treeost

    Treeost Ensign

    Joined:
    Aug 1, 2020
    Messages:
    19
    Likes Received:
    4
    Did ID's change?

    I had a change in my config.ecf

    { Item Id: 2071 Name: Chainsaw
    }
    Everything still works fine to changes I make to the above

    But I notice now there is no longer an Item Id: 2071 exccept in the config_example

    There is in the itemsconfig
    { +Item Id: 23, Name: Chainsaw
    }

    Yet if I change my config file to
    { +Item Id: 23, Name: Chainsaw
    }
    The game does not function. What am I missing here?
     
    #1
  2. You can't use the item id #'s from the ItemsConfig.ecf in the Config.ecf.
    ItemsConfig.ecf is only items (and not also blocks and everything else in Config.ecf) so the item id #'s are completely different.

    You have to use the item id #'s from the Config_Example.ecf in your Config.ecf file. You can't use item id numbers from any other file.

    Everything should still work as it did before (and is still working just fine for me).
    Without going through your Config.ecf file line to line it is impossible to say where you have an error.
    You must have an error somewhere, like incorrect version number, or a syntax issue you caused.
     
    #2
    Treeost and SylenThunder like this.
  3. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,274
    Likes Received:
    11,936
    Config.ecf should really only contain your changed entries and not the entire example file.
     
    #3
    zaphodikus and SylenThunder like this.
  4. Treeost

    Treeost Ensign

    Joined:
    Aug 1, 2020
    Messages:
    19
    Likes Received:
    4
    Thanks, yeah config.ecf only has my few changes in it. Been a while since I messed around with this and because of the 2 different ID's I could not remember if it had always been the case. I had gotten the ID's from the config_example but this time as it has been a long time I checked the itemsconfig and noticed the difference and just wanted to be sure is all.
     
    #4
  5. zaphodikus

    zaphodikus Captain

    Joined:
    Oct 1, 2016
    Messages:
    471
    Likes Received:
    229
    I pop my files into a github repo. Makes remembering what you did and when much easier.

    The devs finally fixed it fully, so that "scenarios" can be packaged in their own folder tree, which makes hacking much safer.
     
    #5

Share This Page