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:
write down the name in the brackets, eg. "greek_royal_cavalry"{greek_royal_cavalry} Companion 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
Bookmarks