# Special Aircraft Service

## Battlefield - Airborne - Tactical (BAT) => BAT Tech Help => Topic started by: DESPEREAUX on February 13, 2020, 02:41:45 AM

Title: On some P-47s, a green hood. [no bug detected]
Post by: DESPEREAUX on February 13, 2020, 02:41:45 AM
After update 3.8, on many P-47s, when viewed from the cockpit,(not in QMB) a green hood appeared. This is more often seen on standard skins. If you change the skin, it may not appear.
(https://i.postimg.cc/sg0wdmKX/2020-02-12-23-49-09.jpg) (https://postimg.cc/pmzDKDwb)
Title: Re: On some P-47s, a green hood.
Post by: lt_eurofighter on February 13, 2020, 05:47:14 AM
This scene has also come across in earlier versions like BAT 3.7. But it came back to normal after 1 second or so into the mission thus no big issue. Now it is quite strange if it stays on in the BAT 3.8.
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 13, 2020, 05:59:58 AM
I saw it for the first time, so I decided to report it. Yes, this does not present a problem. Thank you
Title: Re: On some P-47s, a green hood.
Post by: SAS~vampire_pilot on February 13, 2020, 08:12:10 AM
If someone knows where this originates and how to fix it, let's hear it. But IIRC the last time nobody had a clue as it was not happening for everyone.
Title: Re: On some P-47s, a green hood.
Post by: SAS~Storebror on February 13, 2020, 08:55:55 AM
Looks a bit like P-47 modpack plus some new 3D mod on top.
The P-47 Pack Cockpits have a part of the cowling added to the cockpit 3D model and when entering cockpit, materials from the plane 3D model get mapped to the cockpit 3D programmatically.
If however the external and/or internal 3D has been swapped in favour of a new mod, that dynamic mapping won't work anymore.
The quick solution is to hide that cowling mesh in the cockpit 3D (and maybe lift the cockpit a bit to avoid looking through the engine from behind in that case).
The full solution would be to adjust the cowling mapping accordingly.

]cheers[
Mike
Title: Re: On some P-47s, a green hood.
Post by: SAS~vampire_pilot on February 13, 2020, 09:16:04 AM
mapping I can't do.
If someone wants to help out, I can provide any 3do files they might need to look at though.
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 13, 2020, 10:12:02 AM
I’ll ask in the group, maybe someone understands this ..
Title: Re: On some P-47s, a green hood.
Post by: SAS~Storebror on February 13, 2020, 11:09:31 AM
I can take a look at it too, I think I remember that I've tackled the very same issue in Ultrapack not so long ago.

]cheers[
Mike
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 13, 2020, 11:27:43 AM
What can I say .. Many thanks Mike. The Earth rests on your shoulders :)
Title: Re: On some P-47s, a green hood.
Post by: Arthur-A on February 13, 2020, 02:16:34 PM
I had this issue, what helped in my case was - copying the BAT dll file into the root folder of the game with overwriting - the same file that you used before (either dll 1 or 2). I suggest trying it out. Hope it'll help.
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 13, 2020, 03:06:19 PM
Thanks, I’ll definitely try it
Title: Re: On some P-47s, a green hood.
Post by: SAS~vampire_pilot on February 13, 2020, 10:16:02 PM
For what it's worth, I did a test with all the various versions. Out of ten mission loads, I did not see this one single time.

could this indeed be incorrect HD dlls?
I would assume if HD dlls are wrong you would notice effects quite early and everywhere.
Title: Re: On some P-47s, a green hood.
Post by: vpmedia on February 14, 2020, 12:15:31 AM
The hd dll's will probably not work in directx mode. Just a wild guess, because I never used the hd option.
Title: Re: On some P-47s, a green hood.
Post by: SAS~Storebror on February 14, 2020, 01:50:46 AM
Can't for my life reproduce the issue with BAT 3.8 nor 3.8.1.
Regardless with or without HD DLLs, regardless which fashion of HD DLLs, regardless whether in OpenGL or DirectX mode:
All P-47s are always fine for me.

