Hello guys, i have problem.
I take a 100% working and bug-free unit looking like:
-----------------------------------------------------------------------
type axe heerbann
dictionary axe_heerbann ; Axe Heerbann
category infantry
class heavy
voice_type Medium_1
soldier axe_heerbann, 50, 0, 1.1
attributes sea_faring, hide_forest, can_sap
formation 1.2, 1.2, 2.4, 2.4, 4, square, shield_wall
stat_health 1, 0
stat_pri 10, 5, no, 0, 0, melee, blade, piercing, sword, 25 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 9, 9, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 2
stat_mental 20, impetuous, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 0, 220, 0, 60, 80, 510
ownership slave, franks
------------------------------------------------------------------------
And did new mercenary unit next way:
type merc axe heerbann
dictionary axe_heerbann ; Axe Heerbann
category infantry
class heavy
voice_type Medium_1
soldier axe_heerbann, 50, 0, 1.1
attributes sea_faring, hide_forest, can_sap, mercenary_unit, no_custom
formation 1.2, 1.2, 2.4, 2.4, 4, square, shield_wall
stat_health 1, 0
stat_pri 10, 5, no, 0, 0, melee, blade, piercing, sword, 25 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 9, 9, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 2
stat_mental 20, impetuous, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 0, 450, 300, 60, 80, 0
ownership franks
Notice "merc" prefix in the first line, and new unit attributes.
I've tested unit in custom battles (with removed merc_unit and no_custom) and found it 100% OK. Then i added it to merc pool and return both attributes. Now i have a strange problem while playing campaign: unit uses proper model/skin on the battlefield, have proper description in campaign mode but ... uses "black peasants" default unit cards! It seems strange for me, as it WASN'T SO in custom battles mode. Did somebody faced such problem and if yes how it could be resolved?
Almost forgot: my version is Barb Invasion 1.6




Reply With Quote





