Author Topic: Never, ever, start making ships.tbl tags optional...  (Read 1629 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Never, ever, start making ships.tbl tags optional...
...it's highly addictive. ;)

The full list of required tags in ships.tbl is now:
Code: [Select]
$Name:
$POF file:


Of course, that'll just give you a cargo box with basically no explosion, hitpoints of 100, and unpredictable physics. :p

All the optional tags default to 0 or some reasonable amount (eg $max oclk speed defaults to 1.5 times the ship's normal speed)

I tossed in some code to automatically calculate techroom stuff as well. (Zoom, position)
-C

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Never, ever, start making ships.tbl tags optional...
Cool.  No more broken tables over sonething stupid.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Never, ever, start making ships.tbl tags optional...
Actually, you can still run into errors if you put the tags in the wrong order.

I wonder if WMC's next accomplishment will be to remove that restriction. :nervous:

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Never, ever, start making ships.tbl tags optional...
Probably not. :p

It'd mean you'd have a devil of a time reading tables if someone was lazy, and make the parser more likely to make mistakes...

More likely would be to make modular tables leave unspecified values alone, or make Ship_info dynamically allocated again, so that people could use modular tables. :D

Or finish the *ahem* storybook :nervous:
-C

 

Offline FireCrack

  • 210
  • meh...
Never, ever, start making ships.tbl tags optional...
Make pof file default to that big question mark pof.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Never, ever, start making ships.tbl tags optional...
cool. i need a way to add new weapons to old ships without redoing the entire table entry.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Never, ever, start making ships.tbl tags optional...
Quote
Originally posted by FireCrack
Make pof file default to that big question mark pof.


Should I have name default to something too? Invisible ship entries!! :lol:

I think if you're too lazy to even make a cube to represent your ship, a tbl entry isn't going to do you much good. :p

...But I might. :drevil:
-C

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Never, ever, start making ships.tbl tags optional...
Quote
Originally posted by FireCrack
Make pof file default to that big question mark pof.


Or the Ulysses perhaps?
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Never, ever, start making ships.tbl tags optional...
Quote
Originally posted by WMCoolmon


Should I have name default to something too? Invisible ship entries!! :lol:
 


So you hit the ship limit with one vessel because the game autogenerates 300 entries? :rolleyes:
Freelance Modeler | Amateur Artist

 

Offline Flipside

  • əp!sd!l£
  • 212
Never, ever, start making ships.tbl tags optional...
Quote
Originally posted by TopAce


Or the Ulysses perhaps?


I think the '?' is a lot better idea, especially for campaigns, which may use Ulysses' in the mission, making it difficult to find out what's going wrong.

 
Never, ever, start making ships.tbl tags optional...
Not that difficult. In fact, it can even be painfully obvious.

Command: "CRAPJINKENS! THE GIGAS IS GONNA KILL US ALL!"

*Gigas emerges from subspace*

Command: "Huh, thought it would be larger."

*Alpha 1 takes down Ulysses*

Command: "Congrats, pilot! You've saved the universe from almost certain doom! How ever did you do it?"

*Promotions follow*
« Last Edit: April 16, 2005, 07:21:25 pm by 1278 »

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Never, ever, start making ships.tbl tags optional...
Quote
Originally posted by Flipside


I think the '?' is a lot better idea, especially for campaigns, which may use Ulysses' in the mission, making it difficult to find out what's going wrong.

Obviously they left the $POF file tag out. :p
-C

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Never, ever, start making ships.tbl tags optional...
Quote
Originally posted by Flipside


I think the '?' is a lot better idea, especially for campaigns, which may use Ulysses' in the mission, making it difficult to find out what's going wrong.


This aspect of yours is right. I wasn't thinking of this while typing that post. I concur.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.