mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
62ffe7e4e2
- Fixed: Heretic and Hexen completely skip all normal Z processing on mobjs with FLOATBOB set. To emulate that, we need to add NOGRAVITY to everything with that flag set.
115 lines
1.9 KiB
Text
115 lines
1.9 KiB
Text
// Super map ----------------------------------------------------------------
|
|
|
|
ACTOR SuperMap : MapRevealer 35
|
|
{
|
|
Game Heretic
|
|
SpawnID 137
|
|
+COUNTITEM
|
|
+INVENTORY.ALWAYSPICKUP
|
|
+FLOATBOB
|
|
+NOGRAVITY
|
|
Inventory.MaxAmount 0
|
|
Inventory.PickupMessage "$TXT_ITEMSUPERMAP"
|
|
States
|
|
{
|
|
Spawn:
|
|
SPMP A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
// Invisibility -------------------------------------------------------------
|
|
|
|
ACTOR ArtiInvisibility : PowerupGiver 75
|
|
{
|
|
Game Heretic
|
|
SpawnID 135
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+NOGRAVITY
|
|
+INVENTORY.PICKUPFLASH
|
|
RenderStyle Translucent
|
|
Alpha 0.4
|
|
Inventory.RespawnTics 4230
|
|
Inventory.Icon ARTIINVS
|
|
Powerup.Type Ghost
|
|
Inventory.PickupMessage "$TXT_ARTIINVISIBILITY"
|
|
Tag "$TAG_ARTIINVISIBILITY"
|
|
States
|
|
{
|
|
Spawn:
|
|
INVS A 350 Bright
|
|
Loop
|
|
}
|
|
}
|
|
|
|
|
|
// Tome of power ------------------------------------------------------------
|
|
|
|
ACTOR ArtiTomeOfPower : PowerupGiver 86 native
|
|
{
|
|
Game Heretic
|
|
SpawnID 134
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+NOGRAVITY
|
|
+INVENTORY.PICKUPFLASH
|
|
Inventory.Icon "ARTIPWBK"
|
|
Powerup.Type Weaponlevel2
|
|
Inventory.PickupMessage "$TXT_ARTITOMEOFPOWER"
|
|
Tag "$TAG_ARTITOMEOFPOWER"
|
|
States
|
|
{
|
|
Spawn:
|
|
PWBK A 350
|
|
Loop
|
|
}
|
|
}
|
|
|
|
|
|
// Time bomb ----------------------------------------------------------------
|
|
|
|
ACTOR ActivatedTimeBomb
|
|
{
|
|
+NOGRAVITY
|
|
RenderStyle Translucent
|
|
Alpha 0.4
|
|
DeathSound "misc/timebomb"
|
|
|
|
action native A_Timebomb();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
FBMB ABCD 10
|
|
FBMB E 6 A_Scream
|
|
XPL1 A 4 BRIGHT A_Timebomb
|
|
XPL1 BCDEF 4 BRIGHT
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
ACTOR ArtiTimeBomb : Inventory 34 native
|
|
{
|
|
Game Heretic
|
|
SpawnID 72
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+NOGRAVITY
|
|
+INVENTORY.PICKUPFLASH
|
|
+INVENTORY.INVBAR
|
|
+INVENTORY.FANCYPICKUPSOUND
|
|
Inventory.Icon "ARTIFBMB"
|
|
Inventory.PickupSound "misc/p_pkup"
|
|
Inventory.PickupMessage "$TXT_ARTIFIREBOMB"
|
|
Tag "$TAG_ARTIFIREBOMB"
|
|
Inventory.DefMaxAmount
|
|
States
|
|
{
|
|
Spawn:
|
|
FBMB E 350
|
|
Loop
|
|
}
|
|
}
|