I dismounted Tsars guard, and tried to implement spear/sword combination of weapons, they have models for spear and sword in their .mesh file and I tried to let them have both weapons...
The problem is:
They have models for sword and spear, the game loads, everything is working (with normal attack command they fight like spearmen with the spear, with alternative attack they fight like swordsmen, but the sword floats arround half a meter away, besides the fact that they regulary posses a sword...) I thought you guys can help me a bit with that. The question is: is it really possible to have 2 working melee weapons in one unit? And if yes, how?
Here is my EDU code:
And my battle_models.modeldb code:Code:type Dismounted Tsars Guard dictionary Dismounted_Tsars_Guard ; Tsars Guard category infantry class heavy voice_type Heavy banner faction main_infantry banner holy crusade soldier Dismounted_Tsars_Guard, 48, 0, 1 attributes sea_faring, hide_forest, very_hardy, can_withdraw formation 1.2, 1.2, 2.4, 2.4, 4, square stat_health 1, 0 stat_pri 14, 5, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1 ;stat_pri_ex 0, 0, 0 stat_pri_attr no stat_sec 14, 5, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1 ;stat_sec_ex 0, 0, 0 stat_sec_attr no stat_pri_armour 8, 7, 4, metal ;stat_armour_ex 8, 9, 0, 0, 7, 4, 4, metal stat_sec_armour 0, 0, flesh stat_heat 5 stat_ground 0, -2, -4, 0 stat_mental 11, normal, trained stat_charge_dist 45 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 840, 320, 130, 100, 840, 4, 210 armour_ug_levels 4 armour_ug_models Dismounted_Tsars_Guard ownership russia era 2 russia ;unit_info 14, 0, 19
I dismounted Dvor Cavalry's second armor upgrade for dismounted dvor (they only have one upgrade), and everything works like a charm, both bow and axe. I'll give +rep on any help or adviceCode:16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 22 dismounted_tsars_guard 1 4 67 unit_models/_Units/EE_Bekhtera_Heavy_Lamellar/tsars_guard_lod0.mesh 121 67 unit_models/_Units/EE_Bekhtera_Heavy_Lamellar/tsars_guard_lod1.mesh 900 67 unit_models/_Units/EE_Bekhtera_Heavy_Lamellar/tsars_guard_lod2.mesh 2500 67 unit_models/_Units/EE_Bekhtera_Heavy_Lamellar/tsars_guard_lod3.mesh 6400 1 6 russia 96 unit_models/_Units/EE_Bekhtera_Heavy_Lamellar/textures/EE_Bekhtera_Heavy_Lamellar_russia.texture 96 unit_models/_Units/EE_Bekhtera_Heavy_Lamellar/textures/EE_Bekhtera_Heavy_Lamellar_normal.texture 42 unit_sprites/russia_Tsars_Guard_sprite.spr 1 6 russia 61 unit_models/AttachmentSets/Final Teardrop_russia_diff.texture 61 unit_models/AttachmentSets/Final Teardrop_russia_norm.texture 0 1 4 None 10 MTW2_Spear 14 MTW2_Swordsman 2 18 MTW2_Spear_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
Thanks in advance, TSDIV