hello,i need help in this...my game backs to menu after i add a unit made by me to be a mercenary crusading unit,like pilgrims or religious fanatics...the unit works perfect because previously i add it like a regular troop in a faction and played a costum battle,what can cause this...i rewritted over and over and now i just canīt find the error.....one thing vereeeery wroooong...noob thing...didnīt back up the file.....
my entry in the descr_mercenaries.txt in the imperial_campaign folder
unit Pilgrin Peasants exp 0 cost 35 replenish 0.36 - 1.0 max 6 initial 2 start_year 1096 end_year 1500 religions { catholic } crusading
the error log
16:23:34.609 [script.err] [error] Script Error in data/world/maps/campaign/imperial_campaign/descr_mercenaries.txt, at line 75, column 20
Unrecognised unit name found: 'Pilgrin Peasants exp 0 cost 35 replenish 0.36 - 1.0 max 6 initial 2 start_year 1096 end_year 1500 religions { catholic } crusading'
the exp_descr_unit
type Pilgrin Peasants
dictionary Pilgrin_Peasants ; Pilgrin Peasants
category infantry
class light
voice_type Light
banner faction main_infantry
banner holy crusade
soldier Pilgrin_Peasants, 60, 0, 0.8
officer pilgrins_flag
attributes sea_faring, hide_forest, can_withdraw, mercenary_unit, is_peasant
formation 1.2, 1.2, 2.4, 2.4, 6, square
stat_health 1, 0
stat_pri 5, 0, no, 0, 0, melee, melee_simple, piercing, spear, 25, 0.6
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 1, 3, 1, flesh
;stat_armour_ex 0, 4, 0, 0, 3, 0, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 1, low, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 110, 90, 65, 50, 110, 4, 20
armour_ug_levels 1, 2
armour_ug_models Pilgrin_Peasants, Pilgrin_Peasants_ug1
ownership slave
era 0 slave
era 1 slave
era 2 slave
;unit_info 5, 0, 5
I canīt find any error....can someone help please.many thanks in advance