stasis78 Posted December 27, 2018 Share Posted December 27, 2018 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 More sharing options...
xyth Posted December 27, 2018 Share Posted December 27, 2018 You using mecamin animation? Legacy animation will not work in A17. Link to comment Share on other sites More sharing options...
stasis78 Posted December 27, 2018 Author Share Posted December 27, 2018 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 More sharing options...
stasis78 Posted December 27, 2018 Author Share Posted December 27, 2018 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. Link to comment Share on other sites More sharing options...
stasis78 Posted December 27, 2018 Author Share Posted December 27, 2018 https://github.com/stasis78/7dtd-mods/tree/master/Unity/Blerker Link to comment Share on other sites More sharing options...
Guppycur Posted December 27, 2018 Share Posted December 27, 2018 You will absolutely need to use the sdx animation script for custom entities. Link to comment Share on other sites More sharing options...
stasis78 Posted December 28, 2018 Author Share Posted December 28, 2018 There has to be some way to map unity models to the ones in the game though? Link to comment Share on other sites More sharing options...
xyth Posted December 28, 2018 Share Posted December 28, 2018 There has to be some way to map unity models to the ones in the game though? Someday perhaps, but that's not going to happen anytime soon. Link to comment Share on other sites More sharing options...
stasis78 Posted December 29, 2018 Author Share Posted December 29, 2018 Thanks responding. I will dig around this weekend and report any findings Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.