Changes between Version 50 and Version 51 of ProtocolZero


Ignore:
Timestamp:
Jun 8, 2011 12:05:23 PM (13 years ago)
Author:
jpawlick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v50 v51  
    145145 * jump [VOID] - makes the Quagent jump in place.
    146146 * crouch [VOID] - makes the Quagent crouch in place.
    147  * fireWeapon [VOID] - makes the Quagent fire the currently equipped weapon.
    148147 * changeWeapon [WEAPON] - Quagent equips the given weapon, if possible.
    149148 * say [STRING] - Quagent "speaks" the STRING aloud. Has limited range. Possible implementation for user with speech synth. Used during Quagent collaboration.   
    150149 * look [VOID] - sends an image over the socket back to the user representing what the agent can see.
    151  * canSee [INT] - asks if there exists line of sight between a bot and another bot.
    152150 * listen [TIME] - sends sounds back to the user for the specified time. This seems like it might be Hard.
    153151 * zoom [VOID] - sends an image that zooms on the Quagent's current view. Uses quake zoom func.
     
    161159* Sensors
    162160 * currentItem - returns description of currently held items.
    163 * The following are booleans constructed from other protocol functions. They are implemented in the API for convenience.
    164  * isDead? - returns true if agent is dead
    165  * hasAmmo? - true if agent has > 0 ammo.
    166  * hasArmour? - true if agent has > 0 armour.
    167  * hasItem? - true if agent is carrying an item.
    168161
    169162'''GOD'''