Staredit Network > Forums > SC1 Mapping Tools > Topic: StarEdit
StarEdit
Nov 17 2020, 2:05 pm
By: juallere  

Nov 17 2020, 2:05 pm juallere Post #1



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.

Nov 17 2020, 2:12 pm IlyaSnopchenko Post #2

The Curious

Add the action "Leaderboard Computer Players (State)", set to "disabled".



Trial and error... mostly error.

Nov 17 2020, 5:45 pm GGmano Post #3

Mr.Pete-Tong

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

Nov 18 2020, 11:48 am NudeRaider Post #4

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 Countoffs
b) 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 has 1 worker
Players

  • Player Force (or whoever you need it to run for)
  • Conditions

  • Current Player Commands exactly 1 worker
  • Actions

  • Set Current Player Custom Score to 1
  • Preserve Trigger


  • Player has 2 workers
    Players

  • Player Force (or whoever you need it to run for)
  • Conditions

  • Current Player Commands exactly 2 workers
  • Actions

  • Set Current Player Custom Score to 2
  • Preserve Trigger


  • ... up until however many workers you can possibly have (e.g. 100)

    Player has 100 workers
    Players

  • Player Force (or whoever you need it to run for)
  • Conditions

  • Current Player Commands exactly 100 workers
  • Actions

  • Set Current Player Custom Score to 100
  • Preserve Trigger





  • Nov 18 2020, 7:05 pm GGmano Post #5

    Mr.Pete-Tong

    Quote from NudeRaider
    Collapse Box
    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

    Nov 18 2020, 8:32 pm NudeRaider Post #6

    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.




    Nov 18 2020, 8:54 pm GGmano Post #7

    Mr.Pete-Tong

    Quote from juallere
    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

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [01:56 am]
    Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
    [09:24 pm]
    Moose -- denis
    [05:00 pm]
    lil-Inferno -- benis
    [10:41 am]
    v9bettel -- Nice
    [2024-4-19. : 1:39 am]
    Ultraviolet -- no u elky skeleton guy, I'll use em better
    [2024-4-18. : 10:50 pm]
    Vrael -- Ultraviolet
    Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
    hey cut it out I'm getting all the minerals
    [2024-4-18. : 10:11 pm]
    Ultraviolet -- :P
    [2024-4-18. : 10:11 pm]
    Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
    [2024-4-17. : 11:50 pm]
    O)FaRTy1billion[MM] -- nice, now i have more than enough
    Please log in to shout.


    Members Online: Zycorax, jun3hong, Oh_Man, Ultraviolet