Results 1 to 3 of 3

Thread: Where is export_descr_buildings.txt file in M2?

  1. #1
    Chretien Saisset Senior Member OverKnight's Avatar
    Join Date
    Jan 2007
    Location
    Massachusetts, USA
    Posts
    2,891

    Default 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.

    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?
    Chretien Saisset, Chevalier in the King of the Franks PBM

  2. #2

    Default Re: Where is export_descr_buildings.txt file in M2?

    Its in the data folder, if you've unpacked your game.

  3. #3
    Cynic Senior Member sapi's Avatar
    Join Date
    Oct 2004
    Location
    Brisbane
    Posts
    4,970

    Default 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
    From wise men, O Lord, protect us -anon
    The death of one man is a tragedy; the death of millions, a statistic -Stalin
    We can categorically state that we have not released man-eating badgers into the area -UK military spokesman Major Mike Shearer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO