Results 1 to 10 of 10

Thread: possible to make SRG available for achaean?

  1. #1

    Default possible to make SRG available for achaean?

    Sorry if this is pure sacrilage or something but im new to this modding forum

    Ive been wanting to play a campaign with the spartan royal guard.. but I didnt want to play as the greek cities because they look too far flung for my style of play (I like to start off with a small empire and build up from there to control the world ).

    The achaean league looks perfect but without any SRG.

    So my question is; is it possible to make these available to me in the campaign? If so what do i need to do?

    Ive poked around in the export_description_unit file to see if I could make sense of what to do. It seems all I would need to write is Achaea in the ownership part?

    Upon reading another thread there is something about the faction leaders and SRG being linked but i couldnt make head nor tail of that .

    Thanks for any help.

  2. #2
    RedFox's Avatar When it's done.™
    Join Date
    Nov 2006
    Location
    Estonia
    Posts
    3,027

    Default Re: possible to make SRG available for achaean?

    There are several things you will have to do in order for this to work, so make sure to follow each step closely, or well, you will mess up the game.
    I STRONGLY recommend you make a backup of each file before you edit them.

    Let's start with ownerships, shall we:

    Open up export_descr_unit.txt and find these lines. The necessary edits are in RED, just add those to the ownership lines of these units. Or just copy the whole unit lines over the old ones (which is a bit better IMO).

    Spoiler Alert, click show to read: 
    Code:
    type             greek spartiate hoplites
    dictionary       greek_spartiate_hoplites     ; Greek Spartiate Hoplites
    category         infantry
    class            heavy
    voice_type       Heavy_1
    soldier          greek_spartiate_hoplites, 50, 0, 1.5, 0.2
    mount_effect     horse -2, camel -2
    attributes       sea_faring, very_hardy, hide_forest
    formation        0.8, 1, 1, 1.66, 4, square
    stat_health      1, 0
    stat_pri         8, 12, no, 0, 0, melee, blade, piercing, spear, 10 ,0.54
    stat_pri_attr    light_spear, spear_bonus_4
    stat_sec         0, 0, no, 0, 0, no, no, no, none, 25 ,0.6
    stat_sec_attr    no
    stat_pri_armour  7, 19, 5, leather
    stat_sec_armour  0, 1, flesh
    stat_heat        3
    stat_ground      -2, 0, -4, 0
    stat_mental      16, disciplined, trained
    stat_charge_dist 35
    stat_fire_delay  40000
    stat_food        60, 300
    stat_cost        2, 1120, 380, 60, 120, 930
    ownership        greek_cities, romans_brutii
     
    type             greek hoplite spartan
    dictionary       greek_hoplite_spartan      ; Spartan Hoplites - Custom and campaign
    category         infantry
    class            heavy
    voice_type       Medium_1
    soldier          greek_spartan_hoplite, 30, 0, 1.6, 0.2
    officer          greek_spartan_hoplite_officer
    officer          greek_spartan_hoplite_officer
    officer          greek_spartan_hoplite_officer
    mount_effect     horse -2, camel -2
    attributes       sea_faring, very_hardy, hide_forest, command
    formation        1, 1, 2, 2, 4, square
    stat_health      1, 0
    stat_pri         9, 12, no, 0, 0, melee, simple, piercing, spear, 10 , 0.54
    stat_pri_attr    no
    stat_sec         0, 0, no, 0, 0, no, no, no, none, 10 ,0.9
    stat_sec_attr    no
    stat_pri_armour  8, 20, 5, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        3
    stat_ground      -1, 0, -2, 0
    stat_mental      18, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay  40000
    stat_food        60, 300
    stat_cost        6, 2880, 770, 120, 240, 1220
    ownership        greek_cities, romans_brutii
    
    type             greek general spartan hoplite early
    dictionary       greek_hoplite_spartan      ; Spartan Hoplite General - Campaign only
    category         infantry
    class            heavy
    voice_type       Medium_1
    soldier          greek_spartan_hoplite, 20, 0, 1.6, 0.2
    officer          greek_spartan_hoplite_officer
    officer          greek_spartan_hoplite_officer
    officer          greek_spartan_hoplite_officer
    mount_effect     horse -2, camel -2
    attributes       sea_faring, very_hardy, hide_forest, general_unit, no_custom, command
    formation        1, 1, 2, 2, 4, square
    stat_health      1, 0
    stat_pri         9, 12, no, 0, 0, melee, simple, piercing, spear, 10 ,0.54
    stat_pri_attr    no
    stat_sec         0, 0, no, 0, 0, no, no, no, none, 10 ,0.9
    stat_sec_attr    no
    stat_pri_armour  8, 18, 5, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        3
    stat_ground      -1, 0, -2, 0
    stat_mental      16, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay  -15000
    stat_food        60, 300
    stat_cost        8, 2880, 500, 120, 240, 1220
    ownership        greek_cities, romans_brutii
    
    type             greek general spartan hoplite late
    dictionary       greek_hoplite_spartan      ; Spartan Hoplite General - Campaign only
    category         infantry
    class            heavy
    voice_type       Medium_1
    soldier          greek_spartan_hoplite, 20, 0, 1.6, 0.2
    officer          greek_spartan_hoplite_officer
    officer          greek_spartan_hoplite_officer
    officer          greek_spartan_hoplite_officer
    mount_effect     horse -2, camel -2
    attributes       sea_faring, very_hardy, hide_forest, general_unit, general_unit_upgrade, no_custom, command
    formation        1, 1, 2, 2, 4, square
    stat_health      1, 0
    stat_pri         10, 12, no, 0, 0, melee, simple, piercing, spear, 10 ,0.54
    stat_pri_attr    no
    stat_sec         0, 0, no, 0, 0, no, no, no, none, 10 ,0.9
    stat_sec_attr    no
    stat_pri_armour  8, 19, 5, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        3
    stat_ground      -1, 0, -2, 0
    stat_mental      16, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay  -15000
    stat_food        60, 300
    stat_cost        8, 2880, 500, 120, 240, 1220
    ownership        greek_cities, romans_brutii


    Next, is to make sure they have textures and sprites in Battles. So open up descr_model_battle.txt. This is what they will look like:

    Spoiler Alert, click show to read: 
    Code:
    type                greek_spartiate_hoplites
    skeleton            fs_s1_hoplite, fs_large_swordsman                            ; hoplite
    indiv_range            40
    texture                greek_cities,     xgmd/data/models_unit/textures/IGCS/UNIT_GREEK_HOPLITE_SPARTA.tga
    texture                romans_brutii,     xgmd/data/models_unit/textures/IGCS/UNIT_GREEK_HOPLITE_SPARTA.tga
    texture                slave,             xgmd/data/models_unit/textures/IGCS/unit_greek_hoplite_greek.tga
    model_flexi_m            xgmd/data/models_unit/unit_greek_classic_hoplite_400.cas, 15
    model_flexi                xgmd/data/models_unit/unit_greek_classic_hoplite_300.cas, 30
    model_flexi                xgmd/data/models_unit/unit_greek_classic_hoplite_200.cas, 40
    model_flexi                xgmd/data/models_unit/unit_greek_classic_hoplite_100.cas, max
    model_sprite        all,            60.0, data/sprites/slave_greek_hoplite_sprite.spr
    model_tri            400, 0.5f, 0.5f, 0.5f
    
    type                greek_spartan_hoplite
    skeleton            fs_s1_hoplite
    indiv_range            40
    texture                greek_cities, xgmd/data/models_unit/textures/UNIT_GREEK_SPARTAN_HOPLITE.TGA
    texture                romans_brutii, xgmd/data/models_unit/textures/UNIT_GREEK_SPARTAN_HOPLITE.TGA
    model_flexi_m        xgmd/data/models_unit/unit_greek_spartan_hoplite_high.cas, 15
    model_flexi_m        xgmd/data/models_unit/unit_greek_spartan_hoplite_medium.cas, 30
    model_flexi_m        xgmd/data/models_unit/unit_greek_spartan_hoplite_low.cas, 40
    model_flexi            xgmd/data/models_unit/unit_greek_spartan_hoplite_lowest.cas, max
    model_sprite        all,            60.0, data/sprites/greek_hoplite_spartan_pylos_sprite.spr
    model_tri            400, 0.5f, 0.5f, 0.5f
    
    type                greek_spartan_hoplite_officer
    skeleton            fs_s1_swordsman
    indiv_range            40
    texture                greek_cities, xgmd/data/models_unit/textures/UNIT_GREEK_SPARTAN_HOPLITE_OFFICER.TGA
    texture                romans_brutii, xgmd/data/models_unit/textures/UNIT_GREEK_SPARTAN_HOPLITE_OFFICER.TGA
    model_flexi_m        xgmd/data/models_unit/unit_greek_spartan_hoplite_officer_high.cas, 15
    model_flexi_m        xgmd/data/models_unit/unit_greek_spartan_hoplite_officer_medium.cas, 30
    model_flexi_m        xgmd/data/models_unit/unit_greek_spartan_hoplite_officer_low.cas, 40
    model_flexi            xgmd/data/models_unit/unit_greek_spartan_hoplite_officer_lowest.cas, max
    model_sprite        all,            60.0, data/sprites/greek_hoplite_spartan_pylos_sprite.spr
    model_tri            400, 0.5f, 0.5f, 0.5f


    Alright, next is to make these units appear in your Achaean campaign. You will still need to recruit the units from Sparta, so make sure to conquer it first.
    Open up export_descr_buildings.txt

    Spoiler Alert, click show to read: 

    Find any line with "greek spartiate hoplites" using the search feature (Ctrl + F) and under requirements, just add "romans_brutii,"
    Code:
    recruit "greek spartiate hoplites"      0  requires factions { greek_cities, romans_brutii, } and hidden_resource sparta
    Do the same for "greek hoplite spartan"
    Code:
    recruit "greek hoplite spartan"              0  requires factions { greek_cities, romans_brutii, } and hidden_resource sparta
    And also for "greek general spartan hoplite early"

    DO NOT edit any other spartan entries if you don't want crashes!


    Now, the last modification, is to give your generals the spartan bodyguards when they start the game.

    Go to xgmD\data\world\maps\campaign\ and choose either Alexander or barbarian_invasion folder, depending if you are using BI or Alex.
    Now open up descr_strat.txt in the corresponding folder (make sure you get it right or it won't work).
    DON'T COPY THESE ENTRIES DIRECTLY, THE TRAITS MIGHT NOT WORK IN YOUR VERSION!
    Spoiler Alert, click show to read: 


    Use the search feature again and find "Acamus of Ottolobus", then change the "greek general's guard cavalry early" into "greek general spartan hoplite early"
    Do the same for Hermon of Ottolobus
    Code:
    character    Acamus of Ottolobus, named character, leader, age 39, , x 133, y 105, portrait aratus
    traits NaturalMilitarySkill 1 , Intelligent 1 , gRhetoricSkill 3, BeingHellenic 3 , Sicyonian 1 , Democrat 1 
    ancillaries philosopher, playwright
    army
    unit        greek general spartan hoplite early                exp 1 armour 0 weapon_lvl 0
    unit        greek hoplite militia                        exp 1 armour 0 weapon_lvl 0
    unit        greek hoplite militia                        exp 1 armour 0 weapon_lvl 0
    unit        greek ekdromoi                    exp 1 armour 0 weapon_lvl 0
    unit        greek archer                    exp 1 armour 0 weapon_lvl 0
    
    ;    Hermon of Sicyon
    ;    Achaia
    character    Hermon of Ottolobus, named character, heir, age 19, , x 134, y 104 
    traits NaturalMilitarySkill 1 , Intelligent 1 , gRhetoricSkill 3, BeingHellenic 1 , Sicyonian 1 , Democrat 1 
    ancillaries philosopher, playwright
    army
    unit        greek general spartan hoplite early                    exp 1 armour 0 weapon_lvl 0
    unit        greek hoplite militia                        exp 1 armour 0 weapon_lvl 0
    unit        greek ekdromoi                    exp 1 armour 0 weapon_lvl 0


    Now, with all this done and the files saved, you SHOULD be able to play your Achaean League campaign with Spartan general's bodyguards and can recruit Spartan hoplite units from Sparta.

    Enjoy. +rep for my efforts?

  3. #3

    Default Re: possible to make SRG available for achaean?

    Thankyou very much RedFox .

    I'd love to +rep you but I can't yet because of my post count .
    Last edited by removeduser_5462867483274; April 03, 2009 at 02:13 AM.

  4. #4

    Default Re: possible to make SRG available for achaean?

    I'll do it for you. I find this tutorial useful...not for SRG's, but other units perhaps.

    Game of the Fates
    Mod of the week on hold -- I've played nearly every RTW mod out there.
    BOYCOTT THE USE OF SMILEYS! (Okay, just once)
    Antiochos VII...last true scion of the Seleucid dynasty...rest in peace, son of Hellas.
    I've returned--please forgive my long absence.

  5. #5
    RedFox's Avatar When it's done.™
    Join Date
    Nov 2006
    Location
    Estonia
    Posts
    3,027

    Default Re: possible to make SRG available for achaean?

    One thing that remains to be done though, is to copy the correct unit cards from xgmD\data\UI\units\greek_cities into the romans_brutii folder. The same can be done to unit_info cards, but that is irrelevant.

  6. #6

    Default Re: possible to make SRG available for achaean?

    Ok I will copy the unit cards over.

    Once again thankyou .

  7. #7

    Default Re: possible to make SRG available for achaean?

    Meh, make a fresh Sacred Band for them instead, so it wont be like a copy thing.
    Big "Diadochi:Total War" fan! Click HERE to download the full game, and the latest patch!

    Quote Originally Posted by Mythos_Ruler View Post
    "Lesbians" are people from Lesbos. The reason we call homosexual women "lesbians" today was because of the famous poet Sapho from Lesbos who extolled the virtues of female love. Just some FYI.

  8. #8
    RedFox's Avatar When it's done.™
    Join Date
    Nov 2006
    Location
    Estonia
    Posts
    3,027

    Default Re: possible to make SRG available for achaean?

    They already have the Sacred Band.

  9. #9
    Spartan198's Avatar Protector Domesticus
    Join Date
    Feb 2008
    Location
    California, USA
    Posts
    4,753

    Default Re: possible to make SRG available for achaean?

    Seeing as Sparta was eventually forced into the Achaean League, I don't think it's all that inaccurate to have Spartans recruitable by them.

  10. #10
    RedFox's Avatar When it's done.™
    Join Date
    Nov 2006
    Location
    Estonia
    Posts
    3,027

    Default Re: possible to make SRG available for achaean?

    And it isn't accurate either. D;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •