Difference between revisions of "Classes:BJRun"
(Created page with "{{Actor| | type = Miscellaneous | game = Wolf3D | name = B.J. Runner | class = BJRun }}Classes: {{Class|Actor}} → {{Class|BJRun}}<br> == Overview == Special actor sp...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
{ | { | ||
// GROSS HACK | // GROSS HACK | ||
− | {{property| | + | {{property|Radius}} 80 |
− | {{property| | + | {{property|Speed}} 4, 1.328 |
states | states | ||
{ | { | ||
Line 32: | Line 32: | ||
BLAZ G 7 | BLAZ G 7 | ||
BLAZ H 150 [[A_Stop]] | BLAZ H 150 [[A_Stop]] | ||
− | BLAZ H -1 [[Action specials| | + | BLAZ H -1 [[Action specials|Exit_Victory]] |
stop | stop | ||
} | } | ||
} | } |
Latest revision as of 05:47, 11 June 2013
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
B.J. Runner | |||
---|---|---|---|
Actor type | Miscellaneous | Game | |
DoomEd Number | None | Class Name | BJRun |
Overview
Special actor spawned by the Exit_VictorySpin action special. The actor has no special behavior in itself, but is formatted to work with the victory spin action.
Specifically the spawn state causes the actor to move forwards in the direction it is facing. When the victory spin detects the actor bumping into the player, it will be turned into a projectile with the run speed as the velocity and play the Death state. Ultimately the actor triggers the actual exit special.
DECORATE Definition
actor BJRun { // GROSS HACK Radius 80 Speed 4, 1.328 states { Spawn: BLAZ A 6 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) BLAZ A 1.5 BLAZ B 4 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) BLAZ C 6 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) BLAZ C 1.5 BLAZ D 4 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) loop Death: BLAZ E 7 BLAZ F 7 A_PlaySound("misc/yeah") BLAZ G 7 BLAZ H 150 A_Stop BLAZ H -1 Exit_Victory stop } }