Editing FirePistol
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: | ||
'''FirePistol''' is a player weapon codepointer. This codepointer implements the DOOM player's pistol attack, which consists of a single missile-range tracer. If the player is refiring the weapon, a random angle between -5 and 5 degrees will be added to the player's angle. The tracer does standard player tracer damage determined by this formula: | |||
damage = (random % 3 + 1) * 5 | damage = (random % 3 + 1) * 5 | ||
The player object is transfered to its second attack frame when this pointer is used, and the player will emit the '''pistol''' sound effect. | The player object is transfered to its second attack frame when this pointer is used, and the player will emit the '''pistol''' sound effect. | ||
[[Category:Codepointers]] | |||
[[Category: |