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: Crossworlds > Mods

Mods King's Bounty: Crossworlds Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 01-24-2023, 09:45 PM
Moxxy Moxxy is offline
Approved Member
 
Join Date: Jul 2020
Posts: 2
Default How to install the above mod

I saw a post on steam asking how to use the above code. Here is how to install:

Steps to install this mod:
1) open the \sessions\orcs\orcs.kfs file with winrar or another archiver program
2) extract the textgen.lua file somewhere
3) open textgen.lua and search for the `time_gen()` function
4) add the following line before the return statement:

accelerate_manaregen()

5) add the function in my prior comment to the end of the textgen.lua file
6) place the edited file into the \sessions\orcs\mods directory

For anyone interested, the normal game logic for rage to mana conversion is in the `change_manarage()` function in the file `logic_hero.lua`.

Last edited by Moxxy; 01-26-2023 at 06:19 PM.
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 07:16 AM.


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