Page 1 of 1

RPM gauge xml

Posted: 07 Jul 2010, 08:02
by robcarrich
Can anyone help me please with the xml code for RPM gauges in a twin engine piston layout.
This code is already in the modeldef, and works well, but I don't know how to get it working on independent engines.

<PartInfo>

<Name>needle_rpm</Name>

<AnimLength>45</AnimLength>

<Animation>

<Parameter>

<Code>(A:GENERAL ENG RPM:1, rpm) 100 /</Code>

</Parameter>

</Animation>

</PartInfo>

The same also goes for gauges for manifold pressure
I'm using FSDS and its for FSX acceleration

Thank you in advance
Rob Richardson

Re: RPM gauge xml

Posted: 07 Jul 2010, 11:10
by SkippyBing
For FSX you'll need a separate lump of code for each engine.

E.g.

<Name>needle_rpm_1</Name> and <Name>needle_rpm_2</Name>

and then

<Code>(A:GENERAL ENG RPM:1, rpm) 100 /</Code> and <Code>(A:GENERAL ENG RPM:2, rpm) 100 /</Code>

you'll need separate GUIDs as well.

Re: RPM gauge xml

Posted: 07 Jul 2010, 12:48
by robcarrich
Thank you Skippy,
new code works lke a dream!

Rob Richardson