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

Error when importing ships

Postby Beowulf » Sat Nov 17, 2007 3:15 pm

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
Beowulf
Mercenary
Mercenary
 
Posts: 121
Topics: 34
Joined: Thu Jan 15, 2004 10:42 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Postby ace123 » Tue Nov 27, 2007 1:49 am

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?
ace123
Lead Network Developer
Lead Network Developer
 
Posts: 2560
Topics: 32
Joined: Sun Jan 12, 2003 2:13 am
Location: Palo Alto CA

Postby Beowulf » Wed Nov 28, 2007 8:27 am

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
Beowulf
Mercenary
Mercenary
 
Posts: 121
Topics: 34
Joined: Thu Jan 15, 2004 10:42 am


Return to General Modding

Who is online

Users browsing this forum: No registered users and 1 guest

cron