Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: Heroes V Levels[MOD]
Thread: Heroes V Levels[MOD] This thread is 5 pages long: 1 2 3 4 5 · «PREV
dredknight
dredknight


Promising
Supreme Hero
disrupting the moding industry
posted May 26, 2015 08:05 PM

zmudziak22 said:
I would also need lower xp + AI Mod(just exe), that work with campaigns.


the Might and Magic 5.5 exe has lower level threshold, and works with campaigns. I am not sure how the improved AI behaves though. I will post answer in MM5.5 when I have fully investigated. Probably by the end of the week.


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
zmudziak22
zmudziak22


Famous Hero
posted May 26, 2015 10:04 PM

MMH5.5 with better AI has problem with original campaigns.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Deflaktor
Deflaktor


Promising
Known Hero
posted June 16, 2015 12:08 AM

I have disassembled and analyized this MOD.

Normally this is the formula used for computing the needed XP:
Level 1-9: Need 200 more XP
Level 9-12: Need 300 more XP
Level 12-25: Need 20% more XP
Starting Level 26: For every level need additional 10% more XP
Level 40 needs 170% XP more than level 39

This patch changes it to this formula:
Level 1-9: Need 200 more XP
Level 9-12: Need 300 more XP
Level 12-25: Need 20% more XP
Level 25 -> Level 26: Needs 4% less (!) XP than Level 24 -> level 25
Level 26 -> Level 27: Needs same amount (!) XP as Level 25 -> level 26
Level 27 -> Level 28: Needs 4% more XP than Level 26 -> level 27
Level 28 -> Level 29: Needs 8% more XP than Level 27 -> level 28
Level 29 -> Level 30: Needs 12% more XP than Level 28 -> level 29
Level 30 -> Level 31: Needs 16% more XP than Level 29 -> level 30
   ...
Level 39 -> Level 40: Needs 108% more XP as Level 38 -> level 39

The internal calculation of the experience needed is as follows:
L_xp(i) = 1.20 * (L_xp(i-1) - L_xp(i-2)) + L_xp(i-1)           for 12<i<=24
L_xp(i) = (i-13) * 0.10 * (L_xp(i-1) - L_xp(i-2)) + L_xp(i-1)  for i>24

This patch changes the latter part to the following calculation:
L_xp(i) = (i-1) * 0.04 * (L_xp(i-1) - L_xp(i-2)) + L_xp(i-1)   for i>24

Thus:
L_xp(24) - L_xp(23) = 1.20 * (140156 - 117134) = 27626
L_xp(25) - L_xp(24) = 24 * 0.04 * (167782 - 140156) = 26520
L_xp(26) - L_xp(25) = 25 * 0.04 * (194302 - 167782) = 26520

See also www.wolframalpha.com
input:
x(23)=140156, x(24)=167782, x(i) = (i-1) * 0.04 * (x(i-1) - x(i-2)) + x(i-1)  

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
magnomagus
magnomagus


Responsible
Legendary Hero
modding wizard
posted June 16, 2015 12:24 AM

Interesting, did you during this procedure by any chance stumble upon a method to increase the level cap?
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Deflaktor
Deflaktor


Promising
Known Hero
posted June 16, 2015 12:36 AM

Yes, I did.

The offsets are 0074BBFF and 0074BC24 on the original exe and 005F772F and 005F7754 on the Quantomas3.1j exe

Im gonna release it as a patch soon

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
lotihoti
lotihoti


Famous Hero
posted June 16, 2015 08:08 AM

I will truly love you for that xD

Do you implement this in mmh55 exe?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 5 pages long: 1 2 3 4 5 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0176 seconds