How to decrease the experience needed for the next level?

Carl-Fredrik

New Member
Reaction score
51
Hi everyone!

In my AoS the max level is 20, and I think it takes too long to get there, so I was wondering how I can make it go a little faster... the thing is that I don't want to increase the speed too much because then I guess the 1-5 levels will be gained within one minute of the game ^^

In the gameplay constants I found these field:

Hero XP Required - Constant Faktor - 0.0
Hero XP Required - Level Faktor - 100.0
Hero XP Required - Previous Value Faktor - 1.0
Hero XP Required - Table - 200

But I'm not sure what they do...

Thanks in advance!
// Carl-Fredrik
 

wellwish3r

wishes wells.
Reaction score
52
well you could always make a trigger. simply use that function (of course adjusted to your needs)
Trigger:
  • Hero - Make (Owner of (Triggering unit)) Heroes gain 270.00% experience from future kills
 

Carl-Fredrik

New Member
Reaction score
51
well you could always make a trigger. simply use that function (of course adjusted to your needs)
Trigger:
  • Hero - Make (Owner of (Triggering unit)) Heroes gain 270.00% experience from future kills

Oh yeah, I know there's that one, I was just wondering if there was an easier way :)
 

SerraAvenger

Cuz I can
Reaction score
234
Hero XP Required - Level Faktor - 100.0

Make that one smaller.

If I remember Correctly, then the function for Hero Exp needed to get to Level level from the last level was
Code:
( Level Faktor * (level-2)/2 + Constant Faktor + Table)*(level-1) + Table
Hero XP Required - Constant Faktor - 0.0
Hero XP Required - Level Faktor - 100.0
Hero XP Required - Previous Value Faktor - 1.0
Hero XP Required - Table - 200

EDIT: The formula is only correct for prev val faktor == 1. I'm currently checking how it should be arranged instead, and I think I have an idea.
EDIT2: The new formula is correct for PVK == 1.

EDIT3: Uploaded a demo map that shows the experience values.

go to the ShowEXP trigger and change these values:
Code:
    local integer TABLE = 30    // Table
    local integer LEVEL = 10    // Level Faktor
    local integer CONST = 5     // Constant Faktor
    local real    LASTV = 2     // Previous Value Faktor
    local integer MAXLVL = 10 // The maximum hero level
 

Attachments

  • TestheroExp.w3x
    17 KB · Views: 92

Carl-Fredrik

New Member
Reaction score
51
Hero XP Required - Level Faktor - 100.0

Make that one smaller.

If I remember Correctly, then the function for Hero Exp needed to get to Level level from the last level was
Code:
( Level Faktor * (level-2)/2 + Constant Faktor + Table)*(level-1) + Table
Hero XP Required - Constant Faktor - 0.0
Hero XP Required - Level Faktor - 100.0
Hero XP Required - Previous Value Faktor - 1.0
Hero XP Required - Table - 200

EDIT: The formula is only correct for prev val faktor == 1. I'm currently checking how it should be arranged instead, and I think I have an idea.
EDIT2: The new formula is correct for PVK == 1.

EDIT3: Uploaded a demo map that shows the experience values.

go to the ShowEXP trigger and change these values:
Code:
    local integer TABLE = 30    // Table
    local integer LEVEL = 10    // Level Faktor
    local integer CONST = 5     // Constant Faktor
    local real    LASTV = 2     // Previous Value Faktor
    local integer MAXLVL = 10 // The maximum hero level

Wow... thanks. I can see that you really put some effort in helping me :)
+Rep
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top