Where is export_descr_buildings.txt file in M2?
I want to add recruitable generals to M2, poking around I came up with this on the official forum.
Quote:
Question #36: How do I recruit generals?
Answer #36: It is very easy to mod the game so that you can recruit generals. Just add this to your export_descr_buildings.txt file:
recruit_pool "Mongol Bodyguard" 1 0.2 1 0 requires factions { mongols, timurids, }
recruit_pool "ME Bodyguard" 1 0.2 1 0 requires factions { moors, egypt, turks, }
recruit_pool "Greek Bodyguard" 1 0.2 1 0 requires factions { byzantium, }
recruit_pool "EE Bodyguard" 1 0.2 1 0 requires factions { russia, }
recruit_pool "SE Bodyguard" 1 0.2 1 0 requires factions { spain, portugal, milan, venice, sicily, }
recruit_pool "NE Bodyguard" 1 0.2 1 0 requires factions { england, scotland, france, hre, denmark, poland, hungary, }
You'll need to do this for each building which you want to allow the creation of general's units.
Seems simple, but I can't find the export_descr_buildings.txt file. I've monkeyed around with the King's Purse, but that's the extent of any alterations I've done.
Am I just missing the file path or do I need to unpack the data files before I can make the changes?
Re: Where is export_descr_buildings.txt file in M2?
Its in the data folder, if you've unpacked your game.
Re: Where is export_descr_buildings.txt file in M2?
Place the following text into a bat file (using notepad; save as .bat), save the file to your unpacker folder, and run:
Code:
unpacker.exe --source=..\..\packs\*.pack --destination=..\..\ --verbosity=1 --filter *descr*.txt
That'll unpack the most commonly modified files to your data folder, and shouldnt' take up too much space.
Once you've added what you want, make a bat file in the main medieval2 folder with the following:
Code:
medieval2.exe --io.file_first