Orders Example for V0.2

<orders>

    <!--
    Turn sequence is...
   
    Diplomacy
    Message
    Colonise
    Move
    Intercept
    Repair
    Combat (system order - not issued by players)
    Build
    Upgrade
    Mining (system order - not issued by players)
    research
    Discovery (system order - not issued by players)
    Name
   
    -->

    <build>
        <ship>1</ship>    or <planet>1</planet> <!-- can use id or name -->
        <hull>1000</hull>
        <slot>engine</slot>
        <slot>factory</slot> <!-- for building -->
        <slot>landing craft</slot> <!-- for colonising -->
        <slot>lab</slot> <!-- research -->
        <slot>torpedo</slot>
        <slot>repair bay</slot> <!-- not implemented yet -->
        <slot>shield</slot>
    </build>
   
    <diplomacy>   
        <clear />
        <enemy>Steve</enemy> <!-- can use id or name -->
    </diplomacy>
   
    <intercept>
        <ship>1</ship> <!-- can use id or name -->
        <target>2</target> <!-- can use id or name -->
        <targetfaction>555</targetfaction> <!-- only required of target is a name, not an id -->
    </intercept>

    <message>
        <faction>Steve</faction> <!-- can use id or name -->
        <text>Completely overlooked in first version of client!</text>
    </message>
   
    <move>
        <ship>1</ship> <!-- can use id or name -->
        <planet>2</planet> <!-- can use id or name, used in preference to x,y -->
        <x>0</x>
        <y>0</y>       
    </move>
   
    <name>
        <planet>1</planet> <!-- can use id or name -->
        <ship>2</ship> <!-- can use id or name -->
        <faction>3</faction> <!-- can use id or name (ignored in client v1 - probably for the best!) -->
        <name>New Name</name>
    </name>

    <repair>
        <ship>1</ship> <!-- can use id or name -->
        <energy>ALL</energy> <!-- amount of energy to use repairing, or ALL to repair all damage -->
    </repair>
   
    <upgrade>
        <ship>1</ship>    or <planet>1</planet> <!-- can use id or name -->
        <target_ship>1</target_ship>    or <target_planet>1</target_planet> <!-- can use id or name -->
        <slot>engine</slot>
        <slot>factory</slot> <!-- for building -->
        <slot>landing craft</slot> <!-- for colonising -->
        <slot>lab</slot> <!-- research -->
        <slot>torpedo</slot>
        <slot>repair bay</slot> <!-- not implemented yet -->
        <slot>shield</slot>
    </upgrade>
   
    <colonise>
        <ship>1</ship> <!-- can use id or name, to colonise a planet at same location -->
    <colonise>

    <research>
        <technology>fields or engineering or quantum</technology>
    <research>
   
</orders>

Posted by Jim in Development on 04 Jun 2009

Game: Balance Of Power

Turn: 27

Scenario: Open ended

Scores

Faction Player Planets Ships Ship Mass Score
Deranged Sensor Jim 55 10 8403 734
Northern Scott 40 6 3048 490
The Easy Way Out Glenn 15 6 3171 241
The Vindaloo Empire Alex 3 5 3870 118
The Potato People Steve 3 4 2545 95
Black Shift Ed 1 1 1404 34

Articles by category

Find blog by the category of the article.