Changes between Version 3 and Version 4 of mb


Ignore:
Timestamp:
Jun 7, 2011 2:10:41 PM (13 years ago)
Author:
jpawlick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mb

    v3 v4  
    1 This command sends the agent walking until it hits an obstacle it cannot pass or the given distance is up, whichever is sooner. It will walk off cliffs and into slime or lava.
     1This command sends the agent walking until it hits an obstacle it cannot pass or the given distance is up, whichever is sooner. It will walk off cliffs and into slime or lava. It will also slide along oblique walls or use jump pads. In all cases, moveby counts the total motion while it is running, not just the motion in the provided direction or motion due to walking. For example, if you ask an agent to moveby 50 and a rocket blast launches it 30 sideways, it counts this 30 against the total distance it is responsible for running. If this behavior is unwanted, the user may wish to use [[mt]] instead.
    22
    33'''Parameters:'''
     
    55 * 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.
    66 * 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  * 4: float distance, how far the bot should walk. The bot will hit the spot precisely (if it is possible to), and will spend a few frames making sure that it does (usually by shuffling back and forth to deal with slippery surfaces, overshooting the distance, etc). Negative distances are reset to 0.
     7 * 4: float distance, how far the bot should walk. The bot will hit the spot precisely (if it is possible to), and will spend a few frames making sure that it does (usually by shuffling back and forth to deal with slippery surfaces, overshooting the distance, etc). Negative distances are reset to 0: if you want to move a "negative distance", just increase theta by 180 degrees.
    88
    99'''Reports:'''
    10  * ''blocked'' if movement ended due to cliff/wall/slime/lava/blocking entity.
     10 * ''blocked'' if movement ended due to striking a wall.
    1111 * ''popped'' if popped by [[po]].
    1212 * ''forgotten'' if deleted by [[fa]].