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.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Oh_Man, Risingvge