mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-04 01:41:26 +00:00
43 lines
681 B
Text
43 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;
|
||
|
}
|
||
|
}
|