so… the mesh and skeleton imported. animations playback fine in the editor.
I created the MyDino_Character_BP, added the mesh, setup the animations, changed the dino name tag and custom tag to “MyDino”
I created the MyDino_AIController_BP, edited the settings for it, linked it in MyDino_Character_BP
I created the DinoCharacterStatusComponent_BP_MyDino and set the values up inside it.
I created the DinoColorSet_MyDino and set the allowed color sets for it and referenced it in MyDino_Character_BP
I created the DinoEntry_MyDino and just set it up to use the Dilo Dossier and icon for now.
I Edited the PrimalGameData for the mod and added the Additional DinoEntry to point to DinoEntry_MyDino
After that, I Added the dino into the test map and ran a test…
Problem 1) The dino Sits in the same spot all the time, plays its animations and always appears 1/2 way in the floor no matter how I place it in the map.
Problem 2) If I get close to the Dino and bump it, or if I shoot the dino with a gun, the game crashes with the following error:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000118
UE4Editor-ShooterGame.dll!APrimalCharacter:: GetMaxHealth() (0x00007ff8eea26537) + 7 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalcharacter.cpp:2703]
UE4Editor-ShooterGame.dll!APrimalCharacter:: DrawHUD() (0x00007ff8eea1ed78) + 166 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalcharacter.cpp:1590]
UE4Editor-ShooterGame.dll!APrimalDinoCharacter:: DrawHUD() (0x00007ff8eea70909) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primaldinocharacter.cpp:2449]
UE4Editor-ShooterGame.dll!AShooterHUD:: DrawUIHUD() (0x00007ff8eec24097) + 12 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\shooterhud.cpp:148]
UE4Editor-ShooterGame.dll!UCustomCanvasWidget:: DrawWidget() (0x00007ff8ee9b34f3) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\customcanvaswidget.cpp:118]
UE4Editor-ShooterGame.dll!SCustomCanvasWidget:: OnPaint() (0x00007ff8eeb8d151) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\scustomcanvaswidget.cpp:103]
now based on the error… what I’m guessing is happening is it is unable to find the file “DinoCharacterStatusComponent_BP_MyDino” which contains the dino’s health values, however I can’t seem to find anywhere on how to get the dino’s main file ( MyDino_Character_BP ) to point to it.
Any help with both of these problems would be greatly appreciated. Searched the forums, found several threads on making variant dino’s (ones that just use copies of the existing dino’s) and tried everything that was listed in them and still no solution to the problem, even tried setting the ‘Root Body Bone Name’ in hopes that it would resolve the ‘stationary / half in ground’ dino issue, but nope.