I probably know the anwser, i just 4got

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
kills to minerals:

Condition:
player kills atleast 1 #UNIT#
Action:
set deaths of #UNIT# subtract 1
set resources for #PLAYER# add #AMOUNT# of minerals/vespene
wait 500 milli
preserve
 

MacMan

BattleForums Senior Member
Joined
May 17, 2003
Messages
1,943
Reaction score
1
way wrong answer
 

Fyllo Zilotis

Member!
Joined
May 25, 2003
Messages
19
Reaction score
0
Website
Visit site
ok i tried tassadar's awnser but the gas just keps on comming! how do i make it stop so when i'm no killing the units, i dont get gas?
 

Vindexus

Member!
Joined
Jan 2, 2003
Messages
99
Reaction score
0
Website
Visit site
the problem with tassadar's answer is that the conditions are always met after you've killed one guy.

Use the Kills and Razings score. Find out the kills score for each unit.

Conditions
- Kills score is at least (score of unit)

Actions
- Subtract _____ Kills Score
- Add ____ Minerals
- Preserver trigger
 

SiLeNT(U)

Member!
Joined
May 17, 2003
Messages
76
Reaction score
0
Website
Visit site
vindexus, wrong answer that wouldnt work u forgot a trigger

Conditions
- Kills score is at least (score of unit)

Actions
- Subtract _____ Kills Score
- Add ____ Minerals
- Preserver trigger

Conditions
- Always

Actions
- Set Kill Score For All Players to 0
- Preserver trigger

If u wanted u could combine those 2 into 1 trigger, but without the second trigger it would only work once, the kill score list can be found here http://www.campaigncreations.org/starcraft/staredit/killscore.txt
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
Silent you committed a Mutliple trigger Felony just there.
1. If the second trigger was placed above the first the first wouldn not work at all
2. You would have a major problem with the second trigger
if you placed it under all players or under a individual human players you would have problems with it clearing the other players kill score leaving them mineraless.
3. If a player happens to kill serveral units in a short time then you end up getting points for a few but then having the rest of th data cleared

Vindexus was more right in what he has. Sadly there is no full proof true way to relate minerlals to kills specificly and exactly many methods are close but require alot of work and may only work in a given map where there are few things that can happen
 

MacMan

BattleForums Senior Member
Joined
May 17, 2003
Messages
1,943
Reaction score
1
You can always use kill score, where if you want 5 minerals for a zerg, the kill score would be exactly 50, subtract it, and get the minerals. Of course you would need a hypercheck to make this work correctly.
 

fritfrat

Member!
Joined
May 30, 2003
Messages
456
Reaction score
0
Website
Visit site
use the program SCtrigger (find it on yahoo, I don't feel like uploading it, lol), it automatically creates the triggers of giving x minerals or gas every whatever kills. in general, this is what it does automatically once you fill in the fields:

Con:
player x kills atleast y units.

Act:
add 1 resource to player 1 or whatever the hell the trigger is

then in the next triggah it does the same thing over again only instead of, oh say 10 units, 20. then u can set it to automatically make these triggers as far as you want it to go. a really nice program, really, because if not you would have to make 1 trigger for every single mineral or gas the players would get, which would take a hella long time. if you cannot find it after a good effort looking for it reply and I will email it to you or upload it so you can download it. :)



vindexus has the best point, though. a lot of times, expecially in RPGs or something, it goes by kill score. in general the kill score of a unit, if costs no gas, is twice the amount that it costs to build in minerals, broodling 25. and a few others I know off the top of my head are hydra 350 and goon 500. ultra like almost 2000 or something, I don't know. unless it is a defense map and you want 1 mineral per 10 kills or whatever you want, I would just use score.

good luck!
 
Joined
Jun 25, 2003
Messages
9
Reaction score
0
Location
Nowhere
Website
Visit site
hahaha i figured it out.

Players:
All Players/Force #

Conditions:
Current Player Kill score is at least 1 (Score)

Actions:
Modify resources for current player add (1) minerals (Set Resourc.)
Modify score for current player set to 0 kills (Set Score)
Wait for 100 milliseconds
Preserve Trigger.

This is a lot easier and works better than having to find out the score for each one of the units.

SS_Dark-Marine
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
you don't want to set the kill score to 0 because when you kill many units fast then there deaths become unoticed. if you have hyper triggers it will work most the time but still is subject to error
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
umm it should be (in the actions):

SET TO (subtract 1 kill) or else the trigger misses sometimes.
 

NewPosts

New threads

Top