Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: FUBAR-BDHR on March 21, 2008, 03:11:17 pm
-
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.
-
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?
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.
-
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?
-
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.
-
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 :)
-
Well it works that way in FS2 retail and open but doesn't work the same in TBP.
-
Isn't TBP executable an SCP derivative?
Maybe Karajorma can shed some light. :) night/morning i'm gonna sleep.
-
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.
-
Sounds like someone has messed up the way shockwaves work. Mantis it and attach the version that works in FS2 Retail to the report.
-
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.