Hi All,
I am trying to make my first minimod for Napoleon: TW here. Nothing fancy, just adding a unit that I would like to use ingame. I've followed some tutorials and used a few tools, namely Hazbones' Access Database tool and erasmus77's PFM. Understand, I am a complete and total novice here... just looking to kill some time on a Sunday morning. Hopefully I havent wasted several hours here and I can get the hang of it eventually.
I've attached what I have created so far. I thought it would work, things seem to be kosher, but of course it crashes the game upon loading. This is a mod style .pack, so add mod try.pack; to your user.scripts.txt file. I tried as a movie type, but it crashed too, heh.
The files inside have only lines pertaining to my new unit, the files are:
- building_units_allowed
- uniform_to_faction_colors
- uniforms
- unit_stats_land
- unit_to_unit_abilities_junctions
- units_to_exclusive_faction_permissions
Do you see anything missing right off the bat that I should've included? What I did was to open the AUM mod.pack, export out .tsv's, copy and paste my one line of info for my new unit in the AUM .tsv's, import the .tsv back into the .pack, deleted out ui & icon files as I dont have those yet.
There were some files I didn't redo in the AUM .pack because I'm not including that info (for instance the one about whether the unit is included in rebel stacks) because as I understand it, to not have the unit included, you leave it out of the file. I deleted those files out and saved; it seemed to have removed them as I intended.
With the above method, I presume the mod should work, but alas it does not. Perhaps someone that knows what they are doing could look and see where I may've gone astray?
Any help or suggestions would be greatly appreciated!
Edits w/ Progress:
1. I have managed to get the game to load! I've updated the attachment with the new semi-working file.
What I had missed was renaming the "folders" inside my .pack but leaving the tables themselves with their default names. I have changed everything to have a hac_ prefix now (Howitzer a Cheval). Problem is, when I go into custom battles, I do not see the unit there.Are additional files needed to get units into the Custom Battles menu?


Reply With Quote



