problem setting temparature

  • tommig
    18th Mar 2011 Member 0 Permalink
    hello (again!)
    In coding and element for my mod, I seem to have some trouble setting the spawn temp for my particle, I've checked, double checked, and copied code from other particles, yet can't seem to stop it from spawning at -273.15C
    here is the section of offending code
    R_TEMP+0.0f +273.15f, 40, "Hydrazine(N2H4), rocket fuel", ST_NONE, TYPE_LIQUID|PROP_LIFE, NULL},
  • jacksonmj
    18th Mar 2011 Developer 0 Permalink
    The problem is probably PROP_LIFE. This flag causes TPT to treat the element as a life element and so decrease the temperature by 50 on each frame.
  • tommig
    18th Mar 2011 Member 0 Permalink
    done!
    thamks again
  • snowfire777
    18th Mar 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • PizzaPlatypus
    18th Mar 2011 Member 0 Permalink
    @snowfire777
    Yes, we all know that already (sorry if that sounded harsh)