So, I wanted to try and piece together a new unit from existing ones using this old tutorial by Ishan.
In essence, I was tinkering with some units from Broken Crescent and wanted to create a medium javelineer unit for Byzantium, using the existing body from their medium swordsmen and the shield and weapons from their heavy javelineers.
I followed the instructions in the tutorial for merging the appropriate parts of the meshes to create a new mesh. Furthermore I edited a copy of the relevant texture file to get some different colours, then converted it back to .texture.
When I test the thing in milkshape it looks fine and the textures are assigned and displayed correctly.
For in game usage I pieced together the modeldb entry of the medium swordsman with the animations section of the heavy javelineers and updated the mesh and texture paths for my newly created files.
However, when I try out the unit in battle, either the figure or the attachments do not show the right textures (instead some blurry, half-transparent stuff, so not even silver-surfer style) and, what is more worrying, the units do not show animations but just hover in the air with arms stretched out as they are seen in milkshape. They also do not show all parts of the body or attachments consistently, independent of which part is properly textured, some missing boots, helmets, heads, shields, spears, etc.
What am I missing?
Here are the files and file entries:
modeldb:
export_descr_units:Code:14 ere_medium_jav 1 1 50 unit_models/_Units/romans/ere_medium_jav_lod0.mesh 6400 2 9 byzantium 62 unit_models/_Units/romans/textures/ere_medium_jav_diff.texture 62 unit_models/_Units/romans/textures/ere_medium_jav_norm.texture 47 unit_sprites/byzantium_ere_heavy_jav_sprite.spr 5 slave 62 unit_models/_Units/romans/textures/ere_medium_jav_diff.texture 62 unit_models/_Units/romans/textures/ere_medium_jav_norm.texture 47 unit_sprites/byzantium_ere_heavy_jav_sprite.spr 2 9 byzantium 69 unit_models/_Units/romans/textures/attach_ere_medium_jav_diff.texture 69 unit_models/_Units/romans/textures/attach_ere_medium_jav_norm.texture 0 5 slave 69 unit_models/_Units/romans/textures/attach_ere_medium_jav_diff.texture 69 unit_models/_Units/romans/textures/attach_ere_medium_jav_norm.texture 0 1 4 None 17 MTW2_Fast_Javelin 10 MTW2_Spear 2 20 MTW2_Javelin_primary 14 fs_test_shield 2 18 MTW2_Spear_primary 14 fs_test_shield 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
ere medium jav.rarCode:type ere medium jav dictionary ere_medium_jav ; Peltastoi Medium Javelin category infantry class spearmen voice_type Light accent Mediterranean banner faction main_missile banner holy crusade soldier ere_medium_jav, 50, 0, 0.80 attributes sea_faring, hide_forest, hardy, can_withdraw formation 1.1, 2, 2, 2.5, 3, square stat_health 1, 0 stat_pri 11, 1, javelin, 60, 3, thrown, missile_mechanical, piercing, spear, 25, 1 stat_pri_attr thrown, spear_bonus_4, ap stat_sec 8, 1, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1.2 stat_sec_attr light_spear, spear_bonus_8 stat_pri_armour 5, 8, 6, metal stat_sec_armour 0, 0, flesh stat_heat 0 stat_ground 2, -1, 2, 0 stat_mental 11, normal, trained stat_charge_dist 30 stat_fire_delay 0 stat_food 60, 299 stat_cost 1, 1000, 250, 150, 150, 1000 armour_ug_levels 3 armour_ug_models ere_medium_jav ownership byzantium, slave


Reply With Quote










































