Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Hyper Ion on September 16, 2007, 07:17:01 pm

Title: How does one get models in FRED to work?
Post by: Hyper Ion on September 16, 2007, 07:17:01 pm
So far, the only one that I've got working is the Sirona. What I'm doing is slapping any .tbl info into ships.tbl and then throwing in whats left into the folder with that file. Here's a little doodad to illustrate.

>Games
>>Freespace2
>>>Sirona
       -ships.tbl
       -sirona.vp

And of course, I add the -mod sirona to the FRED2 extention.

Unfortunately, this seems to be the only model I can get working in FRED. Right now, for example, I'm trying to make Whitehall work. I've tried it with the Sirona stuff with and without all the files. Here's a diagram of the files without.

>>>Sirona
       -ships.tbl (Sirona stuff removed, Whitehall stuff added)
       -whitehall.pof
       -(Then all 8 of those image files that came with it, too lazy to copy the names)

In the past, I've also removed and then re-added the -mod sirona extention as well. Now then, seeing as how this method isn't working, how do I get it to work? The main reason I'm trying to do this in the first place is because I want to compare between multiple models and manipulate them, something I don't think current model viewers can do. (Besides, pcs2 doesn't load all of the textures for me and it's become very irritating)
Title: Re: How does one get models in FRED to work?
Post by: Black Wolf on September 16, 2007, 11:31:37 pm
Are you using .tbls or .tbms? If it's tbls you need to extract the relevant information and merge them together - the game can only handle one ships.tbl, even with -mod. Personally, I don't use -mod, I've got a dozen different data directories, so I might not be the best person to advise on kieeping files neat, but, err... well, it sounds like a tbm,/tbl mixup.
Title: Re: How does one get models in FRED to work?
Post by: Nuke on September 17, 2007, 12:16:37 am
i keep about 4 mod directories, one for nukemod, one for script dev, and 2 for experimental stuff.

anyway your mod directory should look like this

freespace2
>sirona
---*.vp
>>data
>>>tables
------*.tbl, *.tbm
>>>models
------*.pof
>>>maps
------*.pcx,*.dds,*.tga, ect...

and anything in the vps should follow the same data>diirs heirarchy.
Title: Re: How does one get models in FRED to work?
Post by: Cobra on September 17, 2007, 12:28:40 am
Try selecting Sirona in your launcher. I found this out completely by accident, because I was trying to FRED a mission and I kept getting FSPort data when there was no way it should have been. Then I got the idea that it might be because of the launcher.
Title: Re: How does one get models in FRED to work?
Post by: Hyper Ion on September 17, 2007, 08:04:54 am
Ah, I was missing the "data" subdirectory. But I've now come across another (possibly independent) problem involving the Whitehall. When I try having a fighter spawn at the fighter bays, Whitehall doesn't have any. In fact, Whitehall isn't even on the list of ships that have fighter bays. I've compared this with other destroyers, and they work out okay. It's like Whitehall doesn't have fighter bays, but they're there in the .pof and they're in the .tbl.
Title: Re: How does one get models in FRED to work?
Post by: karajorma on September 18, 2007, 02:27:25 pm
Place the ship in FRED and from the view menu turn on both of the path options. If you don't get any lines coming out of the fighter bay that's your problem, it's not pathed.
Title: Re: How does one get models in FRED to work?
Post by: Hyper Ion on September 18, 2007, 04:05:25 pm
The only red lines that are really missing are the ones from the cruiser bay. But, with all the four fighterbays, there are lines.
Title: Re: How does one get models in FRED to work?
Post by: colecampbell666 on September 18, 2007, 04:13:52 pm
If you want to put it into your main FS2 game, there is an easy way. Copy the ships info from a .tbl and paste it into a Notepad document. Click save and under the file name click "All Files". Save it as Sirona-shp.tbm. You must save a new ship .tbm with the suffix "-shp.tbm". Put the ship.pof into your models folder, the maps; .tga, .jpg, .dds, .pcx, etc. in your maps folder, and the .tbm in your tables folder.If you want to use it as a mod create a mod folder in your main directory, inside this folder create a data folder, and place the corresponding files in the folders inside the data folder (tables, maps, models)(You will have to create these folders).