Page 1 of 1
Buffed ammo?
Posted: Thu Jul 11, 2013 6:33 pm
by Dreadnot9
Is it possible to have a buff weapon that refills ammo, similar to the health and defense buffs? It'd be nice to be able to eliminate ammo/health dispensers entirely.
Re: Buffed ammo?
Posted: Thu Jul 11, 2013 6:45 pm
by Locutus
I never looked into buffs but if it's not possible you could create a weapon that dispenses an invisible ammo droid which refills the ammo of nearby units. Give it a few seconds to refill then kill it via script.
Re: Buffed ammo?
Posted: Thu Jul 11, 2013 6:49 pm
by Dreadnot9
Locutus wrote:I never looked into buffs but if it's not possible you could create a weapon that dispenses an invisible ammo droid which refills the ammo of nearby units. Give it a few seconds to refill then kill it via script.
I actually didn't know you could dispense ammo droids at all...
I'm assuming you just make it the ordnance for the dispenser?
Re: Buffed ammo?
Posted: Thu Jul 11, 2013 7:18 pm
by Maveritchell
The repair class weapon also supports increasing ammo.
http://www.secretsociety.com/forum/down ... meters.txt
I used this in the DMI sides, for a working example.
Re: Buffed ammo?
Posted: Thu Jul 11, 2013 7:23 pm
by Dreadnot9
This looks interesting, it could be used for other things like a healing gun as well too. Thanks mav.
EDIT: What's the difference between soldier health and person health?
Re: Buffed ammo?
Posted: Thu Jul 11, 2013 7:28 pm
by Maveritchell
"Soldier" is a defunct healthtype, as far as I can remember. I think it works interchangeably with "person," but I usually just ignore it.
Re: Buffed ammo?
Posted: Thu Jul 11, 2013 7:48 pm
by Dreadnot9
Thanks, will have to try this out.
Is this what you used for your medic in DT2?
Re: Buffed ammo?
Posted: Thu Jul 11, 2013 7:59 pm
by Marth8880
Soldier *might* allocate to Person and Droid, can't remember.