LSL Game Control Beta: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Leviathan Linden (talk | contribs)
mNo edit summary
Leviathan Linden (talk | contribs)
Updating link and instructions for game-control pre-release 0.7.0
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
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. For example, a helicopter could more delicately maneuver, using input from the analog stick rather than WASD on a keyboard.


'''👉 For information about the LSL event and writing scripts that use game control see: [[game_control]].'''
'''👉 For information about the LSL event and writing scripts that use game control see: [[game_control]].'''
{{KBcaution|custom=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 ==
== Instructions ==


* [https://github.com/secondlife/viewer/releases/tag/Second_Life_Project_game_control-0.6.2-pre-release Download and install the installer from Github]
* [https://github.com/secondlife/viewer/releases/tag/Second_Life_Project_game_control-0.7.0 Download and install the installer from Github]
* Enable Develop menu ''Advanced > Show DevelopMenu''
* Plug in a compatible game controller device
* Enable Develop menu ''Advanced > Show Develop Menu''
* Enable GameControl feature ''Develop --> Experimental Features --> GameControl''
* Enable GameControl feature ''Develop --> Experimental Features --> GameControl''
[[Image:Game-control-enable.png|400px]]
* Open GameControl preferences ''Me --> Preferences... --> Game Control''
* Change preferences to allow GameControl to send data ''Preferences --> Game Control --> Send GameControl Data to Server''
** Enable ''Send GameControl Data to server''
[[Image:Game-control-send-data.png|400px]]
* Plug in an Xbox game controller
* Visit one game control enabled regions listed in the Aditi Regions section below
 
=== Aditi Regions ===


* [secondlife://Aditi/secondlife/Cloud%20Sandbox%201/128/128/25 Cloud Sandbox 1]
If you don't have a game controller device you can still send some GameControl data to the server by translating avatar movement, but this must be enabled in the GameControl preferences
* [secondlife://Aditi/secondlife/Cloud%20Sandbox%202/128/128/25 Cloud Sandbox 2]
* Open GameControl preferences ''Me --> Preferences... --> Game Control''
** Enable ''Avatar actions interpreted as GameControl''

Latest revision as of 08:47, 27 January 2026

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. For example, a helicopter could more delicately maneuver, using input from the analog stick rather than WASD on a keyboard.

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

Instructions

  • Download and install the installer from Github
  • Plug in a compatible game controller device
  • Enable Develop menu Advanced > Show Develop Menu
  • Enable GameControl feature Develop --> Experimental Features --> GameControl
  • Open GameControl preferences Me --> Preferences... --> Game Control
    • Enable Send GameControl Data to server

If you don't have a game controller device you can still send some GameControl data to the server by translating avatar movement, but this must be enabled in the GameControl preferences

  • Open GameControl preferences Me --> Preferences... --> Game Control
    • Enable Avatar actions interpreted as GameControl