Author Topic: Capital Ship Hangars  (Read 6741 times)

0 Members and 1 Guest are viewing this topic.

I don't know if this is the right place for this, but here goes...

Could something be included to detect a hit on the hangar of a capital ship, either by giving the hangar a damage rating or introducing a new sexp. A damage rating would be preferable.

This is quite important, as a hangar that is hit with a cyclops or helios won't be launching many fighters. (A more interesting re-write of Slaying Ravana could be on the cards if such a feature is introduced)

Or is this  Bugzilla? :confused:

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
*Sesquipedalian sights his friend Cuttenslise*

Fire Control, acquire lock on target.  Warm up the Welcome Beam, and... FIRE!

Exits are to the sides and rear.  In case of emergency, flamethowers are located beneath your seat.  If a large hungry Shivan jumps you, its probably just Carl.  Give him your lunch and he'll go away happy.

Anyway, it's good to see you.  We'll be getting our own forum here in the next day or two for SA.

As for your question, that actually pretty easy to solve. :)  In your ships.tbl, and find the entry of the ship you want to change.  In the entry, find the line (or lines) that look like this:

$Subsystem: fighterbay01, 0,0.0

and change the first number after the subsystem name to a positive value.  This value represents what percentage of the ship's hit points the subsystem has.  Following FS precedent, one might change the above line to:

$Subsystem: fighterbay01, 5,0.0

Your fighterbays will now take damage (though for some reason they won't show a percent left on the HUD target box like other subsystems) and can even be destroyed.
« Last Edit: November 27, 2002, 06:00:56 am by 448 »
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 
Hi, Sesquipedalian, thanks for the welcome.

Anyway, your answer is just what I am looking for. However, I am now assuming that anyone who wished to play a mission with this feature enabled would need to update their ships.tbl in the same fashion, which when using the standard FS2 ships could be slightly awkward. However, for new capital ships this arrangement is ideal.

Will you incorporate this feature in the SA capital ships?

Look forward to seeing the new SA board, and hopefully becoming part of the SA team.

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Quote
Originally posted by Sesquipedalian


Your fighterbays will now take damage (though for some reason they won't show a percent left on the HUD target box like other subsystems) and can even be destroyed.


but i guees it can still launch fighters right ?, since the paths will still be there.

if so, bad thing if the mission uses waves.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Solatar

  • 211
I thought that if the fighterbay was destroyed, then no more fighters from wings that launch from that fighterbay launch. Same as if the whole ship is destroyed.

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
hmm maybe, maybe not, maybe it just uses thats last path vert as exit/enter point.

dunno havent looked, thats why i asked.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Quote
Originally posted by Hades
I thought that if the fighterbay was destroyed, then no more fighters from wings that launch from that fighterbay launch. Same as if the whole ship is destroyed.


Not sure if the fighterbay affects the ships launching from it (since normally they can't be destroyed) but an easy fix that ought to work would be to use is-subsystem-destroyed in the ships arrival cues. :)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Inquisitor

split this to it's own thread, it was kinda buried in the release thread...
No signature.

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Oh sure, it'll still be able to launch fighters if you want it to.  To accomplish the effect of not launching fighters from a damaged/destroyed fightrbay one uses usual sexp-type methods (e.g. setting the arrival cue not to be true if the f-bay's hitpoints are below X percent).
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Quote
Originally posted by Cuttenslise

Anyway, your answer is just what I am looking for. However, I am now assuming that anyone who wished to play a mission with this feature enabled would need to update their ships.tbl in the same fashion, which when using the standard FS2 ships could be slightly awkward. However, for new capital ships this arrangement is ideal.
One just has to include a modified ships.tbl entry along with the mission, and instructions in case someone doesn't know how to edit their table files.

Quote
Will you incorporate this feature in the SA capital ships?
If called for by a Fredder, sure.  That would just be a drop in the bucket compared to all the table hacking going on for SA.

Quote
Look forward to seeing the new SA board, and hopefully becoming part of the SA team.
Soon and very soon! :nod:  I've now received access, so I just have to get the site ported over from Angelfire, and then have the admins set up the board itself.
« Last Edit: November 27, 2002, 06:15:08 pm by 448 »
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 
Quote
Originally posted by Sesquipedalian
To accomplish the effect of not launching fighters from a damaged/destroyed fightrbay one uses usual sexp-type methods (e.g. setting the arrival cue not to be true if the f-bay's hitpoints are below X percent).


Another interesting variant of this would be that, providing the hangar was not destroyed (and therefore all craft contained within it), all the craft within it could be damaged by a random percentage. (Say between 0 and twice the damage level sustained by the hangar.) This represents the blast ripping through the hangar and damaging exposed craft with shrapnel, debris and bodies, whilst craft that are tied down better or otherwise out of harms way remain relatively undamaged.

I know that you can do this with subsystems, but I am not sure about the hull.

Incidentally, I am one of those who doesn't know (yet) how to modify table files, although tblview and vpview both proved their worth this weekend.

Incidentally, if anyone is interested, the fwd flak turrets of a Sathanas Juggernaut are turrets 49 and 50. After two hours I had'nt worked that out; then with the help of VPView and dissecting 'Bearbaiting', I had the answer in 5 minutes. Marvellous.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
In FRED, if you select a capship and hit K, it will outline each turret and you can cycle through them.

:wtf: Why did you bump this, though?
"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 Sesquipedalian

  • Atankharz'ythi
  • 211
Extract the tbl file, and use Notepad and/or Wordpad to edit it.

Set-subsystem-random could probably do what you are looking to do as far as damaged fighters coming from damaged fighterbays goes.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 
Quote
Originally posted by GalacticEmperor
In FRED, if you select a capship and hit K, it will outline each turret and you can cycle through them.


I didn't know that. Well, you learn something new every day. :)

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by Sesquipedalian
Your fighterbays will now take damage (though for some reason they won't show a percent left on the HUD target box like other subsystems) and can even be destroyed.


Now they'll show damage. :) I added a mission flag (256) to do this.  You'll still have to modify the ship table, but now the HUD will show the percent damage.

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Nice!  So we have to stick that flag onto every mission, then, Goober?
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline Deepblue

  • Corporate Shill
  • 210
Quote
Originally posted by Sesquipedalian
*Sesquipedalian sights his friend Cuttenslise*

Fire Control, acquire lock on target.  Warm up the Welcome Beam, and... FIRE!

Exits are to the sides and rear.  In case of emergency, flamethowers are located beneath your seat.  If a large hungry Shivan jumps you, its probably just Carl.  Give him your lunch and he'll go away happy.

fire control target Cuttenslise


Double beam power :cool:

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by Sesquipedalian
Nice!  So we have to stick that flag onto every mission, then, Goober?


Yes.  To maintain compatibility, I didn't make it automatic.  You need the flag. :)

Quote
Originally posted by Deepblue
fire control target Cuttenslise


Double beam power :cool:


Uh, careful there, Deepblue.  I got yelled at for playing with the beams in another thread.  Make sure people don't see you messing around with the beam controls... :nervous:

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
What would it break?  :confused:

Even if a fighterbay subsystem is destroyed, it won't affect anything insofar as launching fighters or anything else is concerned.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Right - it wouldn't break anything, but after seeing the reaction from people when Phreak modified the targeting code and Bobboau added beam tiling, I decided to make the damage display contingent on a mission flag.  Just to keep things familiar. :)