Special Aircraft Service

Please login or register.

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

Author Topic: Full Throttle Smoke Mod for B.A.T. 4.0  (Read 4299 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Full Throttle Smoke Mod for B.A.T. 4.0
« on: September 30, 2021, 05:03:00 PM »

UPDATE: Oct 01, 2021, 0400 UTC  I neglected to include the modded Aircraft.class, where the additional case for the invocation of the throttle smoke is now incorporated. (The stock check for carb cut-out smoke is left in place, which hopefully means a future incorporation of both carb cut-out and throttle smoke effects is possible, which would be coded in Motor.class.) If you downloaded the initial, incomplete archive, please do so again; sorry for the hoops I'm making you go through! But then, I do have to maintain my reputation as a scatterbrained, "absent-minded professor", as my Mom always said.  ;)   The updated readme file contents is reproduced below.


Get it here:

https://www.mediafire.com/file/jj646e0sjpw9179/%2521_00_Full_Throttle_Smoke_for_BAT_4.0.7z/file

Note that my conjecture on compatibility outside B.A.T. 4.0 to 4.1.1 (non-BAT 4.12 or B.A.T. 4.1.2 and beyond) is just that; conjecture! I've not yet updated my game beyond B.A.T. 4.0. If there are incompatibilities with later B.A.T versions, I hope someone will take the java file I supply and 'port' over the relevant code (a really easy process.)


From the included readme file:


Full Throttle Smoke Mod for B.A.T. 4.0-4.1.1 (possibly later, and possibly non-BAT 4.12)


Reintroduces the smoke effect when throttle exceeds 95% and RPM is > 2,000, for a good number of engines--not all.

This mod involves two important base classes; Aircraft and Motor. There's a *chance* you could have a mod already that involves one or both. If in any doubt, it's always wise to use the handy tool called classcheck.exe. This will reveal any potential conflicts.

These classes are taken from B.A.T. 4.0. It should be fine to B.A.T. 4.1.1, and *possibly* OK for all B.A.T 4.1.x, and *maybe* B.A.T. 4.2??? Furthermore, I *suspect* it'll be OK for non-BAT 4.12.



Some folk have lamented the loss of this effect in B.A.T. It got replaced with a less seldom seen smoke when some carburetor fed engines cut out. Such as for the early Spit and Hurri.

Here I've added the relevant replacement code in Motor.class, method getMixMultiplier(), to generate the throttle smoke. The carb cut-out smoke is thus disabled. It might be possible to have both, and at some point I may work on this.

In Aircraft.class, I add to the method doSetSootState the required additional test for "case 6". Also altered in this class is the landing light hue and projection distance. The light is made yellowish (as opposed to cyan), and the distance over which it is projected is 3km instead of 1km.



I include the .eff and the attending .mat and .tga files. These are updated from those supplied in my recent effect mod pack, so use these here!



The Motor.class hashed file:
  AF5F8A326C3FA53C

The Aircraft.class hashed files:
  DE723D323178ED64
  C6EF065E28F3732E
  4352BC2624ED0094
  C6A5F9E85251EA22
  08447B2E29097EB0
  4B598398AD1D180C

I include also the Motor.java and Aircraft.java files.



As always, this is free to use by any and all, for any purpose whatsoever, without restriction.



WxTech
Sep 30, 2021
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: 6013
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #1 on: September 30, 2021, 09:05:04 PM »

Update to include the missing (aargh!) Aircraft.class files! Back to punching myself in the head, hopefully to induce a reset (however temporary) in my competency.  ;)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

bomberkiller

  • Treffen sich zwei Jäger...!
  • Modder
  • member
  • Offline Offline
  • Posts: 4929
  • Bf-109G-6/R6 = Bomber Killer
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #2 on: October 04, 2021, 03:07:49 AM »

Hello WxTech,

just downloaded your overworked mod (deleted the old one for sure) and what should I say?

Your mod looks wonderful and run flawlessly!

Thank you so much.

With best regards,

 ]cheers[

Gerhard

Logged
FAC N° 9 ...cheers mein Schatz

DESPEREAUX

  • Modder
  • member
  • Offline Offline
  • Posts: 617
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #3 on: October 13, 2021, 03:26:10 AM »

Works in 4.2 in a place with a mod for a flame from the engine. :) Thanks a lot WxTech! ;)

Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #4 on: October 13, 2021, 04:48:00 AM »

What engine flame mod is this?
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

mikojan3

  • member
  • Offline Offline
  • Posts: 153
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #5 on: October 14, 2021, 10:59:05 AM »

normally was integrated in fxevolution mod and enginemod this
Logged

mikojan3

  • member
  • Offline Offline
  • Posts: 153
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #6 on: October 14, 2021, 11:00:36 AM »

What engine flame mod is this?
i think the name was full throttle flame and smoke
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #7 on: October 14, 2021, 11:06:28 AM »

Thanks for the pointer, Mikoyan; I'll look into that. I do already have both the full throttle smoke and the carburetor flooding smoke working together. I wonder if the exhaust flame can be added to the fold... I won't get my hopes soaring too high.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

mikojan3

  • member
  • Offline Offline
  • Posts: 153
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #8 on: October 14, 2021, 02:15:36 PM »

Thanks for the pointer, Mikoyan; I'll look into that. I do already have both the full throttle smoke and the carburetor flooding smoke working together. I wonder if the exhaust flame can be added to the fold... I won't get my hopes soaring too high.

in your effects package there already exist the file under the name Sanifullthrottle but the classfile is missing
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #9 on: October 14, 2021, 03:03:03 PM »

I just obtained the Full Throttle Smoke and Flame Mod from (((elsewhere))), and ported the relevant 4.12 code from SndAircraft.class to my BAT 4.0 game, to get the high throttle flames. Now I seem to have all three of throttle smoke, throttle flame and carb flooding smoke working together.

There would seem to be the capacity for some additional WEP effect or effects, but thus far I'm not seeing anything suggestive of such for the number of planes I've tried so far. I have added to the conf.ini [Mods] section the line, "WepEffect=1". Any plane you guys know of for which an additional WEP effect is noticeable, and thus good for checking things?
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

DESPEREAUX

  • Modder
  • member
  • Offline Offline
  • Posts: 617
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #10 on: October 15, 2021, 03:41:04 AM »

What engine flame mod is this?
It's about this fashion, I thought everyone saw it)
https://www.sas1946.com/main/index.php/topic,65835.0.html
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: Full Throttle Smoke Mod for B.A.T. 4.0
« Reply #11 on: October 15, 2021, 04:28:40 AM »

DESPEREAUX,
That mod you pointed to, isn't the flame only present at engine start-up?

The full throttle flame is present as a predominantly blue, pulsing glow, cycling between the various exhaust ports at any time in flight when the throttle is above about 86% (and the RPM is > 1,000.)

Anyway, I've succeeded to get this full throttle flame, the full throttle smoke, and the carburetor flooding smoke to all work together in BAT (4.0 for certain, and to 4.1.1 quite likely; it may require to adapt one or more of the latest relevant class versions to have this work in the latest BAT, but that should pose no great problem, I think.)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)
Pages: [1] 2   Go Up
 

Page created in 0.036 seconds with 26 queries.