Changes between Version 77 and Version 78 of ProtocolZero
- Timestamp:
- Jun 22, 2011 12:37:02 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProtocolZero
v77 v78 50 50 51 51 == List of Commands == 52 '''INITIAL PHASE '''52 '''INITIAL PHASE (COMMAND CHANNEL)''' 53 53 * ''name'' - sets what the name of the bot will be when it spawns. Takes one argument: 54 54 * string name … … 59 59 * ''team'' - sets the team of the bot ("red" or "blue") in CTF or team deathmatch mode. 60 60 * 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. 62 62 * 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)''' 66 71 * Movement: 67 72 * ''[[mi]]'' - "Move Indefinitely". Takes three arguments: … … 142 147 * int depth 143 148 144 '''EVENT SOCKET''' 145 * identity 146 147 '''GOD''' 149 '''LIVE PHASE (EVENT CHANNEL)''' 150 151 '''LIVE PHASE (DIRECTOR CHANNEL)''' 148 152 * God Actions 149 153 * ''wiki:sh'' - "Set Health". Takes two arguments: … … 174 178 175 179 == Not Yet Implemented Commands == 180 (for URCS Quagents team reference) 176 181 177 182 '''INITIAL COMMANDS''' … … 180 185 181 186 '''LIVE COMMANDS''' 182 183 187 * Basic robot-like functions for users who want low-level fine control. (Implement first) 184 188 * get [ENTITYID] - picks up an item from the environment … … 186 190 * 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. 187 191 * lookdepth [...] - like look, but sends the OpenGL Zbuffer not framebuffer back over the socket. 188 189 192 190 193 '''GOD'''