Author Topic: n00b requiring assistance  (Read 4035 times)

0 Members and 1 Guest are viewing this topic.

n00b requiring assistance
Though I have done a couple searches and checked several stickies, I could not find the information I required.

At the moment, I want to add several spacecraft that I have downloaded into the game. Unfortunately, I have no idea how to do this properly. If you would be so kind, may I have an explanation? If you don't want to explain it yourself, a link to the proper page on the wiki would be appreciated too.

As I've said, I did check the forum several times, but if I happened to miss a critical piece of info in plain sight, please forgive me.

 
Re: n00b requiring assistance
Depending on whether you have tables for it. you can check the wiki: http://www.hard-light.net/wiki/index.php/Ships.tbl

 
Re: n00b requiring assistance
It's just as simple as adding the tables? Whoah.

But not to be demanding or anything, but what if said ships do not carry weaponry that was in the original game? Would the weapons tables need to be modified too?

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: n00b requiring assistance
yeah.
(´・ω・`)
=============================================================

 
Re: n00b requiring assistance
You would also need to check the weapon graphics and sounds, which may or may not have to be added as well. If there are custom sounds, you'll probably want to edit sounds.tbl or something.

 
Re: n00b requiring assistance
Also, do I need to do anything with the .pcx files or ,pofs?

 

Offline Excalibur

  • 28
  • Forsee a new beginning.
Re: n00b requiring assistance
Well, as far as I know, .pofs go in the models folder, .pcx files in the maps folder (this is for ships, nebulae etc. go in effects) if they look like hull textures. I think thruster effects, weapons effects, etc. go in the effects folder.
His legacy will last until the beginning.

 

Offline shiv

  • Don't forget Poland!
  • 211
  • FRED me!
    • http://freespace.pl
Re: n00b requiring assistance
For small mods I suggest using TBM files instead TBLs. It's just my suggestion.
http://www.sectorgame.com/vega
The Apocalypse Vega - Join the battle! A campaign for FreeSpace 2 Open

http://www.game-warden.com/earthdefence
Earth Defense project - Coming soon...

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: n00b requiring assistance
For small mods I suggest using TBM files instead TBLs. It's just my suggestion.
QFT

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Re: n00b requiring assistance
For small mods I suggest using TBM files instead TBLs. It's just my suggestion.
Do it before Kara chews you out the way he did me.

Kara has made me in fear of him.
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: n00b requiring assistance
Ideally, ALL mods bar TCs should use .tbms.

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Re: n00b requiring assistance
Ideally, ALL mods bar TCs should use .tbms.
QFT
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: n00b requiring assistance
Sometimes, you have to use a TBL, especially if you're adding more ships that the default tables will allow you to, though...
(´・ω・`)
=============================================================

 

Offline ShadowGorrath

  • Not funny or clever
  • 211
Re: n00b requiring assistance
ASW is in .tbls mostly. At some cases normal tables are better for convenience.

 

Offline Water

  • 210
Re: n00b requiring assistance
At the moment, I want to add several spacecraft that I have downloaded into the game. Unfortunately, I have no idea how to do this properly. If you would be so kind, may I have an explanation? If you don't want to explain it yourself, a link to the proper page on the wiki would be appreciated too.
So once you have  downloaded  them..

You edit each of them in a modeling package and export to PCS for conversion
You then add weapons and other stuff and save to pof
Then the tables get sorted so the game knows what to do with the stuff.
After that you put the pofs, textures and tables in the right places.
Finally you create missions using the new stuff.

So which part are you at?

 
Re: n00b requiring assistance
Quote
So once you have  downloaded  them..

You edit each of them in a modeling package and export to PCS for conversion
You then add weapons and other stuff and save to pof
Then the tables get sorted so the game knows what to do with the stuff.
After that you put the pofs, textures and tables in the right places.
Finally you create missions using the new stuff.

So which part are you at?

Well, the files came with .pof's, so I'm guessing I don't need to do any conversion work. I've also edited the ships table to include the ships. There was also a weapon table included with the Arkangel, so I spliced that into the main table too.

This means that I'm at the part where I need to put the .pof, .pcx, and .dds files where they need to be. The locations elude me though.

And thank you for the replies everyone. They have been enlightening, for the most part.

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Re: n00b requiring assistance
.POFs to data/models folder
.PCXs and .DDSs to data/maps folder

Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 

Offline Krelus

  • 28
Re: n00b requiring assistance
Allow me to reiterate the importance of adding .tbm's... The only time you should add a new .tbl is if you do something universal, like add a new primary to all existing fighters. Small-quantity modding with .tbl's can lead to a mess.

  
Re: n00b requiring assistance
I have no such folders. This is probably because I'm running on FreeSpace Open. I apologize for not giving more information sooner.

But if I don't have the folders, could I simply make them?

And one more thing: When trying to run the game without mods, I get an error message:

Quote

Error: weapons.tbl(line 2225:
Error: Required token = [#End] or [$Name], found [-1]
in weapon: PDS-Defender.

File: PARSELO.CPP
Line: 670


Call stack:
-----------------------------------------------
-----------------------------------------------

[ This info is in the clipboard so you can paste it somewhere now ]


Can you make sense of it?

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Re: n00b requiring assistance
Yep. At line 2225 of your weapons.tbl, the parser is looking for an [#End] tag, but found a -1 instead. The weapons.tbl is split into primary and secondary sections, and the new weapons must go into the appropriate sections. There is an #End tag that marks the end of the primary section and the secondary section; these tags must be placed at the end of both primary and secondary sections so that the parser knows the sections have ended.

The data folder can be found in your FSO directory. The models and maps folders are inside the data folder.

The reason .tbms are easier for relatively small time changes is because the parser will automatically insert it into its appropriate sections in the main .tbl 'buffer' when the game loads.
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!