statesidebeast Posted January 27, 2019 Share Posted January 27, 2019 I successfully changed stats of the weapon I wanted to change.mods/Mod Name/Data/Tables.pak/Libs/Tables/items/melee_Weapons.xmlWhen I do the same for armor/Shield. The stats do not change in game.mods/Mod Name/Data/Tables.pak/Libs/Tables/items/armor.xml I tried having all the files in one folder, and also tried having all the armor as separate folders. No matter what I do. The stats in game will not change.I can't find anything at all on google. I know I must be doing something wrong. I just don't know what. I'm lvl noob when it comes to this type of stuff. Any help will be grateful. A link to something explaining everything in detail for be extremely awesome! Link to comment Share on other sites More sharing options...
Lieste Posted January 27, 2019 Share Posted January 27, 2019 Did you ensure that you had a 0 length .tbl file with the same name?Shields live in 'melee_weapons', 'weapons' and related files rather than in 'armor'.Stats for one item are shared by unique item id across multiple files, to 'completely' modify an item you need to examine and if necessary revise data in each of these.Defence stat is in 'weapons' for example, and offence stats in 'melee_weapons'. Cost and weight in 'pickable_items'.Armor has multiple defence stats, as well as durability in 'armor', and has links to 'pickable_items', 'clothing' and others.It is possible to change these. I had a working mod (until a versioning error broke it, my fault) which modified prices, armour protection and weapons, as well as some aspects of combat (notably stamina as protection removed - but weapons toned down vs armour considerably).I am currently waiting for the end of significant additions to item lists with the dlc before revisiting the mod, as it was a considerable investment in time and effort to complete the changes, and complex to identify the changes in the base game and insert the differences when almost the whole file had changes so a direct compare was ... useful but still required manual review of the entire document. Link to comment Share on other sites More sharing options...
statesidebeast Posted January 28, 2019 Author Share Posted January 28, 2019 Did you ensure that you had a 0 length .tbl file with the same name?I have the .tbl that I copied from the main file. Shields live in 'melee_weapons', 'weapons' and related files rather than in 'armor' (I did not mean to put armor. I was tired and frustrated trying to figure it out) When I change the axe stats. It worked perfectly. So, I did the same thing with the shield. Searched for the ID. I copied weapon.xml and weapon.tbl, and changed the stats to defense="13.25" max_status="73" str_req="4"I took the numbers from another cumin shield. I Wanted 113 defense instead of 80 for a weaker shield. It won't change for me. I tried doing it on a piece of armor. Same results with the shield. This is the order I placed it in my KCD mod folder. KingdomComeDeliverance\mods\MyMod\Data\Tabes.pak\Libs\Tables\itemIn this folder Is:weapon.xmlweapon.tblmelee_weapons.xmlmelee_Weapons.tblarmor.xmlarmor.tbl Do I have to make my own .tbl or use the one from the game? The original one works with the axe I edited, so I thought doing the same with the shield/armor would be work too. The only reason I have the Rar Tables.pak in the mod. I downloaded mod and that is how they had theirs. I don't know if it supposed to be like that, but again. The axe still works and not the armor/shield. Link to comment Share on other sites More sharing options...
Lieste Posted January 28, 2019 Share Posted January 28, 2019 If you have the *main* .tbl file then you have the *main* .xml file loaded in a compressed form.You need to overwrite the main .tbl, using an edit to the mod .xml and a mod zero size .tbl file with the same name. Even just creating an .xml on it's own will not by default be used without having this .tbl file as it will load the main.tbl by preference Link to comment Share on other sites More sharing options...
statesidebeast Posted January 28, 2019 Author Share Posted January 28, 2019 (edited) Ok! I will give it a try when I get home.That was it. Thank you very much! I really appreciate the help. Edited January 28, 2019 by statesidebeast Link to comment Share on other sites More sharing options...
browniancoffee Posted May 31, 2019 Share Posted May 31, 2019 (edited) Hey @Lieste, I'm trying to change damage for Herod's sword, but can't seem to get it. If you have a second, could you check out this post https://forum.kingdomcomerpg.com/t/changing-damage-for-weapons/65267 and telling me what I'm doing wrong? Thanks! Edited May 31, 2019 by browniancoffee Link to comment Share on other sites More sharing options...
Lieste Posted May 31, 2019 Share Posted May 31, 2019 It doesn't matter what values you put in the xml, if you leave the tbl file loading.Copy the xml into the mod structure (instead of editing the core copy).Edit the xml.Create an empty text file in the mod package with the same name, change the extension of this empty file to .tblIt will load the empty .tbl instead of the main unmodified .tbl, then because this is 'null' it will load the modified .xml (if it cannot find this it will load the original xml). Link to comment Share on other sites More sharing options...
browniancoffee Posted June 1, 2019 Share Posted June 1, 2019 (edited) Ok, I gave that a shot and I don't seem to be able to get it working. Would you be willing to look at my file if I attach it? Sorry, this is my first modding attempt :[ Edited June 1, 2019 by browniancoffee Link to comment Share on other sites More sharing options...
Recommended Posts