Chargeup weapons - a question for coders

Here it is: is there a way to make an ability simmilar to the chargeup of orbital superweapons, where you have a chargeup effect play for x amount of time, then have a weapon fire effect (muzzle, projectile, hit effect, the works) play out? As far as I can tell, there is no way to have a delayed action on a weapon or a weapon-like ability, but maybe I'm wrong?

2,635 views 3 replies
Reply #1 Top

on a weapon like habilitie it's real esay but for a weapon i have no idea

 

on delay at 0 delay the charge up effect

 

on delay at X (after the chage up) weapon effect and aply dmg to target

 

or unlesst the code mess around because of the first effec is not suposed to touch the aget then just use some thing like the final atak habilitie wit an effect on self and an effet eaching the target

(with the delay and etc it should work fine)

Reply #2 Top

Have you tried playing around with the OnDelay setting for the ability? Most of the existing ones are set to 0.. also take a look at how Cleansing Brilliance is set up, I'm pretty sure it has a charge-up and fires after it's done.

I doubt you can do a delay for an actual weapon, but a weapon-like ability should be doable.

Reply #3 Top

Ah yes, I found it, the question that was bugging me was whether you could have weapon effects attached to buffs. Turns out you can and charged weapons are perfectly possible (and actually there are some ingame - serves me right for spending the last year modding instead of playing :p )

Thanks for the help guys.