Yeah, I need your help again...
I want to know if "player_action_just_pressed" function still works in SRTTR, and if so what buttons work.
I've created a custom sr3_city.lua which shows a message when a button is pressed.
If you own SRTT:Remastered for PC, please help me by following instructions.
SRTT 2011's various Sandbox+ mods ship with modded control_binding_sets.xtbl and control_schemes.xtbl in order to expand the available keys, but modding these files in SRTTR causes problems, so these "modded" keys are not checked by my script.
This is the list of buttons being checked by my script:
For my case in SRTT 2011, most on-foot controls were detected except for left/right strafe.
I want to know if "player_action_just_pressed" function still works in SRTTR, and if so what buttons work.
I've created a custom sr3_city.lua which shows a message when a button is pressed.
If you own SRTT:Remastered for PC, please help me by following instructions.
- Install the sr3_city.lua patch which enables the game to load loose sr3_city.lua file from the game's installation directory
- Download my modded sr3_city.lua and place it to the game's installation directory
- Launch the game and load a saved game
- Push various keys and see if they are detected by the script. If a message with CBA or CAA prefix is displayed, then that key can be used by a custom sr3_city.lua.
SRTT 2011's various Sandbox+ mods ship with modded control_binding_sets.xtbl and control_schemes.xtbl in order to expand the available keys, but modding these files in SRTTR causes problems, so these "modded" keys are not checked by my script.
This is the list of buttons being checked by my script:
Code:
CBA_GAC_RECRUIT_DISMISS
CBA_GAC_ACTION
CBA_GAC_PAUSE_MENU
CBA_GAC_MAP_MENU
CBA_MENU_CELL_CLOSE
CBA_GAC_WEAPON_SWITCH_CW
CBA_GAC_WEAPON_SWITCH_CCW
CBA_SKIP_MODAL_SEQUENCE
CBA_GAC_WEAPON_SELECT_1
CBA_GAC_WEAPON_SELECT_2
CBA_GAC_WEAPON_SELECT_3
CBA_GAC_WEAPON_SELECT_4
CBA_GAC_WEAPON_SELECT_5
CBA_GAC_WEAPON_SELECT_6
CBA_GAC_WEAPON_SELECT_7
CBA_GAC_WEAPON_SELECT_8
CBA_GAC_GRENADE_SWITCH
CBA_MENU_PC_PUSH_TO_TALK
CBA_MENU_PC_TEXT_CHAT
CBA_GAC_GRENADE_SELECT_1
CBA_GAC_GRENADE_SELECT_2
CBA_GAC_GRENADE_SELECT_3
CBA_GAC_GRENADE_SELECT_4
CBA_VDC_RC_ABORT
CBA_SWC_EXIT_SATELLITE_MODE
CBA_GAC_TAKE_SCREENSHOT
CBA_GAC_MACHINIMA_QUICKSAVE
CBA_OFC_ATTACK_PRIMARY
CBA_OFC_ATTACK_SECONDARY
CBA_OFC_MELEE_NORMAL_ATTACK
CBA_OFC_MELEE_POWER_ATTACK
CBA_OFC_MELEE_NUT_SHOT
CBA_OFC_HS_EXECUTE
CBA_OFC_JUMP_CLIMB
CBA_OFC_SPRINT
CBA_OFC_SPRINT_TOGGLE
CBA_OFC_SHOULDER_CAMERA
CBA_OFC_SHOULDER_CAMERA_TOGGLE
CBA_OFC_CROUCH
CBA_OFC_CROUCH_TOGGLE
CBA_OFC_PICKUP_RELOAD
CBA_OFC_TAUNT_TWO
CBA_OFC_TAUNT_THREE
CBA_OFC_PRATFALL
CBA_OFC_ZOOM_IN
CBA_OFC_ZOOM_OUT
CBA_OFC_DETONATE_CHARGES
CBA_SKYDIVE_FLIP
CBA_AVATAR_SWORD_SWEEP
CBA_AVATAR_SHOCKWAVE
CBA_AVATAR_FLAME_BREATH
CBA_AVATAR_DASH
CBA_VDC_RC_SELF_DESTRUCT
CBA_SWC_FIRE_GUIDED
CBA_SWC_FIRE_FREE
CBA_SWC_MISSILE_ACCELERATE
CBA_SWC_MISSILE_DECELERATE
CBA_OFC_WALK
CBA_OFC_WALK_TOGGLE
CAA_WALK_FORWARD_BACKWARD
CAA_WALK_TURN_LEFT_RIGHT
CAA_CAMERA_ROTATE
CAA_CAMERA_ELEVATE
CAA_DRIVE_ROTATE
CAA_DRIVE_ELEVATE
CAA_TURRET_CAMERA_ROTATE
CAA_TURRET_CAMERA_ELEVATE
CAA_ZOOM_IN_OUT
CAA_SATELLITE_CAMERA_HORZ
CAA_SATELLITE_CAMERA_VERT
CBA_VDC_HANDBRAKE
CBA_VDC_CRUISE_CONTROL_B
CBA_VDC_PREV_RADIO
CBA_VDC_NEXT_RADIO
CBA_VDC_HORN
CBA_VDC_NITRO
CBA_VDC_FIREARM
CBA_VDC_ACCELERATE
CBA_VDC_BRAKE_REVERSE
CBA_VDC_OFFHAND_GRENADE
CBA_VDC_BIKE_LEAN_BACK
CBA_VDC_BIKE_LEAN_FWD
CBA_VDC_WATERCRAFT_FIRE_PRIMARY
CBA_VDC_WATERCRAFT_FIRE_SECONDARY
CBA_VDC_LOOK_BEHIND
CAA_DRIVE_STEER
CBA_VDC_PREV_RADIO
CBA_VDC_NEXT_RADIO
CBA_VDC_HELI_FIRE_PRIMARY
CBA_VDC_HELI_FIRE_SECONDARY
CBA_VDC_HELI_TURN_LEFT
CBA_VDC_HELI_TURN_RIGHT
CBA_VDC_HELI_DOWN
CBA_VDC_HELI_UP
CBA_VDC_VTOL_TRANSITION
CBA_VDC_HELI_DRIVE_TURN_SELECT
CAA_HELI_DRIVE_FORWARD_BACKWARD
CAA_HELI_DRIVE_LEFT_RIGHT
CBA_VDC_PREV_RADIO
CBA_VDC_NEXT_RADIO
CBA_VDC_PLANE_ACCELERATE
CBA_VDC_PLANE_BRAKE_REVERSE
CBA_VDC_PLANE_TURN_LEFT
CBA_VDC_PLANE_TURN_RIGHT
CBA_VDC_PLANE_FIRE_PRIMARY
CBA_VDC_PLANE_FIRE_SECONDARY
CBA_VDC_VTOL_TRANSITION
CBA_VDC_PLANE_ROLL_TURN_SELECT
CAA_PLANE_PITCH_UP_DOWN
CAA_PLANE_ROLL_LEFT_RIGHT
CBA_VDC_TANK_FIRE_PRIMARY
CBA_VDC_TANK_FIRE_SECONDARY
CAA_TANK_DRIVE_FORWARD_BACKWARD
CAA_TANK_DRIVE_LEFT_RIGHT