2008-08-10 11:29:19 +00:00
|
|
|
|
|
|
|
// Dirt clump (spawned by spike) --------------------------------------------
|
|
|
|
|
|
|
|
ACTOR DirtClump
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOTELEPORT
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
TSPK C 20
|
|
|
|
Loop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Spike (thrust floor) -----------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR ThrustFloor native
|
|
|
|
{
|
|
|
|
Radius 20
|
|
|
|
Height 128
|
|
|
|
|
|
|
|
action native A_ThrustRaise();
|
|
|
|
action native A_ThrustImpale();
|
|
|
|
action native A_ThrustLower();
|
|
|
|
action native A_ThrustInitDn();
|
|
|
|
action native A_ThrustInitUp();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
ThrustRaising:
|
|
|
|
TSPK A 2 A_ThrustRaise
|
|
|
|
Loop
|
|
|
|
BloodThrustRaising:
|
|
|
|
TSPK B 2 A_ThrustRaise
|
|
|
|
Loop
|
|
|
|
ThrustLower:
|
|
|
|
TSPK A 2 A_ThrustLower
|
|
|
|
Loop
|
|
|
|
BloodThrustLower:
|
|
|
|
TSPK B 2 A_ThrustLower
|
|
|
|
Loop
|
|
|
|
ThrustInit1:
|
|
|
|
TSPK A 3
|
|
|
|
TSPK A 4 A_ThrustInitDn
|
|
|
|
TSPK A -1
|
|
|
|
Loop
|
|
|
|
BloodThrustInit1:
|
|
|
|
TSPK B 3
|
|
|
|
TSPK B 4 A_ThrustInitDn
|
|
|
|
TSPK B -1
|
|
|
|
Loop
|
|
|
|
ThrustInit2:
|
|
|
|
TSPK A 3
|
|
|
|
TSPK A 4 A_ThrustInitUp
|
|
|
|
TSPK A 10
|
|
|
|
Loop
|
|
|
|
BloodThrustInit2:
|
|
|
|
TSPK B 3
|
|
|
|
TSPK B 4 A_ThrustInitUp
|
|
|
|
TSPK B 10
|
|
|
|
Loop
|
|
|
|
ThrustRaise:
|
|
|
|
TSPK A 8 A_ThrustRaise
|
|
|
|
TSPK A 6 A_ThrustRaise
|
|
|
|
TSPK A 4 A_ThrustRaise
|
|
|
|
TSPK A 3 A_SetSolid
|
|
|
|
TSPK A 2 A_ThrustImpale
|
|
|
|
Loop
|
|
|
|
BloodThrustRaise:
|
|
|
|
TSPK B 8 A_ThrustRaise
|
|
|
|
TSPK B 6 A_ThrustRaise
|
|
|
|
TSPK B 4 A_ThrustRaise
|
|
|
|
TSPK B 3 A_SetSolid
|
|
|
|
TSPK B 2 A_ThrustImpale
|
|
|
|
Loop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Spike up -----------------------------------------------------------------
|
|
|
|
|
2015-04-03 14:34:07 +00:00
|
|
|
ACTOR ThrustFloorUp : ThrustFloor
|
2008-08-10 11:29:19 +00:00
|
|
|
{
|
|
|
|
+SOLID
|
|
|
|
+NOTELEPORT +FLOORCLIP
|
2008-08-11 19:18:48 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
Goto ThrustInit2
|
|
|
|
}
|
2008-08-10 11:29:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Spike down ---------------------------------------------------------------
|
|
|
|
|
2015-04-03 14:34:07 +00:00
|
|
|
ACTOR ThrustFloorDown : ThrustFloor
|
2008-08-10 11:29:19 +00:00
|
|
|
{
|
|
|
|
+NOTELEPORT +FLOORCLIP
|
|
|
|
+INVISIBLE
|
2008-08-11 19:18:48 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
Goto ThrustInit1
|
|
|
|
}
|
2008-08-10 11:29:19 +00:00
|
|
|
}
|