Hi all! I'm having troubles finishing a custom mount I made based on vanilla elephants (it's a very different mount but it shares the same skeleton and animations basically). Everything works fine but I have 3 problems and I'm gonna describe them all hoping somebody out there can help me out.
Here is the EDU entry:
Here is the mount entry:Code:type X_Type dictionary X_Dict category cavalry class heavy voice_type Heavy banner faction main_cavalry banner holy crusade soldier X_Riders, 7, 2, 1 mount X_Mount mount_effect horse +4, camel +4, elephant -4 attributes hardy, can_withdraw, can_run_amok, frighten_foot, frighten_mounted, power_charge, command move_speed_mod 0.85 formation 9, 13, 9, 13, 1, square stat_health 1, 8 stat_pri 8, 12, militia_javelin, 60, 20, thrown, missile_mechanical, piercing, spear, 0, 1 stat_pri_attr ap, thrown, spear_bonus_4 stat_sec 40, 12, no, 0, 0, melee, melee_simple, piercing, none, 100, 1 stat_sec_attr area, launching stat_pri_armour 4, 6, 0, leather stat_sec_armour 18, 10, flesh stat_heat 3 stat_ground 4, -4, -4, 4 stat_mental 30, impetuous, trained stat_charge_dist 40 stat_fire_delay 0 stat_food 60, 300 stat_cost 2, 700, 250, 100, 100, 700, 4, 700 armour_ug_levels 1 armour_ug_models X_Riders
Here are the BMDB entries:Code:type X_Mount class elephant model X_Creature radius 3.0 x_radius 1.3 y_offset 0 height 3 mass 50.0 banner_height 1 bouyancy_offset 3 water_trail_effect elephant_water_trail root_node_height 2.84 attack_delay 1 dead_radius 2.5 tusk_z 1.5 tusk_radius 1 riders 3 rider_offset 0.05, 1.35, 1.37 rider_offset -0.3, 1.22, 0.4 rider_offset 0.3, 1.22, -.35
Now here are the problems I'm experiencing:Code:10 X_Creature [...] 1 8 Elephant 19 fs_african_elephant 0 0 0 -1 0 0 0 0 0 0 8 X_Riders [...] 1 8 Elephant 18 MTW2_Elephant_Crew 0 1 23 MTW2_HR_Javelin_Primary 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
1) The javelin throwers on the top of the creature are making the musket animation and when they throw the javelins I head the sound of gun shots.
2) The creature seems to deal no damage at all. When enemy soldiers get close to it, the creature move its head like if it was attacking them but no one dies and, because of their huge armor/hp value, the battle lasts very long until all the creatures, little by little, get killed.
3) The model itself has some problems that could be related to the bounding sphere or some other parameter of the mount itself. Sometimes during a battle the creatures stop attacking enemy soldiers. They are not dead but they stand idle. If I issue a move command the creatures can move without problems but thy also become a sort of enemies magnet... I always see a small amount of soldiers (2 or 3) running very close to the creatures like if they were charging them but they never hit... they just, well, hug the legs of the creature swinging the sword in the air.