Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Rampage on July 25, 2002, 06:40:26 pm

Title: Ships.tbl Headaches - Add-On Request
Post by: Rampage on July 25, 2002, 06:40:26 pm
I believe when I post here I post for every campaign/MOD maker here at HLP.  The ships.tbl and other tables cannot be properly integrated into a conventional VP file for distribution and must be distributed separately.  What I'm requesting is that maybe one of you C++ wizards can pump out a source-MOD that tells Freespace 2 which table to recognize.  For example, you can add a flag into a table file like such:

Code: [Select]
$tableversion                 1.0

and tell Freespace 2 that for the tag "$tableversion" at the beginning of a ".tbl" file, the number following it is the code.  Tell Freespace 2 to load the table in the tables directory or in a VP with the largest integer.  If in cases where there is no "$tableversion" flag or of such, tell Freespace 2 that that table will be that last one that it will consider to load as the corresponding table.  (In English:  The Freespace 2 ships.tbl file doesn't have this flag so it will load the ships.tbl with the flag and the biggest integer following it.  If there are no ships.tbl with the flag, then load the original Freespace 2 ships.tbl)

I thought that this would be a nice thing to do for campaign makers/MODders.

- Rampage
Title: Ships.tbl Headaches - Add-On Request
Post by: RandomTiger on July 25, 2002, 07:01:25 pm
I have my plate full at the moment but get in touch with me at a later date if no other programmers come forward to help.
Title: Ships.tbl Headaches - Add-On Request
Post by: Nuke on July 25, 2002, 08:04:46 pm
this would make updates for larger mods alot easyer, but anything ive ever put up for download has been under 2 MB, so for me it makes sense just to put all the files in a new vp file and overwrite the old one.
Title: Ships.tbl Headaches - Add-On Request
Post by: RandomTiger on July 25, 2002, 08:06:10 pm
What do you use to make the vp file?
Title: Ships.tbl Headaches - Add-On Request
Post by: Rampage on July 26, 2002, 07:58:58 am
Quote
Originally posted by RandomTiger
What do you use to make the vp file?


Kazan's VP Construction Program
Title: Ships.tbl Headaches - Add-On Request
Post by: WMCoolmon on July 26, 2002, 01:54:27 pm
Quote
I believe when I post here I post for every campaign/MOD maker here at HLP. The ships.tbl and other tables cannot be properly integrated into a conventional VP file for distribution and must be distributed separately.

Why not? This was actually done with the FS1port :nod:
Title: Ships.tbl Headaches - Add-On Request
Post by: vyper on July 26, 2002, 07:19:03 pm
I'd like to point out that despie its many flaws (the mission was made up in like, 10 minutes) my demo release for Maelstrom used ships.tbl inside a VP and I used Kazan's thingy, and as far as I know it worked for everyone who tried it.
Title: Ships.tbl Headaches - Add-On Request
Post by: RandomTiger on July 26, 2002, 08:19:18 pm
Quote
Originally posted by vyper
I used Kazan's thingy, and as far as I know it worked for everyone who tried it.


he, he, he!
Title: Ships.tbl Headaches - Add-On Request
Post by: vyper on July 27, 2002, 06:50:04 am
Quote
Originally posted by RandomTiger


he, he, he!


:wtf:
Title: Ships.tbl Headaches - Add-On Request
Post by: Martinus on July 27, 2002, 07:43:30 am
Quote
Originally posted by vyper


:wtf:



I think he's got the wrong end of the stick when you said 'Kazan's thingy'.

:rolleyes: