Results 1 to 6 of 6

Thread: catraphct editing

  1. #1

    Default catraphct editing

    I have extended greek mod, Im playing as macedon and I absolulty hatee the catraphct on the compinion calvary.
    Can some one help me get the origunal unit from rome total war or even better alexander?

  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: catraphct editing

    XGM is in mod folder so you will still have the vanilla RTW files available in RTW/data to compare with. Make sure you know the internal name for the unit you want to replace and the one you are replacing. Look up data/text/export_units.txt for that, the internal name is the one inside the {}, look up that name in export_descr_units.txt and note what the name in the 'soldier' and 'mount' line is for both of them.

    Open both descr_model_battle.txt, find the soldier and mount you want to change in XGM and amend them so they use the model (.cas files) texture (.dds files) and sprite references from the one you want to copy in the RTW game.
    Include the whole path as it is in RTW version so it is data/models_unit/....
    and not XGM/data/models_unit etc and you shouldn't have to copy the models and textures over they can be read from old location.

    That should work but it would be best if you read the Adding New Units tutorials in Scriptorium section first so you understand files - and make back up of any file for before changing it.....

    I'm not sure if you can import all Alex models to run in RTW, but if you have Alex you can always experiment..
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3

    Default Re: catraphct editing

    i dont understand,

  4. #4
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: catraphct editing

    XGM installs to a seperate folder inside you Rome - Total War directory. The files you need to change are in there. The original files which you can use for comparison are in RTW/data. Make copies of all the files before you change them.

    Check in the game exact name of unit you want to change.
    Look in RTW/XGM/data/text/export_units.txt for the name of the cavalry unit you want to change, eg.
    if it is "companion cavalry" you will find this:
    {greek_royal_cavalry} Companion Cavalry
    write down the name in the brackets, eg. "greek_royal_cavalry"

    Open RTW/XGM/data/export_descr_units.txt and look up greek_royal_cavalry
    you will find entry like this:
    type greek royal cavalry
    dictionary greek_royal_cavalry ; Companion Cavalry
    category cavalry
    class heavy
    voice_type Heavy_1
    soldier greek_royal_cavalry, 20, 0, 1
    mount horse armoured
    mount_effect elephant -8, camel -4
    attributes sea_faring, hide_forest, hardy, power_charge
    formation 1.5, 4, 3, 6, 4, square, wedge
    stat_health 1, 0
    stat_pri 9, 11, no, 0, 0, melee, blade, piercing, spear, 25 ,0.9
    stat_pri_attr no
    stat_sec 10, 5, no, 0, 0, melee, simple, piercing, sword, 25 ,0.9
    stat_sec_attr no
    stat_pri_armour 11, 9, 0, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 2
    stat_ground 0, 0, -6, 0
    stat_mental 14, disciplined, highly_trained
    stat_charge_dist 120
    stat_fire_delay -90000
    stat_food 60, 300
    stat_cost 1, 2400, 1200, 180, 360, 2400
    ownership macedon, seleucid, britons

    Now open the same files in the RTW/data directory and find the unit you want the cavalry unit to be like. If all you want to change is the statistic - how much attack value it has etc. then try changing the values in the XGM file (that may upset the game balancing though as their other units may not have same statistics as original)

    If you want to change appearance of the unit you need to look up the soldier line, for that example again it is "greek_royal_cavalry" in descr_model_battle.txt, you will find entry like this:
    type greek_royal_cavalry ; combat spear
    skeleton fs_hc_spearman, fs_hc_swordsman
    indiv_range 40
    texture greek_cities, xgm/data/models_unit/textures/unit_greek_royal_cavalry_greek.tga
    texture romans_brutii, xgm/data/models_unit/textures/unit_greek_royal_cavalry_greek.tga
    texture macedon, xgm/data/models_unit/textures/unit_greek_royal_cavalry_macedon.tga
    texture seleucid, xgm/data/models_unit/textures/unit_greek_royal_cavalry_seleucid.tga
    texture britons, xgm/data/models_unit/textures/unit_greek_royal_cavalry_seleucid.tga
    model_flexi_m data/models_unit/unit_greek_royal_cavalry_400.cas, 8
    model_flexi_m data/models_unit/unit_greek_royal_cavalry_300.cas, 15
    model_flexi_m data/models_unit/unit_greek_royal_cavalry_200.cas, 30
    model_flexi_m data/models_unit/unit_greek_royal_cavalry_100.cas, 40
    model_flexi data/models_unit/unit_greek_royal_cavalry_70.cas, max
    model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_royal_cavalry_sprite.spr
    model_sprite romans_brutii, 60.0, data/sprites/greek_cities_greek_royal_cavalry_sprite.spr
    model_sprite seleucid, 60.0, data/sprites/seleucid_greek_royal_cavalry_sprite.spr
    model_sprite britons, 60.0, data/sprites/seleucid_greek_royal_cavalry_sprite.spr
    model_sprite macedon, 60.0, data/sprites/macedon_greek_royal_cavalry_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

    compare that to the entry you want it too look like in the original file and change the texture, sprite and model lines to match the old version. If you don't have to change the model (that one looks like old one) you can just change the texture/sprite for the faction you want to change - if you have to change model you will probably need to change the textures for all the factions.

    That bit is just the man on top of the horse. to change the horse as well look up the mount type as well and do the same for that (in theory you should check descr_mount.txt to find out if name of mount is same but it does appear to be in XGM, so you'd be looking for horse_armoured in that example)

    And as I said before reading the tutorials so you get some understanding of the files would help: https://forums.totalwar.org/vb/local_links.php?catid=81
    Not used mods before? Looking for something small and fun?!
    Download the:

  5. #5

    Default Re: catraphct editing

    YES its worked
    can you walk me threw the horse now?

  6. #6
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: catraphct editing

    The idea was you were meant to follow the same principal of what you just did for the soldier! Never mind; revised version of instructions for the horse...

    Quote Originally Posted by me
    XGM installs to a seperate folder inside you Rome - Total War directory. The files you need to change are in there. The original files which you can use for comparison are in RTW/data. Make copies of all the files before you change them.

    Check in the game exact name of unit you want to change.
    Look in RTW/XGM/data/text/export_units.txt for the name of the cavalry unit you want to change, eg.
    if it is "companion cavalry" you will find this:
    {greek_royal_cavalry} Companion Cavalry
    write down the name in the brackets, eg. "greek_royal_cavalry"
    Open RTW/XGM/data/export_descr_units.txt and look up greek_royal_cavalry
    you will find entry like this:

    type greek royal cavalry
    dictionary greek_royal_cavalry ; Companion Cavalry
    category cavalry
    class heavy
    voice_type Heavy_1
    soldier greek_royal_cavalry, 20, 0, 1
    mount horse armoured
    mount_effect elephant -8, camel -4
    attributes sea_faring, hide_forest, hardy, power_charge
    formation 1.5, 4, 3, 6, 4, square, wedge
    stat_health 1, 0
    stat_pri 9, 11, no, 0, 0, melee, blade, piercing, spear, 25 ,0.9
    stat_pri_attr no
    stat_sec 10, 5, no, 0, 0, melee, simple, piercing, sword, 25 ,0.9
    stat_sec_attr no
    stat_pri_armour 11, 9, 0, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 2
    stat_ground 0, 0, -6, 0
    stat_mental 14, disciplined, highly_trained
    stat_charge_dist 120
    stat_fire_delay -90000
    stat_food 60, 300
    stat_cost 1, 2400, 1200, 180, 360, 2400
    ownership macedon, seleucid, britons

    If you want to change appearance of the horse you need to look up the mount line (for that example it is "horse armoured") in descr_mount.txt, you will find entry like this:
    type horse armoured
    class horse
    model horse_armoured
    radius 1.5
    x_radius 0.57 ;changed from 0.5 29/4/05
    height 2.5
    mass 6.5
    banner_height 0
    bouyancy_offset 1.8
    water_trail_effect horse_water_trail
    root_node_height 1.6
    rider_offset 0.0, 0.15, -0.1


    Write down what it says on the model line eg: "horse_armoured" and look that up in descr_model_battle.txt, that would get you entry like:
    type horse_armoured
    skeleton fs_horse
    scale 0.875
    indiv_range 40
    texture greek_cities, data/models_unit/textures/HORSE_ARMOURED_GREEK.TGA
    texture romans_brutii, data/models_unit/textures/HORSE_ARMOURED_GCSR.TGA
    texture macedon, data/models_unit/textures/HORSE_ARMOURED_MACEDON.TGA
    texture seleucid, data/models_unit/textures/HORSE_ARMOURED_SELEUCID.TGA
    texture britons, data/models_unit/textures/HORSE_ARMOURED_SR.TGA
    texture thrace, data/models_unit/textures/HORSE_ARMOURED_THRACE.TGA
    texture egypt, data/models_unit/textures/HORSE_ARMOURED_EGYPT.TGA
    texture dacia, data/models_unit/textures/HORSE_ARMOURED_EGYPT.TGA
    texture pontus, data/models_unit/textures/HORSE_ARMOURED_PONTUS.TGA
    texture scythia, data/models_unit/textures/HORSE_ARMOURED_SCYTHIA.TGA
    texture merc, data/models_unit/textures/HORSE_ARMOURED_SLAVE.TGA
    model_flexi_m xgm/data/models_unit/mount_horse_armoured_high.CAS, 25
    model_flexi xgm/data/models_unit/mount_horse_armoured_med.CAS, 55
    model_flexi xgm/data/models_unit/mount_horse_armoured_low.CAS, 80
    model_flexi xgm/data/models_unit/mount_horse_armoured_lowest.CAS, max
    model_sprite merc, 100.0, xgm/data/sprites/horse_armoured_sprite.spr
    model_sprite thrace, 100.0, xgm/data/sprites/thrace_horse_armoured_sprite.spr
    model_sprite scythia, 100.0, xgm/data/sprites/scythia_horse_armoured_sprite.spr
    model_sprite greek_cities, 100.0, xgm/data/sprites/greek_cities_horse_armoured_sprite.spr
    model_sprite romans_brutii, 100.0, xgm/data/sprites/romans_brutii_horse_armoured_sprite.spr
    model_sprite pontus, 100.0, xgm/data/sprites/pontus_horse_armoured_sprite.spr
    model_sprite seleucid, 100.0, xgm/data/sprites/seleucid_horse_armoured_sprite.spr
    model_sprite britons, 100.0, xgm/data/sprites/britons_horse_armoured_sprite.spr
    model_sprite egypt, 100.0, xgm/data/sprites/egypt_horse_armoured_sprite.spr
    model_sprite dacia, 100.0, xgm/data/sprites/egypt_horse_armoured_sprite.spr
    model_sprite macedon, 100.0, xgm/data/sprites/macedon_horse_armoured_sprite.spr
    model_tri 700, 0.3f, 0.3f, 0.3f

    Go through the same process with original files to find the entry for the horse you want it to look like. Compare the entries and change the texture, sprite and model lines in XGM's descr_model_battle.txt to match the old version.


    Strangely that entry looks as though they changed the model and not the texture ?! But I'm not sure if example I'm quoting is the actual unit you are changing anyway...
    Not used mods before? Looking for something small and fun?!
    Download the:

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