not in QMB
Why should such skin/material issue be any different in QMB than anywhere else?
And if it's not in QMB, how about telling us in which mission exactly it happens for you? How about uploading that mission if it doesn't ship with BAT?
Due to lack of further information, I used the Single Player P-47 mission for testing (because that's the shortest way to get the 47 into air without QMB for me).

It would also help to know which P-47 version shows the issue for you, so we don't always have to check each and every version of it.

Last but not least, you've lately sent me a PM with another issue you've faced:

After the update 3.8.  On my mod dedicated server, the opponent’s planes became invisible.  This applies only to non-standard aircraft ..
Now don't ever expect me to reply to technical inquiries by PM.
If I'd start that, I could quit my job, file a petition for divorce and do nothing else but answering technical questions on PM for the rest of my life.
But: Now that you see so many strange things that others don't see, could it simply be that you've made a mistake in the BAT installation process and your game is simply FUBAR?

]cheers[
Mike
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 03:12:44 AM
It's not about dll at all, I checked the previous tip, not any difference.  You are absolutely right, if you have the wrong dlls, then this is immediately noticeable.
Title: Re: On some P-47s, a green hood.
Post by: vpmedia on February 14, 2020, 04:18:17 AM
Can you post your conf.ini and the type of graphics card youre using?
Title: Re: On some P-47s, a green hood.
Post by: SAS~Storebror on February 14, 2020, 05:25:43 AM
Istvan as mentioned before, I've checked both OpenGL and DirectX.
It works both ways.
Apparently none of the P-47s in BAT uses HD textures per default, as expected.

]cheers[
Mike
Title: Re: On some P-47s, a green hood.
Post by: SAS~vampire_pilot on February 14, 2020, 05:53:20 AM
It's not HD related, that's checked. Istvan is heading somewhere else, if I see that correctly.

Graphics hard hardware would have been my next guess too. We had issues before with certain ATI cards and certain rare and random tga files not showing correctly. Reasons unknown.

Quote
not in QMB
I've been reading this as in: "not in the external preview of QMB, only in cockpit view".

btw, DESPEREAUX, good to see you coming to the forums to post now.

Title: Re: On some P-47s, a green hood.
Post by: SAS~Storebror on February 14, 2020, 06:00:28 AM
My bet is that there's an additional mod installed on top.

What happens here has nothing to do with HD DLLs, graphics cards etc. IMHO.
The P-47 Modpack incorporated in BAT has one base class for all cockpits: "CockpitP_47DModPack".
All P-47 cockpits inherit from that base class.
And that base class holds the method to apply the correct texture to the cowling part in front of the cockpit:

Code: [Select]
  protected void reflectPlaneMats()  {    HierMesh hiermesh = aircraft().hierMesh();    Mat mat = hiermesh.material(hiermesh.materialFind("Gloss1D0o"));    this.mesh.materialReplace("Gloss1D0o", mat);  }
If some other P-47 pack, some P-47 mod, some P-47 cockpit mod or something like that is installed on top, that mod's cockpit classes will not inherit the required base class "CockpitP_47DModPack" (that's 99.9999% sure).
As a result, the material will not get replaced when you enter the cockpit.
And the final result is exactly what you see here.

]cheers[
Mike
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 06:29:33 AM
I am very sorry that I was distracted. I went in from the phone, did not see new messages .. The mission is standard, create a “dogfight” server, the first three standard missions.
With the installation of BAT, I think everything is fine, because this is not the first time I am doing this. I left the old fashion, "smoke and flame of engines" thought it was in them, it was not in them. Third-party mods are not installed not one. Support for HD skins is included.
Video card GT 940m, I will try to publish my config.
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 06:41:01 AM
I apologize again for PM, Mike.
I also wanted to mention that this phenomenon appears and disappears on the same skin ..
I never use DirectX mode
config
Code: [Select]
[il2]title=Il2-Sturmovik Forgotten Battleshotkeys=HotKey game[HotKey Console]Shift Tab=Activate[Console]HISTORY=128HISTORYCMD=128LOGFILE=log.txtLOG=1LOGKEEP=0LOGTIME=0[HotKey gui]Escape=activate[window]//width=1360//height=768width=1600height=900ColourBits=32DepthBits=24StencilBits=8ChangeScreenRes=0FullScreen=1DrawIfNotFocused=1EnableResize=0EnableClose=1SaveAspect=0Use3Renders=0WideScreenFoV=1UIColor=2UIDetail=2UIBackground=rndUse3RendersUI=0[GLPROVIDER]GL=Opengl32.dll[GLPROVIDERS]Open GL=Opengl32.dllDirectX=dx8wrap.dll[NET]speed=25000routeChannels=0serverChannels=31localPort=21000remotePort=21001SkinDownload=1serverName=REVOLTserverDescription=remoteHost=134.249.139.222localHost=134.249.139.222socksHost=checkServerTimeSpeed=0checkClientTimeSpeed=0disableNetStatStatistics=0showPilotNumber=1showPilotPing=1showPilotName=1showPilotScore=1showTeamScore=1cumulativeTeamScore=1showPilotArmy=1showPilotACDesignation=1showPilotACType=1filterUserNames=0reflyKIADelay=0maxAllowedKIA=-1reflyKIADelayMultiplier=0.0reflyDisabled=0allowMorseAsText=1allowCustomSounds=1remoteHost_000=134.249.139.222:21001[MaxLag]farMaxLagTime=10.0nearMaxLagTime=2.0cheaterWarningDelay=5.0cheaterWarningNum=-1[chat]region=(dx=0.6925,dy=0.072222225,x=0.0,y=0.0)adr0=ALLadr1=MY_ARMYadr2=Servermsg0=<pass<password:\u0020acesmsg1=)))msg2=msg3=msg5=msg4=msg6=msg7=[game]TypeClouds=1Arcade=0HighGore=1mapPadX=0.9591669mapPadY=0.032222223viewSet=80Intro=0NoSubTitles=0NoChatter=0NoHudLog=0NoLensFlare=0iconTypes=0eventlog=eventlog.lsteventlogkeep=03dgunners=1ScreenshotType=1RecordingIndicator=1MapAlpha=0.99SaveTrk=0IconUnits=0SkipParatrooperViews=0NoMissionInfoHud=0noKillInfoHud=0BlockMorseChat=0SmallMapWPLabels=1ShowMorseAsText=1mapPadMode=1HakenAllowed=1ClearCache=1lowInfoHud=1DebugSounds=1SubTitlesLines=3jpgQuality=1.0lowInfoHud=1hudMode=2MapPadSmall=0MapIconLarge=0MapPadAlpha=0.6CustomDiff=4397509640191[HotKey game]PrintScreen=ScreenShotP=pausePause=pause[HookViewFly Config]timeFirstStep=2.0deltaZ=10.0[HookView]MouseLeft=Len[HookView Config]AzimutSpeed=0.1TangageSpeed=0.1LenSpeed=1.0MinLen=1.0DefaultLen=20.0MaxLen=3000.0Speed=6LeanF=0.2LeanS=0.2Raise=0.089999996RubberBand=0.04[HotKey builder]MouseLeft=objectMoveMouseRight=popupmenuEnter=freeViewShift MouseLeft=worldZoomAlt MouseLeft=select+Alt MouseRight=select-Alt Ctrl=unselectPageDown=change+PageUp=change-End=change++Home=change--Ctrl MouseLeft=insert+Insert=insert+NumPad-0=insert+F=fillCtrl MouseRight=delete+NumPad.=delete+Delete=delete+Backspace=cursorTab=cursorF10=landF11=onLandNumPad-=normalLandNumPad+=toLandNumPad-5=resetAnglesNumPad-8=resetTangage90NumPad-7=stepAzimut-5NumPad-4=stepAzimut-15NumPad-1=stepAzimut-30NumPad-9=stepAzimut5NumPad-6=stepAzimut15NumPad-3=stepAzimut30Ctrl C=copyCtrl X=cutCtrl V=pasteCtrl Q=incHeightCtrl A=DecHeight[MouseXYZ]F1=SpeedSlowF2=SpeedNormalF3=SpeedFastMouseRight=XYmoveF4 MouseRight=ZmoveMouseMiddle=AmoveF5 MouseRight=AmoveF6 MouseRight=TmoveF7 MouseRight=Kmove[MouseXYZ Config]RealTime=1[sound]SoundUse=1SoundEngine=1Speakers=3Placement=0SoundFlags.reversestereo=0RadioFlags.Enabled=0RadioEngine=3MusicVolume=4ObjectVolume=6MusState.takeoff=1MusState.inflight=1MusState.crash=1MusFlags.play=1MasterVolume=6Attenuation=5SoundMode=3SamplingRate=2NumChannels=3SoundExt.occlusions=1SoundFlags.hardware=1SoundFlags.streams=1SoundFlags.duplex=1SoundExt.acoustics=0SoundExt.volumefx=0SoundFlags.voicemgr=0SoundFlags.static=1VoiceVolume=2Channels=2SoundExt.extrender=0SoundFlags.bugscorrect=0SoundSetupId=5ActivationLevel=0.02Preemphasis=0.85RadioLatency=0.5AGC=1PTTMode=1SoundFlags.UseRadioChatter=1SoundFlags.AutoActivation=0RadioFlags.PTTMode=0RadioFlags.PlayClicks=1ActLevel=0MicLevel=0SoundFlags.forceEAX1=0[rts]ProcessAffinityMask=13mouseUse=2joyUse=1trackIRUse=1DisableIME=0locale=ruUseSmartAxis=1JoyProfile=0[rts_mouse]SensitivityX=2.0SensitivityY=2.0Invert=0SensitivityZ=1.0[rts_joystick]X=0 100 100 100 100 100 100 100 100 100 100 0Y=0 100 100 100 100 100 100 100 100 100 100 0Z=0 100 100 100 100 100 100 100 100 100 100 0RZ=0 100 100 100 100 100 100 100 100 100 100 0FF=1U=0 100 100 100 100 100 100 100 100 100 100 0V=0 100 100 100 100 100 100 100 100 100 100 01X=0 100 100 100 100 100 100 100 100 100 100 0 01Y=0 100 100 100 100 100 100 100 100 100 100 0 01Z=0 100 100 100 100 100 100 100 100 100 100 0 01RZ=0 100 100 100 100 100 100 100 100 100 100 0 01U=0 100 100 100 100 100 100 100 100 100 100 0 01V=0 100 100 100 100 100 100 100 100 100 100 0 0[Render_DirectX]TexQual=3TexMipFilter=3TexCompress=0TexFlags.UseDither=1TexFlags.UseAlpha=0TexFlags.UseIndex=0TexFlags.PolygonStipple=1TexFlags.UseClampedSprites=1TexFlags.DrawLandByTriangles=1TexFlags.UseVertexArrays=1TexFlags.DisableAPIExtensions=0TexFlags.ARBMultitextureExt=1TexFlags.TexEnvCombineExt=1TexFlags.SecondaryColorExt=1TexFlags.VertexArrayExt=1TexFlags.ClipHintExt=0TexFlags.UsePaletteExt=1TexFlags.TexAnisotropicExt=0TexFlags.TexCompressARBExt=0TexFlags.TexEnvCombine4NV=1TexFlags.TexEnvCombineDot3=1TexFlags.DepthClampNV=1TexFlags.SeparateSpecular=1TexFlags.TextureShaderNV=1HardwareShaders=1Shadows=2Specular=2SpecularLight=2DiffuseLight=2DynamicalLights=1MeshDetail=2VisibilityDistance=3Sky=2Forest=3LandShading=3LandDetails=2LandGeom=3TexLarge=1TexLandQual=3TexLandLarge=1VideoSetupId=1ForceShaders1x=0PolygonOffsetFactor=-0.15PolygonOffsetUnits=-3.0Effects=1Water=4[Render_OpenGL]TexQual=3TexMipFilter=3TexCompress=0TexFlags.UseDither=0TexFlags.UseAlpha=0TexFlags.UseIndex=0TexFlags.PolygonStipple=1TexFlags.UseClampedSprites=0TexFlags.DrawLandByTriangles=1TexFlags.UseVertexArrays=1TexFlags.DisableAPIExtensions=0TexFlags.ARBMultitextureExt=1TexFlags.TexEnvCombineExt=1TexFlags.SecondaryColorExt=1TexFlags.VertexArrayExt=1TexFlags.ClipHintExt=0TexFlags.UsePaletteExt=1TexFlags.TexAnisotropicExt=1TexFlags.TexCompressARBExt=0TexFlags.TexEnvCombine4NV=1TexFlags.TexEnvCombineDot3=1TexFlags.DepthClampNV=1TexFlags.SeparateSpecular=1TexFlags.TextureShaderNV=1HardwareShaders=1Shadows=2Specular=2SpecularLight=2DiffuseLight=2DynamicalLights=1MeshDetail=2VisibilityDistance=3Sky=2Forest=3LandShading=3LandDetails=2LandGeom=3TexLarge=1TexLandQual=3TexLandLarge=1VideoSetupId=1Water=4Effects=1ForceShaders1x=0//PolygonOffsetFactor=-0.15//PolygonOffsetUnits=-3.0PolygonOffsetFactor=-0.0625PolygonOffsetUnits=-1.0[Mods]Flyby=1FlybyFov=90.0ToggleMusic=1RandomSplash=1PALHUDMode=1SpeedbarTAS=1SpeedbarSIToo=1SpeedbarShowExtraInfo=1netCallsign=Stab4all=1PALShowChocks=1PALShowCatGear=1DumpFuel=1SpeedbarUnits=0PALGameMenuStatusBar=1PALGameMenuShowFPS=0PAL3DStart=0PAL3DSepAim=0.7PAL3DSepGun=1.35PAL3DSepPit=1.5PAL3DSepExt=25.0PAL3DConvAimL=-0.01PAL3DConvAimR=-0.01PAL3DConvGunL=-0.09PAL3DConvGunR=-0.09PAL3DConvPitL=-0.13PAL3DConvPitR=-0.13PAL3DConvExtL=-0.55PAL3DConvExtR=-0.55PAL3DDOFfNumber=0.0PAL3DDOFFocus=28.27506PAL3DAdjustVariable=1PAL3DFullColorFrames=0PAL3DRenderStereo=1PAL3DFilterLeft=R___PAL3DFilterRight=_GB_PAL3DCockpitSoftViewEnabled=1PAL3DCockpitSoftView=0.075PAL3DCockpitTurretInertiaEnabled=1PAL3DCockpitTurretInertia=0.0010PAL3DFollowInertiaEnabled=1PAL3DFollowInertia=0.009999999776482582PAL3DFollowInertiaAngle=0.01PAL3DExternalSoftView=0.075PAL3DExternalTrackIR=0PAL3DExternalMouseInertia=1ngHUDsector=1ngHUDleft=0ngHUDright=0ngHUDtop=0ngHUDbottom=0FOVAnim=1FOVLog=0FOVSpeed=200FOVDefault=70ngMAPhostile=0[DGen]MissionDistance=10RandomFlights=5MaxFLAK=10AirIntensity=HighGroundIntensity=HighMaxbomberskill=3CampaignDifficulty=HardCampaignMissions=NormalCampaignAI=NormalCampaignLength=VeryLongPromotionRate=10.0NoBadWeather=0NoAirfieldHighlight=0UseParachutes=1SlowFire=0.5
Title: Re: On some P-47s, a green hood.
Post by: SAS~vampire_pilot on February 14, 2020, 06:52:31 AM
Quote
The mission is standard, create a “dogfight” server, the first three standard missions.

Does it also happen when you play a QMB single player mission?
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 06:59:20 AM
It seems to be not, I’ll check this time again.
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 07:23:38 AM
In "QMB" this does not appear in any way, under any circumstances. But now I noticed a new error, on the maps "Korea (3BG)" many planes do not work. :-X
(https://i.postimg.cc/kghrnhPt/2020-02-14-14-06-50.jpg) (https://postimg.cc/K1LpffzZ)
Title: Re: On some P-47s, a green hood.
Post by: SAS~Storebror on February 14, 2020, 07:30:24 AM
With all due respect, don't you think that at least one of the issues you've reported should appear to some other BAT user too?

]cheers[
Mike
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 07:48:46 AM
Of course, I agree with you, maybe they just didn’t notice it, so I reported about it. I was completely sure that everything was fine with my installation, but this hour, I'm not sure. But I don’t understand what could have gone wrong
Map of Korea, crashes depending on the type of job, "SBlueAirbase00" .. etc.
Title: Re: On some P-47s, a green hood.
Post by: SAS~vampire_pilot on February 14, 2020, 07:52:28 AM
Then the initial problem could be online related?  No idea how but....
(and to be fair, Mike, we had this reported before a longer time ago by one or two individuals, without conclusion.)

And that second thing is due to the fact that QMB missions may contain items (ships, vehicles, planes...) that work in only one era module. Some Korea QMB missions might be only "good" in JTW. Same goes the other way round....  that's known and can't be worked around.
Not every mission works in every era module.
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 07:58:36 AM
All clear. The question is closed. Thank you very much!
Title: Re: On some P-47s, a green hood.
Post by: SAS~vampire_pilot on February 14, 2020, 07:59:51 AM
sure thing.
In QMB you must just try and see... Most missions will work in WAW, but Korea (and maybe Vietnam) may be just that one special case...:P
And of course you went right there.
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 14, 2020, 08:07:54 AM
I just forgot that there was only one QMB for all four eras) And of course I guessed that Korea did not have to work correctly. But still, I wrote to report this :)
Title: Re: On some P-47s, a green hood.
Post by: DESPEREAUX on February 15, 2020, 05:59:56 AM
All the same, you did not guess Mike!) I went the short way, and asked those people who installed my repack if they had a similar bug .. So they did not have a bug.  It follows that the problem is in the computer itself, that is, in the drivers, or in something else .. Anyway, I need to be a complete layman to install with errors, the easiest, most convenient way to install the mod.  And I would not dare to make a repack, and distribute it without being fully assured of its suitability.
Title: Re: On some P-47s, a green hood.
Post by: SAS~Storebror on February 15, 2020, 10:37:53 AM
they did not have a bug
That's good news then.