Author Topic: Special explosion questions  (Read 2073 times)

0 Members and 1 Guest are viewing this topic.

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Special explosion questions
Trying to make an event to tell if a ships was destroyed by a special explosion or not.  Only way I can think of doing it is to check the distance between the two ships at the time of the explosion and if the damage would be enough to kill the ship.  What I need to know is how the damage works for the special explosion.  Basically what do the inner and outer radius mean?  What is the shockwave speed measured in?  How do both effect blast damage?

Values I'm using:

Damage 40000
Blast 16000
Inner radius 750
Outer radius 1500
Shockwave on
Shockwave speed 591

The ship is also set to kamikaze so it blows up immediately. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Special explosion questions
I tried making a test mission to see damages.  6 identical ships at different distances with the mine in the middle.  Ran the test three times and got 3 different results.

Ship 1    distance of 500   run 1 damage 0   run 2 damage 0   run 3  damage 1
Ship 2    distance of 750   run 1 damage 10  run 2 damage 8   run 3  damage 18
Ship 3    distance of 1100  run 1 destroyed   run 2 destroyed   run 3  destroyed
Ship 4    distance of 1500  run 1 damage 62   run 2 damage 54   run 3  damage 86
Ship 5    distance of 2000   run 1 damage 0   run 2 damage 0   run 3  damage 0
Ship 6    distance of 2500   run 1 damage 0   run 2 damage 0   run 3  damage 0

I don't understand how the ships closest to the blast take less damage.  Not to mention how the same blast with the ships in the same position can result in such different results.

Did I just find another bug? 

Quote from: FRED2 docs
This lets you provide an unusual explosion when and if this ship is destroyed. Damage is the amount of damage taken by ships caught within the Inner Damage Radius of this ship when it blows. The amount of damage decreases steadily out to the Outer Damage Radius, where no damage is taken. Blast determines how hard anyone caught in the explosion is pushed away from it. The Shockwave is the blue visual effect seen on some large explosions.

According to that the ship that is 500 away should take the full 40000 damage which is about 3x it's hull. 

Just tried it with a 3.6.10 build and it does the same thing. 
« Last Edit: March 21, 2008, 06:01:42 pm by FUBAR-BDHR »
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 
Re: Special explosion questions
The inner radius damage is the damage taken when you're near the center of the blast, and the damage decreases down to the outer radius value. Right?
Fun while it lasted.

Then bitter.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Special explosion questions
That's what the docs say but that's not what is happening.  The ship that is 1100 away from the blast is taking the most damage.  The ship closest to the blast is taking little or no damage.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Special explosion questions
Bad grammar on :v: they shove read ships between the inner and outer ranges. Try setting the inner range to zero and see what happens :)
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Special explosion questions
Well it works that way in FS2 retail and open but doesn't work the same in TBP. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Special explosion questions
Isn't TBP executable an SCP derivative?
Maybe Karajorma can shed some light. :) night/morning i'm gonna sleep.
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Special explosion questions
It's the shockwave.  If I turn it off in TBP the explosion works fine destroying the 3 ships in range and damaging the 4th right at 1500.   Turn the shockwave on and it only kills the one ship between the 750 and 1500.  FS2 works fine with the shockwave on.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Special explosion questions
Sounds like someone has messed up the way shockwaves work. Mantis it and attach the version that works in FS2 Retail to the report.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Special explosion questions
It's in there.  I added the TBP test mission as well.  I didn't know what to classify this as though. 

Also noticed that with the shockwave turned off the blast is invisible.  Not sure if that is by design or not. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras