I'm by no means an expert with Data but I may be able to help you.
From what I understand you want an ability that is unlocked through an upgrade on the Templar Archives, much like Psi Storm works. Simply give the ability to the unit and have the upgrade unlock it via have/learn requirements. For the ability, just use a buff behavior to apply the stat bonuses, and have it drain energy under the vital regen bonus scaled section under the Units tab of the behavior (use a negative number to drain vitals). Then use have energy/can use energy validators tagged to the behavior. I'm not really sure how to put the unit at 1HP but it's probably very simple.
Regarding the green glow, just use an animation style one shot event.
Remember you can always look at how similar default abilities are made and "reverse engineer" them. You can copy how Stimpack was made for the stat increase, then look up Ghost Cloaking to find out how to drain energy. Look up Blink for the upgrade/unlocking ability as well as ability animation method.
I do tend to try to reverse engineer other spells to make new ones, it was just this one I wanted to do was kind of complicated and I wasn't sure if it was entirely possible.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So i'm trying to make an upgrade/ability for Protoss (from the Templar Archives)
I want this upgrade to:
- add a x4 increase to Health, Speed, Attack Speed and/or shields and max Energy
- A visual indicator of the ability's use (I want the unit that uses this to glow green or something)
- Decrease the energy of the unit using it by 1 or 2 every second
- Once the energy runs out the ability ends and the Unit is left with 1 HP and Shields
I'm by no means an expert with Data but I may be able to help you.
From what I understand you want an ability that is unlocked through an upgrade on the Templar Archives, much like Psi Storm works. Simply give the ability to the unit and have the upgrade unlock it via have/learn requirements. For the ability, just use a buff behavior to apply the stat bonuses, and have it drain energy under the vital regen bonus scaled section under the Units tab of the behavior (use a negative number to drain vitals). Then use have energy/can use energy validators tagged to the behavior. I'm not really sure how to put the unit at 1HP but it's probably very simple.
Regarding the green glow, just use an animation style one shot event.
Remember you can always look at how similar default abilities are made and "reverse engineer" them. You can copy how Stimpack was made for the stat increase, then look up Ghost Cloaking to find out how to drain energy. Look up Blink for the upgrade/unlocking ability as well as ability animation method.
In reply to KingCoolio39:
Thanks for the help!
I do tend to try to reverse engineer other spells to make new ones, it was just this one I wanted to do was kind of complicated and I wasn't sure if it was entirely possible.