File Details

Download this file | Go to files list

Another humble re-color job

Copy the picture in folder ..data/UI/Unit_Info/Macedon/
If the folder doesn't exist you can create it.

---

To add this unit open descr_model_battle (see your data folder)
Search for "greek_armoured_hoplite"

You Will find this

type greek_armoured_hoplite
skeleton fs_spearman, fs_swordsman ; combat spear
indiv_range 40
texture carthage, data/models_unit/textures/unit_greek_elite_hoplite_carthage.tga
texture greek_cities, data/models_unit/textures/unit_greek_elite_hoplite_greek.tga
model_flexi data/models_unit/unit_greek_hoplite_elite_high.cas, 15
model_flexi data/models_unit/unit_greek_hoplite_elite_med.cas, 30
model_flexi data/models_unit/unit_greek_hoplite_elite_low.cas, 40
model_flexi data/models_unit/unit_greek_hoplite_elite_lowest.cas, max
model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
model_sprite carthage, 60.0, data/sprites/carthage_greek_armoured_hoplite_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f


Add this lines:
texture macedon, data/models_unit/textures/unit_greek_elite_hoplite_macedon.tga
model_sprite macedon, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr

You should get this:

type greek_armoured_hoplite
skeleton fs_spearman, fs_swordsman ; combat spear
indiv_range 40
texture carthage, data/models_unit/textures/unit_greek_elite_hoplite_carthage.tga
texture greek_cities, data/models_unit/textures/unit_greek_elite_hoplite_greek.tga
texture macedon, data/models_unit/textures/unit_greek_elite_hoplite_macedon.tga
model_flexi data/models_unit/unit_greek_hoplite_elite_high.cas, 15
model_flexi data/models_unit/unit_greek_hoplite_elite_med.cas, 30
model_flexi data/models_unit/unit_greek_hoplite_elite_low.cas, 40
model_flexi data/models_unit/unit_greek_hoplite_elite_lowest.cas, max
model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
model_sprite carthage, 60.0, data/sprites/carthage_greek_armoured_hoplite_sprite.spr
model_sprite macedon, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f


Then, open export_descr_unit (data folder)
Search for "greek_hoplite_elite"

You Will find this:

type greek hoplite elite
dictionary greek_hoplite_elite ; Armoured Hoplites
category infantry
class spearmen
voice_type Heavy_1
soldier greek_armoured_hoplite, 40, 0, 1.3
officer greek_standard
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 5, square, phalanx
stat_health 1, 0
stat_pri 9, 7, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr spear
stat_sec 7, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 11, 6, 5, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 2, 0, 0, 0
stat_mental 8, normal, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 640, 210, 70, 100, 640
ownership greek_cities

Add "macedon" in the "ownership" entry (the last one)
So you should get this:

ownership greek_cities, macedon

---

have a good day

Jorge35

Download this file | Go to files list