I am working on a survival type starcraft 2 map and need some help on a few issues as well as a few features I am unsure how to do.
I have setup a leveling system for one of my units and have added several abilities to that unit. How would I go about making those abilities only available when certain levels have been achieved?
I created the ability to summon mercenaries for a unit on my map. I changed the unit that was being summoned. For some reason the space drop animation does not play, it just has the unit appear. Please advise on how I can get the animation to play again.
For making abilities available only when certain levels have been achieved, you would need an upgrade and a requirement.
First go to the Upgrades tab. Create a new upgrade based on Default Upgrade (name it whatever you want and make sure you click Suggest for ID).
Now go to the Requirements tab and create a new requirement (choose Upgrade for Tech Type). On the right hand side of the requirement you just created, you need to edit the Requirement+ field. A new window will pop-up. Add a Requirement Node under the Use category (right click Use and click Add Requirement Node). Click on the requirement node you just added and make the following changes: Type: Count Upgrade, Alias: "name of the Upgrade" you created in the Upgrades tab, and State: Completed. Now if you don't want the ability button to be shown on your hero until you have achieved a certain level, add a new requirement node under the Show category too with the same settings as the one for the Use category.
When you got that done, go to the Abilities tab and select the ability you want your hero to gain when a certain level have been achieved. On the right side, edit the Commands+ field. Select Execute at the top, then in the Search field under Requirements, type in the name of the Requirement you created in the Requirements tab, select it, and click OK.
Note: I haven't used this Event or Condition before, so I am not 100% certain that I am using the right Event and Condition for this Trigger, but this is what I got.
Open the Triggers window (F6). Create a new Trigger and add a new Event as Unit Gains Experience Level on the right hand side of the new Trigger. Leave it at Any Unit and add a new condition. Make the following changes: Value 1: Unit Type Of Unit, Unit: Triggering Unit, Operator: ==, and Value 2: "name of your Hero". Add another condition and make the following changes: Value 1: Experience Level Of Unit, Unit: Triggering Unit, Operator: ==, and Value 2: "level you want your hero to gain the ability". Then add a new Action as Add Upgrade Level For Player (its under the Tech Tree heading). Change Upgrade to the name of the Upgrade you created and change the player number.
That should do it. I cannot help you with the animation as I do not know how to.
I am working on a survival type starcraft 2 map and need some help on a few issues as well as a few features I am unsure how to do.
I have setup a leveling system for one of my units and have added several abilities to that unit. How would I go about making those abilities only available when certain levels have been achieved?
I created the ability to summon mercenaries for a unit on my map. I changed the unit that was being summoned. For some reason the space drop animation does not play, it just has the unit appear. Please advise on how I can get the animation to play again.
Thanks in advance for your help.
For making abilities available only when certain levels have been achieved, you would need an upgrade and a requirement.
First go to the Upgrades tab. Create a new upgrade based on Default Upgrade (name it whatever you want and make sure you click Suggest for ID).
Now go to the Requirements tab and create a new requirement (choose Upgrade for Tech Type). On the right hand side of the requirement you just created, you need to edit the Requirement+ field. A new window will pop-up. Add a Requirement Node under the Use category (right click Use and click Add Requirement Node). Click on the requirement node you just added and make the following changes: Type: Count Upgrade, Alias: "name of the Upgrade" you created in the Upgrades tab, and State: Completed. Now if you don't want the ability button to be shown on your hero until you have achieved a certain level, add a new requirement node under the Show category too with the same settings as the one for the Use category.
When you got that done, go to the Abilities tab and select the ability you want your hero to gain when a certain level have been achieved. On the right side, edit the Commands+ field. Select Execute at the top, then in the Search field under Requirements, type in the name of the Requirement you created in the Requirements tab, select it, and click OK.
Note: I haven't used this Event or Condition before, so I am not 100% certain that I am using the right Event and Condition for this Trigger, but this is what I got. Open the Triggers window (F6). Create a new Trigger and add a new Event as Unit Gains Experience Level on the right hand side of the new Trigger. Leave it at Any Unit and add a new condition. Make the following changes: Value 1: Unit Type Of Unit, Unit: Triggering Unit, Operator: ==, and Value 2: "name of your Hero". Add another condition and make the following changes: Value 1: Experience Level Of Unit, Unit: Triggering Unit, Operator: ==, and Value 2: "level you want your hero to gain the ability". Then add a new Action as Add Upgrade Level For Player (its under the Tech Tree heading). Change Upgrade to the name of the Upgrade you created and change the player number.
That should do it. I cannot help you with the animation as I do not know how to.
Thanks for the tip, I worked on your feedback and also found this video tutorial that helped http://www.youtube.com/user/OneTwoSC#p/c/173BF2C00B5085DB/1/o6Uz0YXgZME
I was also able to get the answer to the calldown animation here, http://us.battle.net/sc2/en/forum/topic/801650514?page=1#3