mirror of
https://github.com/gamingwithhomie/larp.git
synced 2026-12-06 07:38:36 +00:00
Split from #89 per review; builds on the direct mouse camera of #46 (no second look hook) and leaves the map to #78. - keyboard_driving = 1 (controls.ini) or LARP_KEYBOARD_DRIVING=1: in the driver's seat (not aircraft) move up / down are the triggers (gas / brake), Shift / Ctrl lean, right / left mouse buttons are LB / RB. The seat is read from the title's entity state, build 1.0.2.1 only (BLAKE3 checked). Off by default. - vehicle_auto_center = 0 or LARP_VEHICLE_AUTO_CENTER=0 now does what it says: the follow camera's auto-center call is hooked (callhook, bytes checked) and the camera is held while in a vehicle. Default stays 1, the title's behaviour. Removes the no-op branch in mnk_pad. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1022 B
INI
46 lines
1022 B
INI
; Optional custom Mouse & Keyboard configuration for Enhanced larp.exe
|
|
; Copy this file into your main Larp\ folder (next to options.ini) and rename it to:
|
|
; controls.ini
|
|
|
|
sensitivity = 1.0
|
|
invert_y = 0
|
|
wheel_invert = 0
|
|
; 0 = the vehicle camera stays where you left it (no auto-center); 1 = the game's behaviour
|
|
vehicle_auto_center = 1
|
|
; 1 = at the wheel (cars, boats, bikes): move_up / move_down are gas / brake,
|
|
; Shift / Ctrl lean, right / left mouse buttons are LB / RB; 0 = off (default)
|
|
keyboard_driving = 0
|
|
|
|
; Movement (Left Stick)
|
|
move_up = W
|
|
move_down = S
|
|
move_left = A
|
|
move_right = D
|
|
|
|
; Actions
|
|
sprint = SHIFT
|
|
confirm = ENTER
|
|
jump = SPACE
|
|
reload = R
|
|
cancel = BACKSPACE
|
|
enter_vehicle = F
|
|
interact = E
|
|
weapon_wheel = TAB
|
|
cover = Q
|
|
crouch = CTRL
|
|
look_behind = C
|
|
view = V
|
|
menu = ESC
|
|
pause = P
|
|
map = M
|
|
|
|
; Keyboard trigger fallbacks (Mouse LMB = shoot/gas, RMB = aim/brake are always active when mouse is captured)
|
|
aim_key = Z
|
|
shoot_key = X
|
|
|
|
; D-Pad
|
|
dpad_up = UP
|
|
dpad_down = DOWN
|
|
dpad_left = LEFT
|
|
dpad_right = RIGHT
|