ATR 72 - F1

Turn ON the LIGHTS for Microsoft FS9 / FSX with this all-new version of a great package
new reply
abax2000
Airman Basic
Posts: 8
Joined: 01 May 2010, 17:29

ATR 72 - F1

Post by abax2000 »

The Atr does not have the taxi lights in the default aircraft.cfg, for some reason.

Is there any way to assign a Redux light to ATR taxi lights "directly" and avoiding the entry at panel.cfg ?
That would be useful in keeping the way taxi lights work at default aircraft (switch is always on), so when you lower the gear taxi lights go on automatically. Retract the gear, and they go off by the switch at the undercarriage.
The usual A2A entry at panel.cfg turn lights off by switching the actual panel switch.

growley803
Airman
Posts: 12
Joined: 12 Feb 2012, 18:30

Re: ATR 72 - F1

Post by growley803 »

I have the same aircraft. I was able to work this out for the feelThere E-175/195 with a little XML help. I tried applying the same solution to the ATR 72, no such luck. Strange things happen behind the scenes, not even related to lights. For example, the Flight Director, Avionics Master and AP Wing Leveler are constantly (and I do mean constantly) being toggled on and off. This happens during flight without having touched any of those controls. It even happens before takeoff . . . go figure. Long story short, with the E-Jets I can watch the variables for the taxi light get toggled on and off by my XML code. However, the ATR 72 completely ignores the code. So, it will not work. Sorry.

growley803
Airman
Posts: 12
Joined: 12 Feb 2012, 18:30

Re: ATR 72 - F1

Post by growley803 »

I have the same aircraft. I was able to work this out for the feelThere E-175/195 with a little XML help. I tried applying the same solution to the ATR 72, no such luck. Strange things happen behind the scenes, not even related to lights. For example, the Flight Director, Avionics Master and AP Wing Leveler are constantly (and I do mean constantly) being toggled on and off. This happens during flight without having touched any of those controls. It even happens before takeoff . . . go figure. Long story short, with the E-Jets I can watch the variables for the taxi light get toggled on and off by my XML code. However, the ATR 72 completely ignores the code. So, it will not work. Sorry.

growley803
Airman
Posts: 12
Joined: 12 Feb 2012, 18:30

Flt1 ATR 72-500

Post by growley803 »

I figured it out. The ATR 72-500 has two panel.cfg files. You have to modify both of them in order to get things working 100% of the time.

My solution works as follows:
1. Check for gear down; if taxi light is on and recognition light is off, then toggle recognition light; if taxi light is off and recognition light is on, then toggle recognition light.
2. Check for gear up; if recognition light is on, then toggle recognition light.

Here is how you implement my solution:
1. Change the [LIGHTS] section of the aircraft.cfg for the ATR 72-500 (see below).
2. Change the [VCockpit01] section of the panel.cfg for the ATR 72-500 in BOTH the panel subfolder and the panel.w subfolder (see below).
3. Add the SW Lights_Growley_Recognition.xml module to Shockwave_Lights.cab (see below).

This enables the nose lights to be controlled by my XML routine so that after the gear comes up, the "floating" taxi light . . . is GONE!

// =======================================================================================
// AIRCRAFT.CFG for ATR 72-500
// =======================================================================================


[lights] // ATR 72-500
// Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing, 6=taxi, 7=recognition, 8=wing, 9=logo

// BEACON LIGHTS
// Lower Beacon
light.0=1, -2.15, 0.00, -5.54, fx_shockwave_beaconb_l,
// Upper Beacon
light.1=1, -49.5, 0.00, 18.75, fx_shockwave_beaconh_l,

// STROBE LIGHTS
// Right Wingtip Forward Strobe
light.2=2, -3.28, 42.85, 6.00, fx_shockwave_strobe_2,
// Left Wingtip Forward Strobe
light.3=2, -3.28, -42.85, 6.00, fx_shockwave_strobe_3,
// Tail Strobe
light.4=2, -51.95, 0.02, 3.05, fx_shockwave_strobe,

// NAVIGATION LIGHTS
// Right Wingtip Forward Nav (Green)
light.5=3, -3.60, 43.00, 5.90, fx_shockwave_navgre,
// Left Wingtip Forward Nav (Red)
light.6=3, -3.60, -43.00, 5.90, fx_shockwave_navred,
// Tail Nav (White)
light.7=3, -51.95, -0.25, 3.42, fx_shockwave_navwhi,

// COCKPIT LIGHTS
light.8=4, 27.60, -1.80, 3.50, fx_shockwave_vclight
light.9=4, 27.60, 1.80, 3.50, fx_shockwave_vclight

