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:31 pm]
Vrael -- :wob:
[08:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
Please log in to shout.


Members Online: Excalibur, Roy