Jump to content

Zajuts149

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Zajuts149

  1.  

    From browsing mod pages, I've seen a lot of requests from users towards modders for merging various tweaks made in the rpg_param.xml file. Since this file controls quite a lot of different things and therefore will be a very common conflict, t's probably better if users learn to make these edits themselves.

     

    This short guide will cover the process so anybody can make edits and create their own mod.

     

    Setup

     

    1. To get the vanilla rpg_param.xml file, you need to extract it from the Tables.pak file. This is found in the Kingdom Come Deliverance/Data/ folder.

     

    2. Within the Tables.pak file itself, navigate to Libs/Tables/rpg/ and extract the file.

     

    3. In any directory, create a folder called Libs, and then within another called Tables, and within that rpg. You should end up with this folder structure:

    <directory>\Libs\Tables\rpg\
    

    4. Place your extracted rpg_param.xml file here.

     

    You can now start editing the file.

     

    Edits

     

    Open the file in a text editor, I recommend Notepad++ to ensure the encoding remains correct.

     

    Each parameter within this file is defined in a row, with the rpg_param_key attribute defining which game setting to edit, and the rpg_param_value attribute setting the actual value.

     

    So, for example, if you wanted to change the Skill Cap from 20 to 30, you'd need to add a new row. To do this, add a line similar to the example below, ensuring it is within the <rows> tags.

    <row rpg_param_key="SkillCap" rpg_param_value="30" />
    

    You can add as many new rows as you like, although you shouldn't repeat settings.

     

    Packaging

     

    Now you've made your changes to the rpg_param.xml file, you need to create your own .pak file so the game can load your edits

     

    First, you need to create an empty .tbl file so the game will load your custom .xml, otherwise it will default to reading the vanilla .tbl file and ignoring your changes.

     

    To do this, just make a new text file with nothing in and save it as rpg_param.tbl. This will create a 0 kb file. This file should be in the same directory as the rpg_parama.xml file.

     

    Now return to the directory you created the Libs folder in. With a program such as 7zip or WinRar, create a new .zip file with the Libs folder at the top. (i.e. right-click on the Libs folder -> 7zip -> Add to archive).

     

    Once the zip file has been created, manually rename it to .pak, which is functionally identical, but allows the file to be read by the game.

     

    You should now have a .pak file called <modname>.pak, with Libs/Tables/rpg/ folders within and both the rpg_param.xml and rpg_param.tbl files within the rpg folder.

     

    Place your pak file into the games Data folder and launch the game, your edits will now appear ingame.

     

    Reference

     

    There are numerous parameters that are not listed in the vanilla rpg_param.xml file. The following is a list of all the parameters found within the .dll and the comments left with them. They have been loosely sorted so it's easier to find what parameters you want.

    StatXPHit
    StatXPComboHit
    StatXPKill
    

     

    This thread should be pinned!

     

    I see that the above parameters have no comment, but if I have interpreted them correctly, they are the ones that govern the Stat XP gain you get from fighting(Strength, Agility). So if I reduce them, I should see a slower growth in Strength and Agility when training/fighting, right? I get tired of reaching full strength/agility half-way through the game while my weapons skills lag behind.

  2. Finally got some results. For some reason, I couldn't reduce the HorseRidingXPPerDistance parameter that would take effect in the game, but when I increased the HorseRidingAwardDistance parameter, I managed to slow down the Horseriding xp gained. Now it will be more fun playing Hardcore without having 20 in horseriding, while the other stats are barely up to 5...

    Need to test a bit to find the optimal distance.

  3. I finally managed to cobble together a mod to slow down the xp gained when riding, but it doesn't work. I edited rpg_param.xml in notepad++, packed it in a .zip with an empty rpg_param.tbl in a Lib/Tables/rpg folder and renamed .pak. I put the pak in "Data" folder and that folder in a folder named after .pak and put that in the "Mods" folder. What am I missing?

     

    edit:

    Ok, I tried to repack the files, I made a manifest and after starting the game I checked the console, and it seems my mod isn't opened. The game tries to open the *.pak, but unlike a couple of other mods that uses different files doesn't get a confirmation that it is opened.

  4. I am not yet capable of modding this game, and so far I haven't really felt the need too. I have a couple of minor mods installed, but there is something I really start seeing a need for. I think the Strength and Agility stats increase too fast compared to some of the skills, and would like to slow them down a bit. It would also be nice to have all the longswords agility based, so there is more balance between Strength/Agility.

     

    One thing I really want nerfed, and it became even more pressing as I recently started a Hardcore game, is Horse-riding. There are so many ways to help increase horse-riding skill, and it tops out way too early. It would be nice if you actually had to use some of the trainers to gain skill here, especially in Hardcore, as you have to ride around a lot since there is no fast travel.

×
×
  • Create New...