Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: kill one enemy and add mineral
kill one enemy and add mineral
Jan 24 2014, 12:50 am
By: ranmakun  

Jan 24 2014, 12:50 am ranmakun Post #1



Hi masters, i have what to kill one scourge enemy, when add 25 mineral for me (human player), only every time what i kill one scourge enemy. I try with preserve trigger but does not stop to add 25 mineral.... Help me please :-( have any idea?? :stfu:



None.

Jan 24 2014, 12:55 am Dem0n Post #2

ᕕ( ᐛ )ᕗ

Don't use the death condition to detect when you kill a scourge. Instead use the Scourges kill score and make the condition when player one has kill score of x, add 25 minerals and subtract that kill score. You can find a list of unit kill scores somewhere on sen or on the internet.




Jan 24 2014, 1:18 am ranmakun Post #3



thanks for the answer!!! but..work with 4 human players??



None.

Jan 24 2014, 1:43 am Dem0n Post #4

ᕕ( ᐛ )ᕗ

Yeah, just have it run for four players and then make the condition "Current player has kill score of exactly 200." Then, add the minerals and subtract the kill score.




Jan 24 2014, 1:44 am Roy Post #5

An artist's depiction of an Extended Unit Death

This is known as a Kills to Cash system. This question is probably the most often asked question in this forum.

Here's a bunch of implementations in the wiki: http://www.staredit.net/starcraft/Kills_to_cash

Here's some previous topics that you might find to have insightful answers:




Jan 25 2014, 3:13 pm Sacrieur Post #6

Still Napping

The kill score method will only reliably work if one type of unit is being killed. If multiple units are being killed, then refer to Roy's post.



None.

Feb 5 2014, 9:47 pm Dungeon-Master Post #7



Quote from Sacrieur
The kill score method will only reliably work if one type of unit is being killed. If multiple units are being killed, then refer to Roy's post.

It works just fine if you make sure you don't kill other units with the same score, and if you do, make sure they're worth the same amount of ressource (by making their stats similar, for example.)



None.

Feb 5 2014, 10:10 pm Roy Post #8

An artist's depiction of an Extended Unit Death

Quote from Dungeon-Master
It works just fine if you make sure you don't kill other units with the same score, and if you do, make sure they're worth the same amount of ressource (by making their stats similar, for example.)
Not exactly. Say you kill a Marine (100) and a Zergling (50) at the same time. These are different unit types with different scores, but the total score adds up to 150, which happens to also be the score for killing a Vulture. So you can't distinguish between killing a Vulture and killing a Marine+Zergling at the same time just by relying on the kill score.

The "Perfect" kills to cash system(s) attempt to remedy this by also associating a death of a unit type with the score, but there's still the scenario where Player 1 kills a Marine+Zergling and Player 2 kills a Vulture at the same time, and Player 1 ends up being rewarded for the Vulture kill while Player 2 is rewarded for the Marine+Zergling. It's all explained quite well in the wiki article. This type of occurrence is rare for many game types, which is why the name of these systems are audaciously called perfect (while appropriately wrapping "perfect" in quotes), so it's ultimately up to the mapmaker to decide if it's the appropriate approach.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Moose