Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Custom Score for Rapid Multiple Kills?
Custom Score for Rapid Multiple Kills?
Sep 3 2008, 1:53 pm
By: jozsef  

Sep 3 2008, 1:53 pm jozsef Post #1



OK this is what i'm trying to do.

1 zergling = 25 points

Player 1 psi storms 10 enemy zerglings and they all die at the same time. The map adds 250 points to his score.

Now the problem I keep hearing about is that a map can't record custom points if the kills are too rapid. Is there any way that a map can do this?

Also do you guys know of any tools that can generate massive amounts of triggers?



None.

Sep 3 2008, 2:26 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

For future reference check the wiki first. It has a Kills to Cash Tutorial (and a lot more).
Methods 2 & 3, "Rewards based on opponent deaths" and ""Perfect" kills to cash" are the methods that may suit your needs.




Sep 3 2008, 5:04 pm PCFredZ Post #3



In the link NudeRaider gave you, scroll all the way down to the last Perfect Kills to Cash article. The recommendations mention using a rapid attacking unit to speed up the updating of the leaderboard.



None.

Sep 3 2008, 6:10 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/?file=609

If you feel up to digging through this, it has the kills to cash perfect method already implemented. Unfortunately, I didn't do it with multiple units (only zealots are made, and each kill/razing gives one mineral). It does, however, work much faster than the original method, since multiple people can get money in the same trigger cycle. It essentially requires everything to be moved to player 8 (the last player to run triggers), but lets you get kills much faster.

You will want trigger duplicator or text trigger duplicator to make a lot of triggers quickly.
http://www.staredit.net/files/383/
It would seem devilesk's text trigger duplicator isn't in the database. Someone might have it, or check the maplantis DB.



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

Sep 4 2008, 12:50 am Falkoner Post #5



You can also award based on score, so like, instead of setting it to 0, you can subtract 50, which is the score of a zergling, of course, this would have problems if you are killing more than 1 type of unit, if it's a defense, you can change the amount of points subtracted based on which level you're on.



None.

Sep 4 2008, 10:20 am jozsef Post #6



hi guys thanks for the replies. I actually did check out some of that kills to cash documentation before i made this topic.

the problem is i'm not making a "kills to cash" map (if u understand that term correctly...). it's actually just a normal melee map, except it keeps a tally of the value of each unit killed in the course of the game. it doesn't even really qualify as a UMS, technically (although it will require to be run in UMS mode to work of course).

in a melee game there can easily be dozens of units dying simultaneously in the same second, and i need the map to somehow tally up the points for all of those units without missing any of them.

from what you've linked it seems there is no clean method for doing this? one thing i was able to do in the past was, a crude method. i made a new trigger for each unit death, so it went like this:

Player kills 1st zergling, add 25 points.
Player kills 2nd zerglings, add 25 points.
...
Player kills 1000th zergling, add 25 points

I ended up with about 15,000 triggers. The map ended up a bit laggy and weighing 700 KB. But it also records every kill, no matter how rapidly massive amounts of units are dieing.

However whenever there's a bug it's quite annoying sifting through 15k triggers to fix it. I was hoping there was a cleaner method out there? But nobody seems to know one?

Also "devilesk's text trigger" sounds like it would be handy, does anybody have it so that I could get it off you, please? I checked mapatlantis but it apparently died.

Thanks again for the replies, I really appreciate your help. Been trying to make this map for like 5 years!

PS. thanks "rockz" for that trigger duplicator. I think that might come in handy fixing my 15k trigger map lol!

Post has been edited 3 time(s), last time on Sep 4 2008, 10:36 am by jozsef.



None.

Sep 4 2008, 1:58 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

The game automatically sums up the point values of killed units. You can access it via kills score.

For what purpose are you tallying the points? Just to display "the best killer"? Then use a leaderboard.
For other purposes use the kills-to-cash methods and modify them to your needs. Although they are called kills to cash it doesn't mean you couldn't display a text, give units or whatever you desire instead of a monetary reward.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
[2024-5-16. : 3:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
Please log in to shout.


Members Online: Roy, 5camilae1523eh1, Ultraviolet