mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 18:31:43 +00:00
30885e6d86
not even zvox.wad or the skins directory. - Minor improvement of Hexen's Demons: They now transfer the translation to the chunks they spawn so that they look correct if they are color translated. See Resurrection of Chaos for an example. - Converted Key gizmos to DECORATE. - Converted Heretic's Beast (Weredragon) to DECORATE. - Added a randomness parameter to A_SpawnItemEx. This allows spawning objects with a random chance without the need to write complicated A_Jump constructs. - Converted Heretic's Mummy to DECORATE. - Converted Hexen's Demons to DECORATE. SVN r393 (trunk)
150 lines
2 KiB
Text
150 lines
2 KiB
Text
|
|
ACTOR HereticKey : Key
|
|
{
|
|
+NOTDMATCH
|
|
Radius 20
|
|
Height 16
|
|
}
|
|
|
|
// Green key ------------------------------------------------------------
|
|
|
|
ACTOR KeyGreen : HereticKey 73
|
|
{
|
|
Game Heretic
|
|
SpawnID 86
|
|
Inventory.PickupMessage "$TXT_GOTGREENKEY"
|
|
States
|
|
{
|
|
Spawn:
|
|
AKYY ABCDEFGHIJ 3 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Blue key -----------------------------------------------------------------
|
|
|
|
ACTOR KeyBlue : HereticKey 79
|
|
{
|
|
Game Heretic
|
|
SpawnID 85
|
|
Inventory.PickupMessage "$TXT_GOTBLUEKEY"
|
|
States
|
|
{
|
|
Spawn:
|
|
BKYY ABCDEFGHIJ 3 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Yellow key ---------------------------------------------------------------
|
|
|
|
ACTOR KeyYellow : HereticKey 80
|
|
{
|
|
Game Heretic
|
|
SpawnID 87
|
|
Inventory.PickupMessage "$TXT_GOTYELLOWKEY"
|
|
States
|
|
{
|
|
Spawn:
|
|
CKYY ABCDEFGHI 3 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|
|
|
|
// --- Blue Key gizmo -----------------------------------------------------------
|
|
|
|
ACTOR KeyGizmoBlue 94
|
|
{
|
|
Game Heretic
|
|
Radius 16
|
|
Height 50
|
|
+SOLID
|
|
States
|
|
{
|
|
Spawn:
|
|
KGZ1 A 1
|
|
KGZ1 A 1 A_SpawnItemEx("KeyGizmoFloatBlue", 0, 0, 60)
|
|
KGZ1 A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR KeyGizmoFloatBlue
|
|
{
|
|
Radius 16
|
|
Height 16
|
|
+SOLID
|
|
+NOGRAVITY
|
|
States
|
|
{
|
|
Spawn:
|
|
KGZB A -1 Bright
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// --- Green Key gizmo -----------------------------------------------------------
|
|
|
|
ACTOR KeyGizmoGreen 95
|
|
{
|
|
Game Heretic
|
|
Radius 16
|
|
Height 50
|
|
+SOLID
|
|
States
|
|
{
|
|
Spawn:
|
|
KGZ1 A 1
|
|
KGZ1 A 1 A_SpawnItemEx("KeyGizmoFloatGreen", 0, 0, 60)
|
|
KGZ1 A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR KeyGizmoFloatGreen
|
|
{
|
|
Radius 16
|
|
Height 16
|
|
+SOLID
|
|
+NOGRAVITY
|
|
States
|
|
{
|
|
Spawn:
|
|
KGZG A -1 Bright
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// --- Yellow Key gizmo -----------------------------------------------------------
|
|
|
|
ACTOR KeyGizmoYellow 96
|
|
{
|
|
Game Heretic
|
|
Radius 16
|
|
Height 50
|
|
+SOLID
|
|
States
|
|
{
|
|
Spawn:
|
|
KGZ1 A 1
|
|
KGZ1 A 1 A_SpawnItemEx("KeyGizmoFloatYellow", 0, 0, 60)
|
|
KGZ1 A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR KeyGizmoFloatYellow
|
|
{
|
|
Radius 16
|
|
Height 16
|
|
+SOLID
|
|
+NOGRAVITY
|
|
States
|
|
{
|
|
Spawn:
|
|
KGZY A -1 Bright
|
|
Stop
|
|
}
|
|
}
|
|
|