Jump to content

I have found a way to add windshield wiper bounce.


Recommended Posts

Posted (edited)

In other news, I confirmed that the huey cockpit's front panel isn't using specular maps even though it has them.

 

I don't know if anyone has found this before, but it's a pretty simple lua edit.

 

It does come at a price however, if you do this edit, you will no longer be able to use the windshield wiper modes.

 

Theoretically, the devs could attach the windshield wiper gauge onto another gauge, and then we could have both bounce and wiper control.

 

in DCSWorldModsaircraftUh-1HCockpitScripts there is a file called mainpanel_init.

 

On lines 670-680 it refers to the windshield wipers.

 

 

_____________

change

 

 

Wiper_Pilot = CreateGauge()

Wiper_Pilot.arg_number = 284

Wiper_Pilot.input = {0.0,1.0}

Wiper_Pilot.output = {0.0,1.0}

Wiper_Pilot.controller = controllers.Wiper_Pilot

 

Wiper_Operator = CreateGauge()

Wiper_Operator.arg_number = 283

Wiper_Operator.input = {0.0,1.0}

Wiper_Operator.output = {0.0,1.0}

Wiper_Operator.controller = controllers.Wiper_Operator

______

to

 

Wiper_Pilot = CreateGauge()

Wiper_Pilot.arg_number = 284

Wiper_Pilot.input = {-1.0,1.0}

Wiper_Pilot.output = {0.025,0.0}

Wiper_Pilot.controller = controllers.Panel_Shake_Y

 

Wiper_Operator = CreateGauge()

Wiper_Operator.arg_number = 283

Wiper_Operator.input = {-1.0,1.0}

Wiper_Operator.output = {0.025,0.0}

Wiper_Operator.controller = controllers.Panel_Shake_Y

Edited by Tim_Fragmagnet
  • Like 1
Posted (edited)

fantastic! thank you, great find! never using wipers modes anyway, its not realistic without rain animation on windshield.

Edited by BackboneOne

MB: Asus ROG Strix Z390-E \ CPU: i9-9900K NZXT Kraken X52\ DDR4: 3000MHz G.SKILL Trident Z Royal 32Gb RAM \

VID: MSI Nvidia RTX4070 12GB \ MON: Samsung ue49ks8000 49'', Lilliput 8'' x2

CNTRL: Thrustmaster HOTAS Warthog \ Saitek Combat Rudder pedals \ TrackIR 5 \ Thrustmaster MFD Cougar Pack

Posted

Does this mod fail any server integrity checks?

System Specs: i7 8700k @ 5.0GHz (not delidded), ASRock Extreme4 Z370 MOBO, EVGA GTX 1080 SC 8GB, 32GB Corsair Vengeance LPX 3200MHz DDR4 RAM, Samsung Evo 240GB SSD, Samsung Evo 500GB SSD, 1TB HDD, Noctura NH-D15S Heat Sink, Acer VE278H 27" 1080p Monitor, Ocukus Rift CV1.

 

Controllers: TrackIR 5, Thrustmaster HOTAS X, Saitek Throttle Quadrant (with DIY removable collective mod), Saitek Pro Flight Rudder Pedals.

 

Just trying to keep my number of takeoffs and landings equal!

  • 8 months later...
Posted

Wow. Unbelievable. :) Great catch!

Will try. Thank you.

Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR
>>MY MODS<< | Discord: Devrim#1068

Posted

Perfect, Perfect, Perfect!!!

Great idea, and thanks for the 'JSGM' mod.

It works like a charm!!

Makes take-offs and landings even more realistic!!!

Thanks for this great discovery.... and JSGM adaption!! :thumbup::thumbup::thumbup:

ASUS Sabertooth X79 TUF Motherboard / Intel Core i7-3930K Unlocked Processor Six Core / Corsair CMP32GX3M4X1600C10 Dominator Memory Kit - 32GB (4x 8GB) / OCZ Solid 3 480GB Solid State Drive / EVGA GeForce GTX 670 FTW+ / Corsair CW-9060002-WW Hydro H70 CORE CPU Cooler / Seagate ST1000DM003 1TB Hard Drive / BenQ XL2420TX 24" Widescreen LED Gaming Monitor - 1920 x 1080 / Windows 7 Ultimate Edition, 64-bit / C-Tek 12-bit: Foot Pedals - Robinson Cyclic - 5-button-hat cyclic - Collective / TrackIR-5

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...