Changes between Version 4 and Version 5 of ProtocolZero
- Timestamp:
- May 31, 2011 9:22:17 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProtocolZero
v4 v5 22 22 '''INITIAL COMMANDS''' 23 23 * General management 24 * ready - switches the bot into the live state, spawning the bot. No more initial commands can be given , but live commands cannow 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. 25 25 * 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 mode27 * spawnloc[LOCATION] - selects where the bot will start26 * team [TEAM] - puts the bot on red/blue team if game is in team mode 27 * initialPosition [LOCATION] - selects where the bot will start 28 28 * name [NAME] - sets chatname of bot 29 29 … … 31 31 32 32 * 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. 36 37 * 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. 38 44 * 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. 40 46 * More complex robot-like functions. (Implement next) 41 47 * follow [ENTITY] [DIST] - Bot moves toward/away from entity until it is at the given distance, if possible, and attempts to maintain that. … … 54 60 * peeknext - echos a description of the next command to evaluate 55 61 62 '''Overseer''' 63 Overseer functions here. 56 64 57 65 == Implementation ==