Editing leaderboard

DonMushroom

Member
Reaction score
4
Hi i have a leader board with that shows 8 players. Im looking to split it into 2 leader boards of 4 (1 for each team) and was wondering how i would go about this? :)

The one on nexus wars is a good example :)
 
Just to clear things up for others, do you want both leaderboards visible to both teams?

-Kyuft:shades:
 
Ok i have figured out the questions :)

I have a leader board with 12 players on it and have set row one as a header team 1 for column and kills for column 2.

Ok so :D

I would like the leader board splitting into two teams.

Team 1 Kills
(names of players) 58 (however many kills they have)
Team 3 Kills
(names of players) 434

I have the player names and kill counts all working.

The things im struggling with are :)

I would like the leader board to only show the players that are playing.
So if 3 people are on team 1 and 5 people are on team 2 then the leader board will show


Team 1 Kills
Player 1
Player 2
Player 3

Team 2 Kills
Player 4
Player 5
Player 6
Player 7
Player 8

So basically a leader board that only shows the players that are playing and puts them in the right row for there team

How do i set team two's header row to be on the row it needs to be?
How do i set the rows for each player to start on so it all works correctly?


This is what i have so far :)

Actions
Leaderboard - Create a leaderboard with 2 columns and 12 rows, with the name "Kills", and using (100%, 100%, 100%) color.
Variable - Set Kill Board = (Last created leaderboard)
Leaderboard - Set (Last created leaderboard) item text at column 2 and row Header to "Kills"
Leaderboard - Set (Last created leaderboard) item text at column 1 and row Header to "Player"
General - Pick each integer from 1 to 12, and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Status of player (Picked integer)) == Playing
Then
Leaderboard - Set (Last created leaderboard) item text at column 1 and row (Picked integer) to (Name of player (Picked integer))
Leaderboard - Set (Last created leaderboard) item text color at column 1 and row (Picked integer) to (Color((Current player (Picked integer) color)))
Leaderboard - Set (Last created leaderboard) item text at column 2 and row (Picked integer) to "0"
Else
Leaderboard - Set (Last created leaderboard) item text at column 1 and row (Picked integer) to "Not Playing"
Leaderboard - Show all leaderboards for (All players)

Nexus Wars Euro has pretty much exactly what im looking for but without all the income stuff on it :)
 
I'm at school, so I am just making this up off of the top of my head.
You might need to make the leaderboard 14 rows for this solution.
Set Column 1 row 1 to "Team 1:"
For players on team 1, set their row to (picked number +1)
then make an action that counts how many players on team 1 are playing. Tell it to set column 1 row (number of active players on team 1 +1) to "Team 2:".
For players on team 2, make their row (picked number + number of players on team 1 +1).
Should work, however "Team 1:" and "Team 2:" wont be centered.

-Kyuft:shades:
 
Will this make the leader board only add the amount of rows for the amount of active players and put them all in the right row for there corresponding team? :D
 
General chit-chat
Help Users
  • The Helper The Helper:
    Happy Tuesday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top