mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-16 17:31:23 +00:00
b97c417101
message. When trying to puke a script outside a map it crashed. - Fixed: The random number generator for large numbers must mask out the sign bit before performing a modulo. - Now that the conversation states are pointers there is no need to make AActor::ConversationAnimation virtual. No class overrides this method anymore. - Replaced AMacil1::TakeSpecialDamage with MF5_NODAMAGE. - Fixed: AMacil2::TakeSpecialDamage and AOracle::TakeSpecialDamage didn't check whether inflictor was NULL and crashed when used with 'kill monsters'. - Fixed: Some Strife decorations didn't loop their animation SVN r113 (trunk)
128 lines
2.3 KiB
Text
128 lines
2.3 KiB
Text
// Invulnerability Sphere ---------------------------------------------------
|
|
|
|
ACTOR InvulnerabilitySphere : PowerupGiver 2022
|
|
{
|
|
Game Doom
|
|
SpawnID 133
|
|
+COUNTITEM
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.ALWAYSPICKUP
|
|
+INVENTORY.BIGPOWERUP
|
|
Inventory.MaxAmount 0
|
|
Powerup.Type Invulnerable
|
|
Powerup.Color InverseMap
|
|
Inventory.PickupMessage "$GOTINVUL"
|
|
States
|
|
{
|
|
Spawn:
|
|
PINV ABCD 6 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Soulsphere --------------------------------------------------------------
|
|
|
|
ACTOR Soulsphere : Health 2013
|
|
{
|
|
Game Doom
|
|
SpawnID 25
|
|
+COUNTITEM
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.ALWAYSPICKUP
|
|
+INVENTORY.FANCYPICKUPSOUND
|
|
Inventory.Amount 100
|
|
Inventory.MaxAmount 200
|
|
Inventory.PickupMessage "$GOTSUPER"
|
|
Inventory.PickupSound "misc/p_pkup"
|
|
States
|
|
{
|
|
Spawn:
|
|
SOUL ABCDCB 6 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Invisibility -------------------------------------------------------------
|
|
|
|
ACTOR BlurSphere : PowerupGiver 2024
|
|
{
|
|
Game Doom
|
|
SpawnID 135
|
|
+COUNTITEM
|
|
+VISIBILITYPULSE
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.ALWAYSPICKUP
|
|
+INVENTORY.BIGPOWERUP
|
|
Inventory.MaxAmount 0
|
|
Powerup.Type Invisibility
|
|
RenderStyle Translucent
|
|
Inventory.PickupMessage "$GOTINVIS"
|
|
States
|
|
{
|
|
Spawn:
|
|
PINS ABCD 6 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Radiation suit (aka iron feet) -------------------------------------------
|
|
|
|
ACTOR RadSuit : PowerupGiver 2025
|
|
{
|
|
Game Doom
|
|
SpawnID 136
|
|
Height 46
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.ALWAYSPICKUP
|
|
Inventory.MaxAmount 0
|
|
Inventory.PickupMessage "$GOTSUIT"
|
|
Powerup.Type IronFeet
|
|
States
|
|
{
|
|
Spawn:
|
|
SUIT A -1 Bright
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// infrared -----------------------------------------------------------------
|
|
|
|
ACTOR Infrared : PowerupGiver 2045
|
|
{
|
|
Game Doom
|
|
SpawnID 138
|
|
+COUNTITEM
|
|
+INVENTORY.AUTOACTIVATE
|
|
+INVENTORY.ALWAYSPICKUP
|
|
Inventory.MaxAmount 0
|
|
Powerup.Type LightAmp
|
|
Inventory.PickupMessage "$GOTVISOR"
|
|
States
|
|
{
|
|
Spawn:
|
|
PVIS A 6 Bright
|
|
PVIS B 6
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Allmap -------------------------------------------------------------------
|
|
|
|
ACTOR Allmap : MapRevealer 2026
|
|
{
|
|
Game Doom
|
|
SpawnID 137
|
|
+COUNTITEM
|
|
+INVENTORY.FANCYPICKUPSOUND
|
|
+INVENTORY.ALWAYSPICKUP
|
|
Inventory.MaxAmount 0
|
|
Inventory.PickupSound "misc/p_pkup"
|
|
Inventory.PickupMessage "$GOTMAP"
|
|
States
|
|
{
|
|
Spawn:
|
|
PMAP ABCDCB 6 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|