• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Replacing entity_class name="animalWolf" Prefab

stasis78

Refugee
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:

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

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

 
I can upload the unity project in using here in a bit. Basically I’m trying to take a free rigged and animated model and make it work with the hostile animals class.

 
Back
Top