Is there a way to mod my own category?

  • Jeerdus
    28th Feb 2013 Member 0 Permalink

    I want to make a mod which adds lot's of new elements, but it would be better if there would be more element categories (like: Explosives, Solids, Radioactive).
    So the only thing that I would like to mod is my own element category, but i don't know how?

    Can somebody help me?

  • boxmein
    28th Feb 2013 Former Staff 0 Permalink
    @Jeerdus (View Post)
    Of course there is a way. In old TPT you'd add this line into interface.h, but now that TPT has converted to C++ I'm sorry but I haven't a clue. You could try finding strings like "Solids", "Radioactive", etc in the TPT source.
  • jacob1
    1st Mar 2013 Developer 0 Permalink
    you now need to look at simulationData.h and simulationData.cpp, I just had to check. Be sure to increase SC_TOTAL by one. Also if you want to make your own icon (harder to do though), there is a wiki guide called "Adding an icon to menus"
  • firefreak11
    1st Mar 2013 Member 0 Permalink

    I can do it perfectly fine in the C version but I have no idea how to work the C++ version lol. I miss the C version :(