Changes between Version 77 and Version 78 of ProtocolZero


Ignore:
Timestamp:
Jun 22, 2011 12:37:02 PM (13 years ago)
Author:
jpawlick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v77 v78  
    5050
    5151== List of Commands ==
    52 '''INITIAL PHASE'''
     52'''INITIAL PHASE (COMMAND CHANNEL)'''
    5353* ''name'' - sets what the name of the bot will be when it spawns. Takes one argument:
    5454 * string name
     
    5959* ''team'' - sets the team of the bot ("red" or "blue") in CTF or team deathmatch mode.
    6060 * string team
    61 * ''password'' - sets the password of the bot's datastream socket. If this command is not issued, the password is the empty string.
     61* ''password'' - sets the password of the bot's event channel. If this command is not issued, the password is the empty string. The password should not contain spaces.
    6262 * string password
    63 * ''ready'' - spawns the bot. Takes no arguments. Replies with "id X" where X is the unique integer id number of the bot.
    64 
    65 '''LIVE PHASE'''
     63* ''ready'' - spawns the bot. Takes no arguments. Replies with "id X" where X is the entityid of the bot. An entityid is a unique integer identifier.
     64
     65'''INITIAL PHASE (EVENT CHANNEL)'''
     66* ''identity'' - attempts to link the socket into a live quagent. Takes two arguments (the second is optional, see ''password'' above):
     67 * int entityid
     68 * string password
     69
     70'''LIVE PHASE (COMMAND CHANNEL)'''
    6671* Movement:
    6772 * ''[[mi]]'' - "Move Indefinitely". Takes three arguments:
     
    142147  * int depth
    143148
    144 '''EVENT SOCKET'''
    145  * identity
    146 
    147 '''GOD'''
     149'''LIVE PHASE (EVENT CHANNEL)'''
     150
     151'''LIVE PHASE (DIRECTOR CHANNEL)'''
    148152* God Actions
    149153 * ''wiki:sh'' - "Set Health". Takes two arguments:
     
    174178
    175179== Not Yet Implemented Commands ==
     180(for URCS Quagents team reference)
    176181
    177182'''INITIAL COMMANDS'''
     
    180185
    181186'''LIVE COMMANDS'''
    182 
    183187* Basic robot-like functions for users who want low-level fine control. (Implement first)
    184188 * get [ENTITYID] - picks up an item from the environment
     
    186190 * look [...] - sends an image over the socket back to the user representing what the agent can see - may be zoomed or variable-resolution? Use OpenGL.
    187191 * lookdepth [...] - like look, but sends the OpenGL Zbuffer not framebuffer back over the socket.
    188 
    189192
    190193'''GOD'''