Hi.
Anyone know how to show the number of workers, I have this.
Players
All
Condition:
Always
Action: (Leader Board:Control)
Show Leader Board for most control of Drone- Display Drone
wait
Show Leader Board for most control of VCE - Display VCE
wait
Show Leader Board for most control of Probe - Display Probe
wait
But it shows all the players what the others have
I would like it individually
None.
Add the action "Leaderboard Computer Players (State)", set to "disabled".
Trial and error... mostly error.
You cant individualize leaderboard without using euds.. theres some other threads on how to do this roy made an good explaining to me a year ago or so.
But if you want to use euds you need eud editor2 or 3 and other stuff to i think. So if you wanna go this way i can search to find the thread on how to do this with euds for you..
Heres short explaining on how to do it if need more you can ask roy
individualized leaderboard
Post has been edited 1 time(s), last time on Nov 17 2020, 5:53 pm by GGmano.
A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl
Ill try do my best in making all youre watchers happy
The maps I made are tweaked into perfection and maximum strategy added
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
There's also a way without EUDs. It requires a lot of conventional triggers. The idea is to have a trigger system that can count the number of workers and put the result in custom score and then display that. This assumes you don't care about the race of workers (but can be easily modified to only show a certain worker type).
As for counting there's 2 ways:
a) Binary Countoffsb) One trigger for every possible number of workers
a) Uses only a few triggers (e.g. 7 instead of 100). But you need to give the workers from one player to another as often as you want to refresh the count. This deselects any selected workers, which becomes an issue if you want to build something with it, and potentially other side effects.
I recommend
b) since a) is probably not practical. Use a
trigger duplicator or
another.
So what you do is have a lot of triggers that look like this:
Player Force (or whoever you need it to run for)
Current Player Commands exactly 1 worker
Set Current Player Custom Score to 1
Preserve Trigger
Player Force (or whoever you need it to run for)
Current Player Commands exactly 2 workers
Set Current Player Custom Score to 2
Preserve Trigger
... up until however many workers you can possibly have (e.g. 100)
Player Force (or whoever you need it to run for)
Current Player Commands exactly 100 workers
Set Current Player Custom Score to 100
Preserve Trigger
Collapse Box
There's also a way without EUDs. It requires a lot of conventional triggers. The idea is to have a trigger system that can count the number of workers and put the result in custom score and then display that. This assumes you don't care about the race of workers (but can be easily modified to only show a certain worker type).
As for counting there's 2 ways:
a) Binary Countoffsb) One trigger for every possible number of workers
a) Uses only a few triggers (e.g. 7 instead of 100). But you need to give the workers from one player to another as often as you want to refresh the count. This deselects any selected workers, which becomes an issue if you want to build something with it, and potentially other side effects.
I recommend
b) since a) is probably not practical. Use a
trigger duplicator or
another.
So what you do is have a lot of triggers that look like this:
Player Force (or whoever you need it to run for)
Current Player Commands exactly 1 worker
Set Current Player Custom Score to 1
Preserve Trigger
Player Force (or whoever you need it to run for)
Current Player Commands exactly 2 workers
Set Current Player Custom Score to 2
Preserve Trigger
... up until however many workers you can possibly have (e.g. 100)
Player Force (or whoever you need it to run for)
Current Player Commands exactly 100 workers
Set Current Player Custom Score to 100
Preserve Trigger
And a trigger to show custom score in leaderboard? i assume you can max have 1 individualized custom score show for players than if im correct? idk i tryid many things with leaderboard but it always showed score for all players only computer players you can leave out from the leaderboard. also in my ds map i have custom score shown on leaderboard too but it shows all players customs score. so im not fully sure if your correct in the possibilty to show only 1 players score in the leaderboard but your probaly right.. ive only done this with euds tho.. The way i see your triggers is that if player 1 owns 4 workers and player 2 owns 8 workers, than you can have a leaderboard showing 4 p1(redplayer) 8p2(blue) for both players correct me if im wrong but thats still not individualized shown for each player. i think he wants player 1 to only see the amount of workers player 1 have on leaderboard and player 2 to only see the amount of workers player 2 have and i beleive this is not possible without euds.
Post has been edited 1 time(s), last time on Nov 18 2020, 8:27 pm by NudeRaider.
A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl
Ill try do my best in making all youre watchers happy
The maps I made are tweaked into perfection and maximum strategy added
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
I see. Yeah I assumed he wants show everyone's worker count to everyone.
But it shows all the players what the others have
I would like it individually
from my understanding he wants it to be shown for only for one player. and that as far as i know is only possible with euds
A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl
Ill try do my best in making all youre watchers happy
The maps I made are tweaked into perfection and maximum strategy added