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.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Roy, Ultraviolet