Tabletop Simulator

Berserk Games · Tabletop

Tabletop Simulator patch notes · Jan 29, 2021

Experiment

Update v13.0 - Translations, Engine Upgrade, Layout Zones, Object Tags & More!

What's new in Update v13.0 - Translations, Engine Upgrade, Layout Zones, Object Tags & More!: 171 changes to Tabletop Simulator, released Jan 29, 2021.

Balance · 1

  • Hand, Hidden, and Random zones perform much faster and no longer slow the game down.

    zone performance

Content · 34

  • A new Layout Zone tool automatically lays out objects, primarily cards, across the table with adjustable settings.

    layout zone tool
  • Players can create their own translations for the default UI and share them on the Workshop.

    custom ui translation
  • Decks have a new Spread action in the right-click menu that spreads cards across the table, with spacing set in Misc Settings.

    deck spread action
  • A new Info global static class exposes the Info menu fields name, type, complexity, playing_time, number_of_players, and tags.

    lua info global class
  • A non-zero alt_view_angle property makes the Alt view look at the object using the specified Euler angle.

    alt view angle property
  • object.isDestroyed() was added and returns true if an object is or will be destroyed.

    isdestroyed check
  • scripting_zone.getObjects() uses tags attached to the zone unless overridden with getObjects(true).

    scripting zone tag filtering
  • A new mechanic lets objects selectively interact with game systems based on shared tags.

    object tags mechanic
  • Translations for most common languages were added using Google Translate, accessible via the Language menu.

    common language translation
  • New tryRandomize and tryObjectRandomize functions let scripts prevent shuffling, rolling, or randomizing by returning false.

    lua tryrandomize event
  • New global functions retrieve objects by a single tag, any of several tags, or all of several tags.

    global tag query function
  • An object.memo string field was added for storing info on an object.

    object memo field
  • Spawn mode now works off objects in the void.

    spawn mode behaviour
  • translation_export, translation_import, and translation_for... commands were added for working on translations.

    translation tooling command
  • Some Misc Settings were added for Hotseat mode.

    misc setting
  • deck.spread(distance) was added to apply the spread action to a deck.

    deck spread lua call
  • The game now supports 29 languages, including Chinese, Russian, Spanish, Portuguese, German, French, Korean, and Arabic.

    supported languages list
  • A pointer_position command was added.

    pointer position console command
  • Hidden, randomize, hand, layout, fog-of-war, scripting zones and snap points can all be tagged to filter which objects interact with them.

    tag support on taggable system
  • Lua Hands.getHands() was added, along with get/setValue() string Color for Hands objects.

    lua hands method
  • lift_height and rotation_degrees commands were added.

    lift height and rotation console command
  • language and language_... commands were added to select the current language.

    language console command
  • Players can now set player names in Hotseat mode.

    player name
  • New getters return the current smooth move target position or rotation, or null if the object is not moving.

    smooth move getter
  • New Lua global classes Tables and Backgrounds were added, with getters and setters for table and background names and custom URLs and getTableObject.

    lua tables and backgrounds class
  • A Lua WebRequest.custom function was added accepting URL, method, download flag, data, headers, and callback.

    lua webrequest.custom
  • action_spread and action_layout commands were added.

    spread and layout action console command
  • New Lua calls were added for getting, setting, adding, removing, and checking object tags.

    lua object tag call
  • hotseat_name_..., hotseat_start_turn, and hotseat_end_turn commands were added.

    hotseat console command
  • A translate command was added to translate an English term into the current language if known.

    translate console command
  • A new onBlindfold event triggers when a player puts on or takes off a blindfold.

    onblindfold event
  • Text fields now support localization tags so mods can be translated per language, and URL fields can also vary by language.

    localization support for mod text field
  • Layout zones can filter affected objects, split or combine decks, be set to manual only, and automatically sort objects by name or description.

    layout zone feature
  • A Lua Hands class was added with enable, disable_unused, and hiding members matching the hands menu.

    lua hands class

