I've been slowly getting to grips with the editor, and have been making a co-operative zombie wave survival map with a day/night cycle similar to the "outbreak" campaign mission. My current issue that I've been unable to resolve on my own is that my custom upgrade is repeatable and can be queued unlimited times, but I want it to be a one-shot upgrade that can only be researched once and then disappears permanently from the command card like the "neosteel frame" upgrade in vanilla SC2.
My upgrade, "improved bunkers", currently has no effect on anything but is just meant to unlock the ability for bunkers to upgrade themselves into super bunkers. This mechanic works absolutely fine, the problem is that once researched, "improved bunkers" stays available and can be researched over and over again. I'm assuming I accidently broke it while fiddling with some other stuff in the data editor and for the life of me I can't find the setting needed to change it back.
That's pretty easy - In the Data Editor, open the Requirements tab (Data Type pull-down menu) and create a new one. Call it "Learn Improved Bunkers". Modify the "Requirements +" field, adding "Count Upgrade Improved Bunkers Queued or Better" under the "Show" folder.
Then, in the engineering bay's research ability, open up the Improved Bunkers upgrade and just but in the requirement you just created.
EDIT: Oops, I got it backward. It should be NOT Count upgrade blahblahblah...
Thanks for the help! I managed to fix it. However, I do appear to have broken something else in the meantime. The ability to fortify the bunker starts greyed out until the upgrade "improved bunkers" has been researched, it costs 10 minerals and takes 5 seconds to activate which is all well and good. However, the tooltip no longer displays the requirements, cost and time. Basically, mousing over the ability simply gives the tooltip I wrote: "Fortify the bunker, doubling its health and increasing its armor", but nothing else. I also can't remember where I found the setting that dictates the cost and time of that ability should I want to change it again in the future (in fact I want it to cost 50 minerals!)
Sorry about this, usually I can work it out for myself or find a guide online, but this one particular thing seems to be stumping me completely.
That depends on how you've set up the ability. Is it a Morph ability (sorta like a Hatchery turning into a Lair and then a Hive?)
It would be easier to see exactly how it's set up if you attach your map here (or you can send it in a private message to me if you're worried about people stealing your idea... although I don't think there are any people here who would do that)
Oh I'm not worried about people copying my idea, I took the original idea from the campaign so it's not original. I think it will be quicker to just post a screenshot of what I've got:
This is how it appears in-game:
I've got the ability set up as a morph, so it turns into "Fortified Bunker" and the model changes to the jumbo bunker model. All this works perfectly, I just can't figure out how make the mouse-over display the cost and time of the ability, as well as the "requires Improved Bunkers" tooltip if the player hasn't researched this yet.
I'd also like to change the cost of the ability from 10 minerals to 50, but I can't find anything anywhere that defines the cost. However, messing around with the "cost" field in the screenshot does nothing, as you can see it's currently set to 0|0|0|0 for all resources and yet it still costs 10 minerals to activate, so that can't be it.
I've been looking at how they set up the Hatchery > Lair > Hive morphs, and the way it's set up depends on the building costs in the Units tab:
A Hatchery costs 300 minerals.
A Lair costs 450 min and 100 gas. So the 300 from the Hatchery is subtracted, and you only end up paying the extra 150 min and 100 gas.
A Hive costs 650 min and 250 gas, which equals 200/150 once you subtract how much a Lair is worth.
I changed around the costs of these and everything in-game changes appropriately, including tool-tips. (for example, I made a Lair cost 900 minerals and that made the morph cost 600.)
So, since it looks like your fortified bunker is a separate unit, just change its cost and then the cost of the ability should change accordingly.
I'm not sure about making the tooltip costs appear. I haven't been able to find anything that'll erase the costs from the Lair's tooltip.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello everyone,
I've been slowly getting to grips with the editor, and have been making a co-operative zombie wave survival map with a day/night cycle similar to the "outbreak" campaign mission. My current issue that I've been unable to resolve on my own is that my custom upgrade is repeatable and can be queued unlimited times, but I want it to be a one-shot upgrade that can only be researched once and then disappears permanently from the command card like the "neosteel frame" upgrade in vanilla SC2.
My upgrade, "improved bunkers", currently has no effect on anything but is just meant to unlock the ability for bunkers to upgrade themselves into super bunkers. This mechanic works absolutely fine, the problem is that once researched, "improved bunkers" stays available and can be researched over and over again. I'm assuming I accidently broke it while fiddling with some other stuff in the data editor and for the life of me I can't find the setting needed to change it back.
Can anyone point me in the right direction?
That's pretty easy - In the Data Editor, open the Requirements tab (Data Type pull-down menu) and create a new one. Call it "Learn Improved Bunkers". Modify the "Requirements +" field, adding "Count Upgrade Improved Bunkers Queued or Better" under the "Show" folder.
Then, in the engineering bay's research ability, open up the Improved Bunkers upgrade and just but in the requirement you just created.
EDIT: Oops, I got it backward. It should be NOT Count upgrade blahblahblah...
Thanks for the help! I managed to fix it. However, I do appear to have broken something else in the meantime. The ability to fortify the bunker starts greyed out until the upgrade "improved bunkers" has been researched, it costs 10 minerals and takes 5 seconds to activate which is all well and good. However, the tooltip no longer displays the requirements, cost and time. Basically, mousing over the ability simply gives the tooltip I wrote: "Fortify the bunker, doubling its health and increasing its armor", but nothing else. I also can't remember where I found the setting that dictates the cost and time of that ability should I want to change it again in the future (in fact I want it to cost 50 minerals!)
Sorry about this, usually I can work it out for myself or find a guide online, but this one particular thing seems to be stumping me completely.
That depends on how you've set up the ability. Is it a Morph ability (sorta like a Hatchery turning into a Lair and then a Hive?)
It would be easier to see exactly how it's set up if you attach your map here (or you can send it in a private message to me if you're worried about people stealing your idea... although I don't think there are any people here who would do that)
Oh I'm not worried about people copying my idea, I took the original idea from the campaign so it's not original. I think it will be quicker to just post a screenshot of what I've got:
This is how it appears in-game:
I've got the ability set up as a morph, so it turns into "Fortified Bunker" and the model changes to the jumbo bunker model. All this works perfectly, I just can't figure out how make the mouse-over display the cost and time of the ability, as well as the "requires Improved Bunkers" tooltip if the player hasn't researched this yet.
I'd also like to change the cost of the ability from 10 minerals to 50, but I can't find anything anywhere that defines the cost. However, messing around with the "cost" field in the screenshot does nothing, as you can see it's currently set to 0|0|0|0 for all resources and yet it still costs 10 minerals to activate, so that can't be it.
I've been looking at how they set up the Hatchery > Lair > Hive morphs, and the way it's set up depends on the building costs in the Units tab:
A Hatchery costs 300 minerals.
A Lair costs 450 min and 100 gas. So the 300 from the Hatchery is subtracted, and you only end up paying the extra 150 min and 100 gas.
A Hive costs 650 min and 250 gas, which equals 200/150 once you subtract how much a Lair is worth.
I changed around the costs of these and everything in-game changes appropriately, including tool-tips. (for example, I made a Lair cost 900 minerals and that made the morph cost 600.)
So, since it looks like your fortified bunker is a separate unit, just change its cost and then the cost of the ability should change accordingly.
I'm not sure about making the tooltip costs appear. I haven't been able to find anything that'll erase the costs from the Lair's tooltip.