Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Does anyone know all the euds for F5-F8?
Does anyone know all the euds for F5-F8?
Apr 27 2014, 9:02 am
By: Apocalypse535  

Apr 27 2014, 9:02 am Apocalypse535 Post #1



So like i used eud's to program into my map press F5-F8 for certain leaderboards to show.
What are all the eud's for F5-F8 for players 1-8? Cuz i dont have them all.

And on my map i want to show supply limit. I went with a primitive men count. It just shows a number like 50 thats all. But i'd rather show supply limit like honestly 150/200 with a picture of a guy next to it. How do i do this? I got resources to show right. Its minerals and gas with a picture next to it.

You know i honestly believe i've seen supply limit projected in a map the way i want it. Anybody know how to do that?

And what if i place a map revealer for p9-P11 anyway to turn on shared vision with those players?
Or is vision automaticly on with them? I know you can use stuff like player 200. Any players allied vision to all players?
I want my players to be able to see the lights for stacking without an ally for allied vision. Like be by themselves and
still see lights.

EDIT: when i said p1-8 i meant all players ok. I want the eud's for F5-F8 for all players.

Post has been edited 3 time(s), last time on Apr 27 2014, 11:16 pm by Apocalypse535.



None.

Apr 27 2014, 2:26 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Quote from Apocalypse535
So like i used eud's to program into my map press F5-F8 for certain leaderboards to show.
What are all the eud's for F5-F8 for players 1-8? Cuz i dont have them all.
Ripped straight from EUDGen:

Code
Trigger("Player 1"){
Conditions:
    Memory(12746, Exactly, 1);

Actions:
    Comment("IF (Local) Player is holding down the 'F5' key");
}

//-----------------------------EUDGen-----------------------------//

Trigger("Player 1"){
Conditions:
    Memory(12746, Exactly, 256);

Actions:
    Comment("IF (Local) Player is holding down the 'F6' key");
}

//-----------------------------EUDGen-----------------------------//

Trigger("Player 1"){
Conditions:
    Memory(12746, Exactly, 65536);

Actions:
    Comment("IF (Local) Player is holding down the 'F7' key");
}

//-----------------------------EUDGen-----------------------------//

Trigger("Player 1"){
Conditions:
    Memory(12746, Exactly, 16777216);

Actions:
    Comment("IF (Local) Player is holding down the 'F8' key");
}

//-----------------------------EUDGen-----------------------------//

There is no difference between Player 1 and Player 8 pressing these keys because key press detection is local. For more information on this, read Section 5 of the EUD tutorial. For changing the leaderboard display, you should be fine using this.


Quote from Apocalypse535
And on my map i want to show supply limit. I went with a primitive men count. It just shows a number like 50 thats all. But i'd rather show supply limit like honestly 150/200 with a picture of a guy next to it. How do i do this? I got resources to show right. Its minerals and gas with a picture next to it.

You know i honestly believe i've seen supply limit projected in a map the way i want it. Anybody know how to do that?
There isn't a way to do this as far as I know. The reason you can do it for resources is because there's an action specifically designed to show resources, but there is no action to show supply. Furthermore, you can't use the leaderboard overflow trick to show current/max supply because all player race supplies are grouped together, meaning if you set the offset to start at P1 Terran supply, P2 would be showing P1's Zerg supply.

Quote from Apocalypse535
And what if i place a map revealer for p9-P11 anyway to turn on shared vision with those players?
Or is vision automaticly on with them? I know you can use stuff like player 200. Any players allied vision to all players?
I want my players to be able to see the lights for stacking without an ally for allied vision. Like be by themselves and
still see lights.
No, you can't use extended players as means of providing vision. They don't even have vision to themselves. You'll have to rely on allied vision from at least one player between Players 1 and 8.




Apr 27 2014, 11:05 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Apocalypse535
And on my map i want to show supply limit. I went with a primitive men count. It just shows a number like 50 thats all. But i'd rather show supply limit like honestly 150/200 with a picture of a guy next to it. How do i do this? I got resources to show right. Its minerals and gas with a picture next to it.

You know i honestly believe i've seen supply limit projected in a map the way i want it. Anybody know how to do that?
Not sure what exactly you want there. SC already shows supply limit by default as x/y (e.g. 63/73). Give the player enough supply for the respective race and it'll show as 63/200. But I believe the player has to own a main structure (e.g. Command Center)




Apr 27 2014, 11:17 pm Apocalypse535 Post #4



