mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 00:20:51 +00:00
3b477d7022
weapon didn't change back when the powerup expired. - Fixed: The powered up version of Heretic's Gauntlets missed the proper state assignments for Ready, Lower and Raise. - Fixed: The Strife player was missing its pain state. - Fixed: Revenant missiles couldn't home in on targets with a height lower than 40. - Fixed: The code which checked for hitscan traces hitting actors from above and below must test whether the calculated hit position is actually inside the actor being checked. If it crosses the top/bottom plane outside the bounding box there can't be a hit. - Changed: State labels in code pointer calls must now be enclosed in quotation marks. This was done to ensure compatibility with parsers that will parse these as identifier-aware script code later. SVN r554 (trunk)
76 lines
1.4 KiB
Text
76 lines
1.4 KiB
Text
// The player ---------------------------------------------------------------
|
|
|
|
ACTOR StrifePlayer : PlayerPawn
|
|
{
|
|
Health 100
|
|
Radius 18
|
|
Height 56
|
|
Mass 100
|
|
PainChance 255
|
|
Speed 1
|
|
MaxStepHeight 16
|
|
Player.ColorRange 96, 111
|
|
Player.DisplayName "Rebel"
|
|
Player.StartItem "PunchDagger"
|
|
|
|
action native A_ItBurnsItBurns();
|
|
action native A_DropFire();
|
|
action native A_CrispyPlayer();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
PLAY A -1
|
|
stop
|
|
See:
|
|
PLAY ABCD 4
|
|
loop
|
|
Missile:
|
|
PLAY E 12
|
|
goto Spawn
|
|
Melee:
|
|
PLAY F 6
|
|
goto Missile
|
|
Pain:
|
|
PLAY Q 4
|
|
PLAY Q 4 A_Pain
|
|
Goto Spawn
|
|
Death:
|
|
PLAY H 3
|
|
PLAY I 3 A_PlayerScream
|
|
PLAY J 3 A_NoBlocking
|
|
PLAY KLMNO 4
|
|
PLAY P -1
|
|
Stop
|
|
XDeath:
|
|
RGIB A 5 A_TossGib
|
|
RGIB B 5 A_XScream
|
|
RGIB C 5 A_NoBlocking
|
|
RGIB DEFG 5 A_TossGib
|
|
RGIB H -1 A_TossGib
|
|
Burn:
|
|
BURN A 3 Bright A_ItBurnsItBurns
|
|
BURN B 3 Bright A_DropFire
|
|
BURN C 3 Bright A_Wander
|
|
BURN D 3 Bright A_NoBlocking
|
|
BURN E 5 Bright A_DropFire
|
|
BURN FGH 5 Bright A_Wander
|
|
BURN I 5 Bright A_DropFire
|
|
BURN JKL 5 Bright A_Wander
|
|
BURN M 5 Bright A_DropFire
|
|
BURN N 5 Bright A_CrispyPlayer
|
|
BURN OPQPQ 5 Bright
|
|
BURN RSTU 7 Bright
|
|
BURN V -1
|
|
Stop
|
|
Disintegrate:
|
|
DISR A 5 A_PlaySoundEx("misc/disruptordeath", "Voice")
|
|
DISR BC 5
|
|
DISR D 5 A_NoBlocking
|
|
DISR EF 5
|
|
DISR GHIJ 4
|
|
MEAT D -1
|
|
Stop
|
|
}
|
|
}
|
|
|