My elements are disappearing!

  • DeathHammer000
    25th May 2014 Member 0 Permalink

    I have now psted four threads in this discussion relating to my difficulties in modding TPT - first compiling, then getting my elements to change. It seems that after two replies are made, I have to make a new thread.

     

    My problems, however are ongoing. My elements are meant to change and yet they are disappearing. BANG should turn into BBNG when touching EXOT. BBNG should turn into MBNG when in contact with NEUT.

     

    BANG: http://pastebin.com/XY4a4XnZ

    BBNG: http://pastebin.com/k1hD9zGe

     

    I also want to use a case-reaction system. A modder called nucular has already done this (https://github.com/nucular/The-Powder-Toy-nuculars-mod/blob/master/src/simulation/elements/RVRS.cpp).

     

    I used a similar system and I got all manner of errors (don't have time to test it with this, so no pastebin). How can I fix the above bugs and use the above system?

  • GreenFireDragon
    25th May 2014 Member 0 Permalink

    Creating BBNG from BANG works, it's only 1 layer and something that might help, do not check for NEUT in BBNG, check for BBNG in NEUT, that worked for me

  • DeathHammer000
    25th May 2014 Member 0 Permalink

    @GreenFireDragon (View Post)

     

    Tried this using code within the NEUT.cpp file and BBNG isn't changing into MBNG - in fact, nothing at all. Tried something similar with EXOT and BANG, but BANG is still disappearing.

  • GreenFireDragon
    25th May 2014 Member 0 Permalink

    Can you send me the full source, not only this files?