Changes between Version 94 and Version 95 of ProtocolZero


Ignore:
Timestamp:
Aug 10, 2011 11:45:30 AM (13 years ago)
Author:
xwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v94 v95  
    218218  * double x
    219219  * double y
     220* [[God Events]]
    220221
    221222== Not Yet Implemented Commands ==
     
    224225'''LIVE COMMANDS'''
    225226* Basic robot-like functions for users who want low-level fine control. (Implement first)
    226  * get [ENTITYID] - picks up an item from the environment
    227  * drop [ENTITYID] - drops an item from inventory - maybe not entity but itemtype? Hm.
    228227 * 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.
    229228 * lookdepth [...] - like look, but sends the OpenGL Zbuffer not framebuffer back over the socket.
    230229
    231230'''GOD'''
    232  * getPositions [VOID] - returns list of all Quagent positions.
    233  * setGravity [GRAVITY] - sets global gravity.
    234  * slomo [SLOW_FACTOR] - slows down all game actions by SLOW_FACTOR.
     231 * slowmo [SLOW_FACTOR] - slows down all game actions by SLOW_FACTOR. '''FIXME:''' slomo and speedup only affect running speed right now
    235232 * speedup [SPEED_FACTOR] - speeds up all game actions by SPEED_FACTOR.
    236  * drop[ITEM,LOCATION] - places ITEM at LOCATION.
    237  * move[BOT,LOCATION] - moves specified Quagent to specified LOCATION.
    238233 * look[POSITION,DIRECTION] - produces a snapshot taken from POSITION facing DIRECTION.
    239  * findDist [POSITION1, POSITION2] - returns the distance between two points.
    240  * setHealth [BOT,HEALTH] - sets Quagent's health to HEALTH.
    241  * setArmor [BOT,ARMOR] - sets Quagent's armor to ARMOR.
    242  * isWithin [BOT,SPACE] - determines if Quagent is within the specified SPACE.
    243234 * listen [POSITION] - listens for Quagent communications at the given POSITION.
    244  * pause [VOID] - global pause. calling this while paused acts as a resume.
     235 * pause [VOID] - global pause. calling this while paused acts as a resume. '''FIXME:''' unpausing does not work