Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Snail on January 21, 2007, 12:05:35 pm

Title: Exploding Fighters
Post by: Snail on January 21, 2007, 12:05:35 pm
I was playing some missions just now (well INFASA to be exact) and I killed which smashed into the side of a destroyer. It bounced off and exploded with some of DaBrain's pretty effects.

But I was thinking, wouldn't it be cool if instead of bumping off, how about making it so that if a fighter or bomber hits something with a larger mass than it, it instantly explodes instead of going bzzzzzzzzzboom. It would make for some cool moments.

What do you think? Would it be easy to implement? :)
Title: Re: Exploding Fighters
Post by: Trivial Psychic on January 21, 2007, 12:11:13 pm
There'd need to be a way to disable death-roll.  Sounds like either an ai_profiles.tbl addition, or something for objecttypes.tbl, which would cause a ship to breakup on impact, something like kamikaze behavior.
Title: Re: Exploding Fighters
Post by: Snail on January 21, 2007, 12:14:20 pm
But only when it hits something. Yeah, like kamikaze.
Title: Re: Exploding Fighters
Post by: Trivial Psychic on January 21, 2007, 12:23:23 pm
I had thought that there was an option added recently to control impact damage, but a quick check through the Wiki tables section, doesn't seem to locate it.  I bring this up because I wasn't sure if you wanted a fighter to be destroyed when it hits a cap-ship, regardless of its hull strength.
Title: Re: Exploding Fighters
Post by: Snail on January 21, 2007, 02:01:32 pm
If its rolling to its death and it hits a capship, it usually bounces off. I thought it would be better if it instantly blows up when it is death rolling and hits a capship.
Title: Re: Exploding Fighters
Post by: Goober5000 on January 21, 2007, 02:33:38 pm
There'd need to be a way to disable death-roll.
That's easy.  What's hard is coding the AI so the fighters don't hit the capships.
Title: Re: Exploding Fighters
Post by: Turey on January 21, 2007, 02:41:20 pm
There'd need to be a way to disable death-roll.
That's easy.  What's hard is coding the AI so the fighters don't hit the capships.

 :lol:

Yeah, "Protect" seems to be more like "Attack by Ramming".
Title: Re: Exploding Fighters
Post by: Agentbolt on January 21, 2007, 03:55:48 pm
One of the old FSport missions has exactly what you're talking about though.  I forget the name of it, you need to proctect the GTD Galatea from Kamikaze fighters.  The fighters will just fly right into the ship and explode on impact with a small shockwave.  It looks a little rough but it certainly seems do-able. 
Title: Re: Exploding Fighters
Post by: Dark Hunter on January 21, 2007, 05:28:54 pm
That's easy.  What's hard is coding the AI so the fighters don't hit the capships.

But that's the funny part!
Title: Re: Exploding Fighters
Post by: Snail on January 24, 2007, 03:49:43 pm
The Plato hit one of my wingmen like a baseball in "Out of the Dark, Into the Night". :)
Title: Re: Exploding Fighters
Post by: Dark Hunter on January 24, 2007, 06:13:06 pm
A CommNode whacked an Astaroth once... that was absolutely hilarious and I wish I'd recorded a vid of it.  :lol: