Results 1 to 14 of 14

Thread: How to Change the Recruitment Area?

  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.

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

    Default AW: How to Change the Recruitment Area?

    Are these Text Editors?

  8. #8

    Default Re: How to Change the Recruitment Area?

    Why not?
    Last edited by Tellos Athenaios; 07-30-2008 at 00:42.
    - 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.

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

    Default AW: How to Change the Recruitment Area?

    Sorry it wasn't clear for a text editor noob like me.

  10. #10
    Biotechnlogy Student Member ||Lz3||'s Avatar
    Join Date
    May 2008
    Location
    Mexico
    Posts
    1,669

    Default Re: How to Change the Recruitment Area?

    so I must save the file as Windows1252 else it wont work?

    cause I did some moddifications to my EDB and saved it as ANSI
    Spoken languages:

    Mini-mod pack for EB 1.2 for Alexander and RTW
    (just download it and apply to get tons of changes!) last update: 18/12/08 here
    ALEXANDER EB promoter

  11. #11

    Default Re: How to Change the Recruitment Area?

    Windows 1252 is more popularly (albeit erroneously) known as ANSI. Therefore some editors choose to call it ANSI instead of Windows 1252.

    Rest assured, that subtle nomencalture thingy won't crash your game.
    - 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.

  12. #12

    Default Re: How to Change the Recruitment Area?

    While Tellos Athenaios remarks are totally valid they can bring a lot of unnecessary confusion to the topic of editing EDB.
    Truth is that its very unlikely that you will have to manually select proper encoding for this file so you really should not bother with it.
    I may be wrong but I dont think any editor will have problems with editing this file as far as encoding is concerned.
    Last edited by LorDBulA; 07-30-2008 at 11:57.

  13. #13
    Member Member Liberator's Avatar
    Join Date
    May 2007
    Location
    Mogontiacum, Germania Superior
    Posts
    150

    Default Re: How to Change the Recruitment Area?

    Quote Originally Posted by Tellos Athenaios View Post
    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
    Doesn't the standard Windows text editor do this anyway?
    Better dead than a Coward - Gurkha motto

  14. #14
    Liar and Trickster Senior Member Andres's Avatar
    Join Date
    Jul 2006
    Location
    In my own skin.
    Posts
    13,208

    Default Re: How to Change the Recruitment Area?

    Quote Originally Posted by Liberator View Post
    Doesn't the standard Windows text editor do this anyway?
    Maybe it does now; don't know if it did three and a half years ago...


    Please, be careful with thread necromancy; the ritual might go wrong and before you know it, we have zombie threads running around all over the place and I have only one shotgun and one box with 50 shells.
    Andres is our Lord and Master and could strike us down with thunderbolts or beer cans at any time. ~Askthepizzaguy

    Ja mata, TosaInu

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