Author Topic: Quick Question  (Read 1376 times)

0 Members and 1 Guest are viewing this topic.

Offline Gai Daigoji

  • Gekigangar!
  • 28
    • http://www.freewebs.com/neo-terra
I wish to add a new ship to my campaign, however I've never gone about doing this before with Freespace 2. I have data I need to place in the fs2 ship.tbl file but it won't let me edit the file itself (Won't let me paste the new information in)

Do I need a program to do this? Or I'm I just going about it the wrong way?

Any help you can give me would be great.
Freespace 2: Neo-Terra - My Freespace 2 website that holds my completed FS2 campaigns.

Darkness Rising - Current campaign I'm working on.

Mission Designer for the Wing Commander Saga.

CURRENT PROJECT: Darkness Rising, WCS
COMPLETED PROJECTS: Neo-Terra, Unification Prequel, Solar Wars Chapter 1, Deep Blood, Return to Neo-Terra (Part 1).

 

Offline an0n

  • Banned again
  • 211
  • Emo Hunter
    • http://nodewar.penguinbomb.com/forum
Don't use TBL View. Just open it up in NotePad and paste it in that way.
"I.....don't.....CARE!!!!!" ---- an0n
"an0n's right. He's crazy, an asshole, not to be trusted, rarely to be taken seriously, and never to be allowed near your mother. But, he's got a knack for being right. In the worst possible way he can find." ---- Yuppygoat
~-=~!@!~=-~ : Nodewar.com

 

Offline aldo_14

  • Gunnery Control
  • 213
NB: FS2 tbls are just ASCII text files. :)

 

Offline Liberator

  • Poe's Law In Action
  • 210
Make it easier on yourself, use a modular table file.

Just paste:

#Ship Classes

on it's own line at the beginning, and

#end

on it's own line at the end of the table entry.

As I understand it you don't have to have a whole entry, if you are modding an existing ship, you can just have the parts that change and it works.  This last part could be wrong however.

Here is the Raynor done as a modular table entry:
#Ship Classes
$Name:                          GTD Raynor
$Short name:               TCap
$Species:                       Terran
+Tech Description:
XSTR("Designed to more adequately hold its own against Shivan ships first enountered during the second great war, the Terran Raynor class is the largest production destroyer in service within the GTVA.  Its twelve primary beam cannons, each devastating in its own right, can focus at least 50% of the ship's main firepower across most of the ship's length.  The Raynor was designed more to provide heavy fire support than to deploy fighter wings, and has a significantly smaller hanger bay as a result.  At present, Raynor class vessles generally operate in conjunction with a Hecate destroyer, with the Hecate providing a large fighterbase and the Raynor providing heavy fire support; however, Raynor class vessles have been effectively deployed alone, and can hold their own against all but the most relentless enemy attack.  The GTD Raynor measures over three kilometers in length, and has an onboard crew compliment of 12,000 men and women.", 3051)
$end_multi_text
$POF file:               raynor.pof
$Detail distance:         (0, 11500, 311000, 441000)
$Show damage:            NO
$Density:               1
$Damp:                  0.2
$Rotdamp:               1.5
$Max Velocity:            0.0, 0.0, 20.0
$Rotation time:            150.0, 150.0, 150.0
$Rear Velocity:            0.0
$Forward accel:            20.0
$Forward decel:            10.0
$Slide accel:            0.0
$Slide decel:            0.0
$Expl inner rad:         100.0
$Expl outer rad:         2400.0
$Expl damage:            400.0
$Expl blast:            6500.0
$Expl Propagates:         YES                                                    
$Shockwave Speed:         600.0                                           ;; speed shockwave expands at, 0 means no shockwave
$Shockwave Count:         4
$Default PBanks:         ()
$Default SBanks:         ()
$SBank Capacity:         ()
$Shields:               0
$Power Output:            100.0
$Max Oclk Speed:         8.0
$Max Weapon Eng:         100.0
$Hitpoints:               150000
$Flags:                  ( "capital" "big damage" "in tech database")
$AI Class:               Captain
$Afterburner:            NO
$Countermeasures:         0
$Scan time:                     2000
$EngineSnd:       138                   ;; Engine sound of ship
$Closeup_pos:           0.0, 0.0, -2820
$Closeup_zoom:          0.5
$Score:             1000
$Subsystem:                     Turret01, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret02, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret03, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret04, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret05, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret06, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret07, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret08, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret09, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret10, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret11, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret12, 1.875, 3.0
   $Default PBanks:        ( "BGreen" )
