Difference between revisions of "DM SpawnRocket"
(Will post cheat engine memory details/etc later) |
m |
||
| Line 4: | Line 4: | ||
This is the main feature of the hidden Rocket Death Match mode | This is the main feature of the hidden Rocket Death Match mode. | ||
Every time you press Chirp while Rocket Death Match is active, it creates a temporary DM_SpawnRocket trigger; the trigger variables are set so that the rocket's initial position is at a certain joint on the LocalDude's mesh, and its velocity is the camera's forward rotation vector multiplied by 10. | Every time you press Chirp while Rocket Death Match is active, it creates a temporary DM_SpawnRocket trigger; the trigger variables are set so that the rocket's initial position is at a certain joint on the LocalDude's mesh, and its velocity is the camera's forward rotation vector multiplied by 10. | ||
| Line 14: | Line 15: | ||
Known editable stuff so far: | Known editable stuff so far: | ||
*starting position | *starting position | ||
*starting velocity | *starting velocity | ||
*acceleration | *acceleration | ||
Latest revision as of 18:53, 24 September 2021
| This page is a stub. Most details about the subject still need to be added. |
DM_SpawnRocket triggers spawn a rocket entity somewhere and determine its movement/etc.
This is the main feature of the hidden Rocket Death Match mode.
Every time you press Chirp while Rocket Death Match is active, it creates a temporary DM_SpawnRocket trigger; the trigger variables are set so that the rocket's initial position is at a certain joint on the LocalDude's mesh, and its velocity is the camera's forward rotation vector multiplied by 10.
Unfortunately, this trigger Type has no Vars defined in metadata so it's apparently impossible to set these variables in Lua: if you manually create a DM_SpawnRocket trigger it still "works" when activated, but all the variables default to zero, so the rocket always spawns at coordinates {0,0,0} and instantly explodes because it's colliding with terrain.
However, you can edit the trigger object data in memory with Cheat Engine/etc to change the variables.
Known editable stuff so far:
- starting position
- starting velocity
- acceleration