stinger_m/zscript/utranslocator.zsc
Marisa Kirisame 912cad96c5 Oh boy, it begins.
Assigned all pickup models.
Implemented all ammo types.
Finished Flak Cannon.
Additional cleanup.
Slot reassignments and other adjustments to match known Unreal prototype info.
2019-09-04 02:37:59 +02:00

44 lines
794 B
Text

Class UTranslocatorAmmo : Ammo
{
Default
{
Inventory.Icon "I_Tele";
Inventory.Amount 1;
Inventory.MaxAmount 2;
Ammo.BackpackAmount 0;
Ammo.BackpackMaxAmount 2;
+INVENTORY.IGNORESKILL;
}
}
Class UTranslocator : UnrealWeapon
{
override bool TryPickup( in out Actor toucher )
{
if ( !sting_telegun ) return false; // not allowed
return Super.TryPickup(toucher);
}
Default
{
Tag "$T_TELEGUN";
Inventory.PickupMessage "$I_TELEGUN";
Weapon.SlotNumber 9;
Weapon.SelectionOrder 10;
Weapon.AmmoType1 "UTranslocatorAmmo";
Weapon.AmmoUse1 1;
Weapon.AmmoType2 "UTranslocatorAmmo";
Weapon.AmmoUse2 1;
Weapon.AmmoGive 2;
UTWeapon.DropAmmo 2;
+WEAPON.NO_AUTO_SWITCH;
+WEAPON.CHEATNOTWEAPON;
}
States
{
Spawn:
TLCP A -1;
Stop;
TLCP B -1;
Stop;
}
}