Author Topic: ship.tbl eduting question  (Read 1775 times)

0 Members and 1 Guest are viewing this topic.

Offline S-110

  • 24
ship.tbl eduting question
I'm new to FS modding, but so far a lot of fun.  I'm having an odd problem though, and am totaly confused about it.  When messing around with the ships.tbl I tried adding in the fluff text for the Anubis fighter and the Amun bomber, but each time I put it in the same format as for every other player ship in the game they cause an error and nothing will load after them in the list.  If I do not put them in the correct format the table loads just fine and the ships work ok, though these two do not display the fluff strings.  It is just these two - I have been able to set up all other fighters and bombers including the Shivans to allow the text just fine - by that I mean  also the others display correctly in the load-out screens.  Any ideas or just gremlins in the game code?

Thanks!
The best laid plans o' mice and men gang aft aglay.

 

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
ship.tbl eduting question
I may be wrong (haven't messed with it in a long time) but I think all you need to do is to open the table file in wordpad, do whatever you want to it (adding more tech descriptions shouldn't be a problem) and then save, then put it in FreeSpace2\data\tables and it should load fine.
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read

 

Offline LtNarol

  • Biased Banshee
  • 211
    • http://www.3dap.com/hlp/hosted/the158th
ship.tbl eduting question
there should be a number to the right of the tech discription fluff, try replacing that with -1

  

Offline pyro-manic

  • Flambé
  • 210
ship.tbl eduting question
Hey there, S-110!

I've done a bit of tbl modding, and if you're trying to do what I think you're trying to do, then it's easy:
1) Open the tbl, using either wordpad or notepad.
2) Use the "find" command in the edit menu to get to the ship you want to change (it'll take ages to scroll through the whole list)
3) to add to the description, just type in between the quotation marks. then save and run the game to test.

Be very careful that you don't delete anything by mistake. All the punctuation marks in there are required (apart from semi-colons), or the game won't load.

PM me if you want me to have a look.:)
Any fool can pull a trigger...

 

Offline S-110

  • 24
ship.tbl eduting question
Well, I don't have trouble actually editing the files, just with the two ships, the Anubis and the Amun.  I'll post the examples of what causes the error:


$Name: PVB Amun
$Short name: VBomb7
$Species: Vasudan
+Type: XSTR( "Heavy Bomber", 1)
+Maneuverability: XSTR( "Very Poor", 1)
+Armor: XSTR( "Heavy", 1)
+Manufacturer: XSTR( "PVN", 1)
+Description: XSTR( " ", 1)
+TechDescription: XSTR( " «insert fluff text here»", 1)
$end_multi_text


The above allows the ship in game, but no text string.


$Name: PVB Amun
$Short name: VBomb7
$Species: Vasudan
+Type: XSTR( "Heavy Bomber", 1)
+Maneuverability: XSTR( "Very Poor", 1)
+Armor: XSTR( "Heavy", 1)
+Manufacturer: XSTR( "PVN", 1)
+Description: XSTR( " ", 1)
$end_multi_text
+TechDescription: XSTR( " «insert fluff text here»", 1)
$end_multi_text


Making that change causes the error every shot, though all other player ships work correctly when in this format.  I feel like I'm missing something stupidly obvious...  :confused:  

Thanks again for any light you folks can shed on this one!
The best laid plans o' mice and men gang aft aglay.

 

Offline Darkage

  • CRAZY RENDER RABBIT
  • 211
ship.tbl eduting question
Quote
Originally posted by S-110
Well, I don't have trouble actually editing the files, just with the two ships, the Anubis and the Amun.  I'll post the examples of what causes the error:


The above allows the ship in game, but no text string.


Making that change causes the error every shot, though all other player ships work correctly when in this format.  I feel like I'm missing something stupidly obvious...  :confused:  

Thanks again for any light you folks can shed on this one!



$Name: PVB Amun
$Short name: VBomb7
$Species: Vasudan
+Type: XSTR( "Heavy Bomber", -1)
+Maneuverability: XSTR( "Very Poor", -1)
+Armor: XSTR( "Heavy", -1)
+Manufacturer: XSTR( "PVN", -1)
+Description: XSTR( " ", -1)
$end_multi_text
+TechDescription: XSTR( " «insert fluff text here»", -1)
$end_multi_text


The - charter must be there. Like i did above.
Now all the text should be displayed properly without crashes or any other error.


Btw...Welcome to the HLPBB enjoy your stay:)
[email protected]
Returned from the dead.

 

Offline S-110

  • 24
ship.tbl eduting question
Thanks for the welcome :)

Well, gave it a shot but still no dice.  Dunno why it is just these two ships either.  I'm gonna see if maybe renaming the things will help - not what I want, but might be something in a name after all.
The best laid plans o' mice and men gang aft aglay.

 

Offline pyro-manic

  • Flambé
  • 210
ship.tbl eduting question
Hmm, weird.

Tell you what - I've got the Amun and Anubis in my table, and they seem to work fine. I'll send them to you if you want, so you can try using them instead. :)
Any fool can pull a trigger...

 

Offline S-110

  • 24
ship.tbl eduting question
Thanks!

[email protected]  is the one I use the most 'cause I can get it at work  :)

Usually I can find out what is wrong with files like these, but for some reason mine are not behaving as they ought to.  

I'm not usually the superstitious type, but I remember my grandfather's WW2 buddies telling stories about seeing gremlins dancing on the wings of airplanes... In this case I'm really starting to wonder if they migrated to electronic  fighters and bombers lol.
The best laid plans o' mice and men gang aft aglay.