Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Mobius on June 21, 2006, 02:26:14 pm

Title: Simple, new modding! Now all in one thread!
Post by: Mobius on June 21, 2006, 02:26:14 pm
I have a little problem:every ship model,every wepon I'm downloading presents a table entry data to paste into the respective tbl file....but how? Cut and paste,paste....it doesn't work!TBLs are untouchable!
I'm proceeding with a simple modding,changing gun turrets into missiles ones with modview,adding more missile and gun banks...
Pasting the ships tbl into a word document,I have inserted new ships(with related models)but without creating a ships tbl file or pasting this mod into the original tbl I can't proceed.Descent Manager doesn't offer utilities on this matter,and the tbl editor by MetalDestroyer isn't complete yet.Please assist!
Title: Re: Simple,new modding
Post by: Mobius on June 21, 2006, 02:35:17 pm
For all the community:my internet connection gives problems...doubling a post is a consequence...if someone can eliminate it...
My problem remains,however!
Title: Re: Simple,new modding
Post by: Wanderer on June 21, 2006, 02:47:58 pm
Table entries are simply pasted into the respective table files. Its important to paste them into proper places or to use modular table files... that is in general you can add only very few ships to the default FS ships.tbl until it hits the current limit of ship entries (iirc 128) in which case you may have to remove few of the entries to make room for the new ones. Use for example notepad or some generic editor like araneae or crimson edit for editing the table files after you have extracted the table file with for example VPView. If you choose to edit with wordpad or word make sure you wont save them in any other than ascii format.
Title: Re: Simple,new modding
Post by: Ace Pace on June 21, 2006, 02:56:46 pm
Table entries are simply pasted into the respective table files. Its important to paste them into proper places or to use modular table files... that is in general you can add only very few ships to the default FS ships.tbl until it hits the current limit of ship entries (iirc 128) in which case you may have to remove few of the entries to make room for the new ones. Use for example notepad or some generic editor like araneae or crimson edit for editing the table files after you have extracted the table file with for example VPView. If you choose to edit with wordpad or word make sure you wont save them in any other than ascii format.

Wasn't the ship.tbl limit the first thing changed with SCP?
Title: Re: Simple,new modding
Post by: Mobius on June 21, 2006, 03:26:18 pm
But I can't even delete ships!TBls here are untouchable!
Can you give me the link for thse programs?
Title: Re: Simple,new modding
Post by: Wanderer on June 21, 2006, 03:32:13 pm
Open the table files in some another program than TBLView. That is if you have VPView... open root_fs2.vp click on the tables on the list on the move mouse cursor over the ships.tbl and right-click. Select where to extract. Open the extracted file with notepad.

Link are found for example from here (http://homepage.ntlworld.com/karajorma/FAQ/intro.html)
Title: Re: Simple and new but impossible modding
Post by: Colonol Dekker on June 22, 2006, 04:22:04 am
I believe they're modular at the moment so FS automatically adds the data to the respective .tbl file, as to how it works (I'm an advocate of the old school make your own table method) someone else take this one please.
Title: Re: Simple and new but impossible modding
Post by: TrashMan on June 22, 2006, 03:43:45 pm
WTF? Have you checked if the tbl is read-only?

I don't know what the hell that could be all about - I allways use notepad/wordpad and jsut copy/paste or edit everything I want.
Title: Re: Simple,new modding
Post by: Mobius on June 22, 2006, 03:50:15 pm
Thanks,Wanderer.I'll build a statue in your honor as soon as possible.
Title: Re: Simple and new but impossible modding
Post by: Solatar on June 22, 2006, 05:55:08 pm
Don't use tableview....period. Use notepad or another text editor. I use Araneae (www.ornj.net) and a custom script for it to make it highlight the important parts in a Volition Table file.

EDIT: Reason being...tableview won't let you touch the files. You can look at them until the world blows up, but you can't change a damn thing. If you open a .tbl file in notepad, you can edit it (like ships.tbl)
Title: Re: Simple and new but impossible modding
Post by: WMCoolmon on June 22, 2006, 08:22:25 pm
I think you guys misunderstood him. (Or maybe I misunderstood him :nervous:)

@LieutenantGeneralMobius, yes, you should be creating a new tbl file. First, don't use word though. Second, you don't ever want to overwrite the ships.tbl in a VP, unless you are creating your own mod.

If you're using SCP, you can just take the table entry included with the mod and stick it in a file like so:

Freespace 2/data/tables/ship_name-shp.tbm
Code: [Select]
#Ship Classes
;; Table data goes here
#End

Note that everything before "-shp.tbm" can be anything you choose, as long as the total filename is less than 32 letters/numbers. Also, "Freespace 2" represents the place that you have Freespace 2 installed.


If you don't have SCP, you'll have to create a new "ships.tbl" in data/tables, copy-paste the stuff from the original ships.tbl in, and then add the data from the mod's .zip right below "#Ship Classes"
Title: Re: Simple, new modding! Now all in one thread!
Post by: Taristin on June 23, 2006, 08:50:24 am
For all the community:my internet connection gives problems...doubling a post is a consequence...if someone can eliminate it...
My problem remains,however!

Mm, Both threads have been merged into this one. It should have all your answers in it.

(I can't believe that no one else noticed there were 2 threads on the subject.
Title: Re: Simple, new modding! Now all in one thread!
Post by: Mobius on June 23, 2006, 02:14:55 pm
In fact I solved the problem in the other thread...