mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-16 01:11:50 +00:00
ae54e13428
- Removed AT_GAME_SET because it's no longer used anywhere. - Converted the last remaining global classes to DECORATE. - Fixed: Inventory.PickupFlash requires an class name as parameter not an integer. Some Hexen definitions got it wrong. - Converted Hexen's Pig to DECORATE. - Replaced the ActorInfo definitions of all internal inventory classes with DECORATE definitions. - Added option to specify a powerup's duration in second by using a negative number. SVN r1137 (trunk)
43 lines
624 B
Text
43 lines
624 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
|
|
{
|
|
-SOLID
|
|
-SHOOTABLE
|
|
-PICKUP
|
|
-NOTDMATCH
|
|
-FRIENDLY
|
|
-SLIDESONWALLS
|
|
-CANPUSHWALLS
|
|
-FLOORCLIP
|
|
-WINDTHRUST
|
|
-TELESTOMP
|
|
}
|