How to put new elements in the game

  • GAPDaTsar
    1st Sep 2011 Member 3 Permalink
    I already know how to program elements into the game but when every time I try to add a new element to the powder toy it never shows up in the menu at at all! I want my elements to load in the game. How do I prevent this weird thing from happening? Can someone respond to me!
  • Neospector
    1st Sep 2011 Member 2 Permalink
    Does the M variable equal 1 or 0? Set it to 1
    The section should be prefixed SC_ and should be one of the menus, such as SC_SOLID
  • GAPDaTsar
    1st Sep 2011 Member 0 Permalink
    I tried that Neospector I typed in a one and I typed in the catagory it should be in and it never showed up in the powder toy. Hello? How do you solve this problem?
  • jenn4
    1st Sep 2011 Member 1 Permalink
    you need all three lines to show it: including, properties and transistions
  • TheTempest
    1st Sep 2011 Member 0 Permalink
    I had the same problem one time, after @Devast8a temporarily had my compiling straight, I never could figure it out :/ I had all the lines, and m variable was 1 :/ Good luck mate.
  • jenn4
    1st Sep 2011 Member 0 Permalink
    maybe your numbers went wrong. When you add new element others number below it should increase by one. If is there is this #define PT_NUM 150 and add new element before it then its
    #define PT_LOL 14
    #define PT_NUM 15
  • TheTempest
    1st Sep 2011 Member 0 Permalink
    Doubt it, my numbers were correct. Hell, I had at least 4 users check my lines, I eventually just gave up on my Mod.
  • jenn4
    1st Sep 2011 Member 0 Permalink
    then i dont know. Maybe there is error what prevents tpt compile what you havent notice
  • vanquish349
    1st Sep 2011 Member 0 Permalink
    are you compling it, or are you just running the official version
  • ozziene
    1st Sep 2011 Member 0 Permalink
    0
    1
    sc_solid