Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Kassildes

Greater ammunition does not recharge

Recommended Posts

What I do here so that most ammunition recharge "D'sparil staff"? The decoration of the small refill "CristalStorm" works ... BUT NOT THE GREATEST "StormOrb".

ACTOR CrystalStorm : Ammo 14256
{
//$Category "Ammo"
Inventory.PickupMessage "Crystal Storm"
Inventory.MaxAmount 25
Inventory.Amount 5
Ammo.BackpackMaxAmount 50
Inventory.Icon "MGLDA0"
States
{
Spawn:
MGLD A -1
Loop
}
}

ACTOR StormOrb : Ammo 14257
{
//$Category "Ammo"
Inventory.PickupMessage "Storm Orb"
Inventory.Amount 25
States
{
Spawn:
MBLS A 5
MBLS B 5
MBLS C 5
Loop
}
}

Share this post


Link to post

I think I see the problem. The StormOrb should inherit from CrystalStorm, not from Ammo, just like the ClipBox inherits from Clip instead of Ammo. I am relatively new to DECORATE myself. I have made weapons, but not custom ammo types, so I could be wrong about what the problem is.

Share this post


Link to post

Thank You very muchhhhhhhhhhhh. I'ts working

ACTOR CrystalStorm : Ammo 14256
{
//$Category "Ammo"
Inventory.PickupMessage "Crystal Storm"
Inventory.MaxAmount 25
Inventory.Amount 5
Ammo.BackpackMaxAmount 50
Inventory.Icon "ACLOA0"
States
{
Spawn:
MGLD A -1
Loop
}
}

ACTOR StormOrb : CrystalStorm 14257
{
//$Category "Ammo"
Inventory.PickupMessage "Storm Orb"
Inventory.Amount 25
States
{
Spawn:
MBLS A 5
MBLS B 5
MBLS C 5
Loop
}
}

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×