Hey all I'm trying to setup upgrades that double in cost every time there purchased and have additive effects for 25 levels. This all works thanks to help from the forums, but there is one bug I'm having trouble figuring out, right now you can queue up attack, lets say 5 times for 50 minerals. When really it should cost you 50/100/200/400/800. I believe the solution to the problem is to add a requirement to the command card stating "must not be already in queue", does this requirement already exist and I missed it? Otherwise can someone guide me as to how to make it. I haven't really experimented with requirements yet.
Actually, the way current sc2 upgrades (in normal melee) overcomes this problem is by making every level its own upgrade ^^ redundancy REJOICE~~\\
U guess you can make a validator to stop it. Alternatively make 25 upgrades :P
How to use validators are everywhere in tutorial section in the forums.
What you can do is set a requirement so that you can use the upgrade while its in queue (what you said except its not thru the command card)
In the Data field requirement create a new requirement , or if you set up a requirement for your upgrade already go to that.
Go to the data field Requirement +. Now under use create a new requirement node type not. Make another node except now under not and set its type to count upgrade. For the Count upgrade, set the alias to what ever your upgrade is, and for state set it to queued.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey all I'm trying to setup upgrades that double in cost every time there purchased and have additive effects for 25 levels. This all works thanks to help from the forums, but there is one bug I'm having trouble figuring out, right now you can queue up attack, lets say 5 times for 50 minerals. When really it should cost you 50/100/200/400/800. I believe the solution to the problem is to add a requirement to the command card stating "must not be already in queue", does this requirement already exist and I missed it? Otherwise can someone guide me as to how to make it. I haven't really experimented with requirements yet.
Actually, the way current sc2 upgrades (in normal melee) overcomes this problem is by making every level its own upgrade ^^ redundancy REJOICE~~\\ U guess you can make a validator to stop it. Alternatively make 25 upgrades :P
How to use validators are everywhere in tutorial section in the forums.
http://forums.sc2mapster.com/development/tutorials/1666-data-time-of-day-dependent-buffs/
What you can do is set a requirement so that you can use the upgrade while its in queue (what you said except its not thru the command card)
In the Data field requirement create a new requirement , or if you set up a requirement for your upgrade already go to that.
Go to the data field Requirement +. Now under use create a new requirement node type not. Make another node except now under not and set its type to count upgrade. For the Count upgrade, set the alias to what ever your upgrade is, and for state set it to queued.