CanvasND: Add 777 track bug implementation
[fg:toms-fgdata.git] / Huds / tachiametric-sight.xml
1 <?xml version="1.0"?>
2
3 <!-- ******************************************************
4
5 Defines a Tachiametric Gunsight.  A Tachiametric gunsight
6 uses angle rates combined with range to calculate aim-off. 
7 Range can eiher be estimated or measured.  In this 
8 implementation range can indicated by an arc variable 
9 by length and radius.
10
11 $Id$
12
13 *********************************************************** -->
14
15
16 <PropertyList>
17         <name>Tachiametric Gunsight</name>
18         <enable3d>true</enable3d>
19
20         <aiming-reticle>
21
22                 <condition>
23                         <equals>
24                                 <property>/sim/current-view/name</property>
25                                 <value>Cockpit View</value>
26                         </equals>
27                 </condition>
28
29                 <active-condition>
30                         <property>/sim/aim/active</property>
31                 </active-condition>
32
33                 <tachy-condition>
34                         <property>/sim/aim/tachy</property>
35                 </tachy-condition>
36
37                 <align-condition>
38                         <property>/sim/aim/align</property>
39                 </align-condition>
40
41                 <yaw-input>
42                         <property>/orientation/yaw-rate-degps</property>
43                         <factor>-1.0</factor>
44                         <damp>2.0</damp>
45                 </yaw-input>
46
47                 <pitch-input>
48                         <property>/orientation/pitch-rate-degps</property>
49                         <factor>-1.0</factor>
50                         <damp>1.5</damp>
51                 </pitch-input>
52
53                 <offset-x-input>
54                         <property>/sim/aim/offsets/x</property>
55                 </offset-x-input>
56
57                 <offset-y-input>
58                         <property>/sim/aim/offsets/y</property>
59                 </offset-y-input>
60
61                 <speed-input>
62                         <property>/sim/aim/speed-fps</property>
63                 </speed-input>
64
65                 <range-input>
66                         <property>/sim/aim/range-yds</property>
67                 </range-input>
68
69                 <!-- defines the diameter and length of the adjustable outer arc -->
70                 <diameter-input>
71                         <property>/sim/aim/radius</property>
72                 </diameter-input>
73
74                 <arc-start-input>
75                         <property>/sim/aim/arc/start-deg</property>
76                 </arc-start-input>
77
78                 <arc-stop-input>
79                         <property>/sim/aim/arc/stop-deg</property>
80                 </arc-stop-input>
81
82                 <x>-9</x>
83                 <y>-15</y>
84                 <width>15</width>
85                 <height>15</height>
86                 <compression-factor>10</compression-factor>
87                 <limit-x>80</limit-x>
88                 <limit-y>40</limit-y>
89
90         </aiming-reticle>
91
92 </PropertyList>