The “Perkaholic” mod was originally created by a user name Xylozi, but he became inactive, and that version in the link was updated to be compatible with the more recent version of the game by user d_vasegh.
I am fiddling with this mod, as a way to understand how the game handles files and make a couple mundane changes. It irks me that, for example, taking the “Juggler” perk causes a permanent malus on Speech and Charisma. So I found the line in:
D:\Steam\steamapps\common\KingdomComeDeliverance\mods\perkaholic\Data\Perkaholic.pak\Libs\Tables\rpg\buff.xml
and changed it to:
<row buff_ai_tag_id="" buff_class_id=“4” buff_desc=“buff_juggler_desc” buff_exclusivity_id=“0” buff_id=“bc64bdea-4444-4308-ae54-5e5f268d25f6” buff_lifetime_id=“0” buff_name=“perk_juggler” buff_ui_name=“buff_juggler” buff_ui_order="" buff_ui_type_id=“4” buff_ui_visibility_id=“0” duration="-1" icon_id=“0” implementation=“Cpp:Constant” is_persistent=“True” params=“agi+2,spc-0,cha-0” slot_buff_ui_name="" slot_icon_id="" visual_effect="" />
That works; the juggler perk no longer caused the deduction to speech and charisma. Except the UI description is now wrong, so I was exploring how to get that fixed. So I grabbed a copy of D:\Steam\steamapps\common\KingdomComeDeliverance\Localization\English_xml.pak\test_ui_soul.xml
and changed the appropriate line to:
<Row><Cell>buff_juggler_desc</Cell><Cell>You get a permanent +2 bonus on Agility, but also a -1 penalty on Charisma and Speech.</Cell><Cell>You get a permanent +2 bonus on Agility.</Cell></Row> (cutting “, but also a -1 penalty on Charisma and Speech”)
I saved this edited copy of “test_ui_soul.xml” along with “text_ui_perkaholic.xml” in a folder named English_xml at D:\Steam\steamapps\common\KingdomComeDeliverance\mods\perkaholic\Localization\ (I renamned the original .pak file “OREnglish_xml.pak.” I then used 7zip to archive the folder, and then renamed it English_xml.pak when it was all said and done.
I suspect this is where my process breaks down, and I suspect it is for one of two reasons:
- I didn’t use the right encoding format when I used 7zip to create the new “English_xml.pak” archive.
- I need to change something in “D:\Steam\steamapps\common\KingdomComeDeliverance\mods\perkaholic\Data\Perkaholic.pak\Libs\Localization\localization.xml” ??
Any ideas?