Trouble loading a new ship in VS

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
SomeNick
Hunter
Hunter
Posts: 68
Joined: Wed Apr 14, 2004 3:43 am
Contact:

Trouble loading a new ship in VS

Post by SomeNick »

Hi. I successfully created one starship and replaced the llama with it, after some practice.

However, now I created another ship, called the nscout.

Previously, in one mission it said:

<flightgroups>
<flightgroup name="Shlimazel" faction="privateer" type="llama.begin" ainame="default" waves="1" nr_ships="1">

...


And I cahned it for:

<flightgroups>
<flightgroup name="Shlimazel" faction="privateer" type="nscout.begin" ainame="default" waves="1" nr_ships="1">

...

And now when I load VS the game doesnt load. I read the stderr.txt file and at by the end it says

"Cannot Open Mesh File C:\VegaNew\meshes/nscout_body_body.xmesh"


So what I did was to move the nscout_body_body.xmesh to the /meshes dir and now it runs but without any textures. It happens that in the /meshes/ dir I dont see any of the other starships. The lllama, hyena, etc (the VS originals) they are all located inside the /units/ directory.
So *I suppose* there is a file somewhere that tells VS where to look for the meshes, but I dont know where it is or what is it. Any of you have a clue?
SomeNick
Hunter
Hunter
Posts: 68
Joined: Wed Apr 14, 2004 3:43 am
Contact:

Post by SomeNick »

* cahned = changed
jackS
Minister of Information
Minister of Information
Posts: 1895
Joined: Fri Jan 31, 2003 9:40 pm
Location: The land of tenure (and diaper changes)

Re: Trouble loading a new ship in VS

Post by jackS »

"nscout.begin"

will cause VS to look for a unit definition file named units/nscout/nscout.begin

the unit definition file will specify the meshes associated with the unit - provided it actually exists :)
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

the textures also go in that folder

basically each ship gets a folder...the textures and meshes should be there

unless they are shared
shared meshes go in meshes/ shared textures go in textures/
we only have shared textures really right now
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply