Jump to content

Adding new models: Got this error


Perzival12
 Share

Recommended Posts

Hey so for my Hyrule Conquest: Revival mod, I contacted TUN and he sent me his original 3d models. I was hoping to be able to make some variants, as the Deku Kingdom is kind of repetitive, but when I tried to add a model to the game, I got this error: "ERROR: art/meshes/units/deku/deku_baba_spike.dae: assertion not satisfied (line 394): failed requirement 'recognised skeleton structure'". I followed all of the instructions, unwrapping the mesh, selecting the mesh, then the armature, and exporting as a .dae file. Is it because it is not a cached.pmd, or is it some other problem?

Link to comment
Share on other sites

4 hours ago, Stan` said:

Hey @Perzival12 The game automatically detects the skeleton of a DAE, using the files in art/skeleton. If there isn't any matching the structure from your new mesh, it will fail.
I have a python script to generate the skeleton from a given DAE file. https://github.com/StanleySweet/0AD-Skeleton-Generator



 

Thanks, that should help. 

Link to comment
Share on other sites

Hey, so I fixed that error, but now I have a new problem: all of my new unit models are lying on their backs, half in, half out of the ground. Why? I tried rotating them, but it didn’t change anything. What did I do wrong?

  • Haha 1
Link to comment
Share on other sites

14 hours ago, Perzival12 said:

Hey, so I fixed that error, but now I have a new problem: all of my new unit models are lying on their backs, half in, half out of the ground. Why? I tried rotating them, but it didn’t change anything. What did I do wrong?

Did you use Ctrl - A -> Apply all transforms before exporting?

Link to comment
Share on other sites

  • 3 weeks later...
On 30/09/2025 at 9:53 AM, Stan` said:

Hey @Perzival12 The game automatically detects the skeleton of a DAE, using the files in art/skeleton. If there isn't any matching the structure from your new mesh, it will fail.
I have a python script to generate the skeleton from a given DAE file. https://github.com/StanleySweet/0AD-Skeleton-Generator


Gonna snag this.  This will be very useful!
 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...