#11
|
|||
|
|||
Last edited by bugmenot; 01-23-2011 at 01:02 AM. |
#12
|
|||
|
|||
thanks for the mod.
i hope you want to mod this game at same level like ufo-et |
#13
|
|||
|
|||
Doesn't seem to work in 1.6b7?
The time thing above the mana rage bubbles gives a popup like Quote:
So i wonder why the the time_gen() function you hooked up for your accelerate_manaregen() function would be called wehen i hover over that area? |
#14
|
|||
|
|||
I have 1.6.5 so that file I uploaded came from 1.6.5. I guess 1.6b7 doesn't display the time when you hover over the globe hence it doesn't work. Maybe you should apply the 1.6.5 patch? Or else try inserting my code in another function in that file. I recall seeing a is_daytime() function or something that might do the trick for you.
|
#15
|
|||
|
|||
Quote:
I decided to try this modding thing, didn't have a clue at first (looking for something to extract the .kfs files, didn't realise they were just renamed zips). A bit surprised there was no modding tutorial on in the forum, but doing what I thought would be a simple change served as quite an interesting exercise. I've edited your mod_165_acceleratedmanaregen.kfs, all the complex code you did in the accelerate_manaregen function is untouched, I just added one line to the gen_day_time function. If you'd like this removing or in any way feel it's stepping on your toes let me know and I'll remove edit this post. It seems to work in 1.64 now, although I really should update to 1.65, but I'd rather not unless 1.65 does something useful (like a bugfix which affects me, or a useful new feature. 1.64 has the convenience of no atari video and not needing the disc). ________ portable vaporizer Last edited by bugmenot; 01-23-2011 at 01:03 AM. |
#16
|
|||
|
|||
oh it wasn't working in 1.6.4 either? Thanks for doing a 1.6.4 version.
|
#17
|
|||
|
|||
Mod with Configurable rage mana change rate.
Configurable rage mana change mod
This mod adjusts rate of rage drop and mana regen by time. The rate of rage, mana change can be set separately. To adjust change rates, modify 'config.txt' (from /sessions/base/ses.kfs) Example (from config.txt) mods { mod_rage_change=-60 mod_mana_change=20 } Modify mod_rage_change for rage, mod_mana_change for mana, respectively. Value is percent offset from rate of original change. (100%) Negative number (-99 ~ -1) means slower change percent. Positive number means (1 ~ 1000 ) means faster change percent. Ex) -60 means 40%, 100 means 200% of orignal rate. Current setting is 40% rage drop, 120% mana regen. This mod also includes instant mana refill function of "Accelerated Mana Regen" mod authored by bman654. When you want full mana, just hover your mouse over the time-of-day indicator. (little picture of the sky in lower left side of screen) Then, mana is fully refilled and rage drops accordingly. To install: Extract 'mod_ragemana_change.kfs' and 'config.txt' files from ZIP file. Put them to <GAME_INSTALL_DIR> (King's Bounty. The Legend)/data/mods folder. To remove: Remove these files from mods folder and restart game. This mod is based on "Accelerated Mana Regen" mod authored by 'bman654' @ KBTL forum. Thanks, bman654 & BugMeNot. ------- Version: "King's Bounty: The Legend" version 1.6.4, 1.6.5 Date: 2008. Oct. 22 ZIP file name: mod_ragemana_change_v1.zip By SimCutie (or 'aaaaa' @t KBTL official forum) Forum URL: http://forum.1cpublishing.eu/showthread.php?t=4984 Affected game files: (from sessions/base/ses.kfs) config.txt, logic_hero.lua, textgen.lua ------- |
#18
|
|||
|
|||
^^ Just an fyi....the interface mod uses config.txt also so the above isn't compatible with the interface mod without some manual merging by the user during installation.
|
#19
|
|||
|
|||
Fixed UI interface mod
I modified spamm's UI interface mod to be compatible with my mod.
The config.txt file is now moved out from kfs file to separate file. This is version is for patch 1.6.4 and above. The interface mod for patch 1.6.b7 don't have config.txt, so no conflict with mine. Config.txt of my mod already has same feature to disable startup logo. So, to use both mod in patch 1.6.4 version, just throw away the config.txt from this fixed interface mod and use config.txt from my mod. I think that other modder should keep 'config.txt' as separate file out of kfs file as my mod did. The config.txt file is kind of 'master file' for modding and may be used by other mods for various purpose. Keep it separate file for well-behaving mod with others. And mark your modification on it clearly for easier integration. Last edited by aaaaa; 10-22-2008 at 06:43 PM. |
#20
|
|||
|
|||
Quote:
There are some "glitches" though. 1. I found it to be "cheat" some times - as you can recharge your mana instantly, while the game is paused- like when there are 2 strong enemies running on you from both directions of narrow corridor, it can save your life, but then is cheating imho 2. there is probably bug, and maybe its not in the mod, but in the game (but i didnt noticed it before staring using this mod): my total mana was already 2x rised by 30!! after opening treasure chest, which supposed to be containing only gold. Well its nice, but I start to feel like cheater again. |
|
|