mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-21 10:01:31 +00:00
42 lines
681 B
Text
42 lines
681 B
Text
|
|
class ArtiBlastRadius : CustomInventory
|
|
{
|
|
Default
|
|
{
|
|
+FLOATBOB
|
|
Inventory.DefMaxAmount;
|
|
Inventory.PickupFlash "PickupFlash";
|
|
+INVENTORY.INVBAR +INVENTORY.FANCYPICKUPSOUND
|
|
Inventory.Icon "ARTIBLST";
|
|
Inventory.PickupSound "misc/p_pkup";
|
|
Inventory.PickupMessage "$TXT_ARTIBLASTRADIUS";
|
|
Tag "$TAG_ARTIBLASTRADIUS";
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
BLST ABCDEFGH 4 Bright;
|
|
Loop;
|
|
Use:
|
|
TNT1 A 0 A_Blast;
|
|
}
|
|
}
|
|
|
|
// Blast Effect -------------------------------------------------------------
|
|
|
|
class BlastEffect : Actor
|
|
{
|
|
Default
|
|
{
|
|
+NOBLOCKMAP +NOGRAVITY +NOCLIP
|
|
+NOTELEPORT
|
|
RenderStyle "Translucent";
|
|
Alpha 0.666;
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
RADE ABCDEFGHI 4;
|
|
Stop;
|
|
}
|
|
}
|