The 3rd Age

Formationmod

Formationmod

In this modification hord size and formation has been changed

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Raising Heroes max level

No Avatar

zezkersar

Category: Code
Level: Beginner
Created: Tuesday February 19, 2013 - 21:06
Updated: Sunday February 24, 2013 - 20:12
Views: 18959
Summary: How to raise the max level on heroes, units, and buildings

Rating

Staff says

-

Members say

5.0

Average

5.0/5.0

1 vote

Page 1 2 3 4
Firstly we need to decide the unit we are going to raise the level cap for.
In this tutorial I am going to use Aragorn.

Start by opening data\ini\gamedata.ini
In the original gamedata.ini file, we have the code up to level 10.
              
Code

#define    ARAGORN_LVL1_EXP_AWARD     35
#define    ARAGORN_LVL2_EXP_AWARD     40
#define    ARAGORN_LVL3_EXP_AWARD     45
#define    ARAGORN_LVL4_EXP_AWARD     50
#define    ARAGORN_LVL5_EXP_AWARD     60
#define    ARAGORN_LVL6_EXP_AWARD     75
#define    ARAGORN_LVL7_EXP_AWARD     90
#define    ARAGORN_LVL8_EXP_AWARD     105
#define    ARAGORN_LVL9_EXP_AWARD     125
#define    ARAGORN_LVL10_EXP_AWARD    150

#define    ARAGORN_LVL2_EXP_NEEDED     30
#define    ARAGORN_LVL3_EXP_NEEDED     60
#define    ARAGORN_LVL4_EXP_NEEDED     90
#define    ARAGORN_LVL5_EXP_NEEDED     420
#define    ARAGORN_LVL6_EXP_NEEDED     750
#define    ARAGORN_LVL7_EXP_NEEDED     1080
#define    ARAGORN_LVL8_EXP_NEEDED     1560
#define    ARAGORN_LVL9_EXP_NEEDED     2040
#define    ARAGORN_LVL10_EXP_NEEDED    2520


Now we need to extend it until the level we want to. In this case I am using rank 20.

              
Code

#define    ARAGORN_LVL11_EXP_AWARD         400
#define    ARAGORN_LVL12_EXP_AWARD         500
#define    ARAGORN_LVL13_EXP_AWARD         600
#define    ARAGORN_LVL14_EXP_AWARD         700
#define    ARAGORN_LVL15_EXP_AWARD         800
#define    ARAGORN_LVL16_EXP_AWARD         900
#define    ARAGORN_LVL17_EXP_AWARD         1000
#define    ARAGORN_LVL18_EXP_AWARD         1100
#define    ARAGORN_LVL19_EXP_AWARD         1300
#define    ARAGORN_LVL20_EXP_AWARD         1500

#define    ARAGORN_LVL11_EXP_NEEDED         2500
#define    ARAGORN_LVL12_EXP_NEEDED         3000
#define    ARAGORN_LVL13_EXP_NEEDED         3750
#define    ARAGORN_LVL14_EXP_NEEDED         4500
#define    ARAGORN_LVL15_EXP_NEEDED         5250
#define    ARAGORN_LVL16_EXP_NEEDED         6000
#define    ARAGORN_LVL17_EXP_NEEDED         7000
#define    ARAGORN_LVL18_EXP_NEEDED         8000
#define    ARAGORN_LVL19_EXP_NEEDED         10000
#define    ARAGORN_LVL20_EXP_NEEDED         12000


We also need to add the amount of Health and damage the hero will do when they level up.
              
Code

//This is used to add HP as he levels until 20
#define    HERO_LVL11_HP_ADD                 200
#define    HERO_LVL12_HP_ADD                 250
#define    HERO_LVL13_HP_ADD                 250
#define    HERO_LVL14_HP_ADD                 300
#define    HERO_LVL15_HP_ADD                 350
#define    HERO_LVL16_HP_ADD                 350
#define    HERO_LVL17_HP_ADD                 400
#define    HERO_LVL18_HP_ADD                 400
#define    HERO_LVL19_HP_ADD                 500
#define    HERO_LVL20_HP_ADD                 500

//This is used to add DMG as he levels until 20
#define    HERO_LVL11_DAM_ADD                20
#define    HERO_LVL12_DAM_ADD                20
#define    HERO_LVL13_DAM_ADD                20
#define    HERO_LVL14_DAM_ADD                25
#define    HERO_LVL15_DAM_ADD                25
#define    HERO_LVL16_DAM_ADD                30
#define    HERO_LVL17_DAM_ADD                35
#define    HERO_LVL18_DAM_ADD                35
#define    HERO_LVL19_DAM_ADD                40
#define    HERO_LVL20_DAM_ADD                50


Continue onto the next page..

Comments

Display order: Newest first

zezkersar - Wednesday February 20, 2013 - 21:02

thanks :p

gonfidel - Wednesday February 20, 2013 - 20:36

Thank you very much! I am using this for a mod with Eru and Melkor as silmaril heroes. Level 20 heroes with 2 commandsets is awesome! thanks again :)

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
10:42:58