![]() |
|
#1
|
|||
|
|||
![]()
Hi all,
I have refactored the Rune Changer mod in a way that it does not require the KBMaster framework anymore. Be sure to check the readme (included); there is a trade-off to getting rid of the KBMaster framework(!): Code:
Rune Exchange (aka. Rune Changer) Mod u1 ======================================== A rune exchange. It allows you to exchange runes to another type. The exchange ratio is 2:1. It is based on the mod_17_Master_102_rune_changer.kfs, however this has been re-factored not to require the KBMaster (compatibility mod). Read the update notes for additional changes. The trade-off by using this one instead of the KBMaster version is this: since some files have been directly modified, there may be conflict(s) with other mods. These files are: - items.txt - itextures.dat - logic_hero.lua Credits are due to SayNt for the original mod. Updates ======= u0 - Improved the text in the dialog (and, consequently the Russian language files have been completely removed). Made minor tweaking to the code. u1 - Several changes - Fixed a localization issue - the name of the runes were not displayed correctly in the last two exchange options (Magic rune). - Fixed a bug - exchanging a Magic rune would not not give you the expected Might rune. - The name of the mod has been changed to "Rune Exchange" - I think it's more appropriate. - It is no longer necessary to use the item anymore; the runes are exchanged instantly once you made your choice. - It is no longer necessary to open the dialog over and over again - after an exchange, you are taken back to the dialog where you were. - Merged the two script files into one. - Refactored repeated code sections into re-usable functions. - Moved code that is commonly usable (by other mods) into a separate script file (new_scripts.lua) Usage ===== 1. Start a new game or load an existing game. 2. Wait for a short while (10 secs or so), and the rune changer item will be added to your inventory. 3. Right-click on the item and select "talk". This allows you to review the offers and make a selection. 4. Once you make a selection, the appropriate runes will be exchanged. 5. Enjoy. Installation ============ Put the mod_17_rune_changer_refactor.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. 16th of January 2009 Csimbi Note: if you wish to use this with the any of the other "refactored" mods, you need to make changes to a few files (I made it easy though)! ***Edit The package has been updated. See the note(s) about u1. Last edited by Csimbi; 01-16-2009 at 08:17 PM. |
![]() |
|
|