Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: karajorma on August 09, 2004, 04:42:00 pm

Title: Trying out TBM files.
Post by: karajorma on August 09, 2004, 04:42:00 pm
Now that I'm finally back to FREDding again (After taking a break for months to mod) I'm playing with all the new features in a way I never did till recently.

What I've been playing with tonight is the Table Modules feature as I've heard very little about anyone using this and it's definately something I want in SoR as it makes my life easier every time the weapons are upgraded (to include decals etc).

However I can't get the blasted things to work. Here's what I did...

1) Open the ships table.
2) Cut out everything except the entry for my Charon-class carrier.
3) Save the entry to  Freespace2\Data\Tables as "Charon-shp.tbm"
4) Run Taylor's T-20040802 build. - Watch FS2 Crash out horribly complaining that I have no fighterbay on the ship (cause strangely enough the ulysses doesn't have one)
5) Try WMCoolmons C07202004 build. Same thing.

What am I doing wrong?
Title: Trying out TBM files.
Post by: Moonsword on August 09, 2004, 04:45:15 pm
I would reccomend you upload the table entry for people to look at so that they can check the formatting.
Title: Trying out TBM files.
Post by: karajorma on August 09, 2004, 04:48:14 pm
The formatting is fine. It works perfectly when it was part of the ships.tbl. It's only when I cut the ships.tbl apart that it stops working.

In addition to ship I also tried a weapons table mod that failed the second I removed it from the weapons.tbl and made it a modular table file.

So unless TBM files require something extra that wouldn't be required as part of the table the fault probably lies elsewhere.
Title: Trying out TBM files.
Post by: Moonsword on August 09, 2004, 04:52:44 pm
*frowns*

Hmmm....

IIRC, you have to do something to the file other than change the extension to make it a modular table file.
Title: Trying out TBM files.
Post by: karajorma on August 09, 2004, 04:54:52 pm
Not from what I can see in WMCoolmon's original post on the matter

http://www.hard-light.net/forums/index.php/topic,23825.0.html
Title: Trying out TBM files.
Post by: Taristin on August 09, 2004, 04:55:26 pm
It never worked for me either. But I assumed I was doing something wrong, and decided to use the old table format.
Title: Trying out TBM files.
Post by: karajorma on August 09, 2004, 05:02:37 pm
I've gone back to the old table format for the time being but cause I made the tables for SoR from the original retail tables it means that all of Lightspeeds weapon enhancements are gone.

 Now I could simply extract his table from the VP and cut and paste my new weapons in but frankly if I'm going to go through all that trouble why not use the new feature and future-proof my campaign?
Title: Trying out TBM files.
Post by: Flipside on August 09, 2004, 05:42:07 pm
I've got a horrible feeling it will only replace currently existing table entries atm, not tag new ones onto the end?
Title: Trying out TBM files.
Post by: karajorma on August 10, 2004, 07:36:17 am
Oddly enough Nuke chose today to bump his topic on the same matter and the solution was provided there.

What I needed was to add a tag to the start and end of the table. The ships table had to start with #Ship Classes and the weapons entry had to start with #Primary Weapons.
 Both entries had to end with #End

Once I put that in both started to work.
Title: Trying out TBM files.
Post by: Nuke on August 10, 2004, 10:23:00 pm
i got everything working now :D
all my weapons too
just needed those sections tags.