Control names: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
* '''look_behind''' Make the player look behind (and allow the player to see behind them)
* '''look_behind''' Make the player look behind (and allow the player to see behind them)
* '''crouch''' Make the player crouch/duck
* '''crouch''' Make the player crouch/duck
* '''action'''
* '''action'''  
* '''walk''' Make the player move slowly/quietly
* '''walk''' Make the player move slowly/quietly
* '''aim_weapon''' Aim the player's current weapon (if possible)
* '''aim_weapon''' Aim the player's current weapon (if possible)
Line 23: Line 23:
* '''group_control_forwards''' Make the group you are controlling move forwards
* '''group_control_forwards''' Make the group you are controlling move forwards
* '''group_control_back''' Make the group you are controlling move backwards
* '''group_control_back''' Make the group you are controlling move backwards
* '''enter_exit''' Make the player enter a vehicle
</div>
</div>
<div style="border:3px solid red;margin-bottom:3px;"><div style="float:right;padding-right:5px;font-weight:bold;">IN VEHICLE</div>
<div style="border:3px solid red;margin-bottom:3px;"><div style="float:right;padding-right:5px;font-weight:bold;">IN VEHICLE</div>
Line 47: Line 48:
* '''special_control_down''' Move the some special vehicle component down (e.g. tank's turret)
* '''special_control_down''' Move the some special vehicle component down (e.g. tank's turret)
* '''special_control_up''' Move the some special vehicle component up (e.g. tank's turret)
* '''special_control_up''' Move the some special vehicle component up (e.g. tank's turret)
* '''enter_exit''' Make the player exit a vehicle
</div>
</div>

Revision as of 21:54, 13 August 2006

This page lists all the control names. These can be used by the console commands bind and unbind as well as the script functions bindKey and unbindKey.

ON FOOT
  • fire Fire a player's weapon
  • next_weapon Switch to the next weapon
  • previous_weapon Switch to the previous weapon
  • forwards Move forwards
  • backwards Move backwards
  • left Move left
  • right Move right
  • zoom_in Zoom targeted weapon in (sniper/rocket launcher/camera etc)
  • zoom_out Zoom targeted weapon out
  • change_camera Change camera mode
  • jump Make the player jump
  • sprint Make the player sprint
  • look_behind Make the player look behind (and allow the player to see behind them)
  • crouch Make the player crouch/duck
  • action
  • walk Make the player move slowly/quietly
  • aim_weapon Aim the player's current weapon (if possible)
  • conversation_yes Answer yes to a question
  • converstaion_no Answer no to a question
  • group_control_forwards Make the group you are controlling move forwards
  • group_control_back Make the group you are controlling move backwards
  • enter_exit Make the player enter a vehicle
IN VEHICLE
  • vehicle_fire Fire the player's vehicle's primary weapon (e.g. hunter's missiles)
  • vehicle_secondary_fire Fire the player's vehicle's secondary weapon (e.g. hunter's minigun)
  • vehicle_left Make the player's vehicle turn left
  • vehicle_right Make the player's vehicle turn right
  • steer_forwards Make the player's vehicle turn down (lean forwards for helicopters/planes)
  • steer_back Make the player's vehicle turn up (lean backwards for helicopters/planes)
  • accelerate Make the player's vehicle accelerate
  • brake_reverse Make the player's brake (slow down) and if stationary reverse
  • radio_next Change to the next radio station
  • radio_previous Change to the previous radio station
  • radio_user_track_skip Skip the current track being played on the custom radio station
  • horn Play the horn of the player's vehicle (if the vehicle has a horn) and can trigger the siren on emergency vehicles
  • sub_mission Start a submission if one is avaliable (e.g. taxi missions)
  • handbrake Apply the handbrake on the player's vehicle
  • vehicle_look_left Look to the left
  • vehicle_look_right Look to the right
  • vehicle_look_behind Look behind
  • vehicle_mouse_look
  • special_control_left Move the some special vehicle component left (e.g. tank's turret)
  • special_control_right Move the some special vehicle component right (e.g. tank's turret)
  • special_control_down Move the some special vehicle component down (e.g. tank's turret)
  • special_control_up Move the some special vehicle component up (e.g. tank's turret)
  • enter_exit Make the player exit a vehicle