Staredit Network

Staredit Network -> UMS Assistance -> Money For Kills
Report, edit, etc...Posted by TippyFreaK03 on 2004-06-11 at 13:39:07
i am using hypertriggers now, and im using the trigger that supposedly gives you money for kills:

condition:
current player kills score is at least 1

action:
modify score for current player: subtract 1 kills
modify resources for cp: add 1 minerals and vespane
preserve trigger

the problem is that once u get 1 kill, it keeps going and never stops adding resources. whats the problem?
Report, edit, etc...Posted by Yoshi da Sniper on 2004-06-11 at 14:18:12
Subtracting Kills doesn't work, you have to set it to zero.

Which also means, you'll need hypertriggers wink.gif
Report, edit, etc...Posted by Harros on 2004-06-11 at 15:31:12
I had this same problem. Kills score is not 1 for 1. It is the actual point value of the unit being killed so for example a zealot would be 200. A marine would be 100. It is whatever the (I believe default) cost (Haven't tryed changing the cost of the units yet) of the unit is times 2. You can see this is you say display leaderboard for kills.

Do what yoshi said.
Report, edit, etc...Posted by Yoshi da Sniper on 2004-06-11 at 15:41:15
Thats Kills & Razings.
Report, edit, etc...Posted by Harros on 2004-06-11 at 16:27:51
Try it. Kills is an actual score value, not just 1. Check the leaderboard. I was trying to do the samething as he was and it just kept money flowing.

I believe that Kills and razings is a lot more.
Report, edit, etc...Posted by Extralucas on 2004-06-11 at 17:28:46
Kills and razings is very unacurate. When subtractign Kills & Razings score it never subtracts the amount you desired. It's the best to have one trigger changing either kills to razings or razings to kills.

(I prefer kills to razings, since it's useful in RPG maps, where there are more units than buildings, so you can have different points value for kills at different conditions, like specific locations, where the creatures are stronger.)
Report, edit, etc...Posted by Mini Moose 2707 on 2004-06-11 at 19:01:15
Um, Extralucas, it's not Kills and Razings that's IN(not un)-accurate, it's the user. If they don't know the scores in point values, then it's not going to work. If it isn't subtracting the amount desired, you set it wrong then.

Example: CP has 50 Kills Score, Subtract 50 Kills Score, Add 1 Mineral, PT.

You kill a zergling, you get a mineral. You kill a Zealot for 200 Points, you get 4 Minerals. There is no "inaccuracy".
Report, edit, etc...Posted by Harros on 2004-06-11 at 19:07:30
But hes looking for 1 kill = 1 mineral.

The onyl way to set this up with the Kills thing is find out the point value of all the units, then set up some switchesthat determain how much to subtract.

EX:

Con:
Currentplayer kill score is at least 200
Switch Zealot is set

Actions:
Subtract 200 Kill score
Add 1 to custom
Add 1 to minerals
preserve trigger

***

Con:
Currentplayer kill score is at least 100
Switch Marine is set

Actions:
Subtract 100 Kill score
Add 1 to custom
Add 1 to minerals
preserve trigger
Report, edit, etc...Posted by Locke on 2004-06-11 at 19:07:42
I think he meant subtracting from Kills and razings is innacurate. Ill have to check that out and make sure mine doesnt get all screwed up! Your example is for the kills score. Lets face it. It sucks really bad to get one mineral per kill thats the beauty of giving minerals for kill score and then making sure the units strengths are right. Like in my open rpg
Report, edit, etc...Posted by Harros on 2004-06-11 at 19:10:12
The original starter of this topic asked about kills, not kills and razings.
Report, edit, etc...Posted by DT_Battlekruser on 2004-06-12 at 00:48:50
No offense, but you people are scaring me.

QUOTE(Harros)
I had this same problem. Kills score is not 1 for 1. It is the actual point value of the unit being killed so for example a zealot would be 200. A marine would be 100. It is whatever the (I believe default) cost (Haven't tryed changing the cost of the units yet) of the unit is times 2. You can see this is you say display leaderboard for kills.


The point kill score value is preset in the units.dat file. Seriously.

QUOTE(Harros)
But hes looking for 1 kill = 1 mineral.

The onyl way to set this up with the Kills thing is find out the point value of all the units, then set up some switchesthat determain how much to subtract.

EX:

Con:
Currentplayer kill score is at least 200
Switch Zealot is set

Actions:
Subtract 200 Kill score
Add 1 to custom
Add 1 to minerals
preserve trigger

***

Con:
Currentplayer kill score is at least 100
Switch Marine is set

Actions:
Subtract 100 Kill score
Add 1 to custom
Add 1 to minerals
preserve trigger


Here's a not foolproof but really good way used in many defense maps:

Conditions:
-Player kills score is at least 50

Actions
-Set player kills score to 0
-Add 1 custom to currentplayer score.

Hypertrigger it, and it will work better. Now your kills is your custom score value.

jawdrop.gif detective.gif jawdrop.gif

[EDIT] Hmmm. Upon closer look, it's just Harros that scares me. I'm feeling better that Yoshi knows this. closedeyes.gif 50 works better than 1 because otherwise (even with hypertriggers) you could have an overlap.[/EDIT]
Report, edit, etc...Posted by Harros on 2004-06-12 at 02:05:44
The points look like they are twice as much as the cost. A Zealot being worth 200 and cost is 100 minerals. The marine costs 50 and its worth 100.

I am not too knowledgable on the actual hard-coded stuff (hense the Average rank I gave myself). I also don't add to the hord of defense maps out so I am not to knowledgable on the subject of points. I was helping a guy out on a defense map and thats how I figured out that the kills score is not your kills but rather your points for kills.

Also, with your way, how would it count for 2 units killed at the same time? Mine adds up and then subtracts. Depending on the level depends on how much to subtract and therefore can keep track of the kills in full.

EDIT: BTW, I know that the subtract 1 thing doesn't work either and pretty sure I said that. So why am scaring you?
Report, edit, etc...Posted by Extralucas on 2004-06-12 at 08:49:21
IF you want to check score for creating or killing each unit you can try StarDraft's Arsenal.

You can find it here: http://www.campaigncreations.org/starcraft...StarDraftSE.exe
Report, edit, etc...Posted by Mini Moose 2707 on 2004-06-12 at 10:23:01
No need to download a program to check the values.
We have a list here.
http://www.staredit.net/index.php?showtopic=1885&st=0
Report, edit, etc...Posted by Thermo on 2004-06-13 at 00:01:22
I made a thingy awhile back that could get 1 mineral for 1 kill type setups if you want me to post it up for you i will. You just need to tell me.
Next Page (1)