2008-08-08 22:52:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
//==========================================================================
|
|
|
|
//
|
|
|
|
// Ice chunk
|
|
|
|
//
|
|
|
|
//==========================================================================
|
|
|
|
|
|
|
|
ACTOR IceChunk
|
|
|
|
{
|
|
|
|
Radius 3
|
|
|
|
Height 4
|
|
|
|
Mass 5
|
|
|
|
Gravity 0.125
|
|
|
|
+DROPOFF
|
|
|
|
+CANNOTPUSH
|
|
|
|
+FLOORCLIP
|
|
|
|
+NOTELEPORT
|
2009-04-09 02:25:37 +00:00
|
|
|
+NOBLOCKMAP
|
|
|
|
+MOVEWITHSECTOR
|
2008-08-08 22:52:04 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|