Changes between Version 4 and Version 5 of ProtocolZero


Ignore:
Timestamp:
May 31, 2011 9:22:17 AM (13 years ago)
Author:
jherwitz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v4 v5  
    2222'''INITIAL COMMANDS'''
    2323* General management
    24  * ready - switches the bot into the live state, spawning the bot. No more initial commands can be given, but live commands can now be given.
     24 * ready - switches the bot into the live state, spawning the bot. No more initial commands can be given. Live commands may now be given.
    2525 * botfile [NAME] - selects the botfile to use for the bot
    26  * team [NAME] - puts the bot on red/blue team if game is in team mode
    27  * spawnloc [LOCATION] - selects where the bot will start
     26 * team [TEAM] - puts the bot on red/blue team if game is in team mode
     27 * initialPosition [LOCATION] - selects where the bot will start
    2828 * name [NAME] - sets chatname of bot
    2929
     
    3131
    3232* Basic robot-like functions for users who want low-level fine control. (Implement first)
    33  * walkby [DISTANCE] - the bot moves forward until it reaches the distance or strikes an obstacle, in which case it reports so.
    34  * walkto [LOCATION] - the bot rotates and moves in a straight line to a given coordinates (or to directly above/below them, if not on the same Z-plane).
    35  * turn [ANGLE] - rotates the bot clockwise by the specified angle
     33 * move [DIRECTION,DISTANCE] - bot moves in given direction for the specified distance.
     34 * move [LOCATION] - bot moves to specified location.
     35 * move [DIRECTION] - bot moves according to DIRECTION indefinitely until a collision occurs.
     36 * rotate [ROTATIONAL,AZIMUTHAL] - rotates the bot clockwise by the specified rotational and azimuthal angles.
    3637 * echo [STRING] - reports a string back over the socket to the user
    37  * look - sends an image over the socket back to the user representing what the agent can see.
     38 * jump [VOID] - makes the Quagent jump in place.
     39 * crouch [VOID] - makes the Quagent crouch in place.
     40 * fireWeapon [VOID] - makes the Quagent fire the currently equipped weapon.
     41 * changeWeapon [WEAPON] - Quagent equips to the given weapon, if possible.
     42 * say [STRING] - Quagent "speaks" the STRING aloud. Has limited range. Possible implementation for user with speech synth. Used during Quagent collaboration.   
     43 * look [VOID] - sends an image over the socket back to the user representing what the agent can see.
    3844 * listen [TIME] - sends sounds back to the user for the specified time. This seems like it might be Hard.
    39  * exactlywhereareyou? - returns the bot's coordinates.
     45 * zoom [VOID] - sends an image that zooms on the Quagent's current view. Uses quake zoom func.
    4046* More complex robot-like functions. (Implement next)
    4147 * follow [ENTITY] [DIST] - Bot moves toward/away from entity until it is at the given distance, if possible, and attempts to maintain that.
     
    5460 * peeknext - echos a description of the next command to evaluate
    5561
     62'''Overseer'''
     63Overseer functions here.
    5664
    5765== Implementation ==