Controls · 3

  • Console commands were added for the Misc Settings options.

    system console option
  • Holding the left mouse button while cloning or spawning lets you spawn multiple objects by moving the mouse.

    multi-object spawning
  • Layout can be triggered via the Layout Zone tool's Layout button or by right-clicking an object in a zone and selecting Layout.

    layout zone activation

System · 28

  • A Metal launch option was added for Macs that should run faster but may have some graphical issues.

    metal launch option for mac
  • Unity was updated to 2019.4.19.

    unity version update
  • The Skyshop rendering plugin was updated.

    rendering plugin update
  • Added lua tags to getObjects() on all container returns.

    lua tags on container return
  • Zones now instantly respond to settings that cause an object to interact with the zone without needing to go in and out.

    zone response to object interaction setting
  • Lua getAllObjects() is deprecated in favor of getObjects(), which does not return hand zones for compatibility; Global.getObjects() also works.

    lua getallobjects deprecation
  • The game's Unity version was updated to 2019.4 LTS.

    engine upgrade
  • The tablet Chromium version was updated, adding mp3 support.

    tablet mp3 support
  • The Dissonance voice chat plugin was updated again.

    voice chat plugin update
  • RAM usage was reduced by lowering the number of variants of the custom DXT5nm Standard shader.

    ram usage
  • The language no longer switches automatically to a Google-translated language and defaults to English.

    default language on load
  • Updating Workshop mods on initial load was greatly sped up.

    workshop mod update loading speed
  • The video player now uses GPU hardware decoding, making video textures more performant.

    video texture decoding
  • Hand Zones now function like all other objects and are saved as such.

    hand zone object behaviour and saving
  • The Dissonance voice chat plugin was updated.

    voice chat plugin
  • Lua Moonsharp was updated to version 2.0.

    lua scripting engine version
  • Decks no longer populate cards with their script and script state.

    deck script population
  • Physics code was optimized to use non-GC-allocating functions.

    physics garbage collection
  • The netcode was optimized to be more performant on the CPU.

    netcode cpu performance
  • Graphics jobs were enabled to multi-thread rendering, benchmarked at up to 25% higher fps.

    rendering performance
  • Filter commands were deprecated in favour of the try prefix, e.g. tryObjectEnter.

    filter command naming
  • The PhysX version was upgraded for better accuracy and performance in various cases.

    physics accuracy and performance
  • The object.tag property was deprecated in favour of object.type.

    object tag property deprecation
  • Tables can no longer be spawned using spawnObject.

    table spawning restriction
  • Lua getAllObjects() now updates instantly when objects are spawned or destroyed.

    getallobjects updating
  • The Steamworks.net steam plugin was updated.

    steam plugin update
  • Extensive code refactoring and cleanup was done to facilitate faster future updates.

    code structure
  • HandZones are now Objects like everything else.

    handzones object type

UI · 21

  • Alt zoom no longer hides other players' pointers.

    alt zoom pointer visibility
  • Fixed blurry text on the Language menu.

    blurry text on language menu
  • New snap points automatically gain whatever tags are set in the Snap-Point Creation Tags window.

    snap-point creation tag
  • Fixed up the last of the hand zone name and portrait positioning.

    hand zone name and portrait positioning
  • The Workshop loading wheel above chat now always spins while updating.

    workshop loading wheel
  • Fixed contextual menu material options text being clipped.

    contextual menu material options text clipping
  • An Order option was added to the bag contextual menu with LIFO, FIFO, and Random choices.

    bag contextual menu order option
  • Disabled the appearance of being able to turn off turns while in hotseat mode.

    turns toggle in hotseat mode
  • A description was added to the tooltip when searching a container.

    container search tooltip
  • Hotseat turn transitions were improved.

    turn transition
  • The End Turn button now shows the current player instead.

    end turn button
  • Buttons on Books (PDF objects) now appear only on hover, and this can be disabled in Misc Settings.

    book button visibility
  • Fixed the contextual menu clipping off the screen.

    contextual menu clipping
  • Zones now have a right-click context menu, with left-click opening the zone-specific menu that was previously on right-click.

    zone context menu
  • Players can set object or system tags via right-click Tags, and view all table tags in the Modding->Tags window.

    tags menu access
  • Added a misc setting controlling the randomize zone prompt on load.

    randomize zone prompt-on-load setting
  • NGUI now shows on objects in the onscreen hand view and was optimized when alt zooming; XML UI still doesn't work.

    ngui display in hand view
  • A ui_clear command was added to clear UI generated by other commands such as ui_button.

    ui_clear console command
  • Knowledge base articles were added for Object Tags and Layout Zones.

    knowledge base article
  • The bag order contextual menu now hides correctly and its tooltip was fixed.

    bag order contextual menu
  • The mouse pointer shows an icon when holding an object inside a layout zone, along with the zone's name if it has one.

    layout zone mouse indicator

