How to unlock non playable and emergent factionsSpoiler Alert, click show to read:
1. Non playable factions
To unlock non playable factions first follow the tutorial we used in Empire for minor factions. Open the startpos.esf file with EsfEditor form [NTW]/data/camaigns/mp_eur_napoleon and make these changes:
[..] CAMPAIGN_PREOPEN_MAP_INFO/PLAYERS_ARRAY/PLAYERS_ARRAY (non playable faction)/ middle False change to True
[..] CAMPAIGN_PREOPEN_MAP_INFO/FACTION_INFOS/ FACTION_INFOS/ 3rd and 4th False change to True
[..] CAMPAIGN_ENV/CAMPAIGN_MODEL/WORLD/FACTION_ARRAY/FACTION_ARRAY/FACTION/CAMPAIGN_PLAYERS_SETUP/ middle False change to True
[..] CAMPAIGN_ENV/CAMPAIGN_SETUP/PLAYERS_ARRAY/PLAYERS_ARRAY/ middle False change to True
In Napoleon faction selection menu there is place only for 4 factions. Until the scripter aces solve this problem you have to make a trick, to free up some space for your new playable faction. Go in startpos and in
[...]CAMPAIGN_PROPEN_MAP_INFO/CAMPAIGN_PLAYERS_SETUP/PLAYERS_ARRAY
change to False the middle True Boolean of a playable faction like Britain, Austria, Prussia or Russia.
2. Emergent factions
We'll do it in a similar way like in Empire but there are also some extra things to do. First follow the above tutorial to make the emergent playable. Now find the capitol region in:
[..]CAMPAIGN_ENV/CAMPAIGN_MODEL/WORLD/REGIONS_ARRAY/REGIONS_ARRAY/REGION and copy the Id from first line. Then in
[..]CAMPAIGN_ENV/CAMPAIGN_MODEL/WORLD/FACTION_ARRAY/FACTION_ARRAY/FACTION
in 11th and 12th entries paste the region ID. Also change the 14th Trueto False. Go further in FACTION/FACTION_ECONOMICS and in 1st line enter the amount 500.000.
After you make a playable faction non playable (last step of previous tutorial) start the game as the emergent. If everything is O.K. you should be able to get in campaign but you can see nothing because of FoW. It is alright, here we want to do this: Go in diplomacy menu and ask from the faction that holds the capitol region to sell it to you for 500.000. When this is done you'll see a message that a new leader and government is established. Emergent is now fully unlockable. Save the game and exit.
Now go in:
C:\Users\(user name)\AppData\Roaming\The Creative Assembly\Napoleon\save_games (for vista, win 7)
and rename the saved file from xxxx_xxxx.save to xxxx_xxxx.empire_save so the EsfEditor be able to read and edit it. We are going to make a Hybrid startpos using the startpos.esf from [NTW]/data/camaigns/mp_eur_napoleon and the saved game.
Open startpos.esf and xxxx_xxxx.empire_save in the same instance of EsfEditor.
1. Go in startpos.esf/CAMPAIGN_STARTPOS/CAMPAIGN_ENV/ right click on CAMPAIGN_MODEL and delete it.
2. Save it and open again in CAMPAIGN_ENV
3. In saved_game.esf/ CAMPAIGN_STARTPOS/CAMPAIGN_ENV/ right click on CAMPAIGN_MODEL and then click copy. Give sometime to the Editor to complete this and the following step since the amount of data is huge. Your Editor will stop responding for a few seconds but this is normal.
4. Right click on CAMPAIGN_ ENV of startpos.esf and paste.
5. Save the new hybrid startpos.esf.
Open it again and go in FACTION/FACTION_ECONOMICS to correct the treasuries. Also now you can make any other minor changes like make your new faction major, etc. See here some modifications. This will be your final startpos.esf with the emergent fully unlocked and playable.
CREDITS
Just for EsfEditor and Koras321, alpaca, erasmus777 for later development.