Hi,
This is my second tutorial, my first describes how to change character details here. If you've read that, you're probably familiar with the ESF editor and savegames by now. If not, the first thing you're gonna want to do is download the 1.4.6 ESF Editor updated for Shogun 2 (not the 1.4.8 which corrupts savegames). By the end of this tutorial you should be able to:
A. Change the size of a unit
B. Change the experience of a unit.
(I'm working on adding armor lvl, weapon lvl, accuracy lvl and charge lvl, and will hopefully have those soonish. I'll edit this post when and if I do.)
This is how to edit units:
1. Get ESF editor version 1.4.6 ESF Editor updated for Shogun 2. The 1.4.8 currently corrupts savegames, from what I can tell by saving them in an ETW format. I haven't had issues with 1.4.6
2. Backup the savegame you want to edit. REALLY DO THIS. The editors are still under development, and the last thing you want to do is kill that really awesome savegame you've got going. I called my backup "safe" and my editable save "editable". Original, I know.
3. Open up the ESF editor, and open "editable". Expand as follows:
campaign_save_game
campaign_env
campaign_model
world
faction_array
1st faction_array
faction
4. You may have noticed that all of these are exactly the same as editing your character. Never fear, we will now go into editing the unit. Expand some more:
army_array
NOTE: There may be a whole bunch of army arrays (depending on where you are in the game). They are organized, as far as I can tell, with the most recent army created at the bottom. This means, if you want to find a specific unit to edit, seperate them from the army, then save, and they will be off on their own as a single unit army at the bottom.
army_array
army
units_array
NOTE: Now you may see a big list of units_array. They are organized in the same order as your army cards are in the game. In other words, the first unit is the general, etc. This makes it a bit easier to find the unit you want.
land_unit
5. Check the name of the unit is right by selecting land_record_key
6. Select Unit (still under land_unit). There are a whole bunch of numbers. You want to edit the ones in RED. From what I understand, this is what they mean:
first and last lines: Unit ID Number? I think this is a way to identify one unit of spearmen as opposed to another and serve as an easy way of dealing with these units ingame for combat and such. DO NOT CHANGE, unless you are experimenting with how they've made the game and are interested in programming and don't care that the file will likely be unstable/crash.
2nd line: ? No idea.
3rd line: current soldiers. You can change this to make a unit full strength
4th line: max soldiers. You can change the maximum number of soldiers. I've tested up to making 120 man general units. I'm interested in what others get, or what the break-points are. I'm guessing you could probably manage around 225, and that it'll depend on the computer.
5th line: ? No idea.
6th line: ? No idea.
7th line: xp points/progress. You know that yellow bar next to the XP level in the game that grows until the unit levels up? This is that yellow bar. I don't know what point levels correspond to what levels, and haven't tested much. I'm quite interested in this, since I don't think that a lvl 5 unit will reach level 6 until the experience points catch up (these points don't increase just by increasing the level, but do effect the yellow bar). If anyone tests that, please post it!
8th line: xp lvl. This is the xp level for the unit. Change this to whatever you want. I've tested up to lvl 9. Interested in what the limits are.
9th line: ?
10th line: campaign movement speed?
7. Save the game in the esf editor, and open in shogun.
8. (Optional) If any of you do testing and find out what the limits are for the max xp, which xp points correspond to which level, and if the game has a hard limit for unit size, that would be awesome.
Hope that helps!