Results 1 to 14 of 14

Thread: Hetairoi Kataphraktoi for Arche

Threaded View

Previous Post Previous Post   Next Post Next Post
  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.

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