Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] EUD Reading Used Supply
[SOLVED] EUD Reading Used Supply
This topic is locked. You can no longer write replies here.
Jul 4 2012, 12:31 pm
By: Templarfreak  

Jul 4 2012, 12:31 pm Templarfreak Post #1



Well, I'm a bit too lazy to go digging around. So basically I'm trying to figure out what is what for reading how much Supply / Psi / Control is being used.

Using Farty's chart I can find this,

0x0058215C
Zerg Underlings Used
1 int specifying Zerg Underlings Used for Players 1-12. Note that the value saved is what is shown*2

But how exactly do I set this up using the Death Condition?

I am wanting to read about 190 Control being used for player 1.



None.

Jul 4 2012, 7:28 pm jjf28 Post #2

Cartography Artisan

You can learn just about everything you need to make EUD triggers here: http://www.staredit.net/topic/14226/

Here's the step by step for this example:

- Make sure you're using the latest SCMDraft
- Put the address: 0x00582174 (for zerg supply), into Farty's EUDTrig, have "Use Extended Player Deaths" checked.
- In SCMDraft, use the memory condition, copy the number that came out in EUDTrig's "player number" box (in this case, -8316) into the first slot in the memory condition.
* Note: that it's on the first byte (first two 0's are red at the bottem of EUDTrig), so we don't have to worry about any modifications for reading values - see tutorial for details
- Now simply put in whether you're looking for 'at least' 'exactly' or 'at most' and the supply amount*2

So if I was looking for if the player 1 had at least 190 zerg supply used, my trigger would look like this:

Memory at Death Table + -8316 is at least 380


Quote from Templarfreak
0x0058215C
Zerg Underlings Used
1 int specifying Zerg Underlings Used for Players 1-12. Note that the value saved is what is shown*2

This is actually for broodwar 1.15.2, you probably want the values for the latest version: 1.16.1 (supply for 1.16.1 is found on page 2)

Post has been edited 2 time(s), last time on Jul 4 2012, 7:37 pm by jjf28.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jul 4 2012, 8:48 pm Roy Post #3

An artist's depiction of an Extended Unit Death

Also on that note, I created a program that does the calculations of many EUDs (including this one) for you: http://www.staredit.net/topic/14408/

As for your trigger, it would look like this (generated from the program):

Trigger("Player 8"){
Conditions:
Memory(-8316, At least, 380);
Memory(-8316, At most, 381);

Actions:
Comment("Player 1 has exactly 190 Zerg Used supply");
}

//-----------------------------------------------------------------//





Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: lil-Inferno, Roy, jun3hong