<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE Resource SYSTEM "AATeam/cockpit-0.3.0.dtd">
<Resource type="aacockpit" name="zwazi_minimal" version="1.0.0" author="Zwazi" category="cockpits">
<Cockpit version="0.3.0">
    <!-- rubber gauge right -->
    <BarGauge camera="all">
        <Position x="0.25" y="-1.0" />
        <Size height="0.03" width="0.25" />
        <ShowCurrent value="false" />
        <ShowMaximum value="false" />
        <ShowMinimum value="false" />
        <DataSet>
            <AtomicData field="source" source="player_rubber" />
            <AtomicData field="minimum" source="0.0" />
            <AtomicData field="maximum" source="cycle_rubber" />
        </DataSet>
        <Background>
            <Solid>
                <Color r="1.0" g="1.0" b="1.0" alpha="0.2" at="0.0" />
            </Solid>
        </Background>
        <Foreground>
            <Gradient orientation="value">
                <Color r="0.0" g="1.0" b="0.0" alpha="0.7" at="0.0" />
                <Color r="0.0" g="1.0" b="0.0" alpha="0.7" at="0.3" />
                <Color r="1.0" g="1.0" b="0.0" alpha="0.7" at="0.6" />
                <Color r="1.0" g="0.0" b="0.0" alpha="0.7" at="0.8" />
                <Color r="1.0" g="0.0" b="0.0" alpha="0.7" at="1.0" />
            </Gradient>
        </Foreground>
    </BarGauge>
    <!-- rubber gauge right -->
    <!-- rubber gauge left -->
    <BarGauge camera="all">
        <Position x="-0.25" y="-1.0" />
        <Size height="0.03" width="0.25" />
        <ShowCurrent value="false" />
        <ShowMaximum value="false" />
        <ShowMinimum value="false" />
        <Reverse value="true" />
        <DataSet>
            <AtomicData field="source" source="player_rubber" />
            <AtomicData field="minimum" source="0.0" />
            <AtomicData field="maximum" source="cycle_rubber" />
        </DataSet>
        <Background>
            <Solid>
                <Color r="1.0" g="1.0" b="1.0" alpha="0.2" at="0.0" />
            </Solid>
        </Background>
        <Foreground>
            <Gradient orientation="value">
                <Color r="0.0" g="1.0" b="0.0" alpha="0.7" at="0.0" />
                <Color r="0.0" g="1.0" b="0.0" alpha="0.7" at="0.3" />
                <Color r="1.0" g="1.0" b="0.0" alpha="0.7" at="0.6" />
                <Color r="1.0" g="0.0" b="0.0" alpha="0.7" at="0.8" />
                <Color r="1.0" g="0.0" b="0.0" alpha="0.7" at="1.0" />
            </Gradient>
        </Foreground>
    </BarGauge>
    <!-- rubber gauge left -->
    <!-- rubber gauge text -->
    <BarGauge camera="all">
        <Position x="0.0" y="-1.024" />
        <Size height="0.03" width="0.5" />
        <ShowCurrent value="true" />
        <ShowMaximum value="false" />
        <ShowMinimum value="false" />
        <DataSet>
            <AtomicData field="source" source="player_rubber" />
            <AtomicData field="minimum" source="0.0" />
            <AtomicData field="maximum" source="cycle_rubber" />
        </DataSet>
    </BarGauge>
    <!-- rubber gauge text -->
    <!-- speed gauge -->
    <BarGauge camera="all">
        <Position x="0.70" y="-1.0"/>
        <Size height="0.02" width="0.15"/>
        <ShowCurrent value="true" />
        <ShowMaximum value="false" />
        <ShowMinimum value="false" />
        <Reverse value="true"/>
        <DataSet>
            <AtomicData field="source" source="player_brakes" />
   	        <AtomicData field="minimum" source="0.0" />
            <AtomicData field="maximum" source="1.0" />
        </DataSet>
        <Background>
            <Solid>
                <Color r="0.0" g="0.0" b="1.0" alpha="0.7" at="0.0" />
            </Solid>
        </Background>
        <Foreground>
            <Solid>
                <Color r="0.0" g="0.0" b="1.0" alpha="0.2" at="0.0" />
            </Solid>
        </Foreground>
    </BarGauge>
    <!-- speed gauge -->
    <!-- brake gauge -->
    <BarGauge camera="all">
        <Position x="0.70" y="-1.0" />
        <Size height="0.02" width="0.15" />
        <ShowCurrent value="true" />
        <ShowMaximum value="false" />
        <ShowMinimum value="false" />
        <Reverse value="true"/>
        <DataSet>
            <AtomicData field="source" source="player_brakes" />
            <AtomicData field="minimum" source="0.0" />
            <AtomicData field="maximum" source="1.0" />
        </DataSet>
        <Background>
            <Solid>
                <Color r="0.0" g="0.0" b="1.0" alpha="0.7" at="0.0" />
            </Solid>
        </Background>
        <Foreground>
            <Solid>
                <Color r="0.0" g="0.0" b="1.0" alpha="0.2" at="0.0" />
            </Solid>
        </Foreground>
    </BarGauge>
    <!-- brake gauge -->
    <!-- minimap -->
    <Map camera="all">
        <Position x="0.73" y="-0.72" />
        <Size height="0.20" width="0.20" />
        <Background>
            <Solid>
                <Color r="0.0" g="0.0" b="0.0" alpha="0.5" />
            </Solid>
        </Background>
        <MapModes toggleKey="3">
            <MapMode mode="cycle" rotation="camera" zoomFactor="2.0" />
            <MapMode mode="full" rotation="fixed" />
        </MapModes>
    </Map>
    <!-- minimap -->
    <!-- time, fps, ping, watching -->
    <Label camera="all" viewport="all">
        <Position x="0.8" y="0.46" />
        <Size height="0.04" width="0.02" />
        <DataSet id="hours">
            <AtomicData source="current_hours12h" minwidth="1" fill="0" />            
        </DataSet>
        <DataSet id="minutes">
            <AtomicData source="current_minutes" minwidth="1" fill="0" />
        </DataSet>
        <DataSet>
            <AtomicData source="current_seconds" minwidth="1" fill="0" />
        </DataSet>
        <DataSet id="ampm">
            <Conditional field="source" lvalue="current_hours" rvalue="12" operator="le">
                <IfTrue>
                    <AtomicData source="AM"/>
                </IfTrue>
                <IfFalse>
                    <AtomicData source="PM"/>
                </IfFalse>
            </Conditional>
        </DataSet>
        <DataSet id="FPS">
            <AtomicData source="current_framerate" />
        </DataSet>
        <DataSet id="ping">
            <AtomicData field="source" source="current_ping" />
        </DataSet>
        <DataSet id="watching">
            <AtomicData source="current_colored_name" />
        </DataSet>
        <Face>
            <Table>
                <Row>
                    <Cell>
                        <GameData data="hours" />
				        <Text value=":" />
                        <GameData data="minutes" />
                        <Text value="."/>
                        <GameData data="seconds" />
                        <Text value=" " />
                        <GameData data="ampm" />
                    </Cell>
                </Row>
                <Row>
                    <Cell>
                        <GameData data="FPS" />
                        <Text value=" 0x8888aaFPS" />
                    </Cell>
                </Row>   
                <Row>
                    <Cell>
                        <Text value="0x8888ccPing0xffffff: " />
                        <GameData data="ping" />
                    </Cell>
                </Row>
                <Row>
                    <Cell>
                        <Text value="0x8888ffWatching0xffffff: " />
                        <GameData data="watching" />
                    </Cell>
                </Row>
            </Table>
        </Face>
    </Label>
    <!-- time, fps, ping, watching -->
</Cockpit>
</Resource>