Skip to content

SoundOfScooting/TTS-Unleashed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unleashed

A utility mod for Tabletop Simulator that makes host-only UI available to promoted players while adding bugfixes and other improvements.

Installation

Follow installation instructions for BepInEx 5: https://docs.bepinex.dev/articles/user_guide/installation/index.html
BepInEx 6 is not supported. Make sure to check the version on the top right.

Download the latest release of Unleashed or build one yourself.
Copy edu.sos.unleashed.dll to the folder [GAME]/BepInEx/plugins/.

(optional) Download ConfigurationManager for BepInEx 5: https://github.com/BepInEx/BepInEx.ConfigurationManager/releases
This plugin lets you edit Unleashed's settings file while in-game.
Copy ConfigurationManager.dll to [GAME]/BepInEx/plugins/.

Feature overview

Admin-only: Denotes features that require the user to be an admin (server host or promoted player).
Modded host and client: Denotes features that require both the host and client to be modded.

Launch options

Bugfix: Singleplayer and hotseat games can actually be started when using the -nosteam launch option.

Objects menu

Components

Modded host and client: (new) Added object Cards/Specific Card, which opens a dialog window to enter a card name.
The format is [symbol][suit], where [symbol] is one of A, K, Q, J, 10 through 2, and [suit] is one of C, D, S, H.
For example: AS for Ace of Spades.

