Changes between Initial Version and Version 1 of mf


Ignore:
Timestamp:
Jun 3, 2011 1:02:26 PM (13 years ago)
Author:
jpawlick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mf

    v1 v1  
     1This command sends the agent walking until it hits an obstacle it cannot pass. It will walk off cliffs and into slime or lava.
     2
     3'''Parameters:'''
     4 * 1: integer obstacle flag: 1 if the agent should hop over low obstacles, 0 if it should report blocked when it encounters them.
     5 * 2: float theta, the heading in which the agent should walk relative to its current facing. 0 is straight ahead, 90 is strafe left, etc.
     6 * 3: float speed, 1.0 = normal maximum bot movement speed (400 in game terms), 0 = stopped. -1 = reverse maximum speed. In the current version, values out of the [-1, 1] range are not supported.
     7
     8'''Reports:'''
     9 * ''blocked'' if movement ended due to cliff/wall/slime/lava/blocking entity.
     10
     11'''Example:'''
     12 * User sends: "n mf 512 0 1"
     13 * Bot moves straight ahead for 44 seconds at full speed and then strikes a wall it cannot slide along (not oblique, or in a corner),
     14 * Bot replies "cp mf 512 blocked"