Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: About the B-17s delicate fuel tanks  (Read 282 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
About the B-17s delicate fuel tanks
« on: March 15, 2024, 11:42:34 PM »

I've been looking over certain classes to see why some behaviour seems strange. One of these oddities is the B-17's super delicate fuel tanks (and for other bombers, too). The net result is what seems to be a too-great ease in knocking them down; even a quick burst with small calibre fire, once getting a tank to smoke, often progresses to fire and destruction in fairly short order. If we look at a few getEnergyPastArmor() values:

B-17: 0.06 (same for B-24, B-29)
B-25: 0.2
F4F: 0.8
A6M: 0.1, with randomness of 45%
B5N: 0.1, with randomness of 25%

The B-17's tank is more delicate than than the Zero's, and with not even a chance of a qualifying hit not causing damage!

I'm starting to wonder if some degree of rationalizing of damage characteristics might be in order...
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Re: About the B-17s delicate fuel tanks
« Reply #1 on: March 15, 2024, 11:51:00 PM »

For the Beaufighter we have this outright error for the fuel tanks in BEAU.class:

if(getEnergyPastArmor(2.1F, shot) > 0.0F && World.Rnd().nextFloat() < 10.25F)


World.Rnd().nextFloat() generates a random value between 0 and 1. By testing against 10.25, the condition is always true. I suspect the correct comparator is 0.25, not 10.25. Of course, this would reduce instances of damage by hits of qualifying energy by a factor of 4, making the tanks effectively 'tougher' still.

Note also the large value of 2.1 for the penetrating energy as compared to the values in the first post.


ADDED IN EDIT: The SBD has the very same code error (and energy threshold); one is probably a copy of the other.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6040
Re: About the B-17s delicate fuel tanks
« Reply #2 on: March 16, 2024, 12:06:40 AM »

And why is the Pete (F1M) so comparatively hard to light up for a Japanese bird? The threshold Energy value of 0.8 in combination with a 45% probability for incurring damage, that's why. This effectively makes the fuel tanks a bit more than 2X 'tougher' than the Wildcat's!

Moreover, damage will increment the tank damage state by a value of 1. For a number of other Japanese crates, such as the Zero, a damaging hit will increment the tank damage state by 2 steps, leading more quickly to fire and destruction.

from Pete_v1.class
Code: [Select]
if(s.startsWith("xxtank"))
{
int l = s.charAt(6) - 49;
if(l > 3)
return;
if(getEnergyPastArmor(0.8F, shot) > 0.0F && World.Rnd().nextFloat() < 0.45F)
{
if(FM.AS.astateTankStates[l] == 0)
{
debuggunnery("Fuel Tank (" + l + "): Pierced..");
FM.AS.hitTank(shot.initiator, l, 1);
FM.AS.doSetTankState(shot.initiator, l, 1);
}
if(World.Rnd().nextFloat() < 0.008F || shot.powerType == 3 && World.Rnd().nextFloat() < 0.6F)
{
FM.AS.hitTank(shot.initiator, l, 1);
debuggunnery("Fuel Tank (" + l + "): Hit..");
}
}
return;
} else
{
return;
}
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9540
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: About the B-17s delicate fuel tanks
« Reply #3 on: March 16, 2024, 07:30:18 AM »

Once again, a very interesting subject.
I've seen that in my game the B-17s have been modified to have a value of 1.8.
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Knochenlutscher

  • Flying Ass Clown #10
  • Modder
  • member
  • Offline Offline
  • Posts: 4585
  • aka Segfej
Re: About the B-17s delicate fuel tanks
« Reply #4 on: March 16, 2024, 09:29:10 AM »

Indeed, strange stuff.

But sounds you're the right in charge to crack the coconut.
Logged
Wiseman : "Did you speak the exact words?" Ash : "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah."
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 24 queries.