Modded host and client: (new) Added objects Chess/Gold/* Gold and Dice/Gold/D* Gold if you have the Kickstarter Gold reward.
(Gold material doesn't work if the host doesn't have the Kickstarter Gold reward.)

Modded host and client: (new) Added object Miscellaneous/Specific Domino, which opens a dialog window to enter a domino type.
The format is [top]/[bottom] (material), where [top] and [bottom] are integers 0-6, and (material) is optional and one of Plastic, Metal, Gold.
For example: 3/2 Metal for a metal domino with 3 on the top and 2 on the bottom.
(Gold material doesn't work if the host doesn't have the Kickstarter Gold reward.)

Tables

(new) Added action Edit to Custom Rectangle and Custom Square that lets you edit the URL as a client or as the host.
(new) Added UI for unused table Round Plastic.

Backgrounds

(new) Added action Edit to Custom that lets you edit the URL as a client or as the host.

Rotation snap

Right clicking will decrement your rotation snap instead of incrementing it.
(This was already possible but annoying - you'd have to hold right click and then press left click.)

Camera home (new)

Controls which hand zone the camera starts at and gets reset to when pressing Space.
Possible options are Hand (your current seat), Grey (the "first" hand zone, usually White's), or a particular color (that color's main hand zone).

Left click opens the color selection UI (to pick Hand, click again while the UI is open).
Right click opens a dialog window to pick a home.

While in the color selection UI, if you right click a color/Hand, the camera home isn't changed, but your current camera still gets reset to that zone.

NOTE: If Camera #0 has been saved, it overrides the camera home.

Turns

Admin-only: The turn star icon next to a player's name that skips their turn can be clicked (formerly host-only).
Admin-only: If you right click the turn star or end turn button, you will pass the turn to the previous player instead of the next one.

Name button context menu

The popup list shows "Extra:" options when opened with right click instead of left click.

Extra: Admin-only: (new) Start Turns, Stop Turns, and Reverse Turns are available on all players.

Admin-only: Change Color is available on all players (formerly host-only).
Change Color can be clicked again on the same player to cancel color selection.
If you right click Change Color, a dialog window to pick a color opens.
If you hold Shift/Ctrl when clicking Change Color on yourself, you will remain seated while picking a color instead of switching to Grey (see Color selection).

Change Team is available on all players (formerly host-only).
Extra: Admin-only: (new) Blindfold/Unblindfold is available on all players.

Admin-only: Promote/Demote and Kick are available on non-host players (formerly host-only).

Admin-only: (new) Server Mute and Server Unmute are available on all players.
NOTE: If you are the host, Mute/Unmute now only apply client-side only like they do for clients.

Color selection

Admin-only: The color Black can be chosen in the UI (formerly host-only, but could be bypassed using the system console).

Admin-only: If you hold Shift/Ctrl, colors that are already occupied can be chosen.
ShiftSwap the colors of the target and seated players.
CtrlForce the seated player into color Grey so that the target player can switch to theirs.

Pointer

Grab tool

Modded host and client: Held objects can be rotated in all 3 directions.

Held keys Axis of rotation
- Spin (Y axis)
Alt Flip (X/Z axis)
Ctrl (new) Tilt (Z/X axis)

Draw tool

See Enable Pixel Draw.

(new) Pressing right click while erasing stops erasing and redraws all lines that were erased since you started.
NOTE: As of right now the overlap order of the redrawn lines is preserved, but the redrawn lines appear above all other lines.

Decal tool

Client players can add/edit/delete decals in the decal list (formerly host-only).

Contextual

Global context menu

Admin-only: (new) Draw Stash is available, which draws all cards from a hand stash back to its hand.
If you hold Ctrl, the target is all hand stashes.
Otherwise, if you hover over a hand stash, the target is that one.
Otherwise, the target is your own hand stash.
If you hold Shift, the cards in the hand stash are instead swapped with the ones in the hand (renames to Swap Stash).

Object context menu

Admin-only: (new) Stash is available on selected cards in hands, which moves them into their hand stashes until redrawn.
If you hold Shift, the selected cards in the hand are instead swapped with the ones in the hand stash (renames to Swap Stash).

Admin-only: Custom context option is available (formerly host-only).
Clients cannot automatically update matching custom objects.
Custom Jigsaw and Custom PDF might work but are not fully supported yet for clients.
If the host is not modded, Custom Tile objects cannot have "Stretch to Aspect Ratio" changed by clients.

Show Hand context option is available on objects in any hand, not just your own.
BUG: This feature is buggy (just like the regular Show Hand button).

Physics context option is available (formerly host-only).
BUG: The UI might not update client-side but it does apply server-side.

Scripting context option is available, but only the GUID button and not the editor (formerly host-only).

Name field supports inserting multiple lines just like the Description field.

Chat

Commands

Command arguments that contain spaces must be wrapped in " or ', which are escaped by \.
Commands may target players by player ID (e.g. #1 for the host), player color, or partial player name (formerly only full name), all case-insensitive.

/help (-a|cmd)
Shows command usages, -a to list extra commands.
Use second argument to see all aliases and usages of a command.

/list (new)
Lists information about each player: player ID, player name, modded status (currently only visible to the host).

Admin-only: /kick <player> (message, host-only) (formerly host-only)
Ejects player from the game.
Host-only: /ban <player> (message)
Kicks player and adds them to block list.

Admin-only: /promote <player> (alias: /p) (formerly host-only)
Promotes or demotes player as admin.

/mute <player>
Mutes or unmutes player's voice chat (client-side).
Admin-only: /mute -s <player> (status) (formerly host-only)
Mutes or unmutes player's voice chat (server-side).

Admin-only: /execute <lua statement> (alias: /lua) (formerly host-only)
Executes Lua statement.
Equivalent to the lua <statement> system console command.

/color (-f) (player) <color> (alias: /c) (new)
Changes a player's color, -f to force.
Supports any string starting with ! as an invalid color.
Admin-only: /color -s (player) <seated> (new)
Swaps the colors of two players.

/<color> <message> (unchanged)
Whispers the player on this color.
/whisper|w <recipient> <message> (new)
Whispers a message to any player.
Alternative to /<color>, which cannot message spectators.

/loading|% (0-255)(%) (new)
Changes your loading percentage, 100%+ is invisible.
This effect is temporary and lasts until the game next changes your loading percentage.

/sys <command> (new)
Executes a system console command inside this chat tab.
For example, /sys chat_copy copies the current tab's text instead of the console's text.

/uz settings (new)
Reloads the mod's settings file from disk.

/uz copylua (new)
Copies the last script executed by the mod to the clipboard.
This is mainly used to debug internal errors within the mod.

Settings file

The plugin generates a config file edu.sos.unleashed.cfg in the folder [GAME]/BepInEx/config/.

If you have ConfigurationManager installed, you can edit settings in-game by holding Escape and then pressing F1.
To close the settings window, either press the Close button or click outside the settings window and press Escape.

Section [Menu]

Menu Cursor Color (default Purple)
The color of the cursor on the main menu.

Menu Holiday
The holiday logo that appears on the main menu.
One of: Default, Thanksgiving, Christmas, Halloween, Random, All

Section [Setup]

Initial Player Color (default White)
The initial player color after server creation, or Choose/Dialog to open the color selection UI/dialog window.

Initial Background (default Random)
The initial background after server creation, or Random.

Initial Table (default Random)
The initial table after server creation, or Random.

Section [Controls]

Block Mouse Panning Over UI (default true)
Blocks 'Camera Hold Rotate' control while hovering over UI.
This eases right clicking UI elements, but prevents mouse panning over large panels.

Invert Third-Person Horizontal Axis (default false)
Swaps controls 'Camera Left' with 'Camera Right' in third-person and top-down view.
This aligns them with first-person view and mouse panning.

Invert Third-Person Vertical Axis (default false)
Swaps controls 'Camera Down' with 'Camera Up' in third-person view.
This aligns them with first-person view and mouse panning.

Enable Pixel Draw (default true)
Fully implements the unfinished pixel draw tool, an apparent vector-based rework of the removed pixel paint tool.
It is located under the draw toolbar between the circle and erase tools.
Each pixel drawn is one vector line.
NOTE: If disabled, the tool is not added to GUI but is still accessible with the console command tool_vector_pixel.

Enable Fast Flick (default true)
Flicking an object when not the host no longer requires two clicks (previously the first click would only highlight the object).
BUG: This allows you to try (and fail) to flick objects that you are prevented from selecting by Lua scripts.

Enable Fast Commands (default true)
When shift is not held down, the 'Help' control instead starts typing a command in chat.
Best used when 'Help' is bound to /.

Section [Misc]

Intercept Lua Virus (default true)
Host-only: Intercepts the "tcejbo gninwapS" Lua virus before it can spread to any other objects.
NOTE: This does not actually disinfect objects; consider additionally subscribing to CleanerBlock on the Workshop:
https://steamcommunity.com/sharedfiles/filedetails/?id=2967684892

Nickname
A nickname used instead of your Steam display name.
Nickname changes only take effect when joining a new server.

Auto Join Message
Message automatically sent in chat when a player joins.

Auto Promote Steam IDs
A list of Steam IDs that are automatically promoted when joining your server.
Invalid IDs do nothing, so you can write comments.

About

A utility mod for Tabletop Simulator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages