I'm having a bit of a problem with making custom ammo, i made all the necessary stuff with the weapon and it's ammo and it all works fine but for some reason, picking up boxes of my newly created custom ammo gives no ammo to it whatsoever!
Note : Weapon pickups and Backpacks still give the specified amount, its just the boxes of ammo that are supposed to give the - Inventory.Amount - of ammo to the player that don't work for some reason, i can walk over and pick them up, and the game registers that but doesn't increase the players ammo amount at all.
Here's the code
Code: Select all
actor HeavyRounds : Ammo 12555
{
Inventory.PickupMessage "Picked up a box of heavy rounds"
Inventory.Amount 100
Inventory.MaxAmount 300
Inventory.Icon "AMORA0"
Ammo.BackpackAmount 10
Ammo.BackpackMaxAmount 600
states
{
Spawn:
AMOR A -1
stop
}
}
Any ideas what may be going wrong here? What am i missing to get this to work right?