Alrighty guys, I need some help here. Upon loading the game, it keeps crashing during the splash screen, giving me an error:
12:18:16.250 [script.err] [error] Script Error in data/export_descr_unit.txt, at line 14770, column 2
Could not find soldier battle model for unit type 'norman_spearmen'.
12:18:16.250 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file data/export_descr_unit.txt.
Essentially, I'm trying to create a Norman Knight that uses the spear instead of a sword. Using, GOM's mesh converter, I edited the druzhina model to use a spear and have a kite shield slung across its back.
Here's what I have in my modelsdb file (note that I'm using different animations. I want these guys to fight with the spear using both hands and, although not perfect, this is the most realistic-looking animation I could find from what we have so far).
15 norman_spearmen
1 4
59 unit_models/_Units/EN_Lmail_Hmail/norman_spearmen_lod0.mesh 121
59 unit_models/_Units/EN_Lmail_Hmail/norman_spearmen_lod1.mesh 900
59 unit_models/_Units/EN_Lmail_Hmail/norman_spearmen_lod2.mesh 2500
59 unit_models/_Units/EN_Lmail_Hmail/norman_spearmen_lod3.mesh 6400
1
6 sicily
72 unit_models/_Units/EN_Lmail_Hmail/textures/en_lmail_hmail_sicily.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/en_lmail_hmail_normal.texture
52 unit_sprites/sicily_Dummy_EN_Spearmen_ug3_sprite.spr
6 sicily
57 unit_models/AttachmentSets/Final Kite_sicily_diff.texture
57 unit_models/AttachmentSets/Final Kite_sicily_norm.texture 0
1
4 None
16 MTW2_2HSwordsman 0
2
19 MTW2_2H_Axe_primary 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
Here's what I have in my EDU
type norman spearmen
dictionary norman_spearmen ; Norman Spearmen
category infantry
class spearmen
voice_type Heavy
banner faction main_spear
banner holy crusade
soldier norman_spearmen, 60, 0, 1.2
attributes sea_faring, hide_forest, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 8, 3, no, 0, 0, melee, melee_blade, piercing, spear, 25, 0.6
;stat_pri_ex 0, 0, 0
stat_pri_attr spear, spear_bonus_8
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 8, 6, 0, metal
;stat_armour_ex 5, 7, 0, 0, 3, 6, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 1, -2, 3, 2
stat_mental 5, normal, highly_trained
stat_charge_dist 20
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 570, 155, 85, 65, 540, 4, 130
armour_ug_levels 3
armour_ug_models norman_spearmen
ownership sicily
era 0 sicily
;unit_info 7, 0, 14
The modelsdb file is up-to-date with regards to the first line number of models in the file and as far as I can tell, everything is correct with regards to the counts and spaces. I just can't tell where the breakdown between that file and the EDU is coming from...
Any help would be greatly appreciated.
Malachus
Bookmarks