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: Armored Princess > Mods

Mods Armored Princess mods

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2009, 02:22 AM
Zechnophobe's Avatar
Zechnophobe Zechnophobe is offline
Approved Member
 
Join Date: Nov 2009
Posts: 991
Default How do you mod?

Spamm has his sticky up top that allows you to add some .kfs files into a directory, which I was a little surprised to find were not actually a fancy name for a plain text file like in most mods.

So I have to ask, what exact process is used for modding? Is the .kfs an encrypted text file that just overwrites game data if detected? If so, how do you open, modify, etc?

Thanks!

Oh, I wanted to make a simple mod that shows at the bottom of the combat mouseover (When choosing a target to attack) the current crit chance of the strike, and the damage it will do if it hits.
Reply With Quote
  #2  
Old 11-25-2009, 02:39 AM
City Builder City Builder is offline
Approved Member
 
Join Date: Feb 2009
Posts: 89
Default

I opened the kfs file with winrar, so it seems it's only a compressed file. Open up the camera mod and take a look inside of the kfs file and you'll find a txt file that has the mod code into it. At least it might give you an idea of the language used (simple text) to make things happen in mods.
Reply With Quote
  #3  
Old 11-25-2009, 03:02 AM
Sortvind Sortvind is offline
Approved Member
 
Join Date: Nov 2009
Posts: 23
Default

"crit chance of the strike, and the damage it will do if it hits"

Sounds very nice!
Reply With Quote
  #4  
Old 11-25-2009, 05:23 AM
Zechnophobe's Avatar
Zechnophobe Zechnophobe is offline
Approved Member
 
Join Date: Nov 2009
Posts: 991
Default

Well, camera is different, there is lua scripting going on here however. Camera is no doubt just their own special syntax for setting that stuff up.

Hm, so looking at Spamm's UI mod, I am assuming these are overriding existing lua entries for the same functions, I just need to find the one called when you mouse over a unit during attack, and append another line...

But where the heck are the actual compressed or not lua files in here to compare against?
Reply With Quote
  #5  
Old 11-25-2009, 07:15 AM
spamm spamm is offline
Approved Member
 
Join Date: Sep 2008
Posts: 72
Default

Quote:
Originally Posted by Zechnophobe View Post
Is the .kfs an encrypted text file that just overwrites game data if detected? If so, how do you open, modify, etc?
kfs - zip archiv.

Quote:
Originally Posted by Zechnophobe View Post
Oh, I wanted to make a simple mod that shows at the bottom of the combat mouseover (When choosing a target to attack) the current crit chance of the strike, and the damage it will do if it hits.
Fail.
Crit depends on the abilities of both the attacker and the recipient.
There is no way to get this parametrs for recipient in "hint" function .
Without this - crit not be accurate.

Last edited by spamm; 11-25-2009 at 08:22 AM.
Reply With Quote
  #6  
Old 11-25-2009, 08:33 AM
Zechnophobe's Avatar
Zechnophobe Zechnophobe is offline
Approved Member
 
Join Date: Nov 2009
Posts: 991
Default

How often does recipient matter? As far as I know, paladin armor bearer is the only thing that does recipient dependant additional crit, right? At the VERY least you could get the attacker's current crit stat, and then the damage it would do, even if there are potential other things modifying it.
Reply With Quote
Reply


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 10:44 PM.


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