$Subsystem:                     Turret13, 1.875, 3.0
   $Default PBanks:        ( "Heavy Flak" "Heavy Flak" )
$Subsystem:                     Turret14, 1.875, 3.0
   $Default PBanks:        ( "Heavy Flak" "Heavy Flak" )
$Subsystem:                     Turret15, 1.875, 3.0
   $Default PBanks:        ( "Heavy Flak" "Heavy Flak" )
$Subsystem:                     Turret16, 1.875, 3.0
   $Default PBanks:        ( "Heavy Flak" "Heavy Flak" )
$Subsystem:                     Turret17, 1.875, 3.0
   $Default PBanks:        ( "Heavy Flak" "Heavy Flak" )
$Subsystem:                     Turret18, 1.875, 3.0
   $Default PBanks:        ( "Heavy Flak" "Heavy Flak" )
$Subsystem:                     Turret19, 1.875, 3.0
   $Default PBanks:        ( "Heavy Flak" "Heavy Flak" )
$Subsystem:                     Turret20, 1.875, 3.0
   $Default SBanks:        ( "Cyclops" "Cyclops" )
$Subsystem:                     Turret21, 1.875, 3.0
   $Default SBanks:        ( "Cyclops" "Cyclops" )
$Subsystem:                     Turret22, 1.875, 3.0
   $Default SBanks:        ( "Cyclops" "Cyclops" )
$Subsystem:                     Turret23, 1.875, 3.0
   $Default SBanks:        ( "Cyclops" "Cyclops" )
$Subsystem:                     Turret24, 1.875, 3.0
   $Default SBanks:        ( "Cyclops" "Cyclops" )
$Subsystem:                     Turret25, 1.875, 3.0
   $Default SBanks:        ( "Cyclops" "Cyclops" )
$Subsystem:                     Turret26, 1.875, 3.0
   $Default PBanks:        ( "Terran Turret" )
$Subsystem:                     Turret27, 1.875, 3.0
   $Default PBanks:        ( "Terran Turret" )
$Subsystem:                     Turret28, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )
$Subsystem:                     Turret29, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )
$Subsystem:                     Turret30, 1.875, 3.0
   $Default PBanks:        ( "Terran Turret" )
$Subsystem:                     Turret31, 1.875, 3.0
   $Default PBanks:        ( "Terran Turret" )
$Subsystem:                     Turret32, 1.875, 3.0
   $Default PBanks:        ( "Terran Turret" )
$Subsystem:                     Turret33, 1.875, 3.0
   $Default PBanks:        ( "Terran Turret" )
$Subsystem:                     Turret34, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )
$Subsystem:                     Turret35, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )
$Subsystem:                     Turret36, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )
$Subsystem:                     Turret37, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )
$Subsystem:                     Turret38, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )
$Subsystem:                     Turret39, 1.875, 3.0
   $Default PBanks:        ( "AAAf" )

$Subsystem:                     navigation,     5, 0.0
$Subsystem:                     communications,  5, 0.0
$Subsystem:                     weapons,        15, 0.0
$Subsystem:                     sensors,        5, 0.0
$Subsystem:                     engines,        35, 0.0
   $Engine Wash:   Default900
$Subsystem:                     fighterbay,     0, 0.0
#end

Works like a charm.

The only downside is it will appear at the end of the Tech Room list.
So as through a glass, and darkly
The age long strife I see
Where I fought in many guises,
Many names, but always me.

There are only 10 types of people in the world , those that understand binary and those that don't.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
You guys are forgetting one important fact... save the new table to your Freespace2/data/tables/ folder.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
You forgot the most important part of all, Do NOT save with  SAVE AS... Use simply SAVE and overwrite old file. Otherwise it will save it as a text file and not work with FS2 anymore...

  Using SAVE even with note or wordpad will still save it in the form of a FS2 table file.

   Pretend people are doing this for the first time, it's nice to know trivia like that.
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

  

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Well if you save it from when you open it in VPView or TableView it would just save it to the temporary directory the application extracted it to. Naturally the table file needs the .tbl extension for it to work.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...