Editing Tracer
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Used for a projectile that has the seeker missile [[thing type flags|thing type flag]] set and is fired from a codepointer that allows the missile to be homing. When this codepointer is triggered at each fourth tic, it will cause the projectile to change direction towards its shooter's target, as well as spawn smoke. | Used for a projectile that has the seeker missile [[thing type flags|thing type flag]] set and is fired from a codepointer that allows the missile to be homing. When this codepointer is triggered at each fourth tic, it will cause the projectile to change direction towards its shooter's target, as well as spawn smoke. | ||
Note that by how the projectile looping states are set up, they may have even durations, causing the current tic to ''never'' be a multiple of four, such as: 3, 7, 11, 15... This is the case with Doom 2's revenant missile, and if that happens, it will not home. Using tics of odd durations, however, you can control the turning speed of the projectile, as they will always hit multiples of four. | Note that by how the projectile looping states are set up, they may have even durations, causing the current tic to ''never'' be a multiple of four, such as: 3, 7, 11, 15... This is the case with Doom 2's revenant missile, and if that happens, it will not home. Using tics of odd durations, however, you can control the turning speed of the projectile, as they will always hit multiples of four. | ||
[[Category:Codepointers]] | |||