Jump to content

Replacing entity_class name="animalWolf" Prefab


stasis78

Recommended Posts

I have a prefab file in unity but I can't seem to get an animation controller to play nice with the class EntityEnemyAnimal. Anyone have an example of how to create an animation controller in the unity that works with replacing the wolf prefab?

 

My model shows up in the game sometimes, but I get various errors such as:

 

NullReferenceException: Object reference not set to an instance of an object
 at EntityMoveHelper.UpdateMoveHelper () [0x00000] in <filename unknown>:0 

 

and

 

NullReferenceException: Object reference not set to an instance of an object
 at GameObjectAnimalAnimation.SetVisible (Boolean _b) [0x00000] in <filename unknown>:0 

Link to comment
Share on other sites

I watched your videos. Which were amazing by the way. I was hoping to figure out a drop in replacement for animal prefabs like the wolf, without needing to use SDX.

 

I can switch to your cs file but will it load using regular modlets for a17? Not that sdx is not just plain awesome, but trying to do a “vanilla” modlet.

 

And yes. The model is using generic, not legacy, animations. It has an animation controller, but I’m not sure how to map it to the wolf animation controller.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...