Results 1 to 17 of 17

Thread: expanding a units AoR

  1. #1
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Question expanding a units AoR

    i want to expand the AoR for the Klerouchoi Phalangitai from just Baktra to all 3 of my starting provinces(for Baktria, or course).
    so anyone know how to do this?
    i thought at first it was the barracks level, but they all have the same type of barracks, and it cant be the gov level, b/c they are all level 1, so it must be something else.......
    anyone know?
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  2. #2

    Default Re: expanding a units AoR

    Yes. You've got to edit the ownership in EDB code: "requires factions" or sth. Don't forget to abide the laws of RTW syntax lest bad things may happen.
    - 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.

  3. #3
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    would you mind giving me instructions how to do it? i dont want to screw things up...... thanks!
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  4. #4

    Default Re: expanding a units AoR

    Code:
    recruit "name" 0 requires factions { fr_list, } and HR_prereq
    name => <internal unitname with breakspaces, instead of underscores>
    fr_list => <internal names of recruitment capable factions that use this MIC separated by ',' and ' ' without any quotation marks>
    HR_prereq => <hidden resources that need to be available (which together specify a specific region per EDB recruitment entry) separated by 'and' operators (i.e SW and y4 and n8)>

    The HR_prereq statement can be deleted altogether; provided that you delete the preceding 'and' operator as well. This will make the unit specified recruitable everywhere on the map, if the right MIC structure has been sufficiently upgraded.

    Note that MIC structures come tagged-with-a-character format: _A through _W or sth. Since there are quite a few samples of the underscore+random character patterns; it is better to search for _A1, _B1, _J1 etc. The latter are exclusive to levels of the sames MIC structure beyond muster_field size.

    Finally it's worth considering looking up the thread about a HR map: IIRC LorDBula posted the HR map in spreadsheet form in code-blocks. Should be of great help when you want to add/remove the unit for your faction within specific regions only.
    Last edited by Tellos Athenaios; 12-26-2007 at 01:49.
    - 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.

  5. #5
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    ugh... i didnt read through it but it looks complicated......
    so ill look at the EDB soon and ill see if i can find it....
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  6. #6
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    ok- i think i found it....... seeing that Baktrias internal name is romans_brutii, i found the "greek infantry kleruchoi hoplitai" in the "city_barracks_K1" section.....

    heres what it said for the klruchoi section, there were 5 lines, but all said the same thing:

    Code:
    recruit "greek infantry kleruchoi hoplitai" 0 requires factions { romans_brutii, } and hidden_resource EA and hidden_resource D and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
    so what do i need to change if i just want to expand their recruitment to the 3 original provinces for baktria?
    Last edited by Hooahguy; 12-26-2007 at 02:13.
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  7. #7

    Default Re: expanding a units AoR

    You will need to add entirely new lines. You can copy over everything of the code you posted and modify the HR section to match the regions you want. And that's where the HR map in spreadsheet form will come in handy.
    - 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.

  8. #8
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    where can i find the HR map?
    am i even in the right area of the EDB?
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  9. #9
    A pipe smoker Member MiniMe's Avatar
    Join Date
    Dec 2006
    Location
    Moscow, Russia
    Posts
    453

    Default Re: expanding a units AoR

    https://forums.totalwar.org/vb/showthread.php?t=96454
    check honourable LorDBula post
    and...
    welcome to the EB DMB decipherer club


  10. #10
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    ya, thanks. i already found it and trying to figure it out now as we speak......
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  11. #11
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    so if i wanted to recruit them in sogdiane, would it be:
    Code:
    recruit "greek infantry kleruchoi hoplitai" 0 requires factions { romans_brutii, } and hidden_resource EA and hidden_resource B and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
    ?
    im a little lost......
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  12. #12
    A pipe smoker Member MiniMe's Avatar
    Join Date
    Dec 2006
    Location
    Moscow, Russia
    Posts
    453

    Default Re: expanding a units AoR

    Seems Ok to me...
    We'll never know for sure as long as you dont have province of sogdiane in your possesion ;-)
    Have fun with your experiments, mate =)


  13. #13
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    ya i do..... but i just tried it out and it didnt work......
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  14. #14
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    VICTORY! i deciphered the EDB! its quite simple: just go into the spreadsheet that LorDBulA provided, find the province, then record the four y or n numbers into it and the province division (for me it was either B or D- it depends).

    here is how i made the klerouchois available in Sogdiane:
    Code:
    recruit "greek infantry kleruchoi hoplitai" 0 requires factions { romans_brutii, } and hidden_resource EA and hidden_resource B and hidden_resource y1 and hidden_resource y2 and hidden_resource y4 and hidden_resource n8
    but remember to put it in the correct barracks entry! hope that helped!
    Last edited by Hooahguy; 12-26-2007 at 04:31.
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

  15. #15
    A pipe smoker Member MiniMe's Avatar
    Join Date
    Dec 2006
    Location
    Moscow, Russia
    Posts
    453

    Default Re: expanding a units AoR

    Congrats!
    BTW, where did you managed to put that string before you put it in barracks section?


  16. #16

    Default Re: expanding a units AoR

    If he forgot to make sure all consecutive barracks levels got that string... (and he was already past lucky-level-L in test-city...) .

    Nothing as rewarding as squashing a bug generated by your own code:
    1) It works!
    2) It's always good to see your intellect prevails (even if it is over your own intellect itself)
    3) While de-facto it is very much like trial/error correction of your own Math test; it is not quite as depressing somehow.

    Spoiler Alert, click show to read: 
    And I should know. I've spent the last 2 and a half hours or sth. to kill a bug in a Java app of mine.
    - 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.

  17. #17
    Stranger in a strange land Moderator Hooahguy's Avatar
    Join Date
    Jun 2007
    Location
    The Fortress
    Posts
    11,852

    Default Re: expanding a units AoR

    i first accidentaly put it in the army barracks level instead of the royal barracks level, ah well, and somehow kophen also got the ability to recruit them. ah well.
    it was annoying b/c every time i wanted to test it i had to get back on the game, which took 5 minutes, then get almost immediately off it again to change something......
    Last edited by Hooahguy; 12-26-2007 at 16:03.
    On the Path to the Streets of Gold: a Suebi AAR
    Visited:
    A man who casts no shadow has no soul.
    Hvil i fred HoreTore

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