I'm trying to think of ways to try to accurately detect the exact amount of supply a player has.
With terran the unit values are as follows:
Units Points Score:
--------------------
50 = Marine/SCV(1)
75 = Vulture(2)
100 = Firebat(1)
125 = Medic(1)
175 = Ghost(1)
200 = Goliath(2)
300 = Dropship(2)
350 = Tank(2)
400 = Wraith(2)/Valkyrie(3)
1200 = Battlecruiser(6)
Problem 1: Wraiths and Valks have the same unit point value, but valk has 3 supply and wraith has 2.
Problem 2: When a player has a large production going like 10+ production buildings going at the same time, the trigger system i'm using can't keep up EVEN with hyper triggers.
Conditions:
Player 1 unit score is exactly 50.
Actions:
Subtract 50 units points from Player 1.
Add 1 Custom Point(represents supply on the scoreboard).
Preserve Trigger.
And do this for all of the units. To remedy the wraith/valk mix up I just disable the ability to build valks. It works fine when the player has less than 7 production buildings once it goes beyond that the counter starts to fail.
Any ideas?
None.
Instead of using kill score, try using
Kills to Cash Perfect, it's a bit more complicated, but as the title suggests, it's perfect.
None.
If you feel adventurous...
0058212C 1.15.2 Win Zerg Underlings Available 4 12 1 int specifying Zerg Underlings Available for Players 1-12…
0058215C 1.15.2 Win Zerg Underlings Used 4 12 1 int specifying Zerg Underlings Used for Players 1-12. Not…
0058218C 1.15.2 Win Zerg Underlings Max 4 12 1 int specifying Zerg Underlings Max for Players 1-12. Note…
005821BC 1.15.2 Win Terran Supply Available 4 12 1 int specifying Terran Supply Available for Players 1-12. …
005821EC 1.15.2 Win Terran Supply Used 4 12 1 int specifying Terran Supply Used for Players 1-12. Note …
0058221C 1.15.2 Win Terran Supply Max 4 12 1 int specifying Terran Supply Max for Players 1-12. Note t…
0058224C 1.15.2 Win Protoss Psi Available 4 12 1 int specifying Protoss Psi Available for Players 1-12. No…
0058227C 1.15.2 Win Protoss Psi Used 4 12 1 int specifying Protoss Psi Used for Players 1-12. Note th…
005822AC 1.15.2 Win Protoss Psi Max 4 12 1 int specifying Protoss Psi Max for Players 1-12. Note tha…
If you know how to use EUDs, this should be easy. Otherwise I'd have to explain EUDs and then show you how to use these values which come before the Death table.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Instead of using kill score, try using
Kills to Cash Perfect, it's a bit more complicated, but as the title suggests, it's perfect.
I found out through using the values from the KILL SCORE do not represent UNIT SCORE. This is detecting SUPPLY/PSI/UNDERLING COUNT, not points to minerals.
About EUDs, unfortunately I do not how to use them. I was hoping for something avoiding that. So I wouldn't have to learn it. But thank you for providing the values for me, I'll see what I can do.
None.
OH, I just remembered something.
I do not know if those values are still correct.. The death table hasn't moved in 1.15.3, so I do not think anything else should. I will double-check those values tomorrow to make sure they are current.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
http://www.staredit.net/topic/2757/see my 2nd post, replace the HP number with your current food, and continue down. Once you get that, I can help you more for actually getting it into the map (though you can just save the .trg file and import into staredit).
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
These values are before the death table (unless 1.15.3 moved the), so you have to use triggers other than Death to reach them.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
I found out through using the values from the KILL SCORE do not represent UNIT SCORE. This is detecting SUPPLY/PSI/UNDERLING COUNT, not points to minerals.
I know that, Kills to Cash perfect is set up to use Kills, something normally not feasable, I posted it because the method, while it needs a couple modifications, will work for your problem.
None.
if u use eud triggers, wouldnt u need to make A LOT of triggers to detect every possible supply/psi/underling count for each race for each player?
None.
A simple, but extremely flawed, solution that does not use EUDs can be to leave one of the resources dedicated to tracking food count. For example, let gas represent food. Then a Marine would cost 50 minerals and 1 gas. Then, you have a trigger for each unit that detects a death and gives back the gas. For example, if current player suffered the death of at least 1 Marine, subtract 1 death of Marine for current player, add 1 gas for current player, preserve trigger.
Problems of course are many:
- You lose an entire resource type.
- Terran repair skill screws up your food counter. (you'd have to replace normal metal units with hero metal with modified resource counts, but that screws up upgrades and rally points, and it does nothing for dropships)
- Killing a Zerg egg screws up your food counter. (a death of an egg is a death of an egg, not the unit it contains)
Make of it what you will. EUDs are probably your best bet though.
None.