Results 1 to 14 of 14

Thread: How to Change the Recruitment Area?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default How to Change the Recruitment Area?

    Hi,

    I'd like to change the recruitment area for my Makedonian Klerouchoi Phalangitai to something more like the Seleukids have. I wouldn't mind if they were just plain everywhere recruitable, I could easily restrict myself to recruit them only where I have built Katatoikiai and the respective lvl3 local MIC.

    What do I have to do? Which file to change? Thank you.
    Last edited by Centurio Nixalsverdrus; 07-27-2008 at 18:33.

  2. #2

    Default Re: How to Change the Recruitment Area?

    I wouldn't mind if they were just plain everywhere recruitable,
    This is simple. Open export_descr_buildings.txt file. Now look for unit you are interested in, make sure you only change lines that have your faction mentioned between brackets {} and delete all hidden resources requirements.
    Delete all other entries in the same building. They are not necessary anymore.

    If there are more factions then yours mentioned between brackets {}, copy the whole line and paste it below original.
    Delete your faction name from original line and delete all but your faction from new line. Now delete all resources requirements from new line.
    In all other lines in the same building for chosen unit delete your faction from brackets {} (if there is more then one faction mentioned or whole line if its only your faction ).

    Always make backup a file before you start to change it!

    Edited:

    Example:
    Before:
    Code:
    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource B and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource B and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource D and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource A and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource C and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource NW and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource SW and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
                    recruit "celtic infantry botroas" 0 requires factions { gauls, scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
    After:
    Code:
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  gauls, }
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource B and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource B and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource D and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource y8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource SW and hidden_resource D and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource A and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource C and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource NW and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource SW and hidden_resource C and hidden_resource y1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
    recruit "celtic infantry botroas" 0 requires factions {  scythia, britons, } and hidden_resource SW and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
    Last edited by LorDBulA; 07-27-2008 at 19:08.

  3. #3
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: How to Change the Recruitment Area?

    Thank you, LorDBulA. I'll try that and may ask again when I encounter problems.

    For what do all these lines stand? For every province where this specific unit is recruitable? Or are these all the possible combinations of hidden_resources which enable recruitment of that unit?

    And if I want to add recruitment in a specific province, I have to find out the hidden_resources of that province (in that "province file" I think, seen it somewhere) and add them in a line?
    Last edited by Centurio Nixalsverdrus; 07-28-2008 at 18:07.

  4. #4

    Default Re: How to Change the Recruitment Area?

    For what do all these lines stand? For every province where this specific unit is recruitable?
    Yes each combination of resources uniquely identifies a province.

    Example:
    Code:
    hidden_resource NW and hidden_resource B and hidden_resource n1 and hidden_resource n2 and hidden_resource n4 and hidden_resource y8
    I have posted list of hidden resources for each province not so long ago you should easily find it using forum search option.

    And if I want to add recruitment in a specific province, I have to find out the hidden_resources of that province (in that "province file" I think, seen it somewhere) and add them in a line?
    Yes. You have to create new line and add proper hidden resources to it.
    And if you want to delete recruitment for specific province you have to delete proper line.

    Be careful with editing recruitment by hand. We had a lot of troubles doing so. Its easy to produce CTD. I would recommend baby steps approach.
    Last edited by LorDBulA; 07-28-2008 at 18:27.

  5. #5
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default AW: How to Change the Recruitment Area?

    Thank you LorDBulA.

  6. #6

    Default Re: How to Change the Recruitment Area?

    Also: be sure to save the file in "ANSI" or "Windows1252". (a real good tool likely calls it Windows 1252, as strictly speaking it's not ANSI...)

    http://en.wikipedia.org/wiki/Code_pa....29_code_pages
    - Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool - EB Install Guide - How to track down loading CTD's - EB 1.1 Maps thread


    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

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