Kills to Cash
Dec 26 2009, 4:39 pm
By: Jesusfreak  

Dec 27 2009, 5:36 am Jack Post #21

>be faceless void >mfw I have no face

Using the 2nd method works with splash. 4 triggers for up to ten units with splash, 5 for 15 units killed with splash, etc.



Red classic.

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

Dec 27 2009, 7:32 am rockz Post #22

ᴄʜᴇᴇsᴇ ɪᴛ!

I don't understand where you get 4 triggers for 10 units, or 5 for 15. If anything it's 4 for 15 and 5 for 31. It still messes up with multiple players.



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

Dec 27 2009, 8:35 am Jack Post #23

>be faceless void >mfw I have no face

lil-Inferno's better at explaining it than me, but I'll post the triggers from my map tomorrow to help you understand.



Red classic.

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

Dec 27 2009, 7:10 pm Jesusfreak Post #24



Quote
I suppose I could post the exact triggers, but that wouldn't do any good, since the map is already posted, with comments, and so long as you follow the triggers, it should make sense. Think it through logically, and give (in your mind) player 1 a kill, then follow which triggers run. Do it again with player 1 and 2 both getting a kill, and again with player 1 getting 5 kills, player 2 getting 3 kills, and player 3 getting 1 kill.
I couldn't find them. I really, really, suck at finding triggers in a map (even if they have comments, which this one didn't). I think I found part of it, but I don't understand how it's different from "Perfect" kills to cash...
Quote
I urge you to read the kills to cash page in the wiki, as this has been well documented, and has all been done before.
I did... why does everyone assume I haven't read the wiki? I read it before I even started this thread. I have difficulty understanding the "perfect" system for some reason (it just doesn't make sense the way it's phrased), but I read over everything.
Quote
I don't feel like editing my map right now, but I think you should be able to copy the trigger
Copy triggers? Is that possible with Scmdraft2?



None.

Dec 27 2009, 8:09 pm Jack Post #25

>be faceless void >mfw I have no face

@rockz

Code
Trigger("Humans"){
Conditions:
    Score("Current Player", Kills, At least, 16000);
    Deaths("Player 8", "Infested Kerrigan (Infested Terran)", At least, 4);

Actions:
    Set Deaths("Player 8", "Infested Kerrigan (Infested Terran)", Subtract, 4);
    Set Score("Current Player", Subtract, 16000, Kills);
    Set Deaths("Current Player", "Mineral Field (Type 3)", Add, 4);
    Preserve Trigger();
    Comment("EXP kerrigan");
}

//-----------------------------------------------------------------//

Trigger("Humans"){
Conditions:
    Score("Current Player", Kills, At least, 12000);
    Deaths("Player 8", "Infested Kerrigan (Infested Terran)", At least, 3);

Actions:
    Set Deaths("Player 8", "Infested Kerrigan (Infested Terran)", Subtract, 3);
    Set Score("Current Player", Subtract, 12000, Kills);
    Set Deaths("Current Player", "Mineral Field (Type 3)", Add, 3);
    Preserve Trigger();
    Comment("EXP kerrigan");
}

//-----------------------------------------------------------------//

Trigger("Humans"){
Conditions:
    Score("Current Player", Kills, At least, 8000);
    Deaths("Player 8", "Infested Kerrigan (Infested Terran)", At least, 2);

Actions:
    Set Deaths("Player 8", "Infested Kerrigan (Infested Terran)", Subtract, 2);
    Set Score("Current Player", Subtract, 8000, Kills);
    Set Deaths("Current Player", "Mineral Field (Type 3)", Add, 2);
    Preserve Trigger();
    Comment("EXP kerrigan");
}

//-----------------------------------------------------------------//

Trigger("Humans"){
Conditions:
    Score("Current Player", Kills, At least, 4000);
    Deaths("Player 8", "Infested Kerrigan (Infested Terran)", At least, 1);

Actions:
    Set Deaths("Player 8", "Infested Kerrigan (Infested Terran)", Subtract, 1);
    Set Score("Current Player", Subtract, 4000, Kills);
    Set Deaths("Current Player", "Mineral Field (Type 3)", Add, 1);
    Preserve Trigger();
    Comment("EXP kerrigan");
}



That's the trigger I used for Infested Kerrigan splash-kills to cash. Adding another trigger:
Code
Trigger("Humans"){
Conditions:
    Score("Current Player", Kills, At least, 20000);
    Deaths("Player 8", "Infested Kerrigan (Infested Terran)", At least, 5);

Actions:
    Set Deaths("Player 8", "Infested Kerrigan (Infested Terran)", Subtract, 5);
    Set Score("Current Player", Subtract, 20000, Kills);
    Set Deaths("Current Player", "Mineral Field (Type 3)", Add, 5);
    Preserve Trigger();
    Comment("EXP kerrigan");
}


That would add another 5 to the current possible 10 kills-by-splash, making a total of 15 kills-by-splash working.



Red classic.

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

Dec 27 2009, 9:41 pm Jesusfreak Post #26



I like your system, Zany. Thanks. I think I'll use something similar to what we've already discussed here.

I'ma go try and get some work done on the map...



None.

Dec 27 2009, 9:45 pm Kenoli Post #27



Quote
I think a system where I simply placed a kills to cash trigger for each kill of a unit up to a couple thousand or so would work, but I fear it might cause trigger lag (there will be a good variety of things to blow up, and a technically infinite number of them XD). Would thousands of kills to cash triggers possibly cause trigger lag?
You could add a pretty much unlimited amount of such kills to cash triggers without any problems. Grab a trigger duplicator and go crazy.

Quote
There's no such thing as trigger lag.
Lol

Quote
There is no way I can play Astrogears, even though starcraft's recommended requirements are a 400 MHz processor and 64 MB of ram.
But why would you want to?
PS. More like 90MHz/16MB.



None.

Dec 27 2009, 11:31 pm rockz Post #28

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Jesusfreak
I couldn't find them. I really, really, suck at finding triggers in a map (even if they have comments, which this one didn't). I think I found part of it, but I don't understand how it's different from "Perfect" kills to cash...
All of these triggers are commented, and the only thing in the map is kills to cash, and a leaderboard trigger. I suppose I should have pointed out the correct map. The one you were looking at was simply a utilization of the system.
Quote from Jesusfreak
I have difficulty understanding the "perfect" system for some reason (it just doesn't make sense the way it's phrased), but I read over everything.
It's pretty hard to figure out, so the best way is to make your own test map, and/or reverse engineer someone else's concept map (like I posted earlier).
Quote from Jesusfreak
Copy triggers? Is that possible with Scmdraft2?
Text Trigedit lets you copy/paste. To compile the triggers, you have to push the check mark button, or else it won't save the triggers.



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

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Roy, lil-Inferno