When you make a new post and paste the text from EDU(export_descr_unit) and DMB(descr_model_battle) put [CODE] before that text and [/CODE] after it. That way it will keep its aspect. Like this:
Code:
type SPARTAN_HOPLITE
dictionary SPARTAN_HOPLITE ; Spartan
category infantry
class spearmen
voice_type Medium_1
soldier SPARTAN_HOPLITE, 40, 0, 1.3
attributes sea_faring, hide_forest, can_sap, very_hardy
formation 1, 1, 2, 2, 5, square, phalanx
stat_health 2, 0
stat_pri 16, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_8
stat_sec 12, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 9, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, 0, 0, 0
stat_mental 14, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 1190, 460, 120, 180, 1190
ownership greek_cities
See the red parts? You do not need to change any of them to change how the unit looks in game. Leave them exactly as they were in vanilla. In fact, ignore the EDU altogether for now. Just change the texture and the model in DMB.
And remove this:
Code:
type SPARTAN_HOPLITE
skeleton fs_slow_spearman, fs_slow_swordsman
indiv_range 40
;texture greek_cities, data/models_unit/textures/SPARTAN_HOPLITE.tga
model_flexi_m data/models_unit/SPARTAN_HOPLITE.cas, 8
model_flexi_m data/models_unit/SPARTAN_HOPLITE.cas, 15
model_flexi_m data/models_unit/SPARTAN_HOPLITE.cas, 30
model_flexi data/models_unit/SPARTAN_HOPLITE.cas, max
model_sprite 60.0, data/sprites/greek_hoplite_spartan_pylos_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f