Element not appearing!

  • tommig
    8th Jun 2011 Member 0 Permalink
    Hi again!
    I'm working on and element, a gas, for my mod, but I've come across a problem: every time i place my element, it dissapears instantly. i assume my mistake is in powder.h, so here is my code:
    {"HCL", PIXPACK(0xE01B4C), 1.0f, 0.04f * CFDS, 0.90f, 0.50f, -0.1f, 0.0f, 1.00f, 0.000f * CFDS, 0, 0, 0, 0, 0, 1, 1, SC_GAS, R_TEMP+5.0f +273.15f, 33, "Hydrogen chloride gas, dissolve in water for acid", ST_GAS, TYPE_GAS, &update_HCL},
    Anyone know what is wrong?
    Thanks
    Tommig
  • Pilihp64
    8th Jun 2011 Developer 0 Permalink
    Do you have an entry for it in the state change part below? Even if no changes, just copy a blank line from GoL or something.
  • tommig
    8th Jun 2011 Member 0 Permalink
    Oops! I guess that's what happens when you haven't modded for 2 months!
  • ecalnad
    8th Jun 2011 Member 0 Permalink
    it could also be the color, what color is it if its black like the screen, poof it seams to disappear.



    GAAAA i hate you all, am i the only one who know's nothing of programing!?
  • pilojo
    8th Jun 2011 Member 0 Permalink
    @ecalnad (View Post) black would be PIXPACK(0x000000) also, no, just the ones that know are responding to this.