Hello again,
I wanted to give a special unit of Dismounted Latinkon a Javelin Precursor, but ran into a crash issue. Maybe someone could help, because I am out of ideas and tinkering around has yielded no results.
The steps I took, using Milkshape
-Made the Latinon_lod0 into a ms3d
-Made the dismounted polish nobles into ms3d (i do not know if its in the base game, but mine (that was made by another kind modder) have javelins
-Deleted everything in the nobles model except the javelins
-merged Latinkon and Javelins into one model
-gave the Latinkon sword a secondaryactive comment
-exported the model
-edited the modelsdb & the edu
17 scholae_palatinae
1 4
53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 121
53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 900
53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 2500
53 unit_models/_Units/ES_Mail/scholae_palatina_lod0.mesh 6400
1
9 byzantium
74 unit_models/_Units/ES_Mail/textures/mtw2_ES_Mail_byzantium_palatin.texture
63 unit_models/_Units/ES_Mail/textures/mtw2_ES_Mail_normal.texture
53 unit_sprites/byzantium_Dismounted_Latinkon_sprite.spr
1
9 byzantium
68 unit_models/AttachmentSets/Final Kite_byzantium_palatin_diff.texture
60 unit_models/AttachmentSets/Final Kite_byzantium_norm.texture 0
1
4 None
17 MTW2_Fast_Javelin
14 MTW2_Swordsman
2
20 MTW2_Javelin_primary
14 fs_test_shield
2
18 MTW2_Sword_Primary
14 fs_test_shield
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
type Scholae Palatinae
dictionary Scholae_Palatinae ; Scholae Palatinae
category infantry
class heavy
voice_type Heavy
banner faction rome_infantry_special
banner holy crusade
soldier Scholae_Palatinae_ug1, 64, 0, 1.2
officer andronicus
attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit, unique_unit, start_not_skirmishing
move_speed_mod 1.2
formation 1.2, 1.2, 2.4, 2.4, 3, square, shield_wall
stat_health 2, 0
stat_pri 7, 1, javelin, 55, 3, thrown, missile_mechanical, piercing, spear, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr ap, thrown
stat_sec 12, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 5, 6, 8, metal
;stat_armour_ex 5, 6, 0, 0, 4, 8, 8, metal
stat_sec_armour 0, 0, flesh
stat_heat 7
stat_ground 1, -2, 3, 4
stat_mental 16, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 1040, 280, 60, 140, 1040, 4, 160
armour_ug_levels 3, 4
armour_ug_models Scholae_Palatinae, Scholae_Palatinae_ug1
ownership byzantium
era 1 byzantium
era 2 byzantium
;unit_info 11, 0, 17
recruit_priority_offset 0
-fired up a custom battle
-the latinkons now throw spears, albeit they are invisible in their hand at first, but they throw them
-upon contact with the enemy, when they should be drawing swords the game crashes without a useful hint
I tried severyl different variations. Renamed the sword in the model to secondary_sword, did the same in the modelsdb, but I seem to miss something crucial
I think it has to do something with the model, but not quiet sure what.
Help me Modding Workshop, you are my only hope...
Thanks
zumi
Edit: Oh, and the shield textures are messed up now. No idea why.
Edit 2:
Here are the files
ms3d
the converted mesh
the textures for body and attachmentset
https://we.tl/t-e0sNDUv7Ti