Data Realms Fan Forums http://45.55.195.193/ |
|
Advice needed http://45.55.195.193/viewtopic.php?f=1&t=8585 |
Page 1 of 1 |
Author: | blipflip [ Sun Nov 18, 2007 12:00 pm ] |
Post subject: | Advice needed |
So I need to make a rocket that spawns with the hatches open, and always releases cargo on death. Is that even possible? Don't bother to make multiple posts saying no. Long posts saying how that could be done are welcome, as long as they make sense. |
Author: | Grif [ Sun Nov 18, 2007 5:42 pm ] |
Post subject: | Re: Advice needed |
Try messing with the Status variable, in the main rocket definition. As far as I know, it has up to six values, each of which do different things. 0 is absolutely normal. I believe one and two alternate between the two AI modes. 3 is dead on arrival, what I used for the blenders. 4, 5, and 6 are unknowns to me, and I'm not sure about 1 and 2. Also, there may be further numbers beyond six. |
Author: | TrouserDemon [ Sun Nov 18, 2007 6:24 pm ] |
Post subject: | Re: Advice needed |
What happens if you set status to a negative variable? |
Author: | Grif [ Sun Nov 18, 2007 6:32 pm ] |
Post subject: | Re: Advice needed |
A crash, I would assume. I think status is how the game denotes the ai behaviour. Meaning that the game loads all component parts of actors, vehicles, etc, then holds them inside it's exe, free to modify the internal code at will. So, I don't think it's a variable, at least not like, say, JointStrength is. It's more like a boolean, just with more than two values. |
Author: | blipflip [ Sun Nov 18, 2007 7:00 pm ] |
Post subject: | Re: Advice needed |
Negative variables make it act like it's DOA (eg 3) I'll give 4,5,6 a go, thanks. Edit : It hasn't helped, but I'll list the functions of the status variable for rockets here for the sake of it. 4 is the same as 3 Anything above 4 makes the rocket's jets insanely powerful, to the extent that a single tap on the main thruster will send it flying off the map. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |