Joined: Tue Mar 20, 2007 10:16 am Posts: 186 Location: Australia
Rotating Rocket thrusters
I'm currently working on a custom rocket, and the reverse thrusters are supposed to be mounted facing directly fowards (well, directly upwards really) and I've looked through all the possible variables and can't find anything that looks like it changes the angle. Do the thrusters just seem to know where they should face according to their postion or what? I know you must be able to change it somehow, because the ArwingX's guns shoot fowards instead of out in a 'V' shape.
I'm still new to modding, any help would be greatly appreciated.
Thu Jan 10, 2008 1:10 pm
No_0ne
Joined: Wed Feb 14, 2007 5:37 am Posts: 350
Re: Rotating Rocket thrusters
Code:
EmissionAngle = Matrix AngleDegrees = -90
Add that to the code, then tweak the variable until it's just right.
Data changed the rocket code, and now the all the thrusters except for the main one are the exact same thruster. The only difference is which thruster position it is added to and the offset. This means that thruster rotations are hardcoded into the rockets now... But if you add the emitter to the right thruster location, it will automatically rotate for you.
Thu Jan 10, 2008 4:16 pm
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
Re: Rotating Rocket thrusters
It was like that a while ago.
Numgun, for his Arwing used matrix rotation values to make the lasers fire forward... or up.
Yes, they will work, you just have to edit it them, when the rocket's hard-coded one is is degree 0.
Thu Jan 10, 2008 4:19 pm
Squeegy Mackpy
Joined: Tue Mar 20, 2007 10:16 am Posts: 186 Location: Australia
Re: Rotating Rocket thrusters
Woohoo
The angle changes on both, so they still shoot in a V shape. I solved that by creating another thruster and moving the angle to the opposite of the first.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum