swwmgz_m/zscript/dlc1/swwm_blastin.zsc

58 lines
1.1 KiB
Text

// Nuutek Plasma Blaster (from SWWM series)
// Slot 2, spawns shared with Explodium Gun
Class PlasmaBlast : SWWMWeapon
{
int clipcount, chargelevel;
Property ClipCount : clipcount;
Default
{
Tag "$T_PLASMABLAST";
Inventory.PickupMessage "$T_PLASMABLAST";
Obituary "$O_PLASMABLAST";
SWWMWeapon.Tooltip "$TT_PLASMABLAST";
SWWMWeapon.GetLine "getplasmablast1";
Weapon.SlotNumber 2;
Weapon.SlotPriority 3.;
Weapon.SelectionOrder 1100;
Inventory.MaxAmount 2;
Weapon.SisterWeapon "DualPlasmaBlast";
Stamina 7000;
PlasmaBlast.ClipCount 8;
+WEAPON.EXPLOSIVE;
+SWWMWEAPON.HASSCRTEX;
}
States
{
Spawn:
XZW1 A -1;
Stop;
}
}
Class DualPlasmaBlast : SWWMWeapon
{
int clipcount;
Property ClipCount : clipcount;
Default
{
Tag "$T_PLASMABLAST2";
Obituary "$O_PLASMABLAST";
SWWMWeapon.Tooltip "$TT_PLASMABLAST2";
SWWMWeapon.GetLine "getplasmablast2";
SWWMWeapon.NumCrosshairs 2;
Weapon.SlotNumber 2;
Weapon.SlotPriority 4.;
Weapon.SelectionOrder 1050;
Weapon.SisterWeapon "PlasmaBlast";
DualPlasmaBlast.ClipCount 8;
+WEAPON.EXPLOSIVE;
+SWWMWEAPON.HIDEINMENU;
+SWWMWEAPON.NOSWAPWEAPON;
+SWWMWEAPON.HASSCRTEX;
}
}