31
Modding / Re: Misc modding questions that are too minor to warrant their own thread
« on: December 11, 2015, 04:42:34 AM »
I'm trying to get my head around if this is possible. I have a beam-type weapon that should:
I don't see a way to actually put the weapon on cooldown for a set period of time. I would be happy to script it in if I knew which stat I needed to set when the beam is done firing.
Unless I'm misunderstanding how these weapon stats are supposed to work, which is entirely possible
EDIT: Tested this a bit...
- Charge up for 3 seconds (chargeup)
- Fire at full power for 4 seconds (number of bursts and burst delay??)
- Charge down for 1.5 seconds (chargedown? Add to cooldown?)
- Be on cooldown for 25 seconds until it can be charged again and fired (?)
I don't see a way to actually put the weapon on cooldown for a set period of time. I would be happy to script it in if I knew which stat I needed to set when the beam is done firing.
Unless I'm misunderstanding how these weapon stats are supposed to work, which is entirely possible
EDIT: Tested this a bit...
- chargeup definitely works as advertised. No surprises there.
- I don't know what chargedown is actually doing. Increasing its duration seems to increase the duration of the beam before it disappears? Is this correct/
- burst delay seems to act like the actual "cooldown" for the weapon. Could I actually reference this via getCooldown(), or is it not actually a real cooldown (e.g. I'm just telling SS into delaying the next beam "burst", but the beam actually has no real "cooldown" stat)? Not sure how this works.