RPM gauge xml

A quiet place for budding model makers to share thoughts, get answers to questions and request and share references.

Moderators: Guru's, The Ministry

Post Reply
robcarrich
Concorde
Concorde
Posts: 1301
Joined: 12 Aug 2008, 15:58
Location: Alconbury Weston, UK

RPM gauge xml

Post 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

SkippyBing
Concorde
Concorde
Posts: 1460
Joined: 30 Aug 2006, 18:21

Re: RPM gauge xml

Post 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.
Image

robcarrich
Concorde
Concorde
Posts: 1301
Joined: 12 Aug 2008, 15:58
Location: Alconbury Weston, UK

Re: RPM gauge xml

Post by robcarrich »

Thank you Skippy,
new code works lke a dream!

Rob Richardson

Post Reply