-
February 07, 2008, 07:53 PM
#1
Help required with modeldb
I can't seem to get new units working with self implemented models. Every time I try the game crashes on launch.
To get the hang of it I just copied a unit from the teuton campaign. I copied the sprites, meshes and attactmentsets, as well as the EDU and modeldb entries. I can manage the EDU file fine so I doubt the error is in there, but I'll post both files for the sake of it.
Modeldb:
23 dismounted_ritterbruder
1 4
64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod0.mesh 121
64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod1.mesh 900
64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod2.mesh 2500
64 unit_models/_Units/CM_Standard/dismounted_ritterbruder_lod3.mesh 6400
1
9 byzantium
74 unit_models/_Units/CM_Standard/textures/CM_Standard_teutonic_order.texture
66 unit_models/_Units/CM_Standard/textures/CM_Standard_normal.texture
62 unit_sprites/teutonic_order_Dismounted_Ritterbruder_sprite.spr
1 9 byzantium
75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_diff.texture
75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_norm.texture 0
1 4 None
14 MTW2_Swordsman 0 2
18 MTW2_Sword_Primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
27 dismounted_ritterbruder_ug1
1 4
68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod0.mesh 121
68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod1.mesh 900
68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod2.mesh 2500
68 unit_models/_Units/CM_Standard/dismounted_ritterbruder_ug1_lod3.mesh 6400
1
9 byzantium
71 unit_models/_Units/CM_Standard/textures/CM_Plate_teutonic_order.texture
63 unit_models/_Units/CM_Standard/textures/CM_Plate_normal.texture
66 unit_sprites/teutonic_order_Dismounted_Ritterbruder_ug1_sprite.spr
1
9 byzantium
75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_diff.texture
75 unit_models/AttachmentSets/Final Teutonic Heads_teutonic_order_norm.texture 0
1 4 None
14 MTW2_Swordsman 0 2
18 MTW2_Sword_Primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
EDU:
type Dismounted Ritterbruder
dictionary Dismounted_Ritterbruder ; Dismounted Ritterbrüder
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
soldier Dismounted_Ritterbruder, 48, 0, 1.2
attributes sea_faring, hide_forest, very_hardy, can_withdraw, frighten_foot, frighten_foot
formation 1.2, 1.2, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 14, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;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 7, 5, 8, metal
;stat_armour_ex 7, 9, 0, 0, 5, 8, 8, metal
stat_sec_armour 0, 0, flesh
stat_heat 8
stat_ground 1, -2, 3, 4
stat_mental 11, impetuous, highly_trained
stat_charge_dist 20
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 690, 225, 65, 155, 690, 2, 200
armour_ug_levels 5, 6
armour_ug_models Dismounted_Ritterbruder, Dismounted_Ritterbruder_ug1
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
;unit_info 14, 0, 20
recruit_priority_offset 35
I've checked to see if I missed any spaces but considering the entries are copied I doubt it's a silly error like that. Any help would be greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules