Hi,
I am trying to plug in my custom dynamic character. I got everything modeled, skinned and hopefully even exported using the wiki tutorials. I wrote all the necessary text files too. When I now use the /henpc create command in the Blade, I can see there is a nameplate walking around but no visible geometry. I got following errors in console:
19:18:31: !ERROR!System:MeshPart:Invalid mesh file [\character\dynamic_2\generic_human\parts\box_head.hgm], must have exactly 1 models defined (0) for [DynamicModel[\Character\Dynamic_2\Generic_Human\Generic_Human.dyc]].
19:18:32: !ERROR!System:MeshPart:Invalid mesh file [\character\dynamic_2\generic_human\parts\box_torso.hgm], must have exactly 1 mesh defined for [DynamicModel[\Character\Dynamic_2\Generic_Human\Generic_Human.dyc]].
19:18:32: !ERROR!System:MeshPart:Invalid mesh file [\character\dynamic_2\generic_human\parts\box_hands.hgm], must have exactly 1 models defined (0) for [DynamicModel[\Character\Dynamic_2\Generic_Human\Generic_Human.dyc]].
19:18:32: !ERROR!System:MeshPart:Invalid mesh file [\character\dynamic_2\generic_human\parts\box_legs.hgm], must have exactly 1 models defined (0) for [DynamicModel[\Character\Dynamic_2\Generic_Human\Generic_Human.dyc]].
19:18:32: !ERROR!System:MeshPart:Invalid mesh file [\character\dynamic_2\generic_human\parts\box_feet.hgm], must have exactly 1 models defined (0) for [DynamicModel[\Character\Dynamic_2\Generic_Human\Generic_Human.dyc]].
It seems is fails to load all of my five prototype meshes for different character parts. My .dyc file looks like this:
Version=1
[SETTINGS]
Skeleton=Generic_Human_skeleton.hgm
PartsSpec=Generic_Human.par
Pretty straightforward, it seems... My .par file follows:
! bang to comment line
! Parts definition file
!
[Root]
\Character\Dynamic_2\Generic_Human\parts\
[Slots]
!SlotName
! % hides(SlotName)
! % shows(SlotName)
! % substitutes(SlotName:PartName,PartName)
! % onif(SlotName)
! % LODSubstitutes(distance #,LowDetail)
Head
Torso
Hands
Legs
Feet
[Divisions]
!DivisionName: SlotName,SlotName
Default Division: Head,Torso,Hands,Legs,Feet
[Parts]
!
! Slot: Part, mesh file
!
Head: Box_Head,Box_Head.hgm
Torso: Box_Torso,Box_Torso.hgm
Hands: Box_Hands,Box_Hands.hgm
Legs: Box_Legs,Box_Legs.hgm
Feet: Box_Feet,Box_Feet.hgm
I created just the very basic file to test things out. It seems the system reads the definition correctly but fails to load the five parts for some reason.
I checked the .hgm files in Hero Viewer and they look correctly. If I open them all along with the skeleton file and some animation I exported, the viewer shows animating character, so almost everything should be ok... Anyone could point me in the right direction? Where should I start looking for errors in my pipeline?
Thanks