Code:
type Mailed Knights
dictionary Mailed_Knights ; Mailed Knights
category cavalry
class heavy
voice_type Heavy
banner faction main_cavalry
banner holy crusade_cavalry
soldier Mailed_Knights, 24, 0, 1
mount heavy horse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_withdraw, can_formed_charge, knight
formation 2, 4.4, 3, 6, 3, square, wedge
stat_health 1, 0
stat_pri 8, 5, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 9, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 3, 4, 6, metal
;stat_armour_ex 3, 5, 0, 0, 4, 6, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 6
stat_ground 0, 0, 0, 2
stat_mental 9, low, trained
stat_charge_dist 45
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 670, 185, 80, 185, 670, 3, 200
armour_ug_levels 2, 3
armour_ug_models Mailed_Knights, Mailed_Knights_ug1
ownership england, scotland, france, hre, spain, portugal, milan, venice, papal_states, sicily, slave, normans
era 0 england, scotland, france, hre, spain, portugal, milan, venice, papal_states, sicily,
era 1 england, scotland, france, hre, spain, portugal, milan, venice, papal_states, sicily,
era 2 scotland
;unit_info 8, 0, 13
recruit_priority_offset 0
That is what a unit entry is, so a unit has it's name, it's stats, it's armour upgrades for all the factions that have it.