Editing Tracer

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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:
{{codepointer
|description=Revenant homing missile maintenance.
|usage=[[Tracer]]
|examples=
From base/doom/things.edf:
  Spawn:
    FATB AB 2 bright A_Tracer
    loop
|notes=
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.
|seealso=
 
*[[GenTracer]]
[[Category:Codepointers]]
*[[HticTracer]]
*[[WhirlwindSeek]]}}
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: