Results 1 to 1 of 1

Thread: VR Beta information & settings (and how to revert to original controls)

  1. #1

    Question VR Beta info : UPDATED 9 Nov 2018 v11

    VR Beta
    VR in Tabletop Simulator is under active development, and as such is changing all the time. This thread will be updated each patch with any changes relevant to playing in VR. It will also contain all the console commands you can use to tailor your VR experience. Both Vive and Rift are supported, though control layout may change where necessary (due to thumbstick for instance).

    v11 VR changes
    • VR settings UI: accessible from button on right of screen, or through interface settings. Allows you to set most of the VR specific console commands without using the console.
    • On-Screen Keyboard: allows much easier use of in-game text features, most notably searching decks. Also allows you to tab-complete console commands. Set whether to display it autmoatically in the interface settings, and toggle it on/off via button on right of screen.
    • The VR selection box can now work in a couple of different ways: with a fixed height dropping down from where you initially draw, exactly the box you draw, or a box dropping down to the table surface.
    • Most console commands which change a persistent setting will store themselves; they no longer need to be added to your autoexec: simply type them once into the console and they will be restored when you restart the game.


    New commands relevant to VR this patch:
    • ui_config_vr: Displays the VR settings UI
    • vr_display_network_players: Allows you to disable the display of other players HMD/Controllers.
    • vr_mode_selection_style : Stores the mode of the selection box
    • vr_selection_style_anchored : Set the mode to anchored
    • vr_selection_style_exact : Set the mode to exact
    • vr_selection_style_fixed : Set the mode to fixed height
    • vr_selection_height: Set the height of the box in fixed mode
    • ui_keyboard_show: Show the on-screen keyboard
    • ui_keyboard_scale: Set the size of the on-screen keyboard
    • ui_keyboard_echo_duration: Set how long the echo of what you type is displayed above the keyboard
    • ui_keyboard_default_state: Set whether the on-screen keyboard is displayed at startup



    Current VR Controls*
    *Subject to change!
    • Touching the pad will activate the laser, and clicking the center will `click` on whatever you are aiming at. If you click on an object then its context menu will appear on the video wall.
    • Pad Left, Right and Up are used as tool hotkeys: click them to use the tool they show, or hold them to store your current tool (on Rift moving the stick will change tool, and clicking it will store).
    • Pad Down is Zoom.
    • Zoom turns the controller into a zoomed-in version of the last active object. Clicking Pad Down will keep the controller in zoom mode until you click it again, and if you touch Pad Left or Pad Right while zoomed you can alter the scale of the object.
    • Objects may be activated either by touching them with the gem, or by pointing at them with the laser beam. If an object is active then pulling the trigger will grab it; releasing the trigger will release it.
    • While holding an object, Pad Left and pad Right will rotate it, and Pad Up will flip it.
    • Clicking the trigger while holding a card will straighten it and hide it from other players. Clicking again will toggle back.
    • Hold the grip on one controller to move as if you are pulling yourself around, or hold grips on both controllers to rotate + scale.
    • Hit the Menu button to display the system menu on the video wall, or hold the Menu button for 3 seconds to reset your position.


    Editting autoexec
    Note: You no longer need to do this from v11 onwards: most commands are now automatically remembered by the game so simply issueing them will store them.

    In order to make commands apply every time you play Tabletop Simulator you must add them to your autoexec. You can do this in TTS by typing `edit autoexec` in the system console, or outwith the game (with notepad for example) by editing this file in your user folder: `Documents\My Games\Tabletop Simulator\autoexec.cfg`

    Reverting to original controls
    If you would rather just go back to how the VR controls used to work then you can do that in the VR settings UI or via
    +vr_controls_original

    VR commands
    There are several commands and variables that control how the VR controls work. Any command listed starting with a `+` will turn on that setting. Start it with a `-` instead to turn it off (or with a `!` to toggle it).

    Non-VR specific commands that might be useful for VR:

    +search_close_after_take
    When ON will cause the search interface to close after you take anything from it.
    Default: OFF

    unbind -a <key>
    Removes all bindings on specified key. For example, `unbind -a VRLeftPadRight` will remove the press, long-press, and release bindings on the left controllers right pad.

    ui_keyboard_show
    Show the on-screen keyboard

    ui_keyboard_scale
    Set the size of the on-screen keyboard

    ui_keyboard_echo_duration
    Set how long the echo of what you type is displayed above the keyboard

    ui_keyboard_default_state <0/1/2>
    Set whether the on-screen keyboard is displayed at startup.
    0 = disabled
    1 = enabed if in VR
    2 = enabled


    VR specific commands:

    ui_config_vr
    Shows the VR settings UI

    vr_active
    Variable that reports whether the game is running in VR (READ ONLY)

    +vr_controls_original
    If ON then controllers use the old control style.
    Default: OFF

    vr_display_network_players
    If ON then other VR players HMD/Controllers will be rendered.
    Default: ON

    vr_hand_view_angle
    Sets the angle of the virtual hand view

    vr_hand_view_detach
    Disables the virtual hand view

    +vr_hand_view_hide_in_grab
    When ON will hide the virtual hand view when that controller is used to grab something.
    Default: ON

    vr_hand_view_scale
    Sets the size of the virtual hand view.
    Default: 1.0

    +vr_laser_angled
    If ON then controller laser pointer will be angled like under original controls.
    Default: OFF

    vr_laser_beam_opacity <opacity>
    Sets opacity of the laser beam: 0.0 = transparent, 1.0 = opaque.
    DEFAULT: 1.0

    +vr_laser_beam_visible
    If ON then controller laser pointer beam will be visible. If OFF the beam will be invisible, though the laser dot will always be visible if the laser is on.
    Default: ON

    +vr_laser_constant
    If ON then controller laser pointer will always be on like under original controls. If OFF then it will only come on when pad is touched.
    Default: OFF

    vr_left_controller_attach_hand_view
    Attaches the hand view to the left controller (the default arrangement).

    vr_left_controller_mode_pad_down <mode>
    Sets how pad down on the left controller works. <mode> may be one of:
    0 = Bindable (may use `bind VRLeftPadDown <command>` to bind a command to it)
    1 = Tool Select (<not yet implemented>)
    2 = Zoom
    Default: 2

    vr_left_controller_pad_down_bindable
    Shortcut for `vr_left_controller_mode_pad_down 0`

    vr_left_controller_pad_down_tool_select
    Shortcut for `vr_left_controller_mode_pad_down 1`

    vr_left_controller_pad_down_zoom
    Shortcut for `vr_left_controller_mode_pad_down 2`

    vr_left_controller_trigger_click_effect
    Emulates a trigger click

    vr_left_controller_zoom_scale
    Sets scale of zoom object.
    Default: 1.0

    vr_mode_hand_view <mode>
    Sets the state of the hand view. <mode> may be one of:
    0 = Detached
    1 = Attached to left controller
    2 = Attached to right controller.

    +vr_mode_icon_colored
    If ON then the icon showing the current tool mode will be colored instead of black.
    Default: ON

    vr_mode_selection_style <mode>
    Stores the mode of the selection box. <mode> may be one of:
    0 = Fixed
    1 = Exact
    2 = Anchored

    vr_right_controller_mode_pad_down <mode>
    Sets how pad down on the right controller works. <mode> may be one of:
    0 = Bindable (may use `bind VRRightPadDown <command>` to bind a command to it)
    1 = Tool Select (<not yet implemented>)
    2 = Zoom
    Default: 1

    vr_right_controller_pad_down_bindable
    Shortcut for `vr_right_controller_mode_pad_down 0`

    vr_right_controller_pad_down_tool_select
    Shortcut for `vr_right_controller_mode_pad_down 1`

    vr_right_controller_pad_down_zoom
    Shortcut for `vr_right_controller_mode_pad_down 2`

    vr_right_controller_trigger_click_effect
    Emulates a trigger click

    vr_right_controller_zoom_scale
    Sets scale of zoom object.
    Default: 1.0

    vr_selection_height
    Set the height of the box in fixed mode
    Default: 7.0

    vr_selection_style_anchored
    Set the selection style to anchored

    vr_selection_style_exact
    Set the selection style to exact

    vr_selection_style_fixed
    Set the selection style to fixed

    +vr_sticky_grab
    If ON then trigger button becomes sticky for grabbing: press to grab and press again to release.
    Default: OFF

    +vr_teleport_with_pad
    If ON then pushing up on the pad will let you teleport, if OFF you may `bind` it.
    Default: OFF

    +vr_tooltips_for_click_when_on_menu
    If ON a tooltip will be displayed when on the main menu, showing the click button.
    Default: ON

    vr_trigger_click_effect_delay
    Sets the duration after grabbing an object in which a trigger click does nothing. Set to 0 to allow the initial click of the trigger to apply the effect.

    +vr_thumbstick_icons_constant
    If ON then VR thumbstick icons are always displayed. If OFF then they are only displayed when the stick is touched.
    Default: OFF

    vr_thumbstick_repeat_duration <seconds>
    Sets how long you have to hold the stick in a direction for it to repeat the action (currently only applies to rotating held object).

    vr_tooltips_initial_duration <seconds>
    Duration VR controller tooltip displays for at startup (if not set to be always-on).",
    Default: 5.0

    +vr_tooltips_constant
    If ON then VR controller tooltips are always displayed.
    Default: OFF

    +vr_tooltips_when_gripping
    If ON then VR controller tooltips are displayed whenever grips are activated.
    Default: ON

    +vr_trigger_activates_laser
    If ON then squeezing the trigger will turn on the laser pointer.
    Default: OFF

    +vr_trigger_activates_ui
    If ON then the trigger can be used to click on the UI.
    Default: OFF

    vr_unbind_all
    Removes all commands bound to the VR controller pad. Useful to call before binding your own commands.

    For example, say you wanted to disable the tooltip overlay completely, and have the laser always be on. Your autoexec should look like this:
    Code:
    vr_tooltips_initial_duration 0
    -vr_tooltips_when_gripping
    -vr_tooltips_for_click_when_on_menu
    +vr_laser_constant
    Binding commands to the pad
    Note that binds are not persistent and must be added to autoexec if you wish them to be restord after restarting TTS.

    You can bind any console command to any pad direction (though you'll need to use `vr_controller_left_pad_down_bindable` (or `_right_`) to access Pad Down). The binding is identified with `VR<Controller>Pad<Direction>`, so if you want to bind to Pad Right on the left controller you would use `bind VRLeftPadRight <command>`. You can bind to the user releasing the direction by prefixing with `-`, or to a long-press with `!`.

    For example, say you wanted to use the Line tool whenever you were holding Left on the left controller:
    Code:
    unbind -a VRLeftPadLeft
    bind +VRLeftPadLeft tool_line
    bind -VRLeftPadLeft tool_revert
    Notice the `unbind` line: this removes the default bindings which would store the current tool when the pad button is held down. If you wanted to rebind all the controls then just do one `vr_unbind_all` at the start instead of an unbind for each pad direction.
    Last edited by onelivesleft; 11-09-2018 at 10:21 AM.

Similar Threads

  1. External API should return API info
    By MastroLindo in forum Scripting Suggestions
    Replies: 0
    Last Post: 03-19-2018, 05:44 PM
  2. [COMMUNITY] The Scoop #14 - DLC & VR Info!
    By Kimiko in forum Announcements
    Replies: 1
    Last Post: 05-17-2016, 05:47 PM
  3. [SOLVED] Hand areas revert to default positions
    By TheRaven81 in forum Technical Support
    Replies: 1
    Last Post: 11-25-2015, 10:44 PM
  4. Add info on mini's
    By Cyric in forum General Discussion
    Replies: 1
    Last Post: 06-06-2015, 07:36 PM
  5. IRC info
    By Kimiko in forum Announcements
    Replies: 3
    Last Post: 03-19-2014, 05:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •