Debian Codegraph @

Aircraft/Instruments-3d/chronograph/README

raw
1 Chronograph
2 -----------
3
4 Time offset adjustable with bottom left button, LMB change minutes, MMB change
5 hours.*
6 The time offset will be saved between two Flightgear sessions.
7
8 At start the second hand is locked on zero. Click on the upper right button
9 starts the second hand and a chronometer minutes hand. Click again on the
10 upper right button stops the chronometer. Click again resets the chronometer
11 to zero.
12
13
14 Setting up :
15 ------------
16
17 - Include the model in your model file.
18
19 <model>
20 <path>Aircraft/Instruments-3d/chronograph/chronograph.xml</path>
21 <offsets>
22 <x-m>xxx</x-m>
23 <y-m>xxx</y-m>
24 <z-m>xxx</z-m>
25 </offsets>
26 </model>
27
28
29 - Declare chronograph.nas in your foo-set.xml file. Write something like:
30 </nasal>
31 <chronograph>
32 <file>Aircraft/foo/Nasal/chronograph.nas</file>
33 </chronograph>
34 </nasal>
35
36
37 - Open chronograph.nas and uncomment chrono_loop() and the following settimer()
38 if update_chrono() has to be launched standalone.
39 Otherwise launch foo_chronograph.update_chrono() from a centralized loop which
40 will save some CPU cycles.
41 See chronograph.nas line 48.
42
43 That's it.
44
45
46 * LMB Left Mouse Button, MMB midle mouse button.