Recently, I've been taken with flying the cub w/ floats all over ORBX PNW, and been having a ball. I'd like to add a second hand-held radio, and thought it would be easy. I was wrong. I took the stock hand-held out of the trike, duped it to a new name and re-wrote the code. The gauge shows up just fine but is stuck on the default 118.02. Can anyone tell me what I did wrong?
Thanks, Dave
-----------
Panel.cfg is now
[Window00]
Background_color=0,0,0
size_mm=1024,768
position=4
visible=1
ident=10
gauge00=tester!tester, 420, 300, 400, 1000
gauge01=Handheld_Radio2!radio2,0,0
------------------------
aircraft.cfg is now:
[Radios]
// Radio Type = availiable, standby frequency, has glide slope
Audio.1 = 1
Com.1 = 1, 0
Com.2 = 1, 0 // was 0, 0
Nav.1 = 1, 0, 1
Nav.2 = 1, 0, 0
Adf.1 = 1
Transponder.1 = 1
Marker.1 = 1
------------------------
and the xml for radio2 is:
<Gauge Name="radio2" Version="2.0">
<Image Name="radio_background.bmp" />
<!-- ============================== Radio On/Off Switch ===================== -->
<Element>
<Position X="171" Y="63" />
<Select>
<Value>(A:Avionics master switch,bool)</Value>
<Case Value="1">
<Image Name="radio_switch_on.bmp" />
</Case>
</Select>
</Element>
<!-- ============================== Frequency Readout ======================= -->
<Element>
<Position X="52" Y="70" />
<Failures>
<GAUGE_COMMUNICATIONS Action="NoDraw" />
</Failures>
<Visible>(A:Avionics master switch,bool)</Visible>
<Text X="85" Y="30" Length="6" Fixed="Yes" Font="Quartz" Adjust="Center" VerticalAdjust="Center" Color="#00FF00" Bright="Yes">
<String>%((A:Com2 active frequency:2,Megahertz))%!6.3f!</String>
</Text>
</Element>
<Mouse>
<Help ID="HELPID_RADIO_COMM2" />
<Tooltip ID="TOOLTIPTEXT_COMM2_FREQ" />
<Area Left="50" Top="67" Width="90" Height="34">
<Area Left="0" Right="25">
<Cursor Type="DownArrow" Repeat="Yes" />
<Click Repeat="Yes" MouseWheelFlip="Yes">
(A:Avionics master switch,bool) 1 ==
if{ 0 (>K:COM2_RADIO_WHOLE_DEC) }
</Click>
</Area>
<Area Left="26" Right="49">
<Cursor Type="UpArrow" Repeat="Yes" />
<Click Repeat="Yes" MouseWheelFlip="Yes">
(A:Avionics master switch,bool) 1 ==
if{ 0 (>K:COM2_RADIO_WHOLE_INC) }
</Click>
</Area>
<Area Left="50" Right="73">
<Cursor Type="DownArrow" Repeat="Yes" />
<Click Repeat="Yes" MouseWheelFlip="Yes">
(A:Avionics master switch,bool) 1 ==
if{ 0 (>K:COM2_RADIO_FRACT_DEC) }
</Click>
</Area>
<Area Left="74" Right="88">
<Cursor Type="UpArrow" Repeat="Yes" />
<Click Repeat="Yes" MouseWheelFlip="Yes">
(A:Avionics master switch,bool) 1 ==
if{ 0 (>K:COM2_RADIO_FRACT_INC) }
</Click>
</Area>
</Area>
<!-- Radio Master -->
<Area Left="161" Top="28" Width="32" Height="89">
<Cursor Type="Hand" />
<Click Event="TOGGLE_AVIONICS_MASTER" />
</Area>
</Mouse>
</Gauge>
Adding a comm 2
Post any technical issues here. This forum gets priority from our staff.
Return to “Piper J-3 Cub Tech Support”
Jump to
- General Discussion
- ↳ Pilot's Lounge
- ↳ Flight Academy
- ↳ Repainters
- ↳ Multiplayer
- Accu-Sim 2.0
- ↳ Comanche 250 for MSFS
- ↳ Comanche 250 for MSFS Tech Support
- Accu-Sim
- ↳ Bonanza "V-Tail"
- ↳ Bonanza Tech Support
- ↳ Piper Comanche 250
- ↳ Piper Comanche 250 Tech Support
- ↳ T-6 "Texan"
- ↳ T-6 "Texan" Tech Support
- ↳ C182 Skylane
- ↳ C182 Skylane Tech Support
- ↳ Piper Cherokee 180
- ↳ Piper Cherokee 180 Tech Support
- ↳ C172 Trainer
- ↳ C172 Trainer Tech Support
- ↳ Piper J-3 Cub
- ↳ Piper J-3 Cub Tech Support
- ↳ P-51 Mustang (Military & Civilian)
- ↳ P-51 Tech Support
- ↳ P-40 Warhawk / Tomahawk
- ↳ P-40 Tech Support
- ↳ Spitfire MkI/II
- ↳ Spitfire MkI/II Tech Support
- ↳ B-17 Flying Fortress
- ↳ P-47 Razorback
- Captain of the Ship (COTS)
- ↳ Boeing 377 Stratocruiser
- ↳ Boeing 377 Tech Support
- ↳ Lockheed Model 049 Constellation
- ↳ Lockheed Model 049 Tech Support
- Accu-Feel: Global Sim Enhancement
- ↳ Accu-Feel General Discussion
- ↳ Accu-Feel Technical Support
- ↳ Accu-Feel Development & Feedback
- for FSX (other)
- ↳ A2A Simulations 3D LIGHTS REDUX
- ↳ P40 Warhawk / Tomahawk
- ↳ P51 Mustang
- ↳ Messerschmitt BF109E3/E4
- ↳ Supermarine Spitfire MKI
- ↳ P47 Thunderbolt
- ↳ WWII FIGHTERS
- Aircraft Factory (a division of A2A Simulations)
- ↳ P-51H "High Performance Mustang"
- ↳ Avro 504K
- ↳ Avro Anson MKI
- ↳ Albatros D.III (Oeffag)
- ↳ Heinkel He-219 "Uhu"
- ↳ F4U Corsair
- for FS2004
- ↳ North American P51 "Mustang"
- ↳ Republic P47 "Thunderbolt"
- ↳ Focke Wulf 190 "Butcher Bird"
- ↳ Focke Wulf "Long Nose"
- ↳ Heinkel He 219 "Owl"
- ↳ Heavy Bombers and Jets
- ↳ Wings of POWER Technical Support
- Battle of Britain "Wings of Victory"
- ↳ BOB2 General Discussion
- ↳ BOB2 Technical Support
- ↳ BOB2 FAQ FORUM
- FirePower
- ↳ FirePower General Discussion
- ↳ FirePower Technical Support
- OTHER
- ↳ Other Sim News
Who is online
Users browsing this forum: No registered users and 35 guests