Fix · 83

  • Fixed randomize zone not prompting on load.

    randomize zone prompt on load
  • The putObject memo field no longer affects object equality.

    putobject memo equality
  • Object visibility in Hotseat mode was fixed.

    object visibility
  • Fixed guids ending up empty when an object's json was missing the guid.

    guid empty when json missing guid
  • Scripting zones getObjects() now works on objects with interactable set to false.

    scripting zone getobjects with interactable false
  • Issues when moving from one hand zone into another were fixed.

    moving between hand zone
  • A network sync bug with Xml UI was fixed by adding a null check to setAttribute(s) and setValue.

    xml ui network sync
  • Fixed issues with the server type UI messing up.

    server type ui messing up
  • The Lift Height slider now hides when you click away from it.

    lift height slider visibility
  • Fixed lua getObjects() not working correctly with onObjectPickUp() by delaying it a frame to match the prior version.

    lua getobjects with onobjectpickup timing
  • The Group action no longer ignores tryObjectEnter and tryObjectEnterContainer.

    group action ignoring tryobjectenter
  • Tablets are governed by the Tablet permission instead of the Digital permission.

    tablet permission
  • Fixed lua Wait.frames() to work correctly when called after the Update() loop.

    lua wait.frames after update loop
  • Clicking through the magnify UI to pick up objects now works.

    magnify ui click-through
  • Cards now flip correctly in Hand Zones.

    card flipping in hand zone
  • The sound parameter of object.clone() now works.

    clone sound parameter
  • onPickUp now triggers when a client removes an item from a bag.

    onpickup event for client
  • Fixed a duping bug with cards.

    card duping bug
  • An exception that prevented loading a game was fixed.

    game load exception
  • FogOfWarZone now works correctly with child colliders.

    fogofwarzone child collider
  • Grid.snapping now works.

    grid snapping
  • Hand zone interactions are more consistent when overlapping multiple zones.

    hand zone overlap interaction
  • Fixed the turns menu help button link.

    turns menu help button link
  • Fixed searching from one object to another messing up the scroll position.

    search scroll position
  • Uploading a Steam cloud image thumbnail for Workshop now only allows local files.

    steam cloud thumbnail upload
  • A null reference when downloading old Workshop files with null deck info width and height was fixed.

    null reference on old workshop download
  • Scroll direction is no longer reversed on Linux.

    linux scroll direction
  • The Lua spawnObject callback is delayed one frame to fix timing.

    spawnobject callback timing
  • Fixed translations exporting more than they should when uploading.

    translation export on upload
  • Fixed an issue where XML UI blocked 2D UI interaction through click-through.

    ui click-through with xml ui
  • A major bug where saving to cache wrote on top of and could delete trailing garbage instead of overwriting was fixed.

    cache write corruption
  • Fixed zone tooltips.

    zone tooltip
  • Physics menu sliders now work correctly.

    physics menu slider
  • Voice chat works on Linux again.

    voice chat on linux
  • Hand zones no longer eat other hand zones' cards being dealt to them.

    hand zones eating dealt card
  • The Camera Hold Rotate key now works while holding an object, provided it is not bound to the same key as Tap.

    camera hold rotate key while holding object
  • Fixed not being able to flip a Table after leaving and joining a new game.

    flipping a table after rejoining
  • The layout zone hotkey with F3 now works.

    layout zone f3 hotkey
  • Zones now work correctly when multiple colliders are attached to the same object.

    zones with multiple collider
  • A crash caused by a custom LUT with incorrect dimensions was fixed.

    crash from custom lut
  • Physics.cast now returns its list in the correct order.

    physics.cast result order
  • onObjectRandomize and onRandomize now return the correct player colour.

    randomize callback player colour
  • Global script_state now clears between loads.

    global script state clearing
  • The {verifycache} tag now works on URLs.

    verifycache on url
  • Fixed being able to mess around with non-active players from the top-right menu in hotseat mode.

    non-active player manipulation from top-right menu in hotseat
  • Card peek now works correctly.

    card peek
  • The Spread contextual tooltip was fixed.

    spread contextual tooltip
  • showHotkeyConfig works over the network and gained a color parameter to show the dialog to a specific player.

    hotkey config dialog over network
  • The player hand name and portrait not updating correctly was fixed.

    player hand name and portrait
  • Fixed tags getting the translated version of Game Type and Complexity.

    game type and complexity tag translation
  • The Pan key now works while holding an object, provided it is not bound to the same key as Flip.

    pan key while holding object
  • Rotation values now sync correctly when a client connects.

    rotation sync on connect
  • Objects with Measure Movement now work on clients.

    measure movement on client
  • Fixed lua tryObjectEnter only firing on the first dropped object if it returned false.

    lua tryobjectenter firing
  • Loading_custom was fixed to work with custom decks and cards.

    custom deck and card loading
  • Grid calls now work over the network.

    grid network call
  • Fixed PDF buttons not displaying for all players.

    pdf buttons display
  • Objects can again be put back into infinite bags.

    bag re-entry of infinite bag
  • Fixed lua turn events in hotseat mode.

    lua turn events in hotseat mode
  • Objects no longer sometimes go invisible when searching a container due to a scrolling issue.

    objects invisible during container search
  • Downloading many mods with the games menu open no longer spawns excessive threads and crashes the game.

    thread explosion on mod download
  • Fixed a title issue with custom translations.

    title issue with custom translation
  • Fixed translating card images not working.

    translated card images not working
  • Fixed the elapsed typo shown on mod loading.

    elapsed typo on mod loading
  • Fixed pure white color tint not syncing correctly.

    pure white color tint sync
  • Using localize codes in global chat now works.

    localize codes in global chat
  • Layout Zone now works on rotations other than 0 and 180 degrees.

    layout zone rotation
  • Fixed issue with hands not hiding for clients.

    hands not hiding for client
  • The measuring tool no longer logs revealing hidden object info.

    measuring tool info leak
  • Fixed voice chat not working on Mac; users must accept the allow mic dialog.

    voice chat on mac
  • Scripting zones no longer act on other zones or tables.

    scripting zone on other zones or table
  • Loading assets from the web failed with an expired certificate error (Curl error 51); this was fixed.

    expired certificate asset loading
  • Picking up objects teleported from out of bounds now snaps to the mouse more smoothly.

    teleported object pickup
  • An issue where state number 95 became 96 was fixed.

    state number 95 becoming 96
  • Fixed an issue with not being able to put objects in a searched container.

    putting objects in searched container
  • A cloud URL check was added so Workshop upload no longer gets stuck uploading.

    workshop upload stuck on cloud url
  • A number of bugs in the Lua API relating to Hotseat mode were fixed.

    lua api bug
  • MusicPlayer.playlistIndex was renamed to MusicPlayer.playlist_index, with the old name still working.

    music playlist index name
  • Fixed invalid hidden colors being set for Hand and Hidden zones.

    invalid hidden colors for hand and hidden zone
  • object.getSnapPoints() no longer throws when an object has no snap points.

    snap point query crash
  • Chat no longer breaks or becomes uninteractable.

    chat breaking
  • VR highlighting now displays correctly.

    vr highlighting display
  • Fixed pointers not hiding correctly in hidden zones when the setting is enabled.

    pointers in hidden zone

General · 1

  • GUIDs are now stable.

    general