Results 1 to 14 of 14

Thread: Hetairoi Kataphraktoi for Arche

  1. #1

    Default Hetairoi Kataphraktoi for Arche

    Hello and welcome I am a longtime forum peeper first time poster. I hit a proverbial brick wall while fiddling with adding units.

    I would like to make Hetairoi Kataphraktoi a recruitable unit for Arche. I run into a dead end. In my desperation I hope that some of you veteran modders out there might be able to help me or at least let me know whether it is at all possible to include HK on Seleucid unit roster.

    Let me explain what I did:
    1. First, the easy part. I copied unit card and unit info picture (EB\Data\UI) from brutii into julii folders. - It works.
    2. Created new unit entry in export_descr_unit (the one in sp backup folder):
    Code:
    ;471
    type             hellenic cavalry hetairoi kataphraktoi 2
    dictionary       hellenic_cavalry_hetairoi_kataphraktoi      ; Hetairoi Kataphraktoi
    category         cavalry
    class            heavy
    voice_type       General_1
    soldier          hellenistic_cavalry_hetairoi_kataphractoi, 25, 0, 1
    mount            grivpanvar horse
    mount_effect     elephant -1, chariot +2
    attributes       sea_faring, hide_forest
    formation        1.5, 4, 3, 6, 4, square
    stat_health      1, 1
    stat_pri         5, 47, no, 0, 0, melee, blade, piercing, spear, 200 ,0.4
    stat_pri_attr    ap
    stat_sec         11, 28, no, 0, 0, melee, simple, slashing, sword, 0 ,0.11
    stat_sec_attr    ap
    stat_pri_armour  29, 10, 0, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        5
    stat_ground      0, 0, -4, -1
    stat_mental      18, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 6000, 1700, 80, 100, 2924
    ownership        romans_julii
    Works - all stats show on unit scroll when I recruit HK on strategic map.

    3. Edited export_descr_buildings and enabled recruitment in Antiocheia. This works also, as I am able to recruit the unit in-game.

    Now the trouble starts since I do not know where I went awry because I do not know how to check whether changes I make work as intended or not.



    4. Two broad categories left are mount and soldier. I made changes to descr_model_battle like so:
    Code:
    ; Hellenistic cavalry - Hetairoi Kataphraktoi
    
    type				hellenistic_cavalry_hetairoi_kataphractoi
    skeleton			fs_thp_m_spearman, fs_hc_swordsman
    indiv_range			40
    texture				romans_brutii, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hetairoi_kataphraktoi_romans_brutii_stefan25.TGA
    texture				romans_julii, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hetairoi_kataphraktoi_romans_julii_stefan25.TGA
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 15
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 30
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 40
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, max
    model_sprite		romans_brutii, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_cavalry_hetairoi_kataphractoi_romans_brutii.spr
    model_sprite		romans_julii, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_cavalry_hetairoi_kataphractoi_romans_julii.spr
    model_tri			400, 0.5f, 0.5f, 0.5f
    As you see I copied lines and replaced brutii with julii and I also created corresponding files with julii names (spr and tga).

    Now when I go to battle map with HK I get CTD.

    I do not know what to do with cas files. So I just left them the way they are. Could this be the problem. I see that all units "share" same cas files, but instead of faction name they have "spw" in its place. I do not know what is the significance of this, but it seems to be crucial.

    PS. I use Notepad that came with windows for editing could this be the source of trouble?

    Any help would be greatly appreciated.
    Last edited by Arche4Ever; 05-26-2011 at 05:10.

  2. #2
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,063
    Blog Entries
    1

    Default Re: Hetairoi Kataphraktoi for Arche

    Hello Arche4Ever, welcome to the .Org and to EB .

    Given that the CTD occurs at the battlemap, I don't think the .txt file is the problem. It sounds to me like a model/skin issue. Are you sure that this unit's model is not in use by another Seleucid unit? You cannot reuse models within a faction unless you employ the mercenary trick. (You can reuse models for units of other factions, but because the R:TW engine has a limited number of model slots available, all EB models are used by as many factions as possible. So it's likely that there already is a Seleucid unit with this particular model.)
    Looking for a good read? Visit the Library!

  3. #3
    Member Member Finn MacCumhail's Avatar
    Join Date
    Aug 2009
    Location
    Domus Dulcis Domus
    Posts
    216

    Default Re: Hetairoi Kataphraktoi for Arche

    Arche4Ever, try to do this:

    no need in hellenic cavalry hetairoi kataphraktoi 2 EDU entry

    just find in original EDU type hellenic cavalry hetairoi kataphraktoi and add in the ownership line romans_julii

    Code:
    type             hellenic cavalry hetairoi kataphraktoi
    dictionary       hellenic_cavalry_hetairoi_kataphraktoi      ; Hetairoi Kataphraktoi
    category         cavalry
    class            heavy
    voice_type       General_1
    soldier          hellenistic_cavalry_hetairoi_kataphractoi, 25, 0, 1
    mount            grivpanvar horse
    mount_effect     elephant -1, chariot +2
    attributes       sea_faring, hide_forest
    formation        1.5, 4, 3, 6, 4, square
    stat_health      1, 1
    stat_pri         5, 47, no, 0, 0, melee, blade, piercing, spear, 200 ,0.4
    stat_pri_attr    ap
    stat_sec         11, 28, no, 0, 0, melee, simple, slashing, sword, 0 ,0.11
    stat_sec_attr    ap
    stat_pri_armour  29, 10, 0, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        5
    stat_ground      0, 0, -4, -1
    stat_mental      18, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 6000, 1700, 80, 100, 2924
    ownership        romans_brutii, romans_julii
    DMB

    Code:
    ; Hellenistic cavalry - Hetairoi Kataphraktoi
    
    type				hellenistic_cavalry_hetairoi_kataphractoi
    skeleton			fs_thp_m_spearman, fs_hc_swordsman
    indiv_range			40
    texture				romans_brutii, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hetairoi_kataphraktoi_romans_brutii_stefan25.TGA
    texture				romans_julii, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hetairoi_kataphraktoi_romans_brutii_stefan25.TGA
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 15
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 30
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 40
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, max
    model_sprite		romans_brutii, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_cavalry_hetairoi_kataphractoi_romans_brutii.spr
    model_sprite		romans_julii, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_cavalry_hetairoi_kataphractoi_romans_brutii.spr
    model_tri			400, 0.5f, 0.5f, 0.5f
    Same DMB, find further Mount - Grivpanvar Horse, change code to this one

    Code:
     type				ebmount_grivpanvar_horse
    skeleton			fs_cataphract_horse 
    scale				0.875
    indiv_range			40
    texture				romans_scipii, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_arman&agart_scipii.tga
    texture				parthia, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_arman_parthia.tga
    texture				romans_brutii, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_stefan25_romans_brutii.TGA
    texture				romans_julii, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_stefan25_romans_brutii.TGA
    texture				pontus, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_antiochus_pontus.TGA
    texture				merc, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_stefan25_merc.TGA
    texture				slave, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_arman_parthia.tga
    model_flexi_m			eb/data/models_unit/ebmount_grivpanvar_horse_arman_high.cas, 25
    model_flexi			eb/data/models_unit/ebmount_grivpanvar_horse_arman_med.cas, 55
    model_flexi			eb/data/models_unit/ebmount_grivpanvar_horse_arman_low.cas, 80
    model_flexi			eb/data/models_unit/ebmount_grivpanvar_horse_arman_lowest.cas, max
    model_sprite		romans_scipii, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_scipii.spr
    model_sprite		parthia, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_sprite		romans_brutii, 100.0, eb/data/sprites/mounts/ebsprite_ebmount_grivpanvar_horse_romans_brutii.spr
    model_sprite		romans_julii, 100.0, eb/data/sprites/mounts/ebsprite_ebmount_grivpanvar_horse_romans_brutii.spr
    model_sprite		pontus, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_sprite		merc, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_sprite		slave, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_tri			700, 0.3f, 0.3f, 0.3f
    And don’t forget to backup all stuff before change something
    Last edited by Finn MacCumhail; 05-26-2011 at 15:15.



  4. #4

    Default Re: Hetairoi Kataphraktoi for Arche

    Thank you Finn for your detailed solution. I will try it out tomorrow; I have no time to do this today.

    Quote Originally Posted by Ludens View Post
    Hello Arche4Ever, welcome to the .Org and to EB .

    Given that the CTD occurs at the battlemap, I don't think the .txt file is the problem. It sounds to me like a model/skin issue. Are you sure that this unit's model is not in use by another Seleucid unit? You cannot reuse models within a faction unless you employ the mercenary trick. (You can reuse models for units of other factions, but because the R:TW engine has a limited number of model slots available, all EB models are used by as many factions as possible. So it's likely that there already is a Seleucid unit with this particular model.)

    Do you mean model of soldier and mount (soldier and mount lines in export_descr_unit) or tectures sprites of soldier/mount in descr_model_battle? Based on what you said I would have to delete an instance of this model from Seleucid or other faction'a rolla in order to make it available for Seleucid HK?

    HK shares skeletons of both soldier (multiple units: cats, prodromoi, and so on) and mount (grivpanvar mount and hellenic cats have the same skeleton) with other Seleucid units.

    Also, there is a merc unit Sahigan Pahr (Parthian General on grivpanvar horse) that is accessible to AS through the mercenary trick as you called it. This could be the solution to my troubles (copy HK skins over Pahr's). But even if it works it would destroy this unit for the other faction.
    Last edited by Ludens; 05-27-2011 at 11:22. Reason: merged posts

  5. #5
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,063
    Blog Entries
    1

    Default Re: Hetairoi Kataphraktoi for Arche

    I meant the soldier model. Don't know if mount model can be shared, but then I am not a modder.
    Looking for a good read? Visit the Library!

  6. #6

    Default Re: Hetairoi Kataphraktoi for Arche

    Quote Originally Posted by Finn MacCumhail View Post
    Arche4Ever, try to do this:

    no need in hellenic cavalry hetairoi kataphraktoi 2 EDU entry

    just find in original EDU type hellenic cavalry hetairoi kataphraktoi and add in the ownership line romans_julii

    Code:
    type             hellenic cavalry hetairoi kataphraktoi
    dictionary       hellenic_cavalry_hetairoi_kataphraktoi      ; Hetairoi Kataphraktoi
    category         cavalry
    class            heavy
    voice_type       General_1
    soldier          hellenistic_cavalry_hetairoi_kataphractoi, 25, 0, 1
    mount            grivpanvar horse
    mount_effect     elephant -1, chariot +2
    attributes       sea_faring, hide_forest
    formation        1.5, 4, 3, 6, 4, square
    stat_health      1, 1
    stat_pri         5, 47, no, 0, 0, melee, blade, piercing, spear, 200 ,0.4
    stat_pri_attr    ap
    stat_sec         11, 28, no, 0, 0, melee, simple, slashing, sword, 0 ,0.11
    stat_sec_attr    ap
    stat_pri_armour  29, 10, 0, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        5
    stat_ground      0, 0, -4, -1
    stat_mental      18, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 6000, 1700, 80, 100, 2924
    ownership        romans_brutii, romans_julii
    DMB

    Code:
    ; Hellenistic cavalry - Hetairoi Kataphraktoi
    
    type				hellenistic_cavalry_hetairoi_kataphractoi
    skeleton			fs_thp_m_spearman, fs_hc_swordsman
    indiv_range			40
    texture				romans_brutii, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hetairoi_kataphraktoi_romans_brutii_stefan25.TGA
    texture				romans_julii, eb/data/models_unit/textures/hellenistic/ebhellenistic_cavalry_hetairoi_kataphraktoi_romans_brutii_stefan25.TGA
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 15
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 30
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, 40
    model_flexi			eb/data/models_unit/ebhellenistic_cavalry_hetairoi_kataphraktoi_stefan25_romans_brutii_HIGH.CAS, max
    model_sprite		romans_brutii, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_cavalry_hetairoi_kataphractoi_romans_brutii.spr
    model_sprite		romans_julii, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_cavalry_hetairoi_kataphractoi_romans_brutii.spr
    model_tri			400, 0.5f, 0.5f, 0.5f
    Same DMB, find further Mount - Grivpanvar Horse, change code to this one

    Code:
     type				ebmount_grivpanvar_horse
    skeleton			fs_cataphract_horse 
    scale				0.875
    indiv_range			40
    texture				romans_scipii, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_arman&agart_scipii.tga
    texture				parthia, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_arman_parthia.tga
    texture				romans_brutii, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_stefan25_romans_brutii.TGA
    texture				romans_julii, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_stefan25_romans_brutii.TGA
    texture				pontus, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_antiochus_pontus.TGA
    texture				merc, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_stefan25_merc.TGA
    texture				slave, eb/data/models_unit/textures/mounts/ebmount_grivpanvar_horse_arman_parthia.tga
    model_flexi_m			eb/data/models_unit/ebmount_grivpanvar_horse_arman_high.cas, 25
    model_flexi			eb/data/models_unit/ebmount_grivpanvar_horse_arman_med.cas, 55
    model_flexi			eb/data/models_unit/ebmount_grivpanvar_horse_arman_low.cas, 80
    model_flexi			eb/data/models_unit/ebmount_grivpanvar_horse_arman_lowest.cas, max
    model_sprite		romans_scipii, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_scipii.spr
    model_sprite		parthia, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_sprite		romans_brutii, 100.0, eb/data/sprites/mounts/ebsprite_ebmount_grivpanvar_horse_romans_brutii.spr
    model_sprite		romans_julii, 100.0, eb/data/sprites/mounts/ebsprite_ebmount_grivpanvar_horse_romans_brutii.spr
    model_sprite		pontus, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_sprite		merc, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_sprite		slave, 100.0, eb/data/sprites/mounts/ebsprite_mount_grivpanvar_horse_parthia.spr
    model_tri			700, 0.3f, 0.3f, 0.3f
    And don’t forget to backup all stuff before change something
    Your simple solutions worked like charm. Now I know that it is possible to recruit a playable HK. I will try to find a way to do it without affecting Bactria.

    Thank you Finn for taking the time to show me how it is done.

  7. #7
    urk! Member bobbin's Avatar
    Join Date
    Aug 2008
    Location
    Tin Isles
    Posts
    3,668

    Default Re: Hetairoi Kataphraktoi for Arche

    As long as you follow Finn's explanation but also create a new EDU entry like you did initially (and the corresponding EDB entries) then it should work without affecting Baktria.

    The problem with you initial method was that you hadn't specified what texture the mount would use for the AS, this will be what caused the crash. Also you don't need to create a renamed copy of the texture file, you can just copy the path of the Baktrian version.


  8. #8

    Default Re: Hetairoi Kataphraktoi for Arche

    That is what I did thank you.

  9. #9

    Default Re: Hetairoi Kataphraktoi for Arche

    How would one go about adding this to the Baktrian building list plus have the same aor as the agema?
    Last edited by Olaf The Great; 08-27-2011 at 17:14.
    [COLOR="Black"]Jesus's real name was Inuyasha Yashua!
    Any computer made after 1985 has the storage capacity to house an evil spirit.
    Quote Originally Posted by Fluvius Camillus View Post
    What I'm showing here is that it doesn't matter how well trained or brave you are, no one can resist an elephant charge in the rear

    ~Fluvius

  10. #10

    Default Re: Hetairoi Kataphraktoi for Arche

    How do you add it into the edu?

  11. #11
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,063
    Blog Entries
    1

    Default Re: Hetairoi Kataphraktoi for Arche

    What do you mean?
    Looking for a good read? Visit the Library!

  12. #12
    Member Member Finn MacCumhail's Avatar
    Join Date
    Aug 2009
    Location
    Domus Dulcis Domus
    Posts
    216

    Default Re: Hetairoi Kataphraktoi for Arche

    I suspect kingman1337 followed advices but the engine overwrite edited EDU because of multiplayer and singleplayer types of EDU, so no changes happened.

    For this case kingman1337, you should edit EDU from sp game edu backup and mp game edu backup. And don't forget about backups.



  13. #13

    Default Re: Hetairoi Kataphraktoi for Arche

    Quote Originally Posted by Finn MacCumhail View Post
    I suspect kingman1337 followed advices but the engine overwrite edited EDU because of multiplayer and singleplayer types of EDU, so no changes happened.

    For this case kingman1337, you should edit EDU from sp game edu backup and mp game edu backup. And don't forget about backups.
    I apologize. I meant EDB.

  14. #14
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,063
    Blog Entries
    1

    Lightbulb Re: Hetairoi Kataphraktoi for Arche

    My suggestion would be to find the entry (or entries) for the standard Hetairoi, make a duplicate, and then change the unit into Hetairoi Kataphraktoi. Make sure you only do this for the Seleucid faction, though (their internal name is Romans_Julii). And, obviously, make a back-up of the EDB file first.
    Looking for a good read? Visit the Library!

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