Staredit Network

Staredit Network -> UMS Assistance -> Multiple Scoreboards
Report, edit, etc...Posted by Chocobo123 on 2005-05-09 at 19:27:02
How woudl I make it so that the score board keeps alternating?With one screboard being Experience whilethe other being Gold.
Report, edit, etc...Posted by SA_Max71 on 2005-05-09 at 19:39:27
You need two triggers for this.


Trigger
Description:
The first scoreboard
Conditions:
¤ always
Actions:
¤ display the gold scoreboard
¤ wait 6,000 milliseconds
¤ presever trigger
¤ comment (if you want one)




Trigger
Description:
The first scoreboard
Conditions:
¤ elaspted time is exactly 6 seconds
Actions:
¤ display the XPeriance scoreboard
¤ wait 6,000 milliseconds
¤ presever trigger
¤ comment (if you want one)


I don't know why it works, but it does. If you change the 6 seconds to 3 seconds, make sure you change how long the wait is, and set the second trigger's condition to 3 seconds.
Report, edit, etc...Posted by KiLLeR2001 on 2005-05-09 at 19:43:30
Using wait blocks throughout the entire map is not suggested, I would use death counters instead.

Edit:

*hypers must be enabled

if player suffers at least 1 'counter'
--
subtract 1 ' counter' of unit for player
preserve

(always count down when there is an amount)


computer player suffers exactly 0 'counter' of unit
computer player suffers exactly 0 'leaderboard number'
--
display leaderboard #1
modify death count for player to 60 of 'counter'
modify death count for player set to 1 for 'leaderboard number
preserve trigger

(The above trigger will run at the start of the map, and display the first leaderboard, then set the counter to 60 (which is 5 seconds game time) then set the next leaderboard to be displayed)

computer player suffers exactly 0 'counter' of unit
computer player suffers exactly 1 'leaderboard number'
--
display leaderboard #2
modify death count for player to 60 of 'counter'
modify death count for player set to 2 for 'leaderboard number'
preserve trigger

(You can do this with however many leaderboards you want and whenever you wanna go back to the first one set leaderboard # to 0)
Report, edit, etc...Posted by O)FaRTy1billion on 2005-05-09 at 19:45:29
[center]
Trigger
Description:
Gold/Exp Leaderboard [Without HyperTriggers]
Players:
¤ Players
Conditions:
¤ Always. (Or whatever)
Actions:
¤ Show Leaderboard "Experience"
¤ Wait 2000ms (2 seconds, change if needed)
¤ Show Leaderboard "Gold"
¤ Wait 1000ms (the Preserve Trigger does 1 second)
¤ Preserve Trigger


----or----


Trigger
Description:
Gold/Exp Leaderboard [With HyperTriggers]
Players:
¤ Players
Conditions:
¤ Suffered at least 0 Deaths (of an unused unit)
¤ Suffered at most 249 Deaths (of the same unit as before, as all of these should be)
Actions:
¤ Show Leaderboard "Experience"
¤ Add 1 death
¤ Preserve Trigger



Trigger
Description:
Part 2
Players:
¤ Players
Conditions:
¤ Suffered at least 250 deaths
¤ Suffered at most 500 deaths
Actions:
¤ Show Leaderboard "Gold"
¤ Add 1 death
¤ Preserve Trigger



Trigger
Description:
Part 3
Players:
¤ Players
Conditions:
¤ Suffered at lest 501 deaths
Actions:
¤ Set to 0 Deaths
¤ Preserve trigger

[/center]

If you want me to explain more, instead of just a bunch of triggers, just say so.
Report, edit, etc...Posted by Chocobo123 on 2005-05-09 at 20:28:10
The way Sa max showed works perfectly good
Report, edit, etc...Posted by O)FaRTy1billion on 2005-05-09 at 20:30:50
ok. I started posting first but mine was much longer than both of theirs tongue.gif

Report, edit, etc...Posted by Heimdal on 2005-05-09 at 21:05:07
Using long waits is usually a bad idea. I would suggest doing something with death counters, but it doesn't have to be as complicated as killer's (but his will certainly work). Here's the trimmed-down version:

All you need is a counter that is always increasing:
Conditions:
Always
Actions:
Add 1 to deaths of "leaderboard counter" for some player
preserve trigger

And then set different leaderboards when it gets to a certain value:
Conditions:
Some player has exactly X deaths of "leaderboard counter"
Actions:
Show some leaderboard
preserve trigger

Conditions:
Some player has exactly Y deaths of "leaderboard counter"
Actions:
Show some other leaderboard
preserver trigger

And then a trigger to set the counter back to 0:
Conditions:
Some player has at least Z deaths of "leaderboard counter"
Actions:
Show first leaderboard
Set deaths for "leaderboard counter" for some player to 0
preserve trigger


The advantages of this are that there are no waits, you can easily extend it to as many leaderboards as you wish, and you can easily tailor the length that each one is shown for by setting X and Y to different values. The one downside is that the lengths won't be intuitive; you'll have to set them by trial and error.

(I just realized that this is pretty much identical to Farty's last method. His uses fewer triggers too)
Report, edit, etc...Posted by MidnightGladius on 2005-05-09 at 21:08:30
Using hypers, you'll add 12 deaths a second. Using normal triggers, it'll be one death every ~1.5 seconds.
Report, edit, etc...Posted by SA_Max71 on 2005-05-09 at 22:42:37
If your going to use hypertriggers with my meathod, make sure they are owned by a player that does use any waits (such as the computer), or they are at the bottom of the trigger list for a player.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-05-09 at 22:54:24
Or use my/heimdal's way.
Report, edit, etc...Posted by LegacyWeapon on 2005-05-09 at 22:58:57
QUOTE(MidnightGladius @ May 9 2005, 09:08 PM)
Using hypers, you'll add 12 deaths a second. Using normal triggers, it'll be one death every ~1.5 seconds.
[right][snapback]204483[/snapback][/right]
Actually it's closer to 2 seconds but w/e tongue.gif
QUOTE(O)FaRTy1billion @ May 9 2005, 10:54 PM)
Or use my/heimdal's way.
[right][snapback]204597[/snapback][/right]
That was a very obvious option that need not be stated.
QUOTE(Chocobo123 @ May 9 2005, 08:28 PM)
The way Sa max showed works perfectly good
[right][snapback]204442[/snapback][/right]
I'm pretty sure this means he's got one method to work.
Report, edit, etc...Posted by chuiu on 2005-05-09 at 23:08:03
I don't think we have enough methods posted.

Does someone else have an equally confusing (on a newbies standpoint) and differently similar method they want to post?
Report, edit, etc...Posted by LegacyWeapon on 2005-05-09 at 23:14:52
Yeah I do.

Make two locations, and a unit at one of the locations (we wil call that "End" and the other "Start").

Trigger
Players:
¤ Players this applies to.
Conditions:
¤ Current player brings at least 1 'unit' at 'End'.
Actions:
¤ Move all 'unit' at 'End' to 'Start'.
¤ Order all 'unit' at 'Start' to move to 'End'.
¤ Toggle 'Switch 1'.
¤ Preserve trigger.


Trigger
Players:
¤ Players this applies to.
Conditions:
¤ 'Switch 1' is set.
Actions:
¤ Show Leaderboard Gold.
¤ Preserve trigger.



Trigger
Players:
¤ Players this applies to.
Conditions:
¤ 'Switch 1' is cleared.
Actions:
¤ Show Leaderboard Experience.
¤ Preserve trigger.
Report, edit, etc...Posted by Red2Blue on 2005-05-10 at 02:34:57
Kinda on topic.
I had a question. In the bound "Time-Up Bound," the leaderboard displayed both ore and gas. I was wondering what the creator did to make it display both.
Report, edit, etc...Posted by in_a_biskit on 2005-05-10 at 03:45:33
Leaderboard - Greed.

QUOTE(LegacyWeapon @ May 10 2005)
QUOTE(MidnightGladius @  May 9 2005, 09:08 PM)

Using hypers, you'll add 12 deaths a second. Using normal triggers, it'll be one death every ~1.5 seconds.

Actually it's closer to 2 seconds but w/e tongue.gif

Actually, SC will check its trigger list once every two game seconds.
A map played on fastest speed will, of course, have a faster rate of checking.
Report, edit, etc...Posted by chuiu on 2005-05-10 at 07:02:18
QUOTE(Red2Blue @ May 10 2005, 01:34 AM)
Kinda on topic.
I had a question.  In the bound "Time-Up Bound," the leaderboard displayed both ore and gas. I was wondering what the creator did to make it display both.
[right][snapback]204796[/snapback][/right]

I know you were just answered, but does NOBODY visit the quick question page, the tutorial database, OR the tips and tricks page?

QUOTE
7. How do I get mineral and gas icons to show on the leaderboard?
Trigger action: "Leaderboard Greed".
Report, edit, etc...Posted by (U)Bolt_Head on 2005-05-10 at 13:25:06
QUOTE(Red2Blue @ May 10 2005, 01:34 AM)
Kinda on topic.
I had a question.  In the bound "Time-Up Bound," the leaderboard displayed both ore and gas. I was wondering what the creator did to make it display both.
[right][snapback]204796[/snapback][/right]


*Waves a flag though the air*. thumbup.gif

Go me, lol its surprizing how many people DON'T know that. And ironiclly thats pretty much the easyest trigger in that map but i get the most questions about it.
Report, edit, etc...Posted by LegacyWeapon on 2005-05-10 at 16:17:05
Some people are oblivious.
Report, edit, etc...Posted by SA_Max71 on 2005-05-10 at 17:53:02
OR were expecting something complicated in a already complicated map.
Report, edit, etc...Posted by l)ark_13 on 2005-05-10 at 18:41:50
I actually doubt this is in the tips and tricks section or quick question section. I've asked this before but never really understood how anyone explained it. I will ask one more time in hopes that I will finally understand it.

How do you make it so the "Custom Score" can have two different values (or even 3)? One would be gold, and another would be time (the time would possibly be broken up into days and hours). So I hace a custom score for time and a custom score for gold.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-05-10 at 19:07:34
You can use differant scoreboards like mentioned above but the custom score only holds one value per player. You can't have it display 3
Report, edit, etc...Posted by Sniper on 2005-05-10 at 20:47:40
you cant..theres only 1 value for custom score unfortunately =(
Report, edit, etc...Posted by chuiu on 2005-05-11 at 05:21:04
Says you.
Report, edit, etc...Posted by l)ark_13 on 2005-05-12 at 00:08:10
damn... there goes all my pretty plans tongue.gif (maybe)
Report, edit, etc...Posted by Red2Blue on 2005-05-12 at 00:13:33
QUOTE
I know you were just answered, but does NOBODY visit the quick question page, the tutorial database, OR the tips and tricks page?


There are very many lesser-informed people on sen. Not to mention the fact that normal paths are always taken, and are never swayed upon. I always go here to ask questions, so im blind to other methods of information/

Besides, it was a quick question.



And bolt, I was too impressed by the "complex triggering" in your map to have noticed the simplicity of the "Greed" Leaderboard. wink.gif
Next Page (1)