I heard there are ID limits for items. How many available IDs are there?

Discussion in 'Scenarios' started by Joij, Nov 21, 2020.

  1. Vermillion

    Vermillion Rear Admiral

    Joined:
    Jul 15, 2018
    Messages:
    3,262
    Likes Received:
    8,940
    A list of functional icons would help other players trying to make mods. I've been meaning to do it myself, but don't have the time.
     
    #21
    ravien_ff likes this.
  2. El_Globo

    El_Globo Commander

    Joined:
    Jul 2, 2020
    Messages:
    129
    Likes Received:
    66
    Hello,
    I'm a bit confused...
    I'm starting to play around with ecf modding, and juste managed to modify what I wanted (with your help through forums).
    As you certainly did a thousand times, I'm now trying to ADD NEW objects, and encounterd the classic error No item/block with name 'ShieldGeneratorCVT3'.
    1) I first tried to make a new block with an ID > as 2008, as I scrolled to the end of the blockConfig.ecf, and it made this error.
    2) Than I checked the forums and found your comments about the non existing new blocks ID.
    3) I just replaced my new block with the Block Id: 568, Name: SentryGun04 and it worked, despite the fact that there's no icon picture in the tech tree. I wonder why because I just copied and edited the existing V2 CV Shield.
    4) But you said that we shouldn't use existing numbers,and I get it.
    5) Than I found there : https://empyriononline.com/threads/v1-4.97023/ that the V1.4 gave modders 2048 new free-to-use Block IDs!

    Is there somewhere a updated or simply existing list of free available blocks and items ID that we can use ?
    I didn't opened all the files, but in Project Eden / reforged, it looks like that there are new entries...

    I don't want to reinvent the wheel, but I'd like a new Tiers 3 shield, I already enabled medium and heavy armors to build (which are EXISTING IDs items) and I'd like to enable armors boosts to build....

    I don't want to go too far into the modding, but just editing the block, item, template and
    Eclassconfig should be enough for me.
    Surely you already did it, but it's a little messy to search through all these posts, all thee files...

    Edit : I found a Vermillion answer here : https://empyriononline.com/threads/adding-to-blocks-config.96509/
    I'll give a try to ID 135 to 255 but it doesn't looks like a proper manner....
    It works, but I'm still missing the icon picture on the block tree and block in H list

    Thank you !
     
    #22
    Last edited: Apr 18, 2021
  3. Vermillion

    Vermillion Rear Admiral

    Joined:
    Jul 15, 2018
    Messages:
    3,262
    Likes Received:
    8,940
    You can use one of the new block IDs with just: "Block Name: ShieldGeneratorCVT3" with no ID number and it'll use one of the unassigned 2048+ IDs.
    To assign an icon you need to either add an icon to SharedData/Content/Bundles/ItemIcons or use CustomIcon: block or item name here on the block's config to manually assign an icon. If the icon you add to the ItemIcons has the same name as the block name, it will automatically use that icon without needing it manually assigned.
     
    #23
    El_Globo likes this.
  4. El_Globo

    El_Globo Commander

    Joined:
    Jul 2, 2020
    Messages:
    129
    Likes Received:
    66
    Well, thank you so much !

    Is it the same way for new items ID ?
     
    #24
  5. Vermillion

    Vermillion Rear Admiral

    Joined:
    Jul 15, 2018
    Messages:
    3,262
    Likes Received:
    8,940
    No.
    Items have a higher max ID count, but you need to specify the ID for them. I think the max for items is 4096, so anything over 2100 should be free.
     
    #25
  6. El_Globo

    El_Globo Commander

    Joined:
    Jul 2, 2020
    Messages:
    129
    Likes Received:
    66
    Thank you once again Vermillion.
     
    #26

Share This Page