Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > King's Bounty > King's Bounty: The Legend > Mods

Mods Everything about mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-09-2009, 10:27 PM
Csimbi Csimbi is offline
Approved Member
 
Join Date: Dec 2008
Posts: 254
Lightbulb Mod: Damage calc mod (configurable)

Hi all,
I've created a mod.
Here is the readme (included in the package):
Code:
Damage calc mod u0
==================

This mod makes the following changes to the damage calculation:
 - it allows 100% resistance (vs. the 95% cap in KB 1.7)
 - it provides alternative ways to calculate the damage (more on this below).
NOTE: The AI takes into account the modified values automatically, so you will see the enemy adjusting its tactics according to the new conditions; do not be surprised when you see different battles after installing the mod.

Since some files have been directly modified, there may be conflict(s) with other mods. The modified files are:
 - arena.lua
 - textgen.lua
Furthermore, the following localization entries from en_hero.lng have been updated (again, there may conflict(s) with other mods):
 - btn_hero_attack_hint
 - btn_hero_defense_hint

The mod includes alternative ways of calculating the damage:
 - Original (the one included in KB 1.7)
 - Linear (the one included in KB 1.7 without the limit that would normally kick in above/below 60)
 - Power2 (the damage scales non-linearly, by putting the values to the power of two)
 - Power3 (the damage scales non-linearly, by putting the values to the power of three)
 - Power4 (the damage scales non-linearly, by putting the values to the power of four)
The mod ships with the default setting "Power4". If you are unhappy with said default value, I am happy to report that you can easily select the one that your heart desires.
To change the setting, you need to extract, edit and re-pack the "arena.lua" file. Only one value needs to be changed; I put this to the very beginning of the file so you can find it easily; I left there instructions, too.
The current setting is shown in Attack and Defense hints (move your mouse over Attack and Defense on the hero screen).

Comparison table:
 - The first column is the difference in attack+bonuses and the defense. When the Diff is positive, the attack is bigger than the defense. When the Diff is negative, the defense is bigger than the attack. When the Diff is 0, the attack and the defense are equal.
 - The rest of the columns are the resulting damage multipliers after the calculation according to KB 1.7 and the different mods herein.

Diff    KB 1.7    Linear    Power2     Power3      Power4
------------------------------------------------------------
-100    0.3333    0.2309     0.0827     0.02636      0.00806
-80     0.3333    0.2729     0.1235     0.05023      0.01946
-60     0.3333    0.3335     0.2003     0.11140      0.05904
-50     0.3752    0.3752     0.2650     0.17807      0.11513
-40     0.4288    0.4288     0.3604     0.29733      0.24108
-30     0.5002    0.5002     0.5005     0.50075      0.50100
-20     0.6002    0.6002     0.6927     0.77195      0.83560
-10     0.7501    0.7501     0.9001     0.96438      0.98785
-5      0.8572    0.8572     0.9730     0.99540      0.99923
-4      0.8824    0.8824     0.9825     0.99764      0.99968
-3      0.9091    0.9091     0.9901     0.99900      0.99990
-2      0.9375    0.9375     0.9955     0.99970      0.99998
-1      0.9677    0.9677     0.9988     0.99996      0.99999
0       1         1          1          1            1
1       1.0333    1.0333     1.0011     1.00003      1.00000
2       1.0666    1.0666     1.0044     1.00029      1.00001
3       1.0999    1.0999     1.0099     1.00099      1.00009
4       1.1332    1.1332     1.0177     1.00236      1.00031
5       1.1665    1.1665     1.0277     1.00461      1.00076
10      1.333     1.333      1.1108     1.03692      1.01229
20      1.666     1.666      1.4435     1.29540      1.19674
30      1.999     1.999      1.9980     1.99700      1.99600
40      2.332     2.332      2.7742     3.36326      4.14787
50      2.665     2.665      3.7722     5.61575      8.68523
60      3         2.998      4.9920     8.97602     16.9360
80      3         3.664      8.0968    19.90613     51.36593
100     3         4.33      12.0889    37.92603    123.96370

Required game version
=====================
King's Bounty: The Legend; 1.7 English

Updates
=======
u0 - Initial release

Usage
=====
 1. Start a new game or load an existing game.
 2. Go to battle.
 3. Enjoy the changed damage system.

Installation
============
Put the ".kfs" file in the <King's Bounty>\DATA\MODS directory (if the directory does not exist, you need to create it).

Uninstallation
==============
Delete the file(s) you added during the installation.


10th of January, 2009
Csimbi
Comments/suggestions are welcome.
Attached Files
File Type: zip mod_17_csimbi_damage_calc.zip (30.8 KB, 403 views)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.