I tried copying info from both Ghost and Predator. Neither worked.
Simple explanation:
When I build a Siege tank, I want to "unlock" the ability to build Siege Breakers.
The Units:
Factory
Research Building
Siege Tank
Siege Breaker
The abilities:
Research building research
Factory build <- The Requirement is set here, under Info+
The upgrade:
Siege Tank Research
The Requirement, attempt 1:
[From Predator] Count Upgrade - Siege Tank Research Upgrade - Completed
The Requirement, attempt 2:
Greater Than
Count Upgrade - Siege Tank Research - Completed
Constant: 0
I have tried using >= instead of just >, I have tried "Queued or better", "Total", "Completed"....
The button appears, but remains grayed out.
I tried giving the upgrade with a trigger, and researching it at the building I created.
I wrote a trigger that reports the level of the upgrade when a specific chat command is given, and the level of the upgrade is 1 (or 2, the few times I was screwing with the trigger).
Thank you very much!
I took a look at those tutorials, and tried what I could from them, but unfortunately it's not working. I'm still having the exact same problem.
Even if I knew a few better steps for debugging, I might be able to figure this out.
I have a trigger that sets the upgrade level to 1 when I build a siege tank.
I have another trigger that reports the level of the upgrade when the player types "upgrade".
In the screenshot, I typed upgrade, built the siege tank (build time was changed to instant for dev), then typed "upgrade" again. The tooltip / button never changed.
I figured it out.
The problem was not with the unit / upgrade itself, but rather with the fact that I was using a "Shop Share" ability (from Biffu's tutorial), which temporarily shared a Neutral structure with the "Hero".
The problem, of course, was that the upgrades apply to the specific owner of the structure.
The only solution I can see is to have a modified "shop share" ability that completely transfers ownership.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I tried copying info from both Ghost and Predator. Neither worked.
Simple explanation: When I build a Siege tank, I want to "unlock" the ability to build Siege Breakers.
The Units: Factory Research Building Siege Tank Siege Breaker
The abilities: Research building research Factory build <- The Requirement is set here, under Info+
The upgrade: Siege Tank Research
The Requirement, attempt 1: [From Predator] Count Upgrade - Siege Tank Research Upgrade - Completed
The Requirement, attempt 2: Greater Than Count Upgrade - Siege Tank Research - Completed Constant: 0
I have tried using >= instead of just >, I have tried "Queued or better", "Total", "Completed".... The button appears, but remains grayed out. I tried giving the upgrade with a trigger, and researching it at the building I created.
I wrote a trigger that reports the level of the upgrade when a specific chat command is given, and the level of the upgrade is 1 (or 2, the few times I was screwing with the trigger).
What am I doing wrong? ><
i have some tutorials
upgrades- http://forums.sc2mapster.com/development/tutorials/7199-data-moving-from-wc3-editor-to-sc2-editor-part-4-upgrades/#p2
custom tech tree tutorial- http://forums.sc2mapster.com/development/tutorials/8014-data-moving-from-wc3-editor-to-sc2-editor-part-5-custom/#p2
Send me a PM if you still cant figure it out.
Thank you very much! I took a look at those tutorials, and tried what I could from them, but unfortunately it's not working. I'm still having the exact same problem. Even if I knew a few better steps for debugging, I might be able to figure this out.
Sent you a PM.
Still having trouble with this :(
I have several screenshots of what is going on...
This is the Requirement:
This is the ability:
And this is an in-game screenshot:
I have a trigger that sets the upgrade level to 1 when I build a siege tank.
I have another trigger that reports the level of the upgrade when the player types "upgrade".
In the screenshot, I typed upgrade, built the siege tank (build time was changed to instant for dev), then typed "upgrade" again. The tooltip / button never changed.
Regretfully, I must bump.
I figured it out.
The problem was not with the unit / upgrade itself, but rather with the fact that I was using a "Shop Share" ability (from Biffu's tutorial), which temporarily shared a Neutral structure with the "Hero".
The problem, of course, was that the upgrades apply to the specific owner of the structure.
The only solution I can see is to have a modified "shop share" ability that completely transfers ownership.