Alright i ment all players not just 1 and 8. So what are the F5-F8 eud's for all players? And thanks for the help.

And hey Roy so those eud's will work for all players? I'd love that. And you know what else i'd love.
If someone can give me eud's that last forever cuz when starcraft is patched they dont work anymore i think.

EDIT: Oh and one more thing. I have seen supply show with 150/200 but i think it was some hacky stuff like
eud's. It was a Observer map. It shown supply limit how i want it shown.

P.S. Please reply to this reply aswell.

Post has been edited 1 time(s), last time on Apr 27 2014, 11:55 pm by Apocalypse535.



None.

Apr 27 2014, 11:20 pm trgk Post #5



Quote from Apocalypse535
And on my map i want to show supply limit. I went with a primitive men count. It just shows a number like 50 thats all. But i'd rather show supply limit like honestly 150/200 with a picture of a guy next to it. How do i do this? I got resources to show right. Its minerals and gas with a picture next to it.

You can count Terran Command Center, Terran Supply Depot, Protoss Nexus, Protoss Pylon, Zerg Hatchery and Zerg Overlord.
Costs about 250 triggers (If you don't use the Give Unit action)



EUD

Apr 27 2014, 11:20 pm Dem0n Post #6

ᕕ( ᐛ )ᕗ

It's the same, as Roy said. Just copy the triggers he gave you for players 1-8.




Apr 28 2014, 12:21 am Apocalypse535 Post #7



Quote from trgk
Quote from Apocalypse535
And on my map i want to show supply limit. I went with a primitive men count. It just shows a number like 50 thats all. But i'd rather show supply limit like honestly 150/200 with a picture of a guy next to it. How do i do this? I got resources to show right. Its minerals and gas with a picture next to it.

You can count Terran Command Center, Terran Supply Depot, Protoss Nexus, Protoss Pylon, Zerg Hatchery and Zerg Overlord.
Costs about 250 triggers (If you don't use the Give Unit action)

Hey what do you mean? You mean this is how i show my 150/200 supply on my leaderboard?



None.

Apr 28 2014, 12:39 am trgk Post #8



Quote from Apocalypse535
Quote from trgk
Quote from Apocalypse535
And on my map i want to show supply limit. I went with a primitive men count. It just shows a number like 50 thats all. But i'd rather show supply limit like honestly 150/200 with a picture of a guy next to it. How do i do this? I got resources to show right. Its minerals and gas with a picture next to it.

You can count Terran Command Center, Terran Supply Depot, Protoss Nexus, Protoss Pylon, Zerg Hatchery and Zerg Overlord.
Costs about 250 triggers (If you don't use the Give Unit action)

Hey what do you mean? You mean this is how i show my 150/200 supply on my leaderboard?


Trigger:
Condition:
Always()
Actions:
SetScore(P1, SetTo, 0, Custom)

Trigger: Conditions: Command(P1, Exactly, 1, Comman Center) Actions: SetScore(P1, Add, 10, Custom), Preserve Trigger()
Trigger: Conditions: Command(P1, Exactly, 2, Comman Center) Actions: SetScore(P1, Add, 20, Custom), Preserve Trigger()
Trigger: Conditions: Command(P1, Exactly, 3, Comman Center) Actions: SetScore(P1, Add, 30, Custom), Preserve Trigger()
Trigger: Conditions: Command(P1, Exactly, 4, Comman Center) Actions: SetScore(P1, Add, 40, Custom), Preserve Trigger()
...
Trigger: Conditions: Command(P1, Exactly, 19, Comman Center) Actions: SetScore(P1, Add, 190, Custom), Preserve Trigger()
Trigger: Conditions: Command(P1, AtLeast, 20, Comman Center) Actions: SetScore(P1, Add, 200, Custom), Preserve Trigger()
// Do the same for other supplies. Hatchery/Lair/Hive has only one supply, so counting them requires 200 triggers for each. (weird)

Trigger:
Conditions:
Score(P1, AtLeast, 201, Custom)
Actions:
SetScore(P1, SetTo, 200, Custom)

-> P1's custom score = supply limit. Show it in the leaderboard.

// Fixed following Azreal's advice. P1 was just for demonstation.
Added preserve trigger(); My trigger generation tool auto-flags preserve trigger flag, so I had just omitted it.

Post has been edited 1 time(s), last time on Apr 28 2014, 11:01 am by trgk.



EUD

Apr 28 2014, 2:57 am O)FaRTy1billion[MM] Post #9

👻 👾 👽 💪

Quote from Roy
Furthermore, you can't use the leaderboard overflow trick to show current/max supply because all player race supplies are grouped together, meaning if you set the offset to start at P1 Terran supply, P2 would be showing P1's Zerg supply.
Are you sure? My notes have it as a nine lists of 12 integers, one for each player, one list for each supply value.
Code
00582144     1.16.1     Win     Zerg Supplies Available     4     12    
00582174     1.16.1     Win     Zerg Supplies Used     4     12    
005821A4     1.16.1     Win     Zerg Supplies Max     4     12    
005821D4     1.16.1     Win     Terran Supplies Available     4     12    
00582204     1.16.1     Win     Terran Supplies Used     4     12    
00582234     1.16.1     Win     Terran Supplies Max     4     12    
00582264     1.16.1     Win     Protoss Supplies Available     4     12    
00582294     1.16.1     Win     Protoss Supplies Used     4     12    
005822C4     1.16.1     Win     Protoss Supplies Max     4     12


Except there is also the problem of the value listed will be double the actual value.

EDIT:
I just tested real quick, 00582144 is p1 zerg supply available, 00582144+4 is p2 zerg supply available. ;o Unless I'm misunderstanding the way the leaderboard works ...



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Apr 28 2014, 3:49 am Apocalypse535 Post #10



1billion are you telling me how to show supply on my map? Finalize what your saying like..my map is
you can be any race you want. I need it for every race, supply to show 150/200.

And anyone gonna answer if those eud's work for every player?



None.

Apr 28 2014, 4:21 am Roy Post #11

An artist's depiction of an Extended Unit Death

Quote from O)FaRTy1billion[MM]
Are you sure? My notes have it as a nine lists of 12 integers, one for each player, one list for each supply value.
Oh whoops, no, you're right. I could have sworn they were grouped differently, but yeah, I can verify that's the case. The double value thing would probably be the biggest issue, then.

Quote from Apocalypse535
1billion are you telling me how to show supply on my map? Finalize what your saying like..my map is
you can be any race you want. I need it for every race, supply to show 150/200.
This isn't possible through the leaderboard unless you do the arithmetic yourself and store it in custom score like trg suggested, which is a lot of work. Even then, you couldn't show both the max supply and current supply at the same time.

Quote from Apocalypse535
And anyone gonna answer if those eud's work for every player?
I already told you it's a local EUD. Did you read the information on the link I provided? It works for the "current player," so to speak, so it doesn't matter if you're Player 1, Player 2, Player 3, Player 4, Player 5, Player 6, Player 7, or Player 8.




Apr 28 2014, 6:26 am Apocalypse535 Post #12



Yo guys in this link.

http://www.staredit.net/topic/9686/

I need to reupload my map. If any of you can help me please do the error is not enough space.
You guys should check out my map to after i get to reupload it.



None.

Apr 28 2014, 6:40 am Azrael Post #13



Quote from trgk
Quote from Apocalypse535
Quote from trgk
Quote from Apocalypse535
And on my map i want to show supply limit. I went with a primitive men count. It just shows a number like 50 thats all. But i'd rather show supply limit like honestly 150/200 with a picture of a guy next to it. How do i do this? I got resources to show right. Its minerals and gas with a picture next to it.

You can count Terran Command Center, Terran Supply Depot, Protoss Nexus, Protoss Pylon, Zerg Hatchery and Zerg Overlord.
Costs about 250 triggers (If you don't use the Give Unit action)

Hey what do you mean? You mean this is how i show my 150/200 supply on my leaderboard?


Trigger:
Condition:
Always()
Actions:
SetScore(P1, SetTo, 0, Custom)

Trigger: Conditions: Bring(P1, Exactly, 1, Comman Center) Actions: SetScore(P1, Add, 10, Custom)
Trigger: Conditions: Bring(P1, Exactly, 2, Comman Center) Actions: SetScore(P1, Add, 20, Custom)
Trigger: Conditions: Bring(P1, Exactly, 3, Comman Center) Actions: SetScore(P1, Add, 30, Custom)
Trigger: Conditions: Bring(P1, Exactly, 4, Comman Center) Actions: SetScore(P1, Add, 40, Custom)
...
Trigger: Conditions: Bring(P1, Exactly, 19, Comman Center) Actions: SetScore(P1, Add, 190, Custom)
Trigger: Conditions: Bring(P1, AtLeast, 20, Comman Center) Actions: SetScore(P1, Add, 200, Custom)
// Do the same for other supplies. Hatchery/Lair/Hive has only one supply, so counting them requires 200 triggers for each. (weird)

Trigger:
Conditions:
Score(P1, AtLeast, 201, Custom)
Actions:
SetScore(P1, SetTo, 200, Custom)

-> P1's custom score = supply limit. Show it in the leaderboard.

Yeah, this would be the way to do it. There's no reason you can't, an extra 1000 triggers isn't even that bad :P

However, you should change "Brings" to "Commands", and change "P1" to "Current Player".

The first change for performance optimization, and the second change for obvious reasons.




Apr 28 2014, 7:03 am Apocalypse535 Post #14



If you guys are talking about showing supply in my map. Please make it as basic as possible.

And do any of you have a map with supply showing on leaderboard the way i want? It should say 150/200 with a pic on side.
Or anyone wanna make an example map and give it to me? With supply showing that way?



None.

Apr 28 2014, 9:47 am Roy Post #15

An artist's depiction of an Extended Unit Death

Quote from Apocalypse535
If you guys are talking about showing supply in my map. Please make it as basic as possible.
That is as basic a description as you can get: for every unit that gives supply, you add that to a running total to give you the player's max supply. For every unit that takes supply, you add that to a running total to give you the player's currently used supply. This is going to take several hundreds/thousands of triggers to accomplish.

Quote from Apocalypse535
And do any of you have a map with supply showing on leaderboard the way i want? It should say 150/200 with a pic on side.
Or anyone wanna make an example map and give it to me? With supply showing that way?
I'm not sure how many different ways I can phrase "this isn't possible to do" for you. There won't be an example map for your request because it can't be accomplished.

Quote from Apocalypse535
You know i honestly believe i've seen supply limit projected in a map the way i want it. Anybody know how to do that?
I'm actually 100% certain you're thinking of a popular hack that shows this information (it could also be toggled to show IP Address, resources, etc.). These aren't things you can do in a map: it would require modding.




Apr 28 2014, 11:29 pm Apocalypse535 Post #16



My fastest extreme is up again. Go check it out you can download it.
Its fastest map to a whole nother level. No rigs in it either its a fair game.

http://www.staredit.net/topic/9686/



None.

Apr 29 2014, 1:27 pm Sacrieur Post #17

Still Napping

Quote from Apocalypse535
If you guys are talking about showing supply in my map. Please make it as basic as possible.

And do any of you have a map with supply showing on leaderboard the way i want? It should say 150/200 with a pic on side.
Or anyone wanna make an example map and give it to me? With supply showing that way?

We can't do that because we can't make slashes (or any other non numeric character) appear in the leaderboard.

Post has been edited 1 time(s), last time on Apr 29 2014, 1:40 pm by Sacrieur.



None.

Apr 29 2014, 2:13 pm lil-Inferno Post #18

Just here for the pie

Quote from Sacrieur
Quote from Apocalypse535
If you guys are talking about showing supply in my map. Please make it as basic as possible.

And do any of you have a map with supply showing on leaderboard the way i want? It should say 150/200 with a pic on side.
Or anyone wanna make an example map and give it to me? With supply showing that way?

We can't do that because we can't make slashes (or any other non numeric character) appear in the leaderboard.
You could always put "/ 200 Supply" as the leaderboard display, but it'll only show at the first leaderboard entry.




Apr 29 2014, 5:33 pm Azrael Post #19



Quote from lil-Inferno
You could always put "/ 200 Supply" as the leaderboard display, but it'll only show at the first leaderboard entry.

And that'd be wrong basically 100% of the time, since players don't start with max supply.

Best solution, if it satisfies the desired result, is to split up "Used Supply" and "Total Supply" into two different leaderboards which the user can switch between.




Apr 29 2014, 6:22 pm Sacrieur Post #20

Still Napping

Quote from Azrael
Quote from lil-Inferno
You could always put "/ 200 Supply" as the leaderboard display, but it'll only show at the first leaderboard entry.

And that'd be wrong basically 100% of the time, since players don't start with max supply.

Best solution, if it satisfies the desired result, is to split up "Used Supply" and "Total Supply" into two different leaderboards which the user can switch between.

This can be done with EUDs with a simple touch of a button. Perfectly seamless.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
Please log in to shout.


Members Online: Roy