Posted: Wed Dec 16, 2009 10:32 pm Post subject:
CoolDown weapon time
Let's say I have unit with a powerfull minigun but I want to make the weapon have a cooldown time if the weapon has fired for to long..How do I do that, or at least how do I make it reload when the unit is not firing for 1-2 secs? QUICK_EDIT
Give it a clipsize but don't play a reload sound. So that it looks like its overheated.
Also reload if idle (dunno the name of the attribute atm, just look in the xsd) _________________ QUICK_EDIT
That's what I have so far but the AutoReloadWhenIdleSeconds dosen't help that good, as this only works when the unit is idle si not selected, so for example lets the unit has 5 bullets left and has nothing to shoot at but you keep it selected for 1-2 minutes then you put it to shoot again....after a 5 bullets shot, the "cooldown" effect kick in. Thats what I'm trying to fix, don't know how this works:InstantLoadClipOnActivate but it dosen't seem to have any effect on the weapon... QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum