Create with Me:

Step One: 

Read Modding Items Guide and follow those folder setup and file instructions along with this here and along with browsing the file structures included so you can see what I'm talking about. All steps except deletes will be visible inside this package. So you can see what was done and copy it by making a duplicate inside your own computers file structure while referencing this package and it's guide. 

NOTE: All steps I reference are inside YOUR modding folder that you created based on the guide, NOT in your game files. Read the Guide first. Notepad means the standard windows program Notepad not Notepadd ++. I am going to shorthand Notepad++ to simply ++ after the first instance. In between steps where it says to close open files/tabs in ++ please do that or you could edit the wrong copy of the file. 

Step Two: Navigate to Masterfiles/Tables/Libs/Tables/Item and search for the item we are modifying which is a club. We are using "Spiked Club - 31be8b2-e9e7-48f8-84f9-54f438d19cc4". So we go to "search" and find and type "club" and hit find next and now we choose the one we want and copy the item id to a new Notepad file so we can easily copy/paste in search whenever we like. Leave Notepad open and minimize in case you need to grab that ID again. Close the open file in Notepad++and then Notepad++.

Step Three: Search the rest of the files in the folder for what else has this item ID the same way. Leave all files open in ++ that have an instance of it and close all that do not. You will now look at each one and see if there are values you can modify. There are four files that you can modifiy values in this case (equippable_item, melee_weapon, pickable_item and weapon)and two others that point to an icon and a preset, leave those two alone as you can't do anything with those. Note the name of the files you are going to take, close all open files and then close ++ and copy those files to your Masterfiles inside your mod Folder inside your Workspace. Create the same file structure as their source and paste them inside. 

Step Four: Inside you Workspace Masterfiles create four new text files  - right click and select new "text file". Rename each one after one of the xml files and change the .txt file type to .tbl instead, say yes to warning and change the file type when the pop-up prompts you. You can create these in the item directory right alongside your xml's for easy copy/paste using CTRL C & V and then they are right where they belong or you can move them up to the main Masterfile directory if you are like me and don't like to move them in with the files you are editing until you finish editing (I keep accidentally choosing them instead of the xml which is infuriating and this just keeps it nice and clean). Now you will copy the four xml files to Working On and paste them there. The masterfiles are there for redundancy if you mess up your file and just want to quickly replace it with the original or if you want to work on multiple versions of the same mod like a cheat version and an original version.

Step Five: Inside Working On we will begin to edit our files. 

We open Equippable_item.xml and search for our item. Now we will edit "charisma" to "16" and on "conspicuousness" add "-2" and then save, close tab and return to your folder. 

Now we open melee_weapon and alter the "attack" to "6.75" and change the "slash_att_mod" to "1.25" and "stab_att_mod" to"1", save changes, close tab and return to folder.

Now we open pickable_item and increase "price" to 1250 (125 Groschen I believe) and "Weight" to "4", save changes, close tab and return to folder.

Now we open weapon.xml and alter "defense" to "14" and "str_req" to "6", save changes, close tab and return to folder.

We have now completed our changes. All Spiked Clubs in game now have better values and are more deadly to NPC's and to the Player.

Step Six:

Paste in your blank .tbl's to the folder now. Create your .zip using right click again. Highlight all your files and add them in. Change your .zip to .pak (as described in the Guide). Your file should look like this zzz_MyFirstMod.pak.

Step Seven: Test it out. Paste into Game's Data folder and launch game and check out Spike Clubs in game. (Remember the other Guide here)

Step Eight: Create a Zip for your mod in KCD Mods/Completed Mods/MyFirstMod/ call it MyFirstMod.zip and then go back to your .pak file and right click and add to archive then browse for the newly created archive and add it.

Step Nine: Create any Images or text files to associate with your mod. 

Step Ten: Go to Nexus Mods website and upload your file following their instructions and rules.


Thank you for reading this step by step example and its associated file Modding Items Guide  and for browsing the associated directories to see the examples. I hope it was helpful, if not sorry I suck at guides. :/ 

Created by usernameunavailable404
Permissions: If this is useful to you it's yours to use or edit at will. Credit for the base file would be appreciated but is not required as anyone could have written the same exact thing.