// LANDING LIGHTS
// Right Landing Light
light.10=5, 4.35, 2.75, -4.20, fx_Shockwave_landing_light,
// Left Landing Light
light.11=5, 4.35, -2.75, -4.20, fx_Shockwave_landing_light,
// Ambient Taxi Light, New for Redux
light.12=7, 28.0, 0, -10, fx_shockwave_landing_light_light_l,
// Nose Taxi Light
light.13=7, 29.0, 0, -4.10, fx_Shockwave_landing_light_double,
// Note that both taxi lights have been designated as light type 7 and NOT light type 6.
// This enables them to be controlled by the SW Lights_Growley_Recognition routine.
// Now the "floating" taxi light after the gear comes up . . . is GONE!

// =======================================================================================
// PANEL.CFG for ATR 72-500, LOCATED IN THE FLIGHT ONE ATR 72-500 PANEL FOLDER
// *** NOTE WELL! *** FOR THIS AIRCRAFT YOU MUST ALTER TWO PANEL.CFG FILES
// =======================================================================================
// ADD THE FOLLOWING LINES TO THE END OF THE [Vcockpit01] SECTION. MAKE SURE THE GAUGES
// YOU ARE ADDING FOLLOW THE SEQUENTIAL NUMBERING FOR THE ORIGINAL GAUGES.


gauge19=shockwave_lights!SW Lights, 1,1,1,1 //shockwave light
gauge20=shockwave_lights!SW Lights_Growley_Recognition,1,1,1,1
// The SW Lights_Growley_Recognition module is XML code that
// I wrote. It simply uses the Recognition Light already defined in FSX.
// Fortunately, the ATR-72 500 does not make use of this light, whereas
// it DOES control the more common Taxi light. The shockwave taxi
// light should be placed on the nose gear and defined in the LIGHTS
// section of the aircraft.cfg as light type 7, NOT light type 6.
// Happy Landings!

// =======================================================================================
// PANEL.CFG for ATR 72-500, LOCATED IN THE FLIGHT ONE ATR 72-500 PANEL.W FOLDER
// =======================================================================================
// ADD THE FOLLOWING LINES TO THE END OF THE [Vcockpit01] SECTION. MAKE SURE THE GAUGES
// YOU ARE ADDING FOLLOW THE SEQUENTIAL NUMBERING FOR THE ORIGINAL GAUGES.


gauge19=shockwave_lights!SW Lights, 1,1,1,1 //shockwave light
gauge20=shockwave_lights!SW Lights_Growley_Recognition,1,1,1,1
// The SW Lights_Growley_Recognition module is XML code that
// I wrote. It simply uses the Recognition Light already defined in FSX.
// Fortunately, the ATR-72 500 does not make use of this light, whereas
// it DOES control the more common Taxi light. The shockwave taxi
// light should be placed on the nose gear and defined in the LIGHTS
// section of the aircraft.cfg as light type 7, NOT light type 6.
// Happy Landings!

---- ADD THE FOLLOWING MODULE TO SHOCKWAVE_LIGHTS.CAB --------
NOTE: THERE ARE FIVE A2A MODULES ALREADY IN THAT CAB FILE. THIS
MODULE IS NUMBER SIX, IT DOES NOT REPLACE THE OTHER FIVE. IF YOU
ARE LIKE ME, YOU HAVE TO LEARN HOW TO DO THIS. FIND THE UTILITY
CALLED CABDIR.EXE AND CHECK THE DOCUMENTATION. THE NEW CAB
FILE GOES IN THE FSX GAUGES DIRECTORY.


<Gauge Name="SW Lights" Version="1.0">
<Update Frequency="1"/>
<Element>
<Select>
<Value>

(A:GEAR CENTER POSITION, Percent) near 100 == if{
(A:LIGHT TAXI,bool) 1 == if{
(A:LIGHT RECOGNITION,bool) 0 == if{
(>K:TOGGLE_RECOGNITION_LIGHTS) }
}
els{
(A:LIGHT RECOGNITION,bool) 1 == if{
(>K:TOGGLE_RECOGNITION_LIGHTS) }
}
}
els{
(A:LIGHT RECOGNITION,bool) 1 == if{
(>K:TOGGLE_RECOGNITION_LIGHTS) }
}
</Value>
</Select>
</Element>
</Gauge>

abax2000
Airman Basic
Posts: 8
Joined: 01 May 2010, 17:29

Re: ATR 72 - F1

Post by abax2000 »

That's great growley803.
More complicated than I thought, but also much more detailed help than I expected!

Thanks a lot.

abax2000
Airman Basic
Posts: 8
Joined: 01 May 2010, 17:29

Re: ATR 72 - F1

Post by abax2000 »

Hi growley,

something is not right. I followed your steps one-by-one.
The a/c loads with the standard taxi lights. You have to toggle the "L" switch and the taxi lights switch in order to get the new taxi lights, which anyhow give less light than the default taxi lights.
Any suggestions?

new reply

Return to “A2A Simulations 3D LIGHTS REDUX”

Who is online

Users browsing this forum: No registered users and 10 guests