Difference between revisions of "LSL Game Control Beta"

From Second Life Wiki
Jump to navigation Jump to search
(Trying again to supply a latest game-control installer link.)
(update instructions for game-control-0.6.2)
Line 8: Line 8:
== Instructions ==
== Instructions ==


# [https://github.com/secondlife/viewer/releases/tag/Second_Life_Project_game_control-0.4-pre-release Download and install the installer from Github]
# [https://github.com/secondlife/viewer/releases/tag/Second_Life_Project_game_control-0.6.2-pre-release Download and install the installer from Github]
# Enable game control input on the viewer from ''Preferences > Game Control > Send GameControl Data to server''
# Enable Develop menu ''Advanced_menu > Show_Develop_Menu_option''
# Enable GameControl feature ''Develop_menu > Experimental_Features_submenu > GameControl_option''
# Change preferences to allow GameControl to send data ''Preferences_menu > Game_Control_tab >  Send_GameControl_Data_to_server_checkbox''
# Plug in an Xbox game controller
# Visit one game control enabled regions listed in the Aditi Regions section below
# Visit one game control enabled regions listed in the Aditi Regions section below


Line 16: Line 19:
=== Aditi Regions ===
=== Aditi Regions ===


* [secondlife://Aditi/secondlife/LeviathanLove/128/128/25 LeviathanLove]
* [secondlife://Aditi/secondlife/Cloud%20Sandbox%201/128/128/25 Cloud Sandbox 1]
* [secondlife://Aditi/secondlife/LeviathanLost/128/128/25 LeviathanLost]
* [secondlife://Aditi/secondlife/Cloud%20Sandbox%202/128/128/25 Cloud Sandbox 2]
* [secondlife://Aditi/secondlife/Kaiju%20Corner/128/128/25 Kaiju Corner]

Revision as of 11:55, 9 August 2024

LSL Game Control is a way for scripts in vehicles and attachments to use game controller input from devices such as Xbox, PS4/5 and joysticks. This feature will allow users to create things like vehicles that behave more realistically by using analog input values from a Bluetooth gamepad in addition to discrete key-press events. For example, a helicopter could more delicately maneuver, using input from the analog stick rather than WASD on a keyboard. This functionality is not limited to vehicles and can be used for many more applications.

👉 For information about the LSL event and writing scripts that use game control see: game_control.

KBcaution.png Note As of 2023/10/24 this feature is available to test on the beta (Aditi) grid using a pre-release viewer available for windows only. macOS support will be added soon.

Instructions

  1. Download and install the installer from Github
  2. Enable Develop menu Advanced_menu > Show_Develop_Menu_option
  3. Enable GameControl feature Develop_menu > Experimental_Features_submenu > GameControl_option
  4. Change preferences to allow GameControl to send data Preferences_menu > Game_Control_tab > Send_GameControl_Data_to_server_checkbox
  5. Plug in an Xbox game controller
  6. Visit one game control enabled regions listed in the Aditi Regions section below

Game-control-enable-0.2.png

Aditi Regions