I've been scrounging around the data files to try and find the data to change the unit stats for Fall of the Samurai. I've looked all over the place and can't seem to find it. Can anyone help me, please?
I've been scrounging around the data files to try and find the data to change the unit stats for Fall of the Samurai. I've looked all over the place and can't seem to find it. Can anyone help me, please?
I believe it's the data.pack file and look through db, then the unit_land_stats or something similar, like you would in the original Shogun 2 unit stats.
I was trying to edit my general unit to have yari instead of katanas, when I filtered it out, there was Yari Ki in one of the fields so that's why I believe that's where the data is.
Always look for the latest patch pack. That should be patch16.pack. In the "db" directory, scroll down until you find "unit_stats_land". In any PFM you have, it'll be inaccessible until we get an update, but at least you know where to go.
"unit_stats_land" defines things like what size the unit is, what weapon it carries and how powerful it is.
The S2 Onin War Mod | Boshin: Total Domains
Patron of Erwin Rommel
Under the proud patronage of Radious
The relevant files for modding anything concerning fall of the samurai are located within the patch17.pak file.(make a backup first, extremely important; I would say I obsess over backups, and you also need PFM) Unit stats are in a few different places but since you seem to want the land units, as opposed to naval. Search for the unit_tables database within the db extension. Now I have never done a unit replacement before, certainly not for fots at any rate, but you need to look for the line/row within the table that contains Boshin_Gen_Generals_Bodyguard, should be row 63. You can ignore row 64 as this row pertains to the multiplayer. But don't touch this quite yet.
You will also need the unit_stats_land_tables db. the row should be about row 42, under the unitIDref, first column not blank, it should have the same name, Boshin_Gen_Generals_Bodyguard. Once again ignore the multiplayer one beneath it.
Now I believe what you have to do to get this right, I haven't tested it though seems pretty basic, is find the unitIDref of the unit you want to act as the bodyguard itself and copy everything on that line but for the unitIDref (highlight and press copy button at the top of the table GUI of PFM) then highlight everything to the right of the unitIDref of the bodyguard unit and paste.
Then go back to the units_tables line and do the exact same thing, search by unit reference ID for the unit you want to do the replacing and copy all the info to the right of that ID and go to the body guard rinse and repeate (only paste instead of copy)
The only thing out of this I am at all unsure of is how the general himself as a unit factors in as opposed to changing only his bodyguard. I believe they are two different units but I remember the general has always been on horseback so you might have to locate his information within these tables as well as the representation for normal captains who are on foot and swap inforamtion maybe? Take this part with a grain of salt it is simply a conjecture to look at if you run into trouble. Hope this helps![]()