Exp System
Jul 6 2013, 7:29 am
By: QPreach  

Jul 6 2013, 7:29 am QPreach Post #1



The exp system im using is when the players exp reaches 0, you level up and heres the trigger:
[Exp]
Condition:
Bring 1 Champion to Anywhere
Trigger: (not preserved)
Set Death Count for Current Player: Set to 10 for Exp
Set Death Count for Current Player: Set to 1 for Lvl
Show Leader Board for most kills of Exp. Display Label: Exp

[Player 1 Exp]
Condition:
Player 1 has suffered exactly 1 death of Lvl
Player kills at least 1 Minion
Player 1 bring at least 1 Champion to Spawn Minion
Trigger:
Preserved Trigger
Modify death counts for Player 1: Set to 0 for Minion
Modify death counts for Player 1: Subtract 1 for Exp

[Player 1 Exp]
Condition:
Player 1 has suffered exactly 1 death of Lvl
Player 1 has suffered exactly 0 death of Exp
Trigger: (not preserved)
Display: Level Up
Modify death counts for Player 1: Set to 20 for Exp
Modify death counts for Player 1: Set to 2 for Lvl

In game the leader board says 0 Exp when it should be 10 Exp. Additionally, after 1 kill, it says level up instead of killing the Minion 10 times.
And quick question, how do I make the color of each players consistent? (Ie. 1st player red, 2nd player blue, always)



None.

Jul 6 2013, 7:57 am MetalGear Post #2



To start with your second question, go into the Forces menu and untick Randomized Start Location for each force.

To solve your XP problem, can you post the map? And also, could you be more specific with what you are trying to achieve? Is the idea that the player will level up every 10 kills?



None.

Jul 6 2013, 9:36 am O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

It looks like you are trying to use deaths and kills interchangeably .. unfortunately that doesn't work. The problem you are having is in this:
Quote
[Player 1 Exp]
Condition:
Player 1 has suffered exactly 1 death of Lvl
Player kills at least 1 Minion
Player 1 bring at least 1 Champion to Spawn Minion
Trigger:
Preserved Trigger
Modify death counts for Player 1: Set to 0 for Minion
Modify death counts for Player 1: Subtract 1 for Exp
The condition is always true because changing the deaths does not change kills, and so after killing one unit you eventually run the next trigger that levels up. And also unfortunately there is no action that can change kills directly ...
One way to work around this is to use kill score instead. Look for player has at least 1 kill score, then set to 0 kill score for player (similar to what you already have now). However this is not the best way since if you kill two units at once (splash) the trigger will only recognize it as one kill. Basically what you are trying to accomplish is a form of "kills to cash", and more methods are outlined in that article.

Also your problem of it showing 0 instead of 10 on the leaderboard is the same kills and death issue ... Your leaderboard is for kills, and you want it to show deaths, except there is no leaderboard for deaths. The best I can think of is to use leaderboard of points, and you can use the custom points much the same way as you are using the death counters now.

(And sorry if any of this is wordy or not totally clear .. xD I should be sleeping right now.)

Post has been edited 2 time(s), last time on Jul 6 2013, 9:44 am by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jul 6 2013, 11:04 am QPreach Post #4



Quote from QPreach
The exp system im using is when the players exp reaches 0, you level up and heres the trigger:
[Exp]
Condition:
Bring 1 Champion to Anywhere
Trigger: (not preserved)
Set Death Count for Current Player: Set to 10 for Exp
Set Death Count for Current Player: Set to 1 for Lvl
Show Leader Board for most kills of Exp. Display Label: Exp

[Player 1 Exp]
Condition:
Player 1 has suffered exactly 1 death of Lvl
Player kills at least 1 Minion
Player 1 bring at least 1 Champion to Spawn Minion
Trigger:
Preserved Trigger
Modify death counts for Player 1: Set to 0 for Minion
Modify death counts for Player 1: Subtract 1 for Exp

[Player 1 Exp]
Condition:
Player 1 has suffered exactly 1 death of Lvl
Player 1 has suffered exactly 0 death of Exp
Trigger: (not preserved)
Display: Level Up
Modify death counts for Player 1: Set to 20 for Exp
Modify death counts for Player 1: Set to 2 for Lvl

In game the leader board says 0 Exp when it should be 10 Exp. Additionally, after 1 kill, it says level up instead of killing the Minion 10 times.
And quick question, how do I make the color of each players consistent? (Ie. 1st player red, 2nd player blue, always)


Attachments:
Warp Saga.scm
Hits: 1 Size: 92.56kb



None.

Jul 6 2013, 12:19 pm MetalGear Post #5



You had the wrong leaderboard active. You need to use the custom points. In the attached map, all I changed was those 3 triggers, nothing else. I took out the "Exp" death counter because it's not needed.

Attachments:
Warp Saga (edit).scx
Hits: 1 Size: 92.57kb



None.

Jul 6 2013, 1:09 pm QPreach Post #6



Omg! Thankyou so much! Now I know what I did wrong :D



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:10 pm]
NimoStar -- But Terran players did win the game against the bot. So it is conclusive, Terran OP ;)=
[11:09 pm]
NimoStar -- They were not "Unprepared" that was their fifth loss in a row against the bot. The other replays are also available
[10:37 pm]
NudeRaider -- Vrael
Vrael shouted: wasnt even that really, they 6000 apm just made the terran army so much more value/$ that the extra economy didnt matter
Well yes and no. The apm made him win the battle, but I'm not convinced a pro player can't account for that. He got caught with his pants down so it's not really representative of a prepared player. And the extra economy absolutely would've mattered if that push didn't almost immediately end the game.
[09:54 pm]
Symmetry -- rigged
[09:44 pm]
l)ark_ssj9kevin -- Wing 140 box 2 days in a row o_o
[06:39 pm]
Vrael -- 6000 apm near perfect focus fire is yikes
[06:38 pm]
Vrael -- paralyze was metaphorically speaking, paralyzed
[06:38 pm]
Vrael -- wasnt even that really, they 6000 apm just made the terran army so much more value/$ that the extra economy didnt matter
[01:58 pm]
NudeRaider -- NudeRaider
NudeRaider shouted: Oh_Man nothing too special tbh. the human player wasn't ready to combat the push that stretched almost the whole map. So this game means nothing. We'll have to see how it goes once the humans have adjusted for its unorthodox strategies.
they basically lost most of their army in one big battle and didn't have the time and production to leverage the economic advantage and come back from that blow.
[01:55 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: https://youtu.be/1vsTqNwHquE omg guys it's happening. ITS HAPPENING. EVERONY STAY CALM. STAY F:wob::wob:CKING CALM!
not sure why you are so hyped, when basically the same happened 7 years ago with AlphaStar on SC2.
Please log in to shout.


Members Online: JumpStart