Sorry if it's gonna sound a bit harsh but mod made incorrectly thus you have compatibility issues and weird bug with recruitment, it's easy to fix tho. Also it's gonna be useful for any future mods you decide to create. So here are the problems and fixes:
1) Never call your table "data___" like official CA table it makes your mod incompatible with any mod that edits same table. Rename it, in your mod case, for example "@nofavorloss___" or smth similar without spaces and it will ensure compatibility.
2) You have redundant things that already part of official CA table so after you renamed table like I pointed above and saved your mod pack click on "SpecialStuff-Troy-Optimize Pack File" in RPFM and then save your packfile. You will see it doesn't need all those rows of data.
Minor nitpick in addition to stuff above: name your pack with lower case symbols and no version so when you update in future new file should have same exact name because otherwise game will think it's a new mod and people will forget to delete old file, which leads to all kinds of problems and keeping it short helps with loading. Example name would be "@no_favor_loss_player"
P.S. Only saying this to help hopefully no hard feelings, just made this exact type of mod for my own personal use and decided to compare, making TW mods for myself since Rome I, glhf ^^
Hey Rav3nX Thank you so much, like I mentioned I am not a well informed modder, tbh I am not a modder at all and I really do appreciate the feedback. 1. I will fix the issue regarding the table name. 2. I know I have way too much redundant data, but in the previous version of the mod where I removed the redundant data, it made the mod reduce the recruitment capacity to 2 or 1 for reasons unknown to me. If you can find a fix for that would be amazing. Again, thank you for the feedback, I make simple mods for personal use in 3k and troy but this is the first time I have uploaded something.
It reduced capacity because you didn't rename table, if you have a table with the same name that official CA table it will overwrite official table and all values in it, so renaming the table should fix that issue.
The way this engine works: 1) if you have table with exact same name "data___" it basically uses YOUR table INSTEAD of CA table so if you don't fill it with all redundant data it will make all values to 1 (which is what happened to you). 2) if you rename table it will serve as addition to CA table and if you have same rows that CA table it will ONLY overwrite THOSE rows not entire table (this is what you need to do). 3) if you rename table and add BRAND NEW values it will also serve as addition to CA table and ADD rows to the end of table on load. (this is for mods that add new stuff to the game.)
I hope it clarifies how this stuff works for you :)
12 comments
Sorry if it's gonna sound a bit harsh but mod made incorrectly thus you have compatibility issues and weird bug with recruitment, it's easy to fix tho.
Also it's gonna be useful for any future mods you decide to create. So here are the problems and fixes:
1) Never call your table "data___" like official CA table it makes your mod incompatible with any mod that edits same table. Rename it, in your mod case, for example "@nofavorloss___" or smth similar without spaces and it will ensure compatibility.
2) You have redundant things that already part of official CA table so after you renamed table like I pointed above and saved your mod pack click on "SpecialStuff-Troy-Optimize Pack File" in RPFM and then save your packfile. You will see it doesn't need all those rows of data.
Minor nitpick in addition to stuff above: name your pack with lower case symbols and no version so when you update in future new file should have same exact name because otherwise game will think it's a new mod and people will forget to delete old file, which leads to all kinds of problems and keeping it short helps with loading. Example name would be "@no_favor_loss_player"
P.S. Only saying this to help hopefully no hard feelings, just made this exact type of mod for my own personal use and decided to compare, making TW mods for myself since Rome I, glhf ^^
Thank you so much, like I mentioned I am not a well informed modder, tbh I am not a modder at all and I really do appreciate the feedback.
1. I will fix the issue regarding the table name.
2. I know I have way too much redundant data, but in the previous version of the mod where I removed the redundant data, it made the mod reduce the recruitment capacity to 2 or 1 for reasons unknown to me. If you can find a fix for that would be amazing.
Again, thank you for the feedback, I make simple mods for personal use in 3k and troy but this is the first time I have uploaded something.
The way this engine works:
1) if you have table with exact same name "data___" it basically uses YOUR table INSTEAD of CA table so if you don't fill it with all redundant data it will make all values to 1 (which is what happened to you).
2) if you rename table it will serve as addition to CA table and if you have same rows that CA table it will ONLY overwrite THOSE rows not entire table (this is what you need to do).
3) if you rename table and add BRAND NEW values it will also serve as addition to CA table and ADD rows to the end of table on load. (this is for mods that add new stuff to the game.)
I hope it clarifies how this stuff works for you :)