Kills to Cash
Jan 27 2010, 6:47 pm
By: Pinky  

Jan 27 2010, 6:47 pm Pinky Post #1



Yo ppl Pinky here, having troubles as usual.

I got a kill to cash system set up, it ain't workin to well. I'm using kill score. Problems I have found is:
1. Killing units at the same time, via splash or just same time doesn't reward player.
2. Killing units via triggers doesn't reward player.

How do I fix this? I couldn't find anything that helped me in the wiki, also I can't use death counts because there are multiple players capable of earning rewards not just one.

EDIT: I realised I can use DDS to fix my rewarding via triggers, anyway to bypass the splash damage though?

Post has been edited 1 time(s), last time on Jan 27 2010, 6:53 pm by Pinky.



None.

Jan 27 2010, 6:58 pm Jack Post #2

>be faceless void >mfw I have no face

The best kills-to-cash that I know goes something like this:

Player 1:
Conditions:
Current player has killscore of at least 4000
Player 8 has suffered at least 1 deaths of Infested Kerrigan
Actions:
Subtract 4000 killscore for current player
Set deaths for p8 subtract 1 deaths of Infested Kerrigan
Preserve



Player 1:
Conditions:
Current player has killscore of at least 8000
Player 8 has suffered at least 2 deaths of Infested Kerrigan
Actions:
Subtract 8000 killscore for current player
Set deaths for p8 subtract 2 deaths of Infested Kerrigan
Preserve


Player 1:
Conditions:
Current player has killscore of at least 12000
Player 8 has suffered at least 3 deaths of Infested Kerrigan
Actions:
Subtract 12000 killscore for current player
Set deaths for p8 subtract 3 deaths of Infested Kerrigan
Preserve

That will also cope with splash, if you put the triggers with the bigger numbers higher up on the trigger list.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jan 27 2010, 6:58 pm ImagoDeo Post #3



Kills to Cash (Perfect)



None.

Jan 27 2010, 7:35 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Pinky
EDIT: I realised I can use DDS to fix my rewarding via triggers, anyway to bypass the splash damage though?
That gives me one hell of an idea...



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

Jan 27 2010, 7:41 pm Pinky Post #5



Quote from rockz
Quote from Pinky
EDIT: I realised I can use DDS to fix my rewarding via triggers, anyway to bypass the splash damage though?
That gives me one hell of an idea...

God damn it Rockz you incredible bastard what have you got for me??!



None.

Jan 27 2010, 7:44 pm NudeRaider Post #6

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

Using this system splash and simultaneous kills will always be a problem.
The deaths system zany suggested is probably your best bet, but can prove problematic when you splashed multiple players.
If you don't mind having an area where units are physically killed you should go for kills-to-cash perfect.

About the trigger kills: Give the reward in the trigger.

Quote from rockz
Quote from Pinky
EDIT: I realised I can use DDS to fix my rewarding via triggers, anyway to bypass the splash damage though?
That gives me one hell of an idea...
go on...




Jan 27 2010, 7:52 pm rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

Oh, you use scarabs to kill units in k2c perfect rather than another unit.



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

Jan 27 2010, 7:57 pm Pinky Post #8



Quote from rockz
Oh, you use scarabs to kill units in k2c perfect rather than another unit.

Yeah that's what I was going to do, but I was hoping there was a way to circumvent having to teleport the unit away. You know, kill it just then and there.



None.

Jan 27 2010, 8:03 pm Lanthanide Post #9



Quote from NudeRaider
About the trigger kills: Give the reward in the trigger.
How does one do that if you used a "kill all units at location" action and you don't know how many units are there?

My only thought would be to remove the units 1 by 1, creating new weak units in a 'death pen' somewhere that the trigger-owning player then massacres as in KtoCperfect.



None.

Jan 27 2010, 8:09 pm NudeRaider Post #10

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

Quote from Lanthanide
How does one do that if you used a "kill all units at location" action and you don't know how many units are there?
Like your other suggestion: Kill 1 by 1.




Jan 27 2010, 8:32 pm ImagoDeo Post #11



Quote from rockz
Oh, you use scarabs to kill units in k2c perfect rather than another unit.

Won't work for air.

Then again, most enemies in RPGs are ground units. Idk.



None.

Jan 27 2010, 8:47 pm rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

scourges would work for air.



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

Jan 29 2010, 6:53 pm Pinky Post #13



Hey guys Pinky here I have found a solution to my problem which differs from those offered so I'll just show you what I've done if anyone is interested.
K2C Perfect didn't suit me because I had computers killing stuff as well as players, which would mean I needed to set aside a bunch of space and locations for all the kill pens, in addition I didn't like the fact that rewarding wasn't instantaneous. Especially since if you killed a bunch of people with splash or a trigger spell you would have a significant delay.

What I have done is stuck with the Kill Score method but instead of copying triggers I have given in a "range" of triggers.

So say I killed a Zergling (50 kill score), it would give me 10xp and 10gold before in the old system. But now it goes something like this.

CON
KILLS AND RAZINGS IS AT LEAST 50
KILLS AND RAZINGS IS AT MOST 150
RANDOMIZING SWITCHES
DC is X (this indicates which area of the map i'm in)

ACT
Give X gold based on the switch outcome
Give X EXP based on the switch outcome

Since my map is divided into multiple "arenas" where only certain types of monsters roam, I have set up DCs as well.
P.S. that is a simple version of my triggers, you get the gist though lol.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:22 am]
Zycorax -- :wob:
[03:58 am]
razorback9423 -- :wob: C.I.S. Conversion Mod Version 1.4 is now out! http://www.staredit.net/topic/17771/ :wob:
[01:57 am]
KrayZee -- :wob:
[01:15 am]
O)FaRTy1billion[MM] -- :wob:
[12:09 am]
razorback9423 -- :wob:
[10:41 pm]
RIVE -- :wob:
[05:16 pm]
jjf28 -- :wob:
[04:04 pm]
Vrael -- :wob:
[2019-9-16. : 2:12 pm]
MTiger156 -- :wob: wob u :wob:
[2019-9-16. : 9:57 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Roy, Pr0nogo, christianmmullins, O)FaRTy1billion[MM]