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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2011, 02:28 PM
langtu87 langtu87 is offline
Approved Member
 
Join Date: Sep 2010
Posts: 36
Default

the resurrection ability of inquistor don't working.
I'm reinstall KBCW and redsand but it doesn't work.
Any suggestion?
Reply With Quote
  #2  
Old 09-08-2011, 06:17 PM
Rudi Rudi is offline
Approved Member
 
Join Date: Dec 2009
Posts: 9
Default Request for % hp bonus change

Hi
I'd like to repeat yujys' request for a tweak to exp_system.lua (unfortunately changing "abs" to "in percent" in exp_system_cfg doesn't work),
as I'm a noob when it comes to lua scripting i don't know how to write/modify
the appropriate function but I'm pretty sure some modding guru will be able to do it in a blink

P.S. thanks to the Red Sands team for their excellent mod and to grimeleven for RSE
Reply With Quote
  #3  
Old 09-08-2011, 08:07 PM
yujy yujy is offline
Approved Member
 
Join Date: Mar 2010
Posts: 24
Default

@Fat shade

What items did you change earlier? I copied the new files and now i couldn't load my previews save. I started a new campaign (to see if it works) and works fine. Therefore i believe there is an error in the items.txt or eng_items (an error with one of my items i have on me).

@Rudi

I'm still trying to do that, but i don't know which parameter to use to indicate the HP of the unit.
I tried hitpoint(like is written in the units files), health and several others. For damage, for example, they use dam_min and dam_max.I will let everyone know if make a breakthrough. I'm also a noob about editing but if you really want something you have to try to modify the game as it fits you. Fad Shade for example has different ideas on how to augment the, so call, weaker classes but that only refers to the way he plays the game, while i have different styles and desires for my play through. All i'm saying is to give it a try who knows.

Last edited by yujy; 09-08-2011 at 08:19 PM.
Reply With Quote
  #4  
Old 09-08-2011, 09:47 PM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

@langtu87 I dont think so , i only added new units to items already existing, didnt change or add new items i`m trying, those files are in other folder.
For exp : i added new fireskeleton and venskeleton to bow items that give bonus to archer units, i added griffin_spirit and harl to griffin items +1speed,-20lds , added spiritist, harl, griffin_spirit and legendary phoenix to horseman gloves +1 speed to mounted and flying units, and such. I didnt change any items at all. In eng_items i changed description to items i added new units to. Special params, i added maelstrom to sp_lead_warrior , medium darkmage,sinister and all other new undead to their sp_lead_undead. All in all i didnt change anything there, only added new units that got missed in red sands mod. Whole lizardead race isnt considered in red sands, so i added them also to item bonus.
@Rudi As langtu said, try it our yourself. I`m not good at this but i got some ideas and trying them out. But before i mod anything i copy file i`m planing to change to folder outside game and then play with it. Start game, and if it`s not working i copy original file i knew is ok, and back to drawing board That`s how almost any1 else learned to mod this game
If you have any ideas you want to try share with others, maybe some1 already did something similar, and can give you advice.

And ffs, pls some1 tell me cheat code for getting item`s in hero inventory. I make some items and dont want to try new games since i never use KBscanner, just want to see if game accept my items or not.
I try magicbook, and got all scrolls in my spell book, so it works, but i cant figure out how to get item i want. I`ll try making new spell to check my other ideas since magicbook cheat works.

Last edited by Fatt_Shade; 09-08-2011 at 10:24 PM.
Reply With Quote
  #5  
Old 09-08-2011, 11:22 PM
Rudi Rudi is offline
Approved Member
 
Join Date: Dec 2009
Posts: 9
Default % hp instead of fixed bonus

I made a little modification in the exp_system.lua
Code:
local maxhp = Attack.act_get_par(attacker,"health") 
Attack.act_attach_modificator(attacker,"health","expa_health_"..tostring(chp_health),maxhp*chp_health*expa_hp_par*0.01,0,0,duration,false)
it works well enough on small numbers but on larger bonuses for your units it gives a grater bonus than supposed to. While in tactics mode or before summoning Asmodeo/moving units the current hp is calculated correctly but after the first move it goes a few points up. This must be some kind of unit conversion or whatnot issue. Anybody more experienced feel welcome to explain.
Also I can post screens showing the matter clearly if needed
Reply With Quote
  #6  
Old 09-09-2011, 12:52 AM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

I think i managed to fix hp%, for unit lvlup. In exp exp_system.lua file find this string
Code:
 Attack.act_attach_modificator(attacker,"health","expa_health_"..tostring(chp_health),chp_health * expa_hp_par,0,0,duration,false)
and replace it with this one (just copy over it)
Code:
 Attack.act_apply_par_spell("health","expa_health_"..tostring(chp_health),chp_health*expa_hp_par,0,0,duration,false)
How to make some unit to strenghten healing ability? My legendary phoenix have +4% healer, but still heal same amount hp as they dont have bonus I havent used other healing units, so have no idea does it work on them either (priest, runemage, demonologist . . . ) Any1 idea how to fix it?

Last edited by Fatt_Shade; 09-09-2011 at 06:59 AM.
Reply With Quote
  #7  
Old 09-09-2011, 02:40 PM
langtu87 langtu87 is offline
Approved Member
 
Join Date: Sep 2010
Posts: 36
Default

Quote:
Originally Posted by Fatt_Shade View Post
@langtu87 I dont think so , i only added new units to items already existing, didnt change or add new items i`m trying, those files are in other folder.
For exp : i added new fireskeleton and venskeleton to bow items that give bonus to archer units, i added griffin_spirit and harl to griffin items +1speed,-20lds , added spiritist, harl, griffin_spirit and legendary phoenix to horseman gloves +1 speed to mounted and flying units, and such. I didnt change any items at all. In eng_items i changed description to items i added new units to. Special params, i added maelstrom to sp_lead_warrior , medium darkmage,sinister and all other new undead to their sp_lead_undead. All in all i didnt change anything there, only added new units that got missed in red sands mod. Whole lizardead race isnt considered in red sands, so i added them also to item bonus.
@Rudi As langtu said, try it our yourself. I`m not good at this but i got some ideas and trying them out. But before i mod anything i copy file i`m planing to change to folder outside game and then play with it. Start game, and if it`s not working i copy original file i knew is ok, and back to drawing board That`s how almost any1 else learned to mod this game
If you have any ideas you want to try share with others, maybe some1 already did something similar, and can give you advice.

And ffs, pls some1 tell me cheat code for getting item`s in hero inventory. I make some items and dont want to try new games since i never use KBscanner, just want to see if game accept my items or not.
I try magicbook, and got all scrolls in my spell book, so it works, but i cant figure out how to get item i want. I`ll try making new spell to check my other ideas since magicbook cheat works.
in hero.txt
hero_mage { // ******************** Ìàã ********************
// ñòàðòîâûå ïàðàìåòðû
start {
leadership=100
attack=0
defense=0
intellect=3
mana=20
rage=10
gold=1000
rune_might=1
rune_mind=1
rune_magic=6
crystals=20
book=10
// ñòàðòîâûå óìåíèÿ èçó÷åííûå è íåäîñòóïíûå
skills_open=wizdom //rage,wizdom,meditation //chaos, alchemist
skills_off=blood_lust,resurrection,megamage,contrs trike,holy_armor
army=sprite|11|peasant|20|dragonfly_lake|11
spells {
spell_fire_arrow=1
spell_slow=1
spell_fire_ball=-1
spell_healing=-1
}

items {
time_clock=1
picture_inspirit=1
}
}

In items {}, you just add your_item=1

For anyone don't want the restriction when hero lev > 50, just edit logic_hero.lua file, find a code have: < 51 and a code have > 50 and change it


I added my mage crown of chaos, live bow and gain diffculty 500%. It really interesting
@Shad for the error about resurction of inquitor above, I think I will change redsand mod to 1.1 version. The problem cause when I upgrade it to 1.3
Reply With Quote
  #8  
Old 09-09-2011, 03:39 PM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

Yea this item change is for starting new game i thought adding items for game already at 43lvl. But thx i`ll try it out to check my made items.
As for changing 1.1 to 1.3 i`m sorry, i knew i didnt cause any problems, only added new units to items.txt nothing that would cause game problems
Reply With Quote
  #9  
Old 09-09-2011, 04:02 PM
langtu87 langtu87 is offline
Approved Member
 
Join Date: Sep 2010
Posts: 36
Default

Quote:
Originally Posted by Fatt_Shade View Post
Yea this item change is for starting new game i thought adding items for game already at 43lvl. But thx i`ll try it out to check my made items.
As for changing 1.1 to 1.3 i`m sorry, i knew i didnt cause any problems, only added new units to items.txt nothing that would cause game problems
No problem, I just install redsand 1.1 and it work ok. Maybe the cause because not compatiable version of KBCW.

As I reinstall KBCW, so I use the transalted in http://forum.1cpublishing.eu/showthread.php?t=23322
then I use my program to check and it seem lack sone translate:

itext_elona_dungeon_1_637_hint=^?^Войти в гигантскую рыбину
itext_elona_dungeon_1_655_hint=^?^Книга Феи
itext_elona_dungeon_1_655_msg=^?^Прочитав эту книгу, можно попробовать поймать фею за хвост.
itext_montero_1686_hint=^?^<label=itm_companion_as sassin_name>
itext_montero_1686_msg=^?^Самый обычный дипломированный гном ассасин.<br>Конечно, если гномы среди ассасинов вообще обычны.
itext_temple_love_597_hint=^?^Таинственн ый Маг
itext_temple_love_597_msg=^?^Загадочног вида маг.
itext_verona_3522_hint=^?^Вход в пещеру
itext_verona_3524_hint=^?^Вход в пещеру
itext_verona_3528_hint=^?^Мракоборец Геральд.
itext_verona_3528_msg=^?^Профессионал ный истребитель чудовищ.
itext_verona_3533_hint=^?^Один Единый
itext_verona_3533_msg=^?^Побежденный в честном бою вождь варваров, обосновавшихся на Вероне.
warning_embraces=Вокруг нет живых врагов!
add_blog_saboteur_cloaсking_1=^blog_td0^[name] маскируется и становится недосягаемым для большинства атак!
add_blog_saboteur_cloaсking_2=^blog_td0^[name] маскируются и становятся недосягаемыми для большинства атак!
ehero_system_hint_1817056010=Великий воин Рехау. Не доволен положением дел на Рехау и собрал армию против Ктаху. Не захотел оставить вас просто так.
globstr_1684091936=У воды из озера странный вкус. Но удивителен не вкус, а то, что вы на себе ощутили силу волшебства воды из озера.<br><br>Ваши навыки накапливать магическую энергию и контролировать свои эмоции улучшились, и вы получаете +2 к максмуму Маны и Ярости.
globstr_1924443945=Вы смогли выкупить у орков рунный посох. Таким оружием сражались в Войну Чародеев. Каждое такое оружие уникально, и владелец подстраивает его под себя, вкладывая в него Руны Талантов.
montero=Монтеро
перепоняющегоchat_system_238701288_ac tor_description=Альгамбро. Зловещий маг.


If someone have a good translated version or want a tranaslated in other language. Just send me translated of attached file
Attached Files
File Type: zip raw.zip (505.6 KB, 6 views)
Reply With Quote
  #10  
Old 09-10-2011, 02:57 AM
langtu87 langtu87 is offline
Approved Member
 
Join Date: Sep 2010
Posts: 36
Default

@Shade It seem your item.txt file has some bug. I using this and add item of pet dragon for hero at start but this item don't appear. Replace old file, it work.
So I think your item.txt has some bug or not compatiable with redsand 1.1
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:58 PM.


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