Results 1 to 18 of 18

Thread: Problem with recruitable mercs

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Headless Senior Member Pannonian's Avatar
    Join Date
    Apr 2005
    Posts
    7,978

    Default Re: Problem with recruitable mercs

    You also have to create a new map.rwm file in data\world\maps\base. Rename your old copy in case anything goes wrong, delete map.rwm if you've left it in there, then start a new campaign. The new map.rwm will pick up the new hidden resources. Once the hidden resources are there, changes to units.txt and buildings.txt will be detected without having to start a new campaign.

  2. #2
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Problem with recruitable mercs

    Just to correct an error - it is in fact possible to recruit a unit tagged as "mercenary_unit." The only differences between this type of unit and a "normal" unit are that it can be placed in the mercenary pool (descr_mercenaries.txt) and it will use the mercenary texture in descr_model_battle.txt, no matter which faction recruits it.

    Other than that it will be recruited just as any other unit will be. You must add the faction to the ownership line of the unit in export_descr_unit.txt, add a recruitment line (or multiple lines) in export_descr_building.txt, add the hidden resource to the hidden resource list at the begging of export_descr_building.txt, add it to the unit's recruitment line as you have done, and add it to the region's resource list in descr_regions.txt. Then, delete map.rwm and voila! It should work fine.
    Cogita tute


  3. #3
    Member Member Sfwartir's Avatar
    Join Date
    May 2005
    Location
    Norvegia Superior
    Posts
    146

    Default Re: Problem with recruitable mercs

    Thanks a lot everybody, it seems to work out fine now
    Orgia bona hic in his septem diebus?
    //Any good orgies here this week?//

  4. #4
    Member Member Sfwartir's Avatar
    Join Date
    May 2005
    Location
    Norvegia Superior
    Posts
    146

    Default Re: Problem with recruitable mercs

    ...except, as I just realized, the unit card shows a peasant in a black shirt, and it holds no unit description.
    This is kinda weird, 'cause I un-paked and added UNIT and UNIT_INFO for the relevant units from the folder "mercs" in the "pack" folder to my greek_cities UI folder (yes, lots of "folder" in that sentence).
    I haven't had any problems with peasants on unit cards since I downloaded xpak and started using it..hrm. Any suggestions?
    Orgia bona hic in his septem diebus?
    //Any good orgies here this week?//

  5. #5

    Default Re: Problem with recruitable mercs

    Sounds like the dictionary name has changed, check inside text\export_units.txt to ensure there's an entry which matches the edu dictionary line.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  6. #6
    Member Member Sfwartir's Avatar
    Join Date
    May 2005
    Location
    Norvegia Superior
    Posts
    146

    Default Re: Problem with recruitable mercs

    Sorry for asking noob questions and all, but the "edu dictionary"? Where do I find that?
    Orgia bona hic in his septem diebus?
    //Any good orgies here this week?//

  7. #7
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Problem with recruitable mercs

    EDU refers to export_descr_units.txt (sorry, we use abbreviations for common text files). "Dictionary" is quite easy to find if you look in EDU - each unit has a "dictionary" entry. This entry is used in other places, notably to check for a unit card .tga and an info pic .tga. If the dictionary entry changes, you'll need to change the corresponding names of the unit card and unit info pic .tgas.
    Cogita tute


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