mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
71 lines
1.2 KiB
Text
71 lines
1.2 KiB
Text
|
//===========================================================================
|
||
|
//
|
||
|
// Player
|
||
|
//
|
||
|
//===========================================================================
|
||
|
ACTOR DoomPlayer : PlayerPawn
|
||
|
{
|
||
|
Speed 1
|
||
|
Health 100
|
||
|
Radius 16
|
||
|
Height 56
|
||
|
Mass 100
|
||
|
PainChance 255
|
||
|
Player.ColorRange 112, 127
|
||
|
Player.DisplayName "Marine"
|
||
|
Player.CrouchSprite "PLYC"
|
||
|
Player.StartItem "Pistol"
|
||
|
Player.StartItem "Fist"
|
||
|
Player.StartItem "Clip", 50
|
||
|
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
PLAY A -1
|
||
|
Loop
|
||
|
See:
|
||
|
PLAY ABCD 4
|
||
|
Loop
|
||
|
Missile:
|
||
|
PLAY E 12
|
||
|
Goto Spawn
|
||
|
Melee:
|
||
|
PLAY F 6
|
||
|
Goto Missile
|
||
|
Pain:
|
||
|
PLAY G 4
|
||
|
PLAY G 4 A_Pain
|
||
|
Goto Spawn
|
||
|
Death:
|
||
|
PLAY H 10 A_PlayerSkinCheck(AltSkinDeath)
|
||
|
PLAY I 10 A_PlayerScream
|
||
|
PLAY J 10 A_NoBlocking
|
||
|
PLAY KLM 10
|
||
|
PLAY N -1
|
||
|
Stop
|
||
|
XDeath:
|
||
|
PLAY O 5 A_PlayerSkinCheck(AltSkinXDeath)
|
||
|
PLAY P 5 A_XScream
|
||
|
PLAY Q 5 A_NoBlocking
|
||
|
PLAY RSTUV 5
|
||
|
PLAY W -1
|
||
|
Stop
|
||
|
AltSkinDeath:
|
||
|
PLAY H 6
|
||
|
PLAY I 6 A_PlayerScream
|
||
|
PLAY JK 6
|
||
|
PLAY L 6 A_NoBlocking
|
||
|
PLAY MNO 6
|
||
|
PLAY P -1
|
||
|
Stop
|
||
|
AltSkinXDeath:
|
||
|
PLAY Q 5 A_PlayerScream
|
||
|
PLAY R 0 A_NoBlocking
|
||
|
PLAY R 5 A_SkullPop
|
||
|
PLAY STUVWX 5
|
||
|
PLAY Y -1
|
||
|
Stop
|
||
|
}
|
||
|
}
|
||
|
|