Originally Posted by
Sebulba
Please don't change anything in tga files because its works fine. Just drop CAS files into folder models_unit and tga's into models_unit/textures.
Type this into:
export_descr_unit.txt
type Black Pretorian
dictionary Black_Pretorian ; Black Pretorian
category infantry
class heavy
voice_type Heavy_1
soldier Black_Pretorian, 40, 0, 1.3
officer roman_centurion
attributes sea_faring, hide_forest, can_sap
formation 1, 2, 2, 3, 4, square, testudo
stat_health 1, 0
stat_pri 16, 3, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
stat_pri_attr prec, thrown ap
stat_sec 12, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 12, 6, 5, metal
stat_sec_armour 0, 1, flesh
stat_heat 5
stat_ground 2, 0, 0, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 810, 320, 90, 130, 810
ownership romans_julii,romans_brutii,romans_scipii,romans_senate
descr_model_battle.txt
type Black_Pretorian
skeleton fs_javelinman, fs_slow_swordsman
indiv_range 40
texture romans_julii, data/models_unit/textures/Black_Pretorian.tga
texture romans_brutii, data/models_unit/textures/Black_Pretorian.tga
texture romans_scipii, data/models_unit/textures/Black_Pretorian.tga
texture romans_senate, data/models_unit/textures/Black_Pretorian.tga
model_flexi_m data/models_unit/Black_Pretorian.CAS, 15
model_flexi_m data/models_unit/Black_Pretorian.CAS, 30
model_flexi_m data/models_unit/Black_Pretorian.CAS, 40
model_flexi data/models_unit/Black_Pretorian.CAS, max
model_sprite romans_senate, 60.0, data/sprites/romans_senate_roman_praetorian_cohort_ii_sprite.spr
model_sprite romans_scipii, 60.0, data/sprites/romans_scipii_roman_praetorian_cohort_ii_sprite.spr
model_sprite romans_brutii, 60.0, data/sprites/romans_brutii_roman_praetorian_cohort_ii_sprite.spr
model_sprite romans_julii, 60.0, data/sprites/romans_julii_roman_praetorian_cohort_ii_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
If you generate sprites for each faction replace it in this entry if not let this sprites.
export_descr_unit_enums.txt
Black_Pretorian
Black_Pretorian_descr
Black_Pretorian_descr_short
export_units.txt
{Black_Pretorian} Black Pretorian
{Black_Pretorian_descr}
Elite etc.....
{Black_Pretorian_descr_short}
cohort of Black Praetoerians
export_descr_buildings.txt
recruit "Black_Pretorian" 0 requires factions { roman, } and marian_reforms