euroastar350
Resource contributor
- Messages
- 863
- Country

Hi guys,
Well here is very complicated set of controls and need to know how to transform from a 2D gauge to a workable 3D code.
First off is the idle control or throttle lock if you will. Basically I place the throttle into "IDLE" and cannot be moved into the "OFF" position until I depress the "IDLE" control switch, then the throttle can be moved into the "OFF" position
Since the project I am doing for Milviz has an idle release switch, I need to know how I would go about converting the 2D script into a workable script for a 3D object.
The 2D script is setup for 2 engines....but for my application, I need it for just only 1 engine.
Here is the 2D script:
Well here is very complicated set of controls and need to know how to transform from a 2D gauge to a workable 3D code.
First off is the idle control or throttle lock if you will. Basically I place the throttle into "IDLE" and cannot be moved into the "OFF" position until I depress the "IDLE" control switch, then the throttle can be moved into the "OFF" position
Since the project I am doing for Milviz has an idle release switch, I need to know how I would go about converting the 2D script into a workable script for a 3D object.
The 2D script is setup for 2 engines....but for my application, I need it for just only 1 engine.
Here is the 2D script:
Code:
<Gauge Name="Idle Release" Version="1.0">
<Update Frequency="6"/>
<Size X="843" Y="804"/>
<Image Name="idle_release_bckgrnd.bmp" Luminous="Yes"/>
<Element>
<Position X="268" Y="531"/>
<Image Name="Idle_Release.bmp" Luminous="Yes"/>
</Element>
<Element>
<Visible>(L:Eng2IdleStopRelease, bool)</Visible>
<Position X="268" Y="531"/>
<Image Name="Idle_Release.bmp" Luminous="Yes"/>
</Element>
<Element>
<Visible>(L:Eng3IdleStopRelease, bool)</Visible>
<Position X="268" Y="531"/>
<Image Name="Idle_Release.bmp" Luminous="Yes"/>
</Element>
<Element>
<Select>
<Value>30 (>L:IdleStopDuration,enum)
(L:Eng2IdleStopTimer, enum) 0 >
if{
(L:Eng2IdleStopTimer, enum) -- (>L:Eng2IdleStopTimer, enum)
}
(L:Eng3IdleStopTimer, enum) 0 >
if{
(L:Eng3IdleStopTimer, enum) -- (>L:Eng3IdleStopTimer, enum)
}
</Value>
</Select>
</Element>
<Mouse>
<Area Left="240" Top="550" Width="35" Height="54">
<Cursor Type="Hand"/>
<Click Kind="LeftSingle+Leave">(M:Event) 'LeftSingle' scmp 0 == (L:Eng2IdleStopRelease, bool) 0 == and if{ 1 (>L:Eng2IdleStopRelease, bool) (L:IdleStopDuration,enum) (>L:Eng2IdleStopTimer, enum) }
(M:Event) 'Leave' scmp 0 == (L:Eng2IdleStopRelease, bool) 1 == and if{ 0 (>L:Eng2IdleStopRelease, bool) }
</Click>
</Area>
<Area Left="340" Top="550" Width="45" Height="54">
<Cursor Type="Hand"/>
<Click Kind="LeftSingle+Leave">(M:Event) 'LeftSingle' scmp 0 == (L:Eng3IdleStopRelease, bool) 0 == and if{ 1 (>L:Eng3IdleStopRelease, bool) (L:IdleStopDuration,enum) (>L:Eng3IdleStopTimer, enum) }
(M:Event) 'Leave' scmp 0 == (L:Eng3IdleStopRelease, bool) 1 == and if{ 0 (>L:Eng3IdleStopRelease, bool) }
</Click>
</Area>
</Mouse>
</Gauge>



