<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?><!DOCTYPE Resource SYSTEM "AATeam/cockpit-0.3.0.dtd">
<Resource type="aacockpit" name="voodoo" version="0.0.1" author="voodoo" category="">    <Cockpit version="0.0.1">

        <WidgetTemplate id="ImpactAlert" toggle="1" toggleSticky="true" toggleDefault="on">            <ShowCurrent value="false" />            <ShowMaximum value="false" />            <ShowMinimum value="false" />            <Background>                <Solid>                    <Color r="0." g="0." b="0." alpha=".0"  />                </Solid>            </Background>           <Foreground>                <Gradient orientation="value">                    <Color r="0." g="1." b="0." alpha=".2" at=".0" />                    <Color r="1." g="8." b="0." alpha=".5" at=".9999" />                    <Color r="1." g="0." b="0." alpha=".5" at="1" />                </Gradient>          </Foreground>          <Position x="0" y="-.35" />        </WidgetTemplate>
        <!-- FRONT IMPACT -->         <BarGauge camera="*" usetemplate="ImpactAlert">            <DataSet>               <Conditional lvalue="time_to_impact_front" rvalue=".25" operator="lt">                <IfTrue> <AtomicData field="source" source="1" /></IfTrue>                 <IfFalse>                        <Conditional lvalue="time_to_impact_front" rvalue=".66" operator="lt">                        <IfTrue><AtomicData field="source" source=".99999" /> </IfTrue>                        <IfFalse><AtomicData field="source" source=".0" /></IfFalse>                        </Conditional>                 </IfFalse>               </Conditional>	         	<AtomicData field="minimum" source=".0" />	          	<AtomicData field="maximum" source="1." />	        </DataSet>           <Position x="0" y="0" />          <Size height="0.4" width=".5" />        </BarGauge>        <!-- RIGHT IMPACT -->         <BarGauge camera="*" usetemplate="ImpactAlert">            <DataSet>               <Conditional lvalue="time_to_impact_right" rvalue=".25" operator="lt">                <IfTrue> <AtomicData field="source" source="1" /></IfTrue>                 <IfFalse>                        <Conditional lvalue="time_to_impact_right" rvalue=".66" operator="lt">                        <IfTrue><AtomicData field="source" source=".99999" /> </IfTrue>                        <IfFalse><AtomicData field="source" source=".0" /> </IfFalse>                        </Conditional>                 </IfFalse>               </Conditional>	         	<AtomicData field="minimum" source=".0" />	          	<AtomicData field="maximum" source="1." />	        </DataSet>           <Position x=".75" y="0" />          <Size height="0.4" width=".25" />        </BarGauge>        <!-- LEFT IMPACT -->         <BarGauge camera="*" usetemplate="ImpactAlert">            <DataSet>               <Conditional lvalue="time_to_impact_left" rvalue=".25" operator="lt">                <IfTrue> <AtomicData field="source" source="1" /></IfTrue>                 <IfFalse>                        <Conditional lvalue="time_to_impact_left" rvalue=".66" operator="lt">                        <IfTrue><AtomicData field="source" source=".99999" /> </IfTrue>                        <IfFalse><AtomicData field="source" source=".0" /> </IfFalse>                        </Conditional>                 </IfFalse>               </Conditional>	         	<AtomicData field="minimum" source=".0" />	          	<AtomicData field="maximum" source="1." />	        </DataSet>           <Position x="-.75" y="0" />          <Size height="0.4" width=".25" />        </BarGauge>        <!-- RUBBER ALERT -->        <BarGauge camera="*" toggle="1" toggleSticky="true" toggleDefault="on">            <DataSet>                <AtomicData field="source" source="player_rubber" />                <AtomicData field="minimum" source="0" />                <AtomicData field="maximum" source="cycle_rubber" />            </DataSet>            <Position x="0" y="-0.81" />            <Size height="0.15" width="1" />            <ShowCurrent value="false" />            <ShowMaximum value="false" />            <ShowMinimum value="false" />            <Caption location="off">                <Text value="Rubber" />            </Caption>            <Background>                <Solid>                    <Color r="0." g="0." b="0." alpha=".0" />                </Solid>            </Background>            <Foreground>                <Gradient orientation="value">                    <Color r="0." g="1." b="0." alpha=".0" at="0." />                    <Color r="1." g="1." b="0." alpha=".15" at=".25" />                    <Color r="1." g="4." b="0." alpha=".35" at=".5" />                    <Color r="1." g="0." b="0." alpha=".4" at="7." />                    <Color r="1." g="0." b="0." alpha=".5" at="1." />                </Gradient>            </Foreground>        </BarGauge>


        <!-- RECTANGLE TO DIM 3D RENDERING -->	
        <Rectangle viewport="top" toggle="2" toggleSticky="true" toggleDefault="off" >
            <Position x="0" y="0" />
            <Size height="1" width="1" />
            <Background>
                <Solid>
                    <Color r="0." g="0." b="0." alpha=".7" />
                </Solid>
            </Background>
        </Rectangle>
        <!-- MAP 1 -->        <Map camera="*" toggle="2" toggleSticky="true" toggleDefault="on">            <Position x="0.65" y=".0" />            <Size height="0.30" width="0.30" />
            <Background>
                  <Solid>
                      <Color r="1." g="1." b="1." alpha=".2" />
                  </Solid>
            </Background>
        </Map>        <!-- MAP 2 -->	<Map camera="*" viewport="top" toggle="2" toggleSticky="true" toggleDefault="off">
	    <Position x="0" y="-.23" />
	    <Size height=".7" width="0.7" />
	</Map>



        <!-- ACCELERATION METER -->        <BarGauge camera="*">
            <DataSet>
		<AtomicData field="source" source="player_acceleration" />
		<AtomicData field="minimum" source="0" />
		<AtomicData field="maximum" source="10" />
	    </DataSet>
            <Position x=".1" y="-0.94" />            <Size height=".05" width=".1" />            <ShowCurrent value="false" />
            <ShowMaximum value="false" />
            <ShowMinimum value="false" />
            <Background>
                <Solid>
                    <Color r="1." g="1." b="1." alpha=".1" />
                </Solid>
            </Background>
            <Foreground>
                <Solid>
                    <Color r="0." g="1." b="0." alpha=".5"/>
                </Solid>
            </Foreground>
        </BarGauge>
        <BarGauge camera="*">
            <DataSet>
		<AtomicData field="source" source="player_acceleration" />
		<AtomicData field="minimum" source="-10" />
		<AtomicData field="maximum" source="0" />
	    </DataSet>
            <Position x="-.1" y="-0.94" />            <Size height="0.05" width="0.1" />            <ShowCurrent value="false" />
            <ShowMaximum value="false" />
            <ShowMinimum value="false" />
            <Reverse value="false" />
            <Background>
                <Solid>
                    <Color r="1." g="0." b="0." alpha="5." />
                </Solid>
            </Background>
            <Foreground>
                <Solid>
                    <Color r="1." g="1." b="1." alpha=".1" />
                </Solid>
            </Foreground>
        </BarGauge>
        <Label camera="*">            <Position x="-.07" y="-0.95" />            <Size height="0.04" width="0.015" />            <Face>                <Table>                     <Row>                        <Cell><Text value="Acceleration" /></Cell>                    </Row>                </Table>            </Face>        </Label>

        <!-- SPEED METER -->        <BarGauge camera="*">            <DataSet>                <AtomicData field="source" source="player_speed" />                <AtomicData field="minimum" source="0" />                <AtomicData field="maximum" source="max_speed" />            </DataSet>            <Position x=".425" y="-.94" />            <Size height="0.05" width="0.15" />            <ShowCurrent value="true" />            <ShowMaximum value="false" />            <ShowMinimum value="false" />            <Caption location="bottom">                <Text value="Speed" />            </Caption>            <Background>
                <Solid>
                    <Color r="1." g="1." b="1." alpha=".1" />
                </Solid>
            </Background>
            <Foreground>                <Gradient orientation="value">                    <Color r="0." g="1." b="0." alpha=".7" at="0." />                    <Color r="0." g="1." b="0." alpha=".7" at=".3" />                    <Color r="1." g="1." b="0." alpha=".7" at=".6" />                    <Color r="1." g="0." b="0." alpha=".7" at=".8" />                    <Color r="1." g="0." b="0." alpha=".7" at="1." />                </Gradient>            </Foreground>        </BarGauge>

        <!-- BRAKES -->        <BarGauge camera="*">            <DataSet>                <AtomicData field="source" source="player_brakes" />                <AtomicData field="minimum" source="0" />                <AtomicData field="maximum" source="1" />            </DataSet>            <Position x="-.425" y="-.94" />            <Size height="0.05" width="0.15" />            <ShowCurrent value="true" />            <ShowMaximum value="false" />            <ShowMinimum value="false" />            <Caption location="bottom">                <Text value="Brakes" />            </Caption>            <Background>
               <Solid>
                    <Color r="1." g="1." b="1." alpha=".1" />
                </Solid>
            </Background>
            <Foreground>                <Gradient orientation="value">                    <Color r="1." g="0." b="0." alpha=".7" at="0." />                    <Color r="1." g="1." b="0." alpha=".7" at=".5" />                    <Color r="0." g="1." b="0." alpha=".7" at="1." />                </Gradient>            </Foreground>        </BarGauge>
        <!-- RUBBER METER -->        <BarGauge camera="*">            <DataSet>                <AtomicData field="source" source="player_rubber" />                <AtomicData field="minimum" source="0" />                <AtomicData field="maximum" source="cycle_rubber" />            </DataSet>            <Position x="-.8" y="-.94" />            <Size height="0.05" width="0.15" />            <ShowCurrent value="true" />            <ShowMaximum value="true" />            <ShowMinimum value="true" />            <Caption location="bottom">                <Text value="Rubber" />            </Caption>            <Background>
                <Solid>
                    <Color r="1." g="1." b="1." alpha=".1" />
                </Solid>
            </Background>
            <Foreground>                <Gradient orientation="value">                    <Color r="0." g="1." b="0." alpha=".7" at="0." />                    <Color r="0." g="1." b="0." alpha=".7" at=".3" />                    <Color r="1." g="1." b="0." alpha=".7" at=".6" />                    <Color r="1." g="0." b="0." alpha=".7" at=".8" />                    <Color r="1." g="0." b="0." alpha=".7" at="1." />                </Gradient>            </Foreground>        </BarGauge>



        <!-- TEXT INFORMATIONS -->        <Label camera="*">            <DataSet id="top">
                <AtomicData source="top_score" />
            </DataSet>
            <DataSet id="hours">
                <AtomicData source="current_hours" minwidth="2" fill="0" />
            </DataSet>
            <DataSet id="minutes">
                <AtomicData source="current_minutes" minwidth="2" fill="0" />
            </DataSet>
            <DataSet id="fps">                <AtomicData source="current_framerate" />            </DataSet>            <DataSet id="ping">                <AtomicData field="source" source="current_ping" />            </DataSet>            <DataSet id="cms">                <AtomicData source="fastest_speed" />            </DataSet>            <DataSet id="fst_sp">                <AtomicData source="fastest_speed_round" />            </DataSet>            <DataSet id="fst_pl">                <AtomicData source="fastest_name_round" />            </DataSet>            <DataSet id="colorcms">               <Conditional lvalue="player_speed" rvalue="fastest_speed" operator="lt">                 <IfTrue>  <AtomicData source="0xff0000" /></IfTrue>                 <IfFalse> <AtomicData source="0xffffff" /></IfFalse>              </Conditional>            </DataSet>            <DataSet id="current_sc">
                <AtomicData source="current_score" />
            </DataSet>
            <Position x=".6" y="-.81" />            <Size height="0.035" width="0.017" />            <Face>                <Table>                    <Row>
                        <Cell><Text value="Time:" /></Cell>
                        <Cell><GameData data="hours" /><Text value=":" /><GameData data="minutes" /></Cell>
                    </Row>
                     <Row>                        <Cell><Text value="FPS / PING:" /></Cell>                        <Cell><GameData data="fps"/><Text value=" / " /><GameData data="ping" /></Cell>                    </Row>                    <Row>
                        <Cell><Text value="Score / Hiscore :" /></Cell>
                        <Cell><GameData data="current_sc" /><Text value=" / " /><GameData data="top" /></Cell>
                    </Row>
                     <Row>                        <Cell><Text value="Current Max:" /></Cell>                        <Cell><GameData data="colorcms" /><GameData data="cms"/></Cell>                     </Row>                     <Row>                        <Cell><Text value="Round fastest:" /></Cell>                        <Cell><GameData data="fst_pl"/><Text value=" - " /><GameData data="fst_sp"/></Cell>                     </Row>                </Table>            </Face>        </Label>
        <!-- COLORED ENEMIES/MATES COUNTER -->        <Label camera="*">            <DataSet id="enemies">                <AtomicData field="source" source="enemies_alive" />            </DataSet>            <DataSet id="friends">                <AtomicData field="source" source="friends_alive" />            </DataSet>            <DataSet id="enemiescolor">                        <AtomicData field="source" source="0xff0000" />            </DataSet>            <DataSet id="friendscolor">                      <AtomicData field="source" source="0x00ff00" />            </DataSet>            <DataSet id="labelfriendscolor">               <Conditional lvalue="friends_alive" rvalue="enemies_alive" operator="eq">                 <IfTrue>                        <AtomicData source="0xffffff" />                 </IfTrue>                 <IfFalse>                    <Conditional lvalue="1" rvalue="friends_alive" operator="eq">                   <IfTrue>                         <AtomicData source="0xff0000" />                    </IfTrue>                    <IfFalse>                        <Conditional lvalue="enemies_alive" rvalue="friends_alive" operator="ge">                            <IfTrue>                                <AtomicData source="0xffffff" />                            </IfTrue>                            <IfFalse>                                <AtomicData source="0xffff00" />                            </IfFalse>                        </Conditional>                      </IfFalse>                    </Conditional>                </IfFalse>              </Conditional>            </DataSet>            <DataSet id="labelenemiescolor">               <Conditional lvalue="friends_alive" rvalue="enemies_alive" operator="eq">                 <IfTrue>                        <AtomicData source="0xffffff" />                 </IfTrue>                 <IfFalse>                    <Conditional lvalue="1" rvalue="enemies_alive" operator="eq">                   <IfTrue>                         <AtomicData source="0xff0000" />                    </IfTrue>                    <IfFalse>                        <Conditional lvalue="friends_alive" rvalue="enemies_alive" operator="ge">                            <IfTrue>                                <AtomicData source="0xffffff" />                            </IfTrue>                            <IfFalse>                                <AtomicData source="0xffff00" />                            </IfFalse>                       </Conditional>                      </IfFalse>                    </Conditional>                </IfFalse>              </Conditional>            </DataSet>            <Position x="-0.12" y="-0.84" />            <Size height="0.035" width="0.017" /> <!-- Size would be the font size in this case -->            <Caption location="off">                <Text value="Player Status" />            </Caption>            <Face>                <Table>                    <Row>                        <Cell><GameData data="labelenemiescolor" /><Text value="Enemies:" /></Cell>                        <Cell><GameData data="enemiescolor" /><GameData data="enemies" /></Cell>                        <Cell><GameData data="labelfriendscolor" /><Text value="Friends:" /></Cell>                        <Cell><GameData data="friendscolor" /><GameData data="friends" /></Cell>                    </Row>                </Table>            </Face>        </Label>

    </Cockpit></Resource>
