Is there an action that will reset the value of mineral patches and vespene geysers across the entire map to 100% their original value? On Melee maps, two of the patches at each starting location is 900, and the others are worth 1500, and geysers are worth 2500. I was setting their resource values to 1500, but that's not exactly the correct solution.
While I have your attention, any way to prevent mineral patches from disappearing when they reach 0?
I believe you can loop on all resources on the map, and set their resources equals to their original maximum resource.
Here's how I would do it:
http://i.imgur.com/RI0Lojl.png
I did not test this but it should work :p
For your second question, there is a flag to turn on, on the resource behavior, just like the vespene geyser:
http://i.imgur.com/JrQ32Z8.png
I'll try to see why it doesn't work later, in the meantime you can use another method, a bit brutal but it should work, it is just remove the unit, and create the same unit at the same place or you can also use the "Replace Unit" function I believe
Ok I think I found the problem. The filter I used was wrong, you must use "Resource (harvestable)" and "Resource (Raw)" separatly.
However if you want to use only one loop, you can do like this:
Is there a way to do this across the entire map?
Is there an action that will reset the value of mineral patches and vespene geysers across the entire map to 100% their original value? On Melee maps, two of the patches at each starting location is 900, and the others are worth 1500, and geysers are worth 2500. I was setting their resource values to 1500, but that's not exactly the correct solution.
While I have your attention, any way to prevent mineral patches from disappearing when they reach 0?
thanks for your time!
I believe you can loop on all resources on the map, and set their resources equals to their original maximum resource. Here's how I would do it: http://i.imgur.com/RI0Lojl.png
I did not test this but it should work :p
For your second question, there is a flag to turn on, on the resource behavior, just like the vespene geyser: http://i.imgur.com/JrQ32Z8.png
@VisionElf: Go
Thanks for the response.
http://imgur.com/a/C4a5c
The mineral reset doesn't seem to work :(
I'll try to see why it doesn't work later, in the meantime you can use another method, a bit brutal but it should work, it is just remove the unit, and create the same unit at the same place or you can also use the "Replace Unit" function I believe
@VisionElf: Go
Thanks, but those don't seem to work either.
Also, when I play the game in its published form, minerals have 20,000, and geysers have 25,000... Don't know why that's happening.
I'd be happy to send you the file if you'd like to take a look.
Hm strange...
Go on, send me the file i'll take a look
Ok I think I found the problem. The filter I used was wrong, you must use "Resource (harvestable)" and "Resource (Raw)" separatly. However if you want to use only one loop, you can do like this:
http://i.imgur.com/zUxc0ia.png
I have tested it and it worked.