Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: basnyy213 on March 31, 2009, 01:44:43 pm

Title: How to use .tbm files?
Post by: basnyy213 on March 31, 2009, 01:44:43 pm
Ok my computer doesn't recognize the extension. Do I need to download a special program etc to use .tbm files?
Title: Re: How to use .tbm files?
Post by: FUBAR-BDHR on March 31, 2009, 01:45:36 pm
Notepad

or any other text editor for that matter.  If you use something like Wordpad make sure it's saved as text. 
Title: Re: How to use .tbm files?
Post by: basnyy213 on March 31, 2009, 01:58:34 pm
I'm using Notepad. So should it still be saved as .tbm? The game isn't picking it up.
Title: Re: How to use .tbm files?
Post by: Mura on March 31, 2009, 02:39:07 pm
Yes, it should be saved as .tbm... just a recomendation, place it in a folder of it's own and load it as a mod with the launcher, so you don't have later to hunt for some table doing something odd to your game ;D
Title: Re: How to use .tbm files?
Post by: Mobius on March 31, 2009, 02:50:42 pm
Use the FreeSpace Wiki:

http://www.hard-light.net/wiki/index.php/Tbm
Title: Re: How to use .tbm files?
Post by: basnyy213 on March 31, 2009, 03:06:12 pm
If this mod didn't require FSOpen would that be a problem?
Title: Re: How to use .tbm files?
Post by: Mobius on March 31, 2009, 03:11:36 pm
I don't think .tbms work with Retail FS2, they're a relatively recent addition by the SCP...I'm not a coder, anyway, so I don't know...
Title: Re: How to use .tbm files?
Post by: basnyy213 on March 31, 2009, 03:13:25 pm
No the mod came with the info for the table in a .txt file. I copied it over. I'm starting to think that may be the problem.
Title: Re: How to use .tbm files?
Post by: Mobius on March 31, 2009, 03:19:19 pm
There's nothing wrong with it, really. Old mods features .txt files because fans had to open those files, copy the contents, and paste them in the main tables(like ships.tbl). That was very common, but now we have .tbms... ;)

If you have FSO, creating a proper .tbm file would work. Check the Wiki. :)
Title: Re: How to use .tbm files?
Post by: FUBAR-BDHR on March 31, 2009, 03:33:04 pm
You need a header and an #End statement for the .tbm as well. 
Title: Re: How to use .tbm files?
Post by: basnyy213 on March 31, 2009, 03:34:49 pm
I got it set up now thanks for the help.