mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-11 04:51:13 +00:00
ac2f5aa632
but still have actors that will move up and down with the floor. IceChunk now uses both of these flags. SVN r1536 (trunk)
56 lines
867 B
Text
56 lines
867 B
Text
|
|
|
|
//==========================================================================
|
|
//
|
|
// Ice chunk
|
|
//
|
|
//==========================================================================
|
|
|
|
ACTOR IceChunk
|
|
{
|
|
Radius 3
|
|
Height 4
|
|
Mass 5
|
|
Gravity 0.125
|
|
+DROPOFF
|
|
+CANNOTPUSH
|
|
+FLOORCLIP
|
|
+NOTELEPORT
|
|
+NOBLOCKMAP
|
|
+MOVEWITHSECTOR
|
|
|
|
action native A_IceSetTics ();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
ICEC A 1
|
|
ICEC ABCD 10 A_IceSetTics
|
|
Stop
|
|
}
|
|
}
|
|
|
|
//==========================================================================
|
|
//
|
|
// A chunk of ice that is also a player
|
|
//
|
|
//==========================================================================
|
|
|
|
ACTOR IceChunkHead : PlayerChunk
|
|
{
|
|
Radius 3
|
|
Height 4
|
|
Mass 5
|
|
Gravity 0.125
|
|
DamageType Ice
|
|
+DROPOFF
|
|
+CANNOTPUSH
|
|
States
|
|
{
|
|
Spawn:
|
|
ICEC A 0
|
|
ICEC A 10 A_CheckPlayerDone
|
|
wait
|
|
}
|
|
}
|
|
|