Minigun implemented. Some minor adjustments to weapon model offsets.
Allow armor/pads to replace shield belt when it's not at max capacity (emulating UT behavior).
This commit is contained in:
parent
def0e317f3
commit
4f0cb3e73f
24 changed files with 756 additions and 32 deletions
|
|
@ -31,8 +31,6 @@ Class UTArmorBonus : UTArmor replaces ArmorBonus
|
|||
{
|
||||
Tag "Armor Bonus";
|
||||
+COUNTITEM;
|
||||
+INVENTORY.AUTOACTIVATE;
|
||||
+INVENTORY.UNTOSSABLE;
|
||||
+INVENTORY.ALWAYSPICKUP;
|
||||
Inventory.Amount 5;
|
||||
Inventory.MaxAmount 50;
|
||||
|
|
@ -114,14 +112,21 @@ Class UTShieldBelt : UTArmor replaces Megasphere
|
|||
}
|
||||
override bool HandlePickup( Inventory item )
|
||||
{
|
||||
if ( (item is 'UTThighPads') || (item is 'UTBodyArmor') ) return true;
|
||||
if ( (item is 'UTThighPads') || (item is 'UTBodyArmor') )
|
||||
{
|
||||
if ( amount < maxamount )
|
||||
{
|
||||
DepleteOrDestroy();
|
||||
return Super.HandlePickup(item);
|
||||
}
|
||||
else return true;
|
||||
}
|
||||
return Super.HandlePickup(item);
|
||||
}
|
||||
Default
|
||||
{
|
||||
Tag "Shield Belt";
|
||||
+COUNTITEM;
|
||||
+INVENTORY.ALWAYSPICKUP;
|
||||
+INVENTORY.BIGPOWERUP;
|
||||
Inventory.Amount 150;
|
||||
Inventory.MaxAmount 150;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue