View Full Version : Need help with modding K
tiberiu
11-14-2012, 09:07 PM
Hi, I'm new to modding KB. I learned how to mod certain things but I wonder if the things below can also be changed.
I'll leave this questions here if anybody knows and wants to answer.
How to change :
- the amount of leadership our hero gets when leveling up.
- the amount of runes our hero gets when leveling up.
- the leadership and other statistics of units. (for example if I want Black Dragons to require 10.000 leadership and to increase the speed of peasants)
Big Thanks to anybody who helps.
saroumana
11-15-2012, 12:22 PM
First you need to unpack ses.kfs. In this directory you will find 3 usefull type of files : txt , lua and atom.
In txt files you use hero.txt (your 2 first points)
atom : units and their characteristics (black dragon per example)
Lua : all function and code.
tiberiu
11-15-2012, 03:02 PM
Thanks a lot. I managed to do like you said and can edit the files sucessfully but I have a problem for editing unit statistics, that is, I can only edit those from the Viking Race. I can't find the files related to the other units. I also have KB/CW installed and there I can find all the units.
You have any idea about this?
Also another thing I would like to ask. For editing unit abilities like, say, Droid's repair, that has a Reload=4. I noticed that for units that have charges, it says "moves=2" If I want to restrict Droid Repair to only 3 charges, do you think it will work if I replace "Reload=4" with "Moves=3"?
blacklegionary
11-15-2012, 03:16 PM
Thanks a lot. I managed to do like you said and can edit the files sucessfully but I have a problem for editing unit statistics, that is, I can only edit those from the Viking Race. I can't find the files related to the other units. I also have KB/CW installed and there I can find all the units.
You have any idea about this?
Also another thing I would like to ask. For editing unit abilities like, say, Droid's repair, that has a Reload=4. I noticed that for units that have charges, it says "moves=2" If I want to restrict Droid Repair to only 3 charges, do you think it will work if I replace "Reload=4" with "Moves=3"?
The data for other units are in data/data.kfs . And yeah, you did the right thing with the droids.
tiberiu
11-15-2012, 04:34 PM
Thanks a lot, really appreciate this.
Now I will finally balance the game more properly and enjoy the game more. :-P
ckdamascus
11-15-2012, 04:55 PM
Thanks a lot, really appreciate this.
Now I will finally balance the game more properly and enjoy the game more. :-P
Once you make the Super Peasant, it will be balanced. :)
blacklegionary
11-15-2012, 04:56 PM
If you want to edit the rune hero get when level up, look for the file logichero.lua in ses.kfs start with keyword "rune_war" then look from there and below. You will have to figure the rest out, it's too long to post.
This file contain most of the datas for hero level up.
tataarymirtha
11-22-2012, 09:56 AM
May i know how to edit the .lua file and .atom file?can u share me the program to edit it?thanks for your help
tiberiu
11-22-2012, 10:32 AM
May i know how to edit the .lua file and .atom file?can u share me the program to edit it?thanks for your help
I edit atom with notepad.
vBulletin® v3.8.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.