Softwareumgebung:Konfigurationsdatei: Unterschied zwischen den Versionen

Aus Kicker
Zur Navigation springenZur Suche springen
(Die Seite wurde neu angelegt: „<source lang="xml"> <?xml version="1.0" encoding="utf-8"?> <profile> <!-- Verbindungsinformationen --> <connections> <localhost host="localhost" /> <SP…“)
 
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<div style="border: 1px dashed #2F6FAB;">
<source lang="xml">
<source lang="xml">
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
Zeile 291: Zeile 292:
</profile>
</profile>
</source>
</source>
</div>

Version vom 27. November 2012, 08:06 Uhr

<?xml version="1.0" encoding="utf-8"?>
<profile>
 <!-- Verbindungsinformationen -->
  <connections>
    <localhost host="localhost" />
    <SPServer host="localhost" port="50000" />
    <Ball host="localhost" port="50001" />
    <Gui host="localhost" port="60002" />
    <KiSPServer host="localhost" port="60000" />
    <KiBall host="localhost" port="60001" />
    <KiGui host="localhost" port="50002" />
    <HighScore host="localhost" port="60020" />
  </connections>

  <!-- Abmessungen -->
  <dimensions>
    <field depth="690" breadth="1200">
      <goal width="198" />
    </field>
    <axis>
      <one>
        <figure pos="221" />
        <!--figure min="225" max="473" /-->
        <shift value="241" />
        <rot min="-170" max="170" />
        <pos x="75" />
      </one>
      <two>
        <figure pos="38" />
        <figure pos="270" />
        <!--figure min="40" max="422" />
        <figure min="271" max="653" /-->
        <shift value="377" />
        <rot min="-170" max="170" />
        <pos x="225" />
      </two>
      <three>
        <figure pos="38" />
        <figure pos="159" />
        <figure pos="280" />
        <figure pos="401" />
        <figure pos="522" />
        <!--figure min="40" max="170" />
        <figure min="161" max="291" />
        <figure min="281" max="411" />
        <figure min="403" max="533" />
        <figure min="524" max="654" /-->
        <shift value="120" />
        <rot min="-170" max="170" />
        <pos x="525" />
      </three>
      <four>
        <figure pos="38" />
        <figure pos="221" />
        <figure pos="404" />
        <!--figure min="40" max="288" />
        <figure min="222" max="470" />
        <figure min="407" max="655" /-->
        <shift value="233" />
        <rot min="-170" max="170" />
        <pos x="825" />
      </four>
      <distance value="150" />
      <offset value="6" />
    </axis>
    <velocity trans="2000" rot="4285" />
    <figure breadth="22" height="72" thickness="11" fielddistance="8" />
    <ball diameter="33" toaxisshootable="45" toaxisreachable="64" />
  </dimensions>

  <!-- Statusse -->
  <states>
    <values>
      <game>
        <running default="0" min="0" max="1" />
        <computerscore default="0" min="0" max="10" />
        <humanscore default="0" min="0" max="10" />
      </game>
      <global>
        <ready default="0" min="0" max="8" />
      </global>
      <config>
        <ready default="0" min="0" max="1" />
      </config>
      <knowledgebase>
        <ready default="0" min="0" max="1" />
      </knowledgebase>
      <ball>
        <ready default="0" min="0" max="1" />
      </ball>
      <kicker>
        <ready default="0" min="0" max="1" />
      </kicker>
      <axis1computer>
        <ready default="0" min="0" max="1" />
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
        <wobbling default="0" min="-1" max="1" />
      </axis1computer>
      <axis2computer>
        <ready default="0" min="0" max="1" />
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
        <wobbling default="0" min="-1" max="1" />
      </axis2computer>
      <axis3computer>
        <ready default="0" min="0" max="1" />
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
        <wobbling default="0" min="-1" max="1" />
      </axis3computer>
      <axis4computer>
        <ready default="0" min="0" max="1" />
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
        <wobbling default="0" min="-1" max="1" />
      </axis4computer>
      <axis1human>
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
      </axis1human>
      <axis2human>
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
      </axis2human>
      <axis3human>
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
      </axis3human>
      <axis4human>
        <blocking default="0" min="0" max="1" />
        <moving default="0" min="-100" max="100" />
        <shooting default="0" min="0" max="1" />
      </axis4human>
      <ballpos>
        <computerpossession default="0" min="0" max="1" />
        <humanpossession default="0" min="0" max="1" />
        <speed default="0" min="0" max="100" />
      </ballpos>
      <ballpostoaxis1computer>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis1computer>
      <ballpostoaxis2computer>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis2computer>
      <ballpostoaxis3computer>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis3computer>
      <ballpostoaxis4computer>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis4computer>
      <ballpostoaxis1human>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis1human>
      <ballpostoaxis2human>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis2human>
      <ballpostoaxis3human>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis3human>
      <ballpostoaxis4human>
        <holdable default="0" min="0" max="10" />
        <passable default="0" min="0" max="10" />
        <shootable default="0" min="0" max="10" />
        <handable default="0" min="0" max="10" />
      </ballpostoaxis4human>
    </values>
    <links><!-- In Config eine Funktion schreiben die die Verlinkungen zurückgibt -->
      <game></game>
      <global>
        <updates group="game" state="running" />
      </global>
      <config>
        <updates group="global" state="ready" />
      </config>
      <knowledgebase>
        <updates group="global" state="ready" />
      </knowledgebase>
      <ball>
        <updates group="global" state="ready" />
      </ball>
      <kicker>
        <updates group="global" state="ready" />
      </kicker>
      <axis1computer>
        <updates group="global" state="ready" />
      </axis1computer>
      <axis2computer>
        <updates group="global" state="ready" />
      </axis2computer>
      <axis3computer>
        <updates group="global" state="ready" />
      </axis3computer>
      <axis4computer>
        <updates group="global" state="ready" />
      </axis4computer>
      <axis1human></axis1human>
      <axis2human></axis2human>
      <axis3human></axis3human>
      <axis4human></axis4human>
      <ballpos></ballpos>
      <ballpostoaxis1computer></ballpostoaxis1computer>
      <ballpostoaxis2computer></ballpostoaxis2computer>
      <ballpostoaxis3computer></ballpostoaxis3computer>
      <ballpostoaxis4computer></ballpostoaxis4computer>
      <ballpostoaxis1human></ballpostoaxis1human>
      <ballpostoaxis2human></ballpostoaxis2human>
      <ballpostoaxis3human></ballpostoaxis3human>
      <ballpostoaxis4human></ballpostoaxis4human>
    </links>
  </states>
  
  <!-- Schusswinkel - Offset -->
  <shootoffset>
    <byRotation>
      <shoot angle="0" offset="0" />
      <shoot angle="10" offset="18" />
      <shoot angle="20" offset="20" />
      <shoot angle="30" offset="22" />
      <shoot angle="45" offset="25" />
    </byRotation>
    <byTranslation>
      <shoot angle="50" offset="20" />
      <shoot angle="60" offset="17" />
      <shoot angle="70" offset="15" />
      <shoot angle="80" offset="13" />
      <shoot angle="90" offset="0" />
    </byTranslation>
  </shootoffset>

  <!-- Startpositionen -->
  <!--startpos>
    <axis>
      <one>
        <pos pos="124" angle="0" />
        <velo trans="800" rot="800" />
        <shoot exec="false" />
      </one>
      <two>
        <pos pos="191" angle="0" />
        <velo trans="800" rot="800" />
        <shoot exec="false" />
      </two>
      <three>
        <pos pos="65" angle="0" />
        <velo trans="800" rot="800" />
        <shoot exec="false" />
      </three>
      <four>
        <pos pos="124" angle="0" />
        <velo trans="800" rot="800" />
        <shoot exec="false" />
      </four>
    </axis>
    <ball x="0" y="0" />
    <score human="0" computer="0" />
  </startpos-->

  <!-- Sonstiges -->
  <other>
  </other>
</profile>