Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Leaderboard 4 Observers different 1 4 players
Leaderboard 4 Observers different 1 4 players
This topic is locked. You can no longer write replies here.
Jan 20 2010, 2:40 am
By: Apocalypse535  

Jan 20 2010, 2:40 am Apocalypse535 Post #1



When i make a leaderboard for player 7 only all players see it. I dont want that. I want a leaderboard for Observers and only observers see it. And i want a leaderboard for players and only players see it. I tried doing this myself but both leaderboards show up for all players..any idea on what i could do to make this work the way i want?

i found a map that had a leaderboard for obs only but i cant duplicate the trigger. This is the trigger.
Conditions:
Player 9 has suffered exactly 538976288 deaths of UnitID:15618
Actions:
Show Greed Leaderboard for Player closest to accumilation of 0 ore and gas.



None.

Jan 20 2010, 2:48 am Kaias Post #2



Quote from Apocalypse535
When i make a leaderboard for player 7 only all players see it. I dont want that. I want a leaderboard for Observers and only observers see it. And i want a leaderboard for players and only players see it. I tried doing this myself but both leaderboards show up for all players..any idea on what i could do to make this work the way i want?

i found a map that had a leaderboard for obs only but i cant duplicate the trigger. This is the trigger.
Conditions:
Player 9 has suffered exactly 538976288 deaths of UnitID:15618
Actions:
Show Greed Leaderboard for Player closest to accumilation of 0 ore and gas.
Setting a leaderboards sets it for all players. What that map does, however, is uses a local EUD condition that is only true for the observer slots, though I'm not sure what exactly it is reading that is unique.



None.

Jan 20 2010, 2:55 am Apocalypse535 Post #3



would you happen to know how i can make the leaderboard show for players and obs only? and how to make a EUD trigger?



None.

Jan 20 2010, 4:29 am Newb Post #4



If you're using SCMDraft 2, then you simply make the condition as it looks. When inputting a UnitID, it goes into the unit slot by typing in, ID:15618, exactly how I wrote it. You will want to copy the death condition exactly how that person has ( if they did it right ). As for the EUD, I've never seen that one before, so I don't know how it will activate. :ermm: Probably one of the 'pros' will have to answer that one. I guess this wasn't that much help though. :|



None.

Jan 20 2010, 8:47 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

use the memory condition. Address is 187424. If the trigger still works, that is.
Should be something along the lines of
Memory(187424,exactly,538976288)

alternatively, if that doesn't work, you can display text for the observers, detect that, and turn on the leaderboard at the beginning of the game. I'm not sure which address he's reading there (6413e4 is the actual address, idk what that is, but it looks like it's text).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 20 2010, 8:53 pm Heinermann Post #6

SDE, BWAPI owner, hacker.

Use hotkeys for different leaderboards (F5, F6, F7, F8).
Sample map: [attach=5491]

Only Observers can view the leaderboard. Yes there are a few too many triggers, but it was a rush job anyway.

Attachments:
Observer.scx
Hits: 7 Size: 21.27kb




Jan 21 2010, 12:20 am Apocalypse535 Post #7



here is what i want to work. and the leaderboards must only show for the forces their applied to.

Force 1, Force 2. <--p1-3 force 1 p4-6 force 2
Condition: (whatever you decide)
Action:
Display Leaderboard Kills:
Force 3. <--p7-8 force 3
Condition: (whatever you decide)
Action:
Display Leaderboard Kills:
Wait (10000)
Display Greed Leaderboard:
Wait (10000)
Display Control Leaderboard:
Wait (10000)
Preserve Trigger();

Post has been edited 1 time(s), last time on Jan 21 2010, 1:25 am by Apocalypse535.



None.

Jan 21 2010, 4:15 am rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

just do the f5-f8. The first condition detects keypress. I assume the 2nd condition detects player number.

If you really want to do it that way, make your own trigger. Use the 2nd condition as at least 5.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 22 2010, 1:41 am Apocalypse535 Post #9



how do i do that? i noticed i couldnt type in the trigger heinermann did in starforge either..



None.

Jan 22 2010, 2:10 am rockz Post #10

ᴄʜᴇᴇsᴇ ɪᴛ!

Download the newest version of SCMDraft in the sticky. The new one has the memory condition.

Edit the "conditions.lst" file in your starforge directory so that you use player number instead of player player. While you're at it you might as well change unit to unit number rather than unit unit.

Open the map in staredit and save the triggers, then import them in another map in staredit/fartyedit/SCXE

Hex edit the map.

There's 4 options, with the best one being update your SCMDraft.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 22 2010, 2:20 am Apocalypse535 Post #11



hey so what should i put in the memory condition to make it? you saw what 2 triggers i want in my map in the previous post.



None.

Jan 22 2010, 4:39 am Heinermann Post #12

SDE, BWAPI owner, hacker.

Quote from rockz
If you really want to do it that way, make your own trigger. Use the 2nd condition as at least 5.
Whoops. Should be 4 too.
[attach=5509]

Just set the number (4) in the second condition to the number of players participating in the matchup. For example: 2 players and 6 observers. Set the number to 2.
Only Observers will be able to use these hotkeys to access the leaderboard.

Just copy&pasta the triggers. Note: SCMDraft might break because it doesn't correctly allow triggers with no conditions.

Attachments:
Observer.scx
Hits: 0 Size: 20.87kb

Post has been edited 2 time(s), last time on Jan 22 2010, 4:46 am by Heinermann.




Jan 22 2010, 6:44 am Apocalypse535 Post #13



I got it to work thank you very much Heinermann. My map is now on the map showcase forum.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: Roy, Wing Zero