|
We are not amused
|
http://www.staredit.net/wiki/Resource_Sharing
Replace Resource with score of your type. Do you want to have custom kills to cash, or leave it at 50 for lings, 25 for broods, 4000 for ikerris, etc...? ![]() ![]() ![]() ![]() ![]() ![]() Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.
Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat. |
|
We are not amused
|
my method is easy and works perfectly up to however much your binary countoffs are, and if you decide to subtract kills, that works too. It's only 4 triggers, 3 of which are binary countoffs.
I don't see a way to do it that wouldn't be remarkably similar to this method to begin with. Will the players ever lose a score? Also, do you want custom scores (where brood is 1, ling is 50, kerri is 5)? If so, you'll need a kills to cash system, so you just add the score to the entire force, not current player. ![]() ![]() ![]() ![]() ![]() ![]() Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.
Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat. |
|
We are not amused
|
As I said before, replace resources with kill score. It works with ANY numerical value, including death counts.
![]() ![]() ![]() ![]() ![]() ![]() Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.
Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat. |
|
Ok, well, I fixed the shared XP thing, but now I have XP being gained when player 7 (the town computer) kills enemy units. I have the triggers to only add leaderboard points to player 1-6 and before I had leaderboard points added to force 1. I have triggers to set player 7 to ally players 1-6 and players 1-6 to ally player 7.
![]() ![]() ![]() ![]() ![]() ![]() INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE |
|
We are not amused
|
Obviously, you don't. Post em.
![]() ![]() ![]() ![]() ![]() ![]() Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.
Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat. |
|
Ok...
CodeTrigger("Heroes"){ Conditions: Always(); Actions: Leader Board Points("\x008*\x004Experience Points\x008*", Custom); Leaderboard Computer Players(disabled); Comment("Experience Points"); Trigger("Heroes"){ Conditions: Deaths("Player 8", "Zerg Zergling", Exactly, 1); Actions: Set Score("Player 1", Add, 1, Custom); Set Score("Player 2", Add, 1, Custom); Set Score("Player 3", Add, 1, Custom); Set Score("Player 4", Add, 1, Custom); Set Score("Player 5", Add, 1, Custom); Set Score("Player 6", Add, 1, Custom); Set Deaths("Player 8", "Zerg Zergling", Set To, 0); Preserve Trigger(); Comment("Rabid Dog XP Points"); } //-----------------------------------------------------------------// Trigger("Heroes"){ Conditions: Deaths("Player 8", "Zerg Broodling", Exactly, 1); Actions: Set Score("Player 1", Add, 3, Custom); Set Score("Player 2", Add, 3, Custom); Set Score("Player 3", Add, 3, Custom); Set Score("Player 4", Add, 3, Custom); Set Score("Player 5", Add, 3, Custom); Set Score("Player 6", Add, 3, Custom); Set Deaths("Player 8", "Zerg Broodling", Set To, 0); Preserve Trigger(); Comment("Baby Spider XP Points"); } //-----------------------------------------------------------------// Trigger("Heroes"){ Conditions: Deaths("Player 8", "Zerg Zergling", Exactly, 2); Actions: Set Score("Player 1", Add, 2, Custom); Set Score("Player 2", Add, 2, Custom); Set Score("Player 3", Add, 2, Custom); Set Score("Player 4", Add, 2, Custom); Set Score("Player 5", Add, 2, Custom); Set Score("Player 6", Add, 2, Custom); Set Deaths("Player 8", "Zerg Zergling", Set To, 0); Preserve Trigger(); Comment("Rabid Dog 2 XP Points"); } //-----------------------------------------------------------------// Trigger("Heroes"){ Conditions: Deaths("Player 8", "Zerg Broodling", Exactly, 2); Actions: Set Score("Player 1", Add, 6, Custom); Set Score("Player 2", Add, 6, Custom); Set Score("Player 3", Add, 6, Custom); Set Score("Player 4", Add, 6, Custom); Set Score("Player 5", Add, 6, Custom); Set Score("Player 6", Add, 6, Custom); Set Deaths("Player 8", "Zerg Broodling", Set To, 0); Preserve Trigger(); Comment("Baby Spider 2 XP Points"); } //-----------------------------------------------------------------// Trigger("Heroes"){ Conditions: Deaths("Player 8", "Zerg Zergling", Exactly, 3); Actions: Set Score("Player 1", Add, 3, Custom); Set Score("Player 2", Add, 3, Custom); Set Score("Player 3", Add, 3, Custom); Set Score("Player 4", Add, 3, Custom); Set Score("Player 5", Add, 3, Custom); Set Score("Player 6", Add, 3, Custom); Set Deaths("Player 8", "Zerg Zergling", Set To, 0); Preserve Trigger(); Comment("Rabid Dog 3 XP Points"); } //-----------------------------------------------------------------// Trigger("Heroes"){ Conditions: Deaths("Player 8", "Zerg Broodling", Exactly, 3); Actions: Set Score("Player 1", Add, 9, Custom); Set Score("Player 2", Add, 9, Custom); Set Score("Player 3", Add, 9, Custom); Set Score("Player 4", Add, 9, Custom); Set Score("Player 5", Add, 9, Custom); Set Score("Player 6", Add, 9, Custom); Set Deaths("Player 8", "Zerg Broodling", Set To, 0); Preserve Trigger(); Comment("Baby Spider 3 XP Points"); } //-----------------------------------------------------------------// Trigger("Heroes"){ Conditions: Deaths("Player 8", "Infested Kerrigan (Infested Terran)", Exactly, 1); Actions: Set Score("Heroes", Add, 25, Custom); Set Deaths("Player 8", "Infested Kerrigan (Infested Terran)", Set To, 0); Preserve Trigger(); Comment("Giant Spider XP Points"); ![]() ![]() ![]() ![]() ![]() ![]() INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE |
|
Write your own destiny, or else someone will write it for you!
|
Well you base it on deaths. If P7 kills a P8 unit then his deaths go up too. Man was it THAT hard to figure out?
Take a method based on kills or kills score. But keep in mind, you can only subtract kills score, not the kills themselves! I think you will need kills to cash perfect here. (check wiki for kills to cash methods) Btw. you could keep your triggers if you followed another, kinda lame way. Regard is as a quick and dirty fix: Don't let P7 kill any units. If P8 comes near town, just kill them via trigger, that doesn't add to the deaths. Don't know how your town looks like, but making the defending units (best in bunkers) do 0 damage would enable you to place the killer location in weapon range, which won't look THAT lame. Also killing only 1 unit per trigger loop makes it also look a bit better. ![]() ![]() ![]() ![]() ![]() ![]() ![]() http://sonsofwar.pyrom.net/index.html___0% 100% |
|
I had it working on deaths before. I had it so that if player 7 killed one of player 8's guys, it would subtract how ever many points the unit was worth from force 1's score then set player 8's deaths for that unit to 0. But that didn't work.
![]() ![]() ![]() ![]() ![]() ![]() INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE |
|
We are not amused
|
The problem is how you tell that player 7 killed one of the guys. If you could do that, you wouldn't need anything special.
Take the score/deaths method of kills to cash. It will work perfectly. Set it up so that when player 7 kills people, you subtract the death and the score, but don't give any custom points to him. ![]() ![]() ![]() ![]() ![]() ![]() Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.
Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat. |