Dutcheeseblend
Resource contributor
- Messages
- 1,541
- Country

Hi all,
In short, I want a course gyro in my Fokker. (Sorry, but I don't even know the appropriate name of this gauge in Dutch...) It should work as follows: the pilot turns a small wheel (selected in the pic below) above the compass. This wheel is (in real) connected via some gears to a disc, with a 360 deg ring on it (the white disc in the pic below). The pilot uses this to set a certain course and to check wether he's having the correct heading or not. But: how to create this? I know, the disc should rotate based on the variable set by the turn knob. What should be the code to use on the knob?
And a pic of the thing is attached.
Any help would be greatly appreciated! I'm a real novice to scripting, so please help me out!
In short, I want a course gyro in my Fokker. (Sorry, but I don't even know the appropriate name of this gauge in Dutch...) It should work as follows: the pilot turns a small wheel (selected in the pic below) above the compass. This wheel is (in real) connected via some gears to a disc, with a 360 deg ring on it (the white disc in the pic below). The pilot uses this to set a certain course and to check wether he's having the correct heading or not. But: how to create this? I know, the disc should rotate based on the variable set by the turn knob. What should be the code to use on the knob?
Code:
<PartInfo>
<Name>Gyro_AskaniaEmilLke12</Name>
<AnimLength>36</AnimLength>
<Animation>
<Parameter>
<Code>
(L:varAL12GYRO)
</Code>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
<CallbackCode>
</CallbackCode>
</MouseRect>
</PartInfo>
And a pic of the thing is attached.
Any help would be greatly appreciated! I'm a real novice to scripting, so please help me out!



