Error when importing ships

This is the location for all mods to collaborate. Anyone making or planning their own mod should post help requests, screen shots and news here.

Moderators: Omega, tillias, Mod Contributor

Post Reply
Beowulf
Mercenary
Mercenary
Posts: 121
Joined: Thu Jan 15, 2004 5:42 pm

Error when importing ships

Post by Beowulf »

Hi,

for some ships that I try to import into Vegastrike I get errors like this:

Code: Select all

vegastrike-bin: src/gfx/mesh_gfx.cpp:178: Texture* Mesh::TempGetTexture(MeshXML*, int, std::string) const: Assertion `index<(int)xml->decals.size()' failed.
I took a look at the Vegastrike sourcecode but I have no idea what this assertion means. Does anybody know? Maybe it would make sense to add an error message here that gives modders a clue about what went wrong ;)
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

That means somewhere it's referencing some texture (a "decal"?) that you don't have.

Not too much idea what this error means either.
What version are you running? 0.4.3? or 0.5.0?

Can you post your mesh files and the corresponding unit CSV row(s), or at least a simplified version so maybe I can figure out exactly what is happening?

Looks like it could be an attribute to the <MESH> tag (if you mesher convert to XML)... not sure about the BXM specifically?
Beowulf
Mercenary
Mercenary
Posts: 121
Joined: Thu Jan 15, 2004 5:42 pm

Post by Beowulf »

I'm running the latest subversion head. I'm using bfxm, not xmesh files in the game. You can download the relevant files from
http://www.hawo.stw.uni-erlangen.de/~si ... ceptor.csv
http://www.hawo.stw.uni-erlangen.de/~si ... tor.tar.gz
and
http://www.hawo.stw.uni-erlangen.de/~si ... esh.tar.gz
"History is on the move, Captain. Those who cannot keep up will be left behind, to watch from a distance. And those who stand in our way, will not watch at all."
Grand Admiral Thrawn
Post Reply