Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: leader board help
leader board help
Nov 28 2007, 2:40 pm
By: keops  

Nov 28 2007, 2:40 pm keops Post #1



hi. im new at making maps. i want to ask a question. how can i make leader board work only for specific players? for example: i have activated a leader board (kills). how do i make it to work only when i kill enemy units and not my units or my ally's units too?

thanks.



None.

Nov 28 2007, 5:03 pm NudeRaider Post #2

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

Sc doesn't offer that. You would have to use custom score and keep track of the kills manually.

This can be rather complicated depending on what exactly you want to count.
If you are the only one that kills units you could check for deaths of the player, subtract 1 death for that player whenever he suffered at least 1 death and add one custom score for you.

But if your actual problem is you want to prevent the player from getting kills (thus gaining xp or w/e) for killing units of the allied town (example!) there's another effective solution:

Always set the town as ally for the player (preserved) while hypertriggers are running. Only very few units (like crackling) will be able to even hit a town unit. And damage would be drastically reduced and player would be forced to constantly attack manually which is usually too annoying.

If nothing applied for your exact problem, elaborate exactly what you need (how many players, alliances, which/whose units give kills, etc.) and we can work out a solution.




Nov 28 2007, 5:05 pm Oyen Post #3



Well, leaderboards naturally don't count any units of yours that you kill yourself. As for allies, use a trigger that continously allies players, so that they can't attack/kill eachother's units.



None.

Nov 28 2007, 5:06 pm 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

Quote from keops
how do i make it to work only when i kill enemy units and not my units or my ally's units too?
You don't get Kills or Score for selfkilling.

EDIT: MUHAHAHA 2 Minutes earlier! @Oyen :P -jk




Nov 28 2007, 6:15 pm keops Post #5



Quote from NudeRaider
Sc doesn't offer that. You would have to use custom score and keep track of the kills manually.

This can be rather complicated depending on what exactly you want to count.
If you are the only one that kills units you could check for deaths of the player, subtract 1 death for that player whenever he suffered at least 1 death and add one custom score for you.

But if your actual problem is you want to prevent the player from getting kills (thus gaining xp or w/e) for killing units of the allied town (example!) there's another effective solution:

Always set the town as ally for the player (preserved) while hypertriggers are running. Only very few units (like crackling) will be able to even hit a town unit. And damage would be drastically reduced and player would be forced to constantly attack manually which is usually too annoying.

If nothing applied for your exact problem, elaborate exactly what you need (how many players, alliances, which/whose units give kills, etc.) and we can work out a solution.

damn! i thought there was a better solution. yeah, i knew about the custom point/death sutraction scheme. in fact, this is the only thing i've figured it'll do the job. it worked for a while, but when i decided to add a similar trigger to give rewards for killing the enemy's workers it messed up the scoring system. the triggers were like this:

if:
enemy players suffer death of at least 1 any unit
then:
add 1 custom point to player 1
subtract 1 death for enemy players
preserve trigger

but when i added

if:
enemy players suffer death of at least 1 scv
then:
give 250 rocks and 75 gas to player 1
subtract 1 death for scv for enemy players
preserve trigger

it messed up the whole scoring system. so when i tested, after i killed 20 enemy units, of which some where scv's the final score was only 17. the second triggered worked though, and i received compensation for every scv. its a pitty that starcraft has such a rudimentary mapping system and Blizzard didn't implemented more complex features. is there really no way i can disable scoring for killing allied units without using custom points? some hack perhaps?

10x.

btw i also wanted to add a tk banning system using death but it didn't work as it was also triggered when the enemies attacked my ally's units.

Quote from NudeRaider
Only very few units (like crackling) will be able to even hit a town unit.

crackling.. i like that :D is it from pot farm?

Post has been edited 1 time(s), last time on Nov 28 2007, 6:21 pm by keops.



None.

Nov 28 2007, 7:47 pm who Post #6



A crackling is a ling with attack speed upgrade.
The easiest method would be the method nuderaider mentioned, which was having a preserve-allying trigger (with hypers of course). I suggest you use this instead, and then have the trigger for the bonus of scv separate.
Constantly allying causes most units unable to attack the allied players, and the ones that can have to be ordered for every single attack.



None.

Nov 29 2007, 4:54 pm NudeRaider Post #7

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

Quote from keops
it messed up the whole scoring system. so when i tested, after i killed 20 enemy units, of which some where scv's the final score was only 17. the second triggered worked though, and i received compensation for every scv.
lol... the solution is blatantly obvious here... just add 1 custom point for the player in the scv trigger.

Quote from keops
its a pitty that starcraft has such a rudimentary mapping system and Blizzard didn't implemented more complex features. is there really no way i can disable scoring for killing allied units without using custom points? some hack perhaps?
No, there isn't.
Ofc you can write your own sc exe (and whatever files you will also need) that do whatever you want but for help about that you are way off the right forum.
And everyone who's playing your map will also need your files.
Oh and don't forget to write an editor with all the extended commands :P

Quote from keops
btw i also wanted to add a tk banning system using death but it didn't work as it was also triggered when the enemies attacked my ally's units.
Yes, i know that problem... I need something similar for one of my maps but I never found a solution for this because sc triggering is so %$§&ing limited...




Nov 29 2007, 6:33 pm keops Post #8



ok, nvm. ill figure something out. i got another question now. is there something i can use like a bot to fill in the human slots or a program that allows you to run multiple instances of starcraft so i can better test my map? thanks.



None.

Nov 29 2007, 7:43 pm who Post #9



There aren't any that I know of, but you can test with a friend or use two computers.
For a TK banning system you could have a team majority vote ban or something, I think that would work fine, along with hyper trigger-allying.



None.

Nov 29 2007, 7:44 pm Ahli Post #10

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

set the human players to neutral. then they are ingame (behave like neutral, they do nothing) and their triggers work, too.




Nov 30 2007, 9:32 am keops Post #11



i found a way. i use two windows accounts and i can now run multiple instances of starcraft. wont work with no cd loaders or hacks though.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: Roy