Skip to content

Instantly share code, notes, and snippets.

@dlh
Created December 6, 2013 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlh/d617cdf389964d06161d to your computer and use it in GitHub Desktop.
Save dlh/d617cdf389964d06161d to your computer and use it in GitHub Desktop.
--- a/essentialremix-0.3.7.aacockpit.xml 2013-12-05 22:09:01.000000000 -0500
+++ b/essentialremix-1.aacockpit.xml 2013-12-05 22:31:35.000000000 -0500
@@ -1,8 +1,15 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE Resource SYSTEM "AATeam/cockpit-0.3.1-c.dtd">
-<Resource type="aacockpit" name="essentialremix" version="0.3.7" author="flex" category="cockpits">
-<Cockpit version="0.3.0">
+<Resource type="aacockpit" name="essentialremix" version="1" author="liz" category="cockpits">
+<Cockpit version="0.0.1">
+
+<!--
+ This cockpit is based off of flex/cockpits/essentialremix-0.3.7.aacockpit.xml.
+
+ Changes:
+ * Display current_ping
+-->
<!-- toggle key 1 = toggle between Fastest/fps & time/max speed/max tubber (default: on) -->
<!-- toggle key 2 = show/hide minimap (default: off). -->
@@ -95,7 +102,7 @@
<!-- brake meter -->
<!-- label: time & fps -->
-<Label camera="all" viewport="top" toggle="1" toggleSticky="true" toggleDefault="on">
+<Label camera="all" viewport="all" toggle="1" toggleSticky="true" toggleDefault="on">
<Position x="0.85" y="0.50" />
<Size height="0.04" width="0.02" />
<DataSet id="hours">
@@ -107,6 +114,9 @@
<DataSet id="FPS">
<AtomicData source="current_framerate" />
</DataSet>
+ <DataSet id="ping">
+ <AtomicData source="current_ping" field="source" />
+ </DataSet>
<Face>
<Table>
<Row>
@@ -122,6 +132,12 @@
<Text value=" FPS" />
</Cell>
</Row>
+ <Row>
+ <Cell>
+ <GameData data="ping" />
+ <Text value=" ms" />
+ </Cell>
+ </Row>
</Table>
</Face>
</Label>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment