qzdoom-gpl/wadsrc/static/actors/shared/player.txt
Christoph Oelckers f3922ec6a1 - Added a few more macros so that the action function code doesn't have
to reference its arguments directly, except 'self'. This may be helpful if it 
  becomes necessary to restructure this code once DoomScript becomes real.
- Removed the last remaining global variable related to action functions:
  pStateCall. Everything is passed properly as function arguments now.
- fixed: PlayerChunk was missing the NOSKIN flag.


SVN r1169 (trunk)
2008-08-14 08:52:55 +00:00

44 lines
634 B
Text

Actor PlayerPawn : Actor native
{
Health 100
Radius 16
Height 56
Mass 100
Painchance 255
Speed 1
+SOLID
+SHOOTABLE
+DROPOFF
+PICKUP
+NOTDMATCH
+FRIENDLY
+SLIDESONWALLS
+CANPASS
+CANPUSHWALLS
+FLOORCLIP
+WINDTHRUST
+TELESTOMP
+NOBLOCKMONST
Player.AttackZOffset 8
Player.JumpZ 8
Player.ViewHeight 41
Player.ForwardMove 1,1
Player.SideMove 1,1
Player.ColorRange 0,0
Player.SoundClass "player"
}
Actor PlayerChunk : PlayerPawn native
{
+NOSKIN
-SOLID
-SHOOTABLE
-PICKUP
-NOTDMATCH
-FRIENDLY
-SLIDESONWALLS
-CANPUSHWALLS
-FLOORCLIP
-WINDTHRUST
-TELESTOMP
}