flak_m/zscript/minigun.zsc
Marisa Kirisame d3da87cefe All misc items implemented. Enhanced Shock Rifle implemented.
Going to focus on the HUD now while at the same time doing the remaining weapons.
2018-05-21 20:28:17 +02:00

62 lines
1,015 B
Text

Class Tier6Ammo : RandomSpawner replaces Cell
{
Default
{
DropItem "EClip", 255, 1;
DropItem "RifleAmmo2", 255, 1;
}
}
Class Tier6Ammo2 : RandomSpawner replaces CellPack
{
Default
{
DropItem "MiniAmmo", 255, 1;
DropItem "RifleAmmo", 255, 1;
}
}
Class Tier6Weapon : RandomSpawner replaces PlasmaRifle
{
Default
{
DropItem "Minigun", 255, 1;
DropItem "SniperRifle", 255, 1;
}
}
Class MiniAmmo : UTAmmo
{
Default
{
Tag "Large Bullets";
Inventory.PickupMessage "You picked up 50 bullets.";
Inventory.Amount 50;
Inventory.MaxAmount 200;
Ammo.BackpackAmount 100;
Ammo.BackpackMaxAmount 400;
Ammo.DropAmount 50;
UTAmmo.UsedInSlot AMMO_SLOT2|AMMO_SLOT7;
}
States
{
Spawn:
MAMO A -1;
Stop;
}
}
Class Minigun : UTWeapon
{
Default
{
Tag "Minigun";
Inventory.PickupMessage "You got the Minigun.";
Weapon.UpSound "";
Weapon.SlotNumber 7;
Weapon.AmmoType "MiniAmmo";
Weapon.AmmoUse 1;
Weapon.AmmoType2 "MiniAmmo";
Weapon.AmmoUse2 1;
Weapon.AmmoGive 50;
}
}