DM SpawnRocket

From Journey Modding Wiki
Jump to navigation Jump to search
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