Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: cASH on February 11, 2006, 09:22:31 pm

Title: Where are the tables?
Post by: cASH on February 11, 2006, 09:22:31 pm
I downloaded a ship model thats needed for one of the mods im playing but it tells me to add some stuff to "ships.tbl" and "weapons.tbl" but i cant find it. I checked in the data/tables but theres nothing there.
Title: Re: Where are the tables?
Post by: Unknown Target on February 11, 2006, 09:46:17 pm
This should be in FS Modding. Anyway, you need VPVIEWER (www.descent-network.com or net, I forget), open up the root.vp (I believe), and extract the tables into the tables directory from there.
Title: Re: Where are the tables?
Post by: WMCoolmon on February 11, 2006, 10:18:45 pm
Actually it sounds as though in this situation, he should be going with modular tables if he's using fs2_open 3.6.7 or newer...

(If you aren't using fs2_open 3.6.7 or newer, disregard all this and skip to the bottom)

If it's just a few ship or weapon entries (a few pages of stuff, as opposed to 20 or so) then make two text files called, say, "Derelict-shp.tbm" and "Derelict-wep.tbm" (if it was the Derelict mod).

Place all the ship data in the -shp file, like so:
Code: [Select]
#Ship Classes
;;Data goes here
#End

Place all the weapon data in the -wep file, like so:
Code: [Select]
#Primary Weapons
;;Primary weapon data goes here
#End

#Secondary Weapons
;;Secondary weapon data goes here



Sorry, it was just a wonderful opportunity to pimp modular tables.  :pimp:
#End
Title: Re: Where are the tables?
Post by: cASH on February 11, 2006, 10:43:17 pm
This should be in FS Modding. Anyway, you need VPVIEWER (www.descent-network.com or net, I forget), open up the root.vp (I believe), and extract the tables into the tables directory from there.

I went to the site but the download links for the vpviewer arent workin  :( do you know any other links?
Title: Re: Where are the tables?
Post by: karajorma on February 12, 2006, 05:31:55 pm
Worked for me. I went via  the tools page of my FAQ though.

You should probably extract the ships table for reference but WMCoolmon's method is the best way to go as it doesn't require any extraction.