**UPDATED POST**
Hi all,
So I'd really like to start a mod that brings back areas of recruitment and I figured that this place is the best place to find people who will have an idea of where to go. Thanks to this thread and others I started playing around and trying to get it to work but I am hitting some odd problems that hopefully someone knows where I'm going wrong.
So the basic workflow:
- I am trying to add a unit to the Circenn faction, but this unit should only be recruited in the Circenn region.
- I picked an existing Irish unit (freemen spearmen) to add to the Circenn region.
- I duplicated the unit in "main_units" and renamed the first entry "sco_freemen_spearmen" - everything else was kept the same as the original "iri_freemen_spearmen"
- I added a new mercenary_pool called "circenn"
- I added the unit to mercenary_unit_groups.
- I added this new unit to mercenary_pool_to_group_junctions.
- I set up the province for the pool in province_to_mercenary_set_junctions
- I added the unit to vik_sco in the units_to_groupings_military_permissions table.
At this point I went through and exported the tables (I was using assembly kit). I followed all the instuctions for the assembly kit, including pasting the correct files to the correct folders before running bob.
Then I ran bob, created a new pack file containing all the edited files and a new startpos. Everythign came up green.
But here is the problem. Now when I am in game as Circenn, Freemen Spearmen are now available in the province of Circenn - all good there. But they are also available in the other province of Monadh and oddly enough, there are two of them available in Monadh (pictures of that below)
If anyone can see what has gone wrong here, please let me know. If you need any more info or screenshots, just ask and I can get some more uploaded.
Thanks