Here is the text from the xml gauge:
================================================================
<Gauge Name="ViewSkip" Version="1.1">
<Comment>
This FS9-ONLY gauge allows you suppress one or more views when cycling forward
or backward through the views, with the (default) FS "S" or "Shift+S" commands.
To install:
- In the main \Gauges folder, create a subfolder \rcb-gauges (if not there allready)
and copy this XML gauge to this \Gauges\rcb-gauges\ folder.
- Add the gauge to the panel.cfg, preferably in the VCockpit01 section, as
gaugeXX=rcb-gauges!ViewSkip,0,0
Where XX is a unique number in that section.
To configure:
In the code between ************** below, change the "0" into a "1" for each
view you want to skip. As defined below, it skips the Tower View only.
Note: there must be at least one view left !!
FREEWARE
Rob Barendregt, May 16 2011
Email:
rc.barendregt@planet.nl
</Comment>
<Update Frequency="6"/>
<Keys>
<On Event="VIEW_MODE">1 (>G:Var1)</On>
<On Event="VIEW_MODE_REV">0 (>G:Var1)</On>
</Keys>
<Element>
<Select>
<Value>
(********** Configure views to skip **********)
(* 0: Enable View ****************************)
(* 1: Skip View ******************************)
0 (*** 2D-Cockpit view ******) (>G:Var6)
0 (*** 3D-VC view ***********) (>G:Var7)
1 (*** Tower view ***********) (>G:Var8)
0 (*** Spotplane view *****(*) (>G:Var9)
(*********** end of configuration ************)
</Value>
</Select>
</Element>
<Element>
<Select>
<Value>
(P:ACTIVE VIEW MODE,enum) 1 == (G:Var6) &&
(P:ACTIVE VIEW MODE,enum) 2 == (G:Var7) && ||
(P:ACTIVE VIEW MODE,enum) 3 == (G:Var8) && ||
(P:ACTIVE VIEW MODE,enum) 4 == (G:Var9) && ||
if{
(G:Var1)
if{ (>K:VIEW_MODE) }
els{ (>K:VIEW_MODE_REV) }
}
</Value>
</Select>
</Element>
</Gauge>
==========================================================
You can see that not only is the "gauge" enclosed, but also instructions on how to modify it. I saved versions to skip 2d, vc, and tower, as well as one to skip both tower and 2d to use as I see fit. I don't know how to create a xml gauge from scratch so I copied and renamed an existing gauge, then opened it with notepad and overwrote the original text with this and saved it thus creating a new gauge, like magic!