mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +00:00
110 lines
1.6 KiB
Text
110 lines
1.6 KiB
Text
|
// Bridge ball -------------------------------------------------------------
|
||
|
|
||
|
ACTOR BridgeBall
|
||
|
{
|
||
|
+NOBLOCKMAP
|
||
|
+NOTELEPORT
|
||
|
+NOGRAVITY
|
||
|
|
||
|
action native A_BridgeOrbit();
|
||
|
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
TLGL A 2 Bright
|
||
|
TLGL A 1 Bright A_BridgeOrbit
|
||
|
Wait
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
// The bridge itself -------------------------------------------------------
|
||
|
|
||
|
ACTOR CustomBridge 9991 native
|
||
|
{
|
||
|
+SOLID
|
||
|
+NOGRAVITY
|
||
|
+NOLIFTDROP
|
||
|
+ACTLIKEBRIDGE
|
||
|
Radius 32
|
||
|
Height 2
|
||
|
RenderStyle None
|
||
|
|
||
|
action native A_BridgeInit(optional class<Actor> balltype);
|
||
|
|
||
|
states
|
||
|
{
|
||
|
Spawn:
|
||
|
TLGL ABCDE 3 Bright
|
||
|
Loop
|
||
|
See:
|
||
|
TLGL A 2
|
||
|
TLGL A 2 A_BridgeInit
|
||
|
TLGL A -1
|
||
|
Stop
|
||
|
Death:
|
||
|
TLGL A 2
|
||
|
TLGL A 300
|
||
|
Stop
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// The Hexen bridge -------------------------------------------------------
|
||
|
|
||
|
ACTOR Bridge : CustomBridge 118
|
||
|
{
|
||
|
Game Raven
|
||
|
SpawnID 21
|
||
|
RenderStyle None
|
||
|
Args 32, 2, 3, 0
|
||
|
}
|
||
|
|
||
|
// The ZDoom bridge -------------------------------------------------------
|
||
|
|
||
|
ACTOR ZBridge : CustomBridge 118
|
||
|
{
|
||
|
Game Doom
|
||
|
SpawnID 21
|
||
|
Args 36, 4, 0, 0
|
||
|
}
|
||
|
|
||
|
|
||
|
// Invisible bridge --------------------------------------------------------
|
||
|
|
||
|
ACTOR InvisibleBridge 9990 native
|
||
|
{
|
||
|
RenderStyle None
|
||
|
Radius 32
|
||
|
Height 4
|
||
|
+SOLID
|
||
|
+NOGRAVITY
|
||
|
+NOLIFTDROP
|
||
|
+ACTLIKEBRIDGE
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
TNT1 A -1
|
||
|
Stop
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// And some invisible bridges from Skull Tag -------------------------------
|
||
|
|
||
|
ACTOR InvisibleBridge32 : InvisibleBridge 5061
|
||
|
{
|
||
|
Radius 32
|
||
|
Height 8
|
||
|
}
|
||
|
|
||
|
ACTOR InvisibleBridge16 : InvisibleBridge 5064
|
||
|
{
|
||
|
Radius 16
|
||
|
Height 8
|
||
|
}
|
||
|
|
||
|
ACTOR InvisibleBridge8 : InvisibleBridge 5065
|
||
|
{
|
||
|
Radius 8
|
||
|
Height 8
|
||
|
}
|