Avionyx df309319a3 Initialisation 1 år sedan
..
README df309319a3 Initialisation 1 år sedan
chronograph.ac df309319a3 Initialisation 1 år sedan
chronograph.nas df309319a3 Initialisation 1 år sedan
chronograph.png df309319a3 Initialisation 1 år sedan
chronograph.xml df309319a3 Initialisation 1 år sedan
chronometer-mount.png df309319a3 Initialisation 1 år sedan
clock.ac df309319a3 Initialisation 1 år sedan
clock.png df309319a3 Initialisation 1 år sedan
clock.rgb df309319a3 Initialisation 1 år sedan
clock.xml df309319a3 Initialisation 1 år sedan

README

Chronograph
-----------

Time offset adjustable with bottom left button, LMB change minutes, MMB change
hours.*
The time offset will be saved between two Flightgear sessions.

At start the second hand is locked on zero. Click on the upper right button
starts the second hand and a chronometer minutes hand. Click again on the
upper right button stops the chronometer. Click again resets the chronometer
to zero.


Setting up :
------------

- Include the model in your model file.


Aircraft/Instruments-3d/chronograph/chronograph.xml

xxx
xxx
xxx




- Declare chronograph.nas in your foo-set.xml file. Write something like:


Aircraft/foo/Nasal/chronograph.nas




- Open chronograph.nas and uncomment chrono_loop() and the following settimer()
if update_chrono() has to be launched standalone.
Otherwise launch foo_chronograph.update_chrono() from a centralized loop which
will save some CPU cycles.
See chronograph.nas line 48.

That's it.


* LMB Left Mouse Button, MMB midle mouse button.