This part

<BoneMap>unit_models\BoneMaps\soldier_bone_map_new.xml</BoneMap>
must reference a file that looks something like

Code:
bone_pelvis                  ,    none               
bone_rthigh                  ,    bone_pelvis        
bone_rlowerleg               ,    bone_rthigh        
bone_rfoot                   ,    bone_rlowerleg     
bone_abs                     ,    bone_pelvis        
bone_torso                   ,    bone_abs           
bone_head                    ,    bone_torso         
bone_jaw                     ,    bone_head          
bone_eyebrow                 ,    bone_head          
bone_rclavical               ,    bone_torso         
bone_rupperarm               ,    bone_rclavical     
bone_relbow                  ,    bone_rupperarm     
bone_rhand                   ,    bone_relbow        
bone_lclavical               ,    bone_torso         
bone_lupperarm               ,    bone_lclavical     
bone_lelbow                  ,    bone_lupperarm     
bone_lhand                   ,    bone_lelbow        
bone_lthigh                  ,    bone_pelvis        
bone_llowerleg               ,    bone_lthigh        
bone_lfoot                   ,    bone_llowerleg     
bone_weapon_weapon01         ,    bone_rhand         
bone_weapon                  ,    bone_rhand         
bone_weapon02                ,    bone_rhand         
bone_weapon03                ,    bone_rhand         
bone_shield01                ,    bone_lhand         
bone_shield                  ,    bone_lhand
for standard units, first column is child, second column parent.

Must have separate files for horses, camels, elephants,
and artillery. My external file for doing elephants looks
like

Code:
bone_E_platform              ,    none                          
bone_E_back                  ,    bone_E_platform               
bone_E_right back thigh      ,    bone_E_back                   
bone_E_right back lower leg  ,    bone_E_right back thigh       
bone_E_right back foot       ,    bone_E_right back lower leg   
bone_E_left back thigh       ,    bone_E_back                   
bone_E_left back lower leg   ,    bone_E_left back thigh        
bone_E_left back foot        ,    bone_E_left back lower leg    
bone_E_head                  ,    bone_E_back                   
bone_E_trunk 1               ,    bone_E_head                   
bone_E_trunk 2               ,    bone_E_trunk 1                
bone_E_trunk 3               ,    bone_E_trunk 2                
bone_E_trunk 4               ,    bone_E_trunk 3                
bone_E_right ear main        ,    bone_E_head                   
bone_E_right ear tip         ,    bone_E_right ear main         
bone_E_left ear main         ,    bone_E_head                   
bone_E_left ear tip          ,    bone_E_left ear main          
bone_E_right front thigh     ,    bone_back                     
bone_E_right front lower leg ,    bone_right front thigh        
bone_E_right front foot      ,    bone_right front lower leg    
bone_E_left front thigh      ,    bone_back                     
bone_E_left front lower leg  ,    bone_left front thigh         
bone_E_left front foot       ,    bone_left front lower leg
Haven't had time to get the trebuchet debugged so I haven't pulled
out anymore skeletons than horses, camels, and elephants.