HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I Need Help With Leader Board!!

10-28-2003, 10:43 PM#1
The_Inquisitor3
well i followed the tutorial in this web site step by step. and the board its working BUT the Kills are not working.... i mean.. when i kill some 1 the board kills value stays in "0" allways.... why its not working??? what can i do?? any other ways than the tutorial in this site???!! and how do i can put 2 teams in the leaderboard? that way i can count the kills of 2 teams in the same board. its that possible???

Thanks

---I really dont understand whats going on... now only 1 player get the kills count....
10-28-2003, 10:57 PM#2
drezman
whats the triggering that u r using?
10-28-2003, 10:58 PM#3
drezman
try a variable so that when a player or units dies and player or unit X kills them make leaderboard player 1 = variable.
10-28-2003, 11:06 PM#4
AllPainful
Umm... somthing I noticed a while back is that the tutorial is missing an "Action" in the update trigger (or at least everyone that uses the tut comes to the Map Making forum with the same problem...)...

You need to have an action to set the new "kills" and then refresh the leaderboard.

Here is some leaderboard help, with a map that you can look at the triggers on.
10-28-2003, 11:07 PM#5
The_Inquisitor3
http://www.wc3campaigns.com/sections...rticle&artid=5

go there.. thats the trigger.... THANKS FOR ANSWERING so FAST :D im making a dam good castle defense including duels and edited skins... i need some help with the leader board to be able to make the "duels" triggers

(im using the event A unit dies)

//By the way, its any possible way to reduce the lag of the game? because the map runs a little slow i guess because im using too many general events... is there any way to run the map more "Smooth"???
10-28-2003, 11:15 PM#6
drezman
something like this should work, bit sketchy but ull get idea

Wait 1 seconds
For each (INteger A) from 1 to 12, do (Set Kills[(interger a)]=0)
Wait 1 seconds
Leader board- create a leaderboard for all players titled .....
Set theleaderboard = last created leaderboard
leaderboard-add neutral hostile to (last created leaderboard) with label team 1 kills and value 0
leaderboard-change the color of the label for neutral hostile in (last created leaderboard) to (100%.....) with 0.00 transparency
leaderboard-change the color of the value for neutral hostile in (last created leaderboard) to (100%.....) with 0.00 transparency
player group-pick every player in team1 and do (leaderboard-add picked player to last created leaderboard with label ..... and value 0)
Leaderboard-add neutral passiv to last created leader board with label team 2 kills and value 0
leaderboard-change the color of the label for neutral hostile in (last created leaderboard) to (100%.....) with 0.00 transparency
leaderboard-change the color of the value for neutral hostile in (last created leaderboard) to (100%.....) with 0.00 transparency
player group-pick every player in team2 and do (leaderboard-add picked player to last created leaderboard with label ..... and value 0)
leaderboard-change the display style for neutral victim in last created leaderboard to show the label, hide the value and hide the icon
Leaderboard-change the color of the label for neutral victim in last created leaderboard to 100%.... with 0.00 transparency
Trigger-turn on update leaderboard
-------------------------------------
Update Leaderboard
----------------------------------
PLayer group-pick every player in all players and do leaderboard-change the value for picked player in the leaderboard to kills(playernumber of picked player)
Leaderboard-change the value for neutral hostile in the leaderboard to team1kills
Leaderboard-change the value for neutral hostile in the leaderboard to team2kills
10-28-2003, 11:20 PM#7
The_Inquisitor3
ok le me try that and thanks again !!! this forum is really fast answering stuffs! THANKS!
10-29-2003, 01:48 AM#8
The_Inquisitor3
well i guess im getting close. now the numbers changes but following ilogical patrons :( ill try to make a simple leader board based on hero levels. its that possible right?? and how do i split the leader in 2 parts (for each team) that way will be nicer.

thanks
10-29-2003, 06:45 AM#9
HEZZA
OK i Cant Stand THESE Stupid Tutorials i get dericted to, im practicaly getting a tutorial guessing what it means then i get another map look at their triggers see what they mean...


but that was a while back. IM trying to say here look at other maps.



HOHOHO i was having this problem heres a blank map with the Leaderboard, and keep in mind i havent done the good old if player slot= playing add if not dont do anything. i jsut added them manually because i had to :D


LOL 1 more thing....when i created i have last created leaderboard....doesnt realy matter for creating
10-29-2003, 07:26 AM#10
AllPainful
It IS possible to split regular leaderboards in to 2 parts BUT it will not be sortable (actually with a little advanced triggering it can be, but it wouldn't be easy)

Multiboard would be what you REALLY want if you plan on having multiple things in the board, but I don't do multiboards very well...

Leaderboards can only have up to 16 lines (1 for each player, yes there ARE 16 players, players 1-12 then Neutral Passive, Agressive, Victom, & Rescuable.)

But you CAN use any players that are not in your map to make lables for your leaderboards.. You can add the a board that is in multiple sections. And in tone board I made I had a "Player Kills" section that added the players to it. That leaderboard adds players to the "Player Kills" area if the are in the game ONLY. That map had a max of 8 players (and yes, all eight will appear in the "Player Kills" area of my leaderboard if they are all in the game). The Leader board I am talking about looked something like this (and YES this IS a leaderboard and not a multiboard, YES I do have blank lines in it, and label 1 and 2 can be anything that you wanted.):

Code:
       Map Name
Label 1         0
Label 2         0

Player Kills:
Player 1        0
Player 2        0

Computer Kills:
Player 9        0
Player 10       0

So as you can see (I guess)... I do kinda know my way around leaderboards.. So if you want to tell me EXACTLY what you need, I will gladly make the triggers for you.