Unfortunately it is not so simple.
In fact you want to assign new units to greek_cities faction. Thus you need to edit several files. If I remember well you must begin with descr_model_battle.txt. For example, companion cavalry is coded as greek_royal_cavalry. There you must have assigned a texture for the faction, as here:
Code:
type greek_royal_cavalry ; combat spear
skeleton fs_hc_spearman, fs_hc_swordsman
indiv_range 40
texture macedon, data/models_unit/textures/unit_greek_royal_cavalry_macedon.tga
texture greek_cities, data/models_unit/textures/unit_greek_royal_cavalry_greek.tga
texture seleucid, 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 seleucid, 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
If this unit has not a particular texture for the desired faction you have to make one or to assign one existing texture, although the unit would have the colors of the other faction.
After that it is necessary to allow the faction to recruit the unit. This is done in export_descr_unit.txt. This is the example for companion cavalry:
Code:
type greek royal cavalry
dictionary greek_royal_cavalry ; Companion Cavalry
category cavalry
class heavy
voice_type Heavy_1
soldier greek_royal_cavalry, 27, 0, 1
mount heavy horse
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest, hardy
formation 1.5, 4, 3, 6, 4, square, wedge
stat_health 1, 0
stat_pri 10, 16, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 12, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 11, 6, 0, metal
stat_sec_armour 0, 1, flesh
stat_heat 2
stat_ground 0, 0, -6, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 760, 240, 80, 120, 760
ownership macedon, greek_cities
After that you must modify the export_descr_buildings.txt file as told before. Pay attention with the space after the last comma.
Finally it remains the question of the unit card and info_picture. If not, you will have the image of a peasant (default image) for the new unit.
In any case a more detailed tutorial about how to include new units can be seen in this thread:
https://forums.totalwar.org/vb/showthread.php?t=39092
Bookmarks