[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The actual code for movement is a maze of twisty little subroutines, all alike, and this is reflected in the commands available.
There are several concepts in use in the movement commands.
This has been implemented by having two modes - `move_3d on' and `move_3d off'. This affects the `strafe', `step', `rotate' and `look' commands which invoke commands prefixed with `imm_' when `move_3d' is on.
`move_3d' is like Descent, as if you are piloting an air vehicle, and can yaw, pitch and roll.
Without `move_3d', movement is like Quake, and you cannot tip your head left and right, only up and down.
Acceleration and maximum speed are configured in the Configuration file, but only affect the step (move in direction of view) and strafe (move perpendicular to direction of view) commands, not the rotation commands. See section 4.2.6 Configuration Files.
facenorth
facesouth
faceeast
facewest
facedown
faceup
turn [b]
The next section of commands work differently if `move_3d' is on. `move_3D' mode ignores gravity, and gives a full 3D capability, like Descent. The gravity control can be switched off even if `move_3d' is off. It is of limited use, as these commands are not bound to individual keys normally, and you don't really want to keep typing them into the console.
In 3D mode, they take a single step as described. In normal mode, they take a parameter giving the distance to move. Remember that status means this commands takes place as long as the keys are held down.
step_forward n
[status-up]
step_backward n
[status-down]
strafe_left n
[status-alt-left]
strafe_right n
[status-alt-right]
look_up n
[status-pgup]
look_down n
[status-pgdn]
rotate_left n
[status-left]
rotate_right n
[status-right]
jump
[0]
If `do_gravity' is enabled (the default) and `on_ground' is set, add `cfg_jumpspeed' to upward (y) component. In short, jump. And you can't jump in midair to keep going upwards.
move3d [3]
do_gravity boolean [8]
Movement
These take a pair. If first = 1, use Slow mode. If second = 1, use Fast mode. Both may be true, in which case slow is assumed. These commands are bound to movement keys. The Control key sets the Slow flag, and Control-Shift sets the Fast flag. There are key bindings for use with Slow and Fast, but not Normal speed.
These four perform left or right rotation using either camera or world coordinates.
These four perform rotation, left or right, around the X (horizontal) or Z (direction of view) axes.
colldet boolean [Shift-8]
freelook [\]
inverse_mouse Boolean [`]
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |