
Simply put, I want a rubber NEEDLE (2.8 default) instead of the rubber BAR. Can anyone give me the simple code to replace it with?

Original cockpit file:
http://www.sendspace.com/file/24m90l
Code: Select all
<!-- rubber meter -->
<NeedleGauge usetemplate="ng">
<DataSet>
<AtomicData field="source" source="player_rubber" />
<AtomicData field="minimum" source="0" />
<AtomicData field="maximum" source="cycle_rubber" />
</DataSet>
<Position x="-0.48" y="0." />
<Caption location="bottom">
<Text value="0xffff33Rubber" />
</Caption>
</NeedleGauge>
Code: Select all
<WidgetTemplate id="ng">
<Position x="0." y="-0.9" />
<Size height="0.175" width="0.175" />
<ShowCurrent value="true" />
<ShowMaximum value="true" />
<ShowMinimum value="true" />
<Foreground>
<Solid>
<Color r="1." g="1." b="1." alpha="1." />
</Solid>
</Foreground>
</WidgetTemplate>
Code: Select all
<NeedleGauge camera="*">
<DataSet>
<AtomicData field="source" source="player_speed" />
<AtomicData field="minimum" source="0" />
<AtomicData field="maximum" source="max_speed" />
</DataSet>
<Position x="-0.165" y="-0.9" />
<Size height="0.15" width="0.15" />
<ShowCurrent value="true" />
<ShowMaximum value="true" />
<ShowMinimum value="true" />
<Text value="Speed" />
<Foreground>
<Solid>
<Color r="1." g="0." b="0." alpha="1." />
</Solid>
</Foreground>
</NeedleGauge>
Code: Select all
<NeedleGauge>
<DataSet>
<AtomicData field="source" source="player_rubber" />
<AtomicData field="minimum" source="0" />
<AtomicData field="maximum" source="cycle_rubber" />
</DataSet>
<Position x="-0.55" y="-0.9" />
<Size height="0.15" width="0.15" />
<ShowCurrent value="true" />
<ShowMaximum value="true" />
<ShowMinimum value="true" />
<Caption location="bottom">
<Text value="Rubber" />
</Caption>
<Foreground>
<Gradient orientation="value">
<Color r="0." g="1." b="0." alpha="1." at="0." />
<Color r="1." g="1." b="0." alpha="1." at="0.5" />
<Color r="1." g="0." b="0." alpha="1." at="1.0" />
</Gradient>
</Foreground>
</NeedleGauge>