The first digit is persuasion, in the skills.txt, find persuasion and then go backwards. Each skill is on it's own line, if you input 2684357290 into the converter and then convert from decimal to hexadecimal you'll get A0000AAA with each skill being a single digit. The skills are read backwards in each number set, to find the skills, open the skills.txt. I'll be using a converter to get the hexadecimal from decimal and then vice versa.Ĭonverter[These are the skills that Alayen starts off with as default SkillsThe skills are converted from hex codes (correct me if I'm wrong) that hold a few skills with each big number.
Then to add a second upgrade path just change this number. I've also set up a link with the troop ID's at the top of this guide. Trp_swadian_militia Swadian_Militia Swadian_Militia 0 36700160 0 0 15 37 40 With the troop ID of the unit you want to upgrade to, which you can find in the module system. Upgrade PathsTo add an upgrade path you will need to simply change this number. Always remember to seperate each item with a 0. Where a 0 will add an invisible item to the inventory.
I've also set up a link to that allows you to see all the item ID's at the top of this guide if you don't want to download the module system. Which you can get by clicking on the link in the introduction section. ]trp_swadian_militia Swadian_Militia Swadian_Militia 0 36700160 0 0 15 37 40ġ7179869185 1315051091194281984 1835136 0 50465891015 7916447985573822463 2031036 07 (Strength) 5 (Agility) 4 (Intelligence) 4 (Charisma)And the level of the character is here.ħ 5 4 4 9These are the weapon proficiencies.ħ5 75 75 75 75 75 0(1 Handed Wep) (2 Handed Wep) (Polearms) (Archery) (Crossbows) (Throwing) (Firearms)Īdding ItemsTo add items to a NPC's inventory you will need to get the number of each item, which you can do by going into the ID_items file in the module system.
You can see the rest of them if you go into the faction file and simply count them.Īttributes And LevelsYou can easily change the attributes of an NPC by changing these. trp_swadian_militia Swadian_Militia Swadian_Militia 0 36700160 0 0 15 37 40 This number represents the culture.ġ - Commoners ( Mercenaries and Farmers, etc)
What faction the npc belongs to This is where you can see what faction he/she belongs to. So you should maybe change it to trp_my_soldier or something like that, you can leave it as its original ID (trp_swadian_militia) but it will get confusing later on. Trp_swadian_militia My_Soldier My_Soldiers 0 36700160 0 0 15 37 40That trp_swadian_militia is the ID of that character that you will be referring to in other files. You will need a plural noun (more than one) after this aswell, so it will go something like this. Be sure to add a underscore ( _ ) instead of a space. If your program doesn't support this function then scroll down the page until you spot trp_swadian_militia which should look like this. If you are in Notepad or Notepad++ then simply go ahead and click edit and then find, or CTRL-F, and type in swadian_militia. Module SystemĬlick on your troop.txt file and open it with your prefered program.
This is also crucial if you want to get into serious modding. To make it easier for you to find things I would suggest downloading the module system. Feedback would be appreciated and maybe a rating :). If you are looking to modify/add a lot of characters to the game then I would suggest using a tool which you can also find on the link above. It will be wise to create a copy of the "Native" folder just in-case you slip up and have to re-download the game. You will not need any unofficial tools for this guide, all you will need are the files stated above. But as for this guide I will only be showing you a few of the basics. If you are looking for a more in depth modding guide then you can maybe look for a guide on the Taleworlds Forums.