I'm trying to set the tmp property of particles spawned by a CRAY. At the bottom of the CRAY Wiki page there is a protip which mentions the ctype = element_id + 512 * tmp_value formula to achieve this, but whenever I try to set the CRAY's calculated ctype property with the PROP tool the CRAY's ctype gets erased and the CRAY copies it from the type of the first particle that touches it (the conductor meant to spark it).
Am I doing something wrong or has setting calculated ctype values become impossible, presumably after the introduction of the "Prevent property tool from being used with invalid values" feature in version 96.2?
I'm quite sure I understand the formula, spawning a DEUT particle (id 95) with a tmp of 100 would mean setting the CRAY's ctype to 95 + 512 * 100 = 51295 for instance.
I'm trying to set the tmp property of particles spawned by a CRAY. At the bottom of the CRAY Wiki page there is a protip which mentions the ctype = element_id + 512 * tmp_value formula to achieve this,
but whenever I try to set the CRAY's calculated ctype property with the PROP tool the CRAY's ctype gets erased and the CRAY copies it from the type of the first particle that touches it (the conductor meant to spark it).
presumably after the introduction of the "Prevent property tool from being used with invalid values" feature in version 96.2?
I'm sorry, I just rebooted and now everything works as expected.
I tested this several times before posting with new saves and after restarting the binary. I even tested once more after reading your answer, the PROP tool really erased the CRAY's ctype before the reboot, the HUD rendered it as CRAY() and sim.partProperty(1, "ctype") produced a 0 (particle 0 was the conductor).
I don't know what happened there, sorry for the inconvenience. I'll reboot before posting a possible bug the next time.
Ignore this thread please.