- Messages
- 3
- Country

I'm trying to write an xml gauge in FSX schema and I am running into problems with setting up failures.
In FS9 schema, I would use the following example to cause the ADI ball to pitch down 10 degrees when there is no power:
The fsx equivalent is:
The problem is with the Fail_Action - I can only use one of several preset values (Freeze, Zero, etc.). If I change the fail action to "-10" like in my FS9 example it "breaks" the gauge.
Is this no longer possible in FSX schema or am I missing something?
edit: Just to clarify...I know I can accomplish this via the <script> section with some code. My question pertains specifically to the FailureTable method.
In FS9 schema, I would use the following example to cause the ADI ball to pitch down 10 degrees when there is no power:
Code:
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="-10"/>
</Failures>
The fsx equivalent is:
Code:
<FailureTable id="FailureTable">
<Failure id="Failure">
<Fail_Key>SYSTEM_ELECTRICAL_PANELS</Fail_Key>
<Fail_Action>Zero</Fail_Action>
</Failure>
</FailureTable>
The problem is with the Fail_Action - I can only use one of several preset values (Freeze, Zero, etc.). If I change the fail action to "-10" like in my FS9 example it "breaks" the gauge.
Is this no longer possible in FSX schema or am I missing something?
edit: Just to clarify...I know I can accomplish this via the <script> section with some code. My question pertains specifically to the FailureTable method.
Last edited: