Avionyx df309319a3 Initialisation 1 年間 前
..
README df309319a3 Initialisation 1 年間 前
chronograph.ac df309319a3 Initialisation 1 年間 前
chronograph.nas df309319a3 Initialisation 1 年間 前
chronograph.png df309319a3 Initialisation 1 年間 前
chronograph.xml df309319a3 Initialisation 1 年間 前
chronometer-mount.png df309319a3 Initialisation 1 年間 前
clock.ac df309319a3 Initialisation 1 年間 前
clock.png df309319a3 Initialisation 1 年間 前
clock.rgb df309319a3 Initialisation 1 年間 前
clock.xml df309319a3 Initialisation 1 年間 前

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.