Update v13.2 - Discord Game Join, Valve Index Support, Custom Fonts & More!
Author: ulia,
published 2 years ago,
The long-awaited 13.2 Update is here! This patch addresses some of the most requested features and bug fixes including Discord game join support, Valve Index support for VR, a chat typing indicator, and much more!
[b]Improvements[/b]
[list]
[*]Added a typing indicator that shows up next to the player name and chat window. (Note: it will only show typing that you will be able to see, not if typing to another team) [url=https://tabletopsimulator.nolt.io/785]https://tabletopsimulator.nolt.io/785[/url]
[*]The deck deal-to-color wheel now handles a number typed on top of it, dealing that many cards to the relevant player(s). [url=https://tabletopsimulator.nolt.io/738]https://tabletopsimulator.nolt.io/738[/url]
[*]Right-clicking on slider bar will open dialog allowing for text entry of value. [url=https://tabletopsimulator.nolt.io/730]https://tabletopsimulator.nolt.io/730[/url]
[*]Added confirmation prompt to table flip. [url=https://tabletopsimulator.nolt.io/782]https://tabletopsimulator.nolt.io/782[/url]
[*]Randomizing while hovering over the hand with nothing selected will randomize the entire hand. [url=https://tabletopsimulator.nolt.io/864]https://tabletopsimulator.nolt.io/864[/url]
[*]Visualize Looking For Player on Host - Can be easily disabled from there as well
[*]Added visual indication for when an object is dropped into a container. Control with ui_container_enter_indicator console command / misc setting. [url=https://tabletopsimulator.nolt.io/736]https://tabletopsimulator.nolt.io/736[/url]
[*]Added move left & move right options to rotation value UI. [url=https://tabletopsimulator.nolt.io/947]https://tabletopsimulator.nolt.io/947[/url]
[*]Added search to PDF. [url=https://tabletopsimulator.nolt.io/971]https://tabletopsimulator.nolt.io/971[/url]
[*]Changed tooltip text on rewind slider to display time as minutes and seconds.
[*]Enabled Metal support for Marmoset shaders fixing Mac rendering issues.
[*]Group action will now put the objects into a bag as long as only one bag is present in the selection and no other combinations of decks/stacks were made. You can use the group_into_bag_first command / misc setting to override the last condition, putting everything into the bag if it's the only one (ahead of combining into decks/stacks). [url=https://tabletopsimulator.nolt.io/1594]https://tabletopsimulator.nolt.io/1594[/url]
[*]Added logging of pertinent URL when a game asset fails to load.
[*]Added showing your hand to another player (right-click a card in your hand and select Show Hand->. [url=https://tabletopsimulator.nolt.io/409]https://tabletopsimulator.nolt.io/409[/url]
[*]Updated Unity version to 2019.4.40 for better stability and bug fixes.[/list]
[img]https://clan.cloudflare.steamstatic.com/images//5854753/557bc76baf6493d3a477688d491458f0737e10c3.png[/img]
[b]Discord Game Join[/b]
[list]
[*]Can now invite people to join your game from within Discord.
[*]Can now ask to join a player's game from Discord and they will be given an in-game popup to accept or decline this request.
[*]Joining a game from within discord will launch the game and join the server with one button press.
[*]Discord will automatically supply the password for the server if it exists making joining even more seamless.[/list]
[img]https://clan.cloudflare.steamstatic.com/images//5854753/cbc47534aafa2988e9b1077d1597816d432b639c.png[/img]
[b]Search[/b]
[list]
[*]Added feature to search: when searching decks you can specify a number of cards N, and only the top N cards will appear in the search window. This allows for "Peek"-like actions. [url=https://tabletopsimulator.nolt.io/713]https://tabletopsimulator.nolt.io/713[/url]
[*]When a player is searching a deck and changes the order of the deck by moving a card, the movement is logged in the Game chat. You can disable seeing this via the console command / misc setting container_logging.[/list]
[b]VR[/b]
[list]
[*]Added default bindings for Index controllers.[/list]
[b]Fog of War[/b]
[list]
[*]Add Outside walls to FoW [url=https://tabletopsimulator.nolt.io/648]https://tabletopsimulator.nolt.io/648[/url]
[*]Increase revealer height range (negative values are now allowed as well)
[*]Fixed Custom Models create before the FoW not loading in correctly when inside FoW. [url=https://tabletopsimulator.nolt.io/454]https://tabletopsimulator.nolt.io/454[/url] [url=https://tabletopsimulator.nolt.io/]https://tabletopsimulator.nolt.io/[/url]
[*]Fixed FoW can be seen through with the magnify tool by any player [url=https://tabletopsimulator.nolt.io/1027]https://tabletopsimulator.nolt.io/1027[/url]
[*]Fixed objects are not hidden by Fog of War when different player is revealing them ([url=https://tabletopsimulator.nolt.io/1586]https://tabletopsimulator.nolt.io/1586[/url])
[*]Fixed revealer outlines not hiding when switching colors.[/list]
[b]XML UI[/b]
[list]
[*]Added support for custom fonts, sprites and audio clips in XML UI using AssetBundles. [url=https://tabletopsimulator.nolt.io/41]https://tabletopsimulator.nolt.io/41[/url] [url=https://tabletopsimulator.nolt.io/292]https://tabletopsimulator.nolt.io/292[/url]
[*]Added accessible Lua enum available as UI.AssetType for XML UI. (UI.AssetType.Image & UI.AssetType.AssetBundle)
[*]Upgraded to XmlLayout 1.97
[*]Fixed XML GUI "colors" field does not properly support Unity colors [url=https://tabletopsimulator.nolt.io/388]https://tabletopsimulator.nolt.io/388[/url][/list]
[img]https://clan.cloudflare.steamstatic.com/images//5854753/1fa19f66f85c9ad1310aa817eaae1c07b96da491.png[/img]
[b]System Console[/b]
[list]
[*]Added quit console command. [url=https://tabletopsimulator.nolt.io/803]https://tabletopsimulator.nolt.io/803[/url]
[*]Added spectator_show_game_ui command to allow hiding of UI elements in spectator screen. [url=https://tabletopsimulator.nolt.io/836]https://tabletopsimulator.nolt.io/836[/url]
[*]Added command and misc setting deck_can_spread_facedown; when enabled and you perform a spread action on a face-down deck, the cards will remain face-down instead of being flipped. [url=https://tabletopsimulator.nolt.io/860]https://tabletopsimulator.nolt.io/860[/url]
[*]Added help -c option for console command, which outputs all help text to the clipboard. [url=https://tabletopsimulator.nolt.io/788]https://tabletopsimulator.nolt.io/788[/url]
[*]Added framerate_custom_cap command. [url=https://tabletopsimulator.nolt.io/1708]https://tabletopsimulator.nolt.io/1708[/url]
[*]Added autosave_games_window_count command / misc setting to control the number of slots on top Games window which may display an autosave. Defaults to 1. [url=https://tabletopsimulator.nolt.io/1001]https://tabletopsimulator.nolt.io/1001[/url][/list]
[b]Lua[/b]
[list]
[*]Added onPlayerChatTyping(player, typing)
[*]object.Container.Search(player, cards = -1) - activate search window for player, optionally limited to top N cards.
[*]Callback generated by object.addContextMenu changed: f(player_color) is now f(player_color, object_position, object).
[*]Added object parameter to onPlayerPing event
[*] Added calls for built-in dialog windows:
[list]
[*] player.showInfoDialog(info) Displays info string to player.
[*] player.showConfirmDialog(info, callback) Displays info string to player. Callback is called as f(player_color) if user hits OK.
[*] player.showInputDialog(description, default_text, callback) Simple text input. Callback is called as f(text, player_color) if user hits OK.
[*] player.showMemoDialog(description, default_text, callback) Large text input. Callback is called as f(text, player_color) if user hits OK.
[*] player.showOptionsDialog(description, {options}, default_value, callback) Options Dropdown. Callback is called as f(option_text, option_index, player_color) if user hits OK.
[*] player.showColorDialog({default_color}, callback)Color picker. Callback is called as f(color, player_color) if user hits Apply. [url=https://tabletopsimulator.nolt.io/1343]https://tabletopsimulator.nolt.io/1343[/url]
[/list]
[*]Added LuaPlayer.copy(objects) and LuaPlayer.paste(position).
[*]Added zone.getObjects(true), which includes all objects in zone regardless of tags.
[*]Added language support to addContextMenu. [url=https://tabletopsimulator.nolt.io/1646]https://tabletopsimulator.nolt.io/1646[/url]
[*]If an object has its alt_view_angle set it will use that angle when viewed in container search. [url=https://tabletopsimulator.nolt.io/1575]https://tabletopsimulator.nolt.io/1575[/url]
[*]Added gizmo_selectable for Objects
[*]Fixed search window ignoring tryObjectEnter/onObjectEnter events. [url=https://tabletopsimulator.nolt.io/778]https://tabletopsimulator.nolt.io/778[/url]
[*]Validate (numeric) enums coming from Lua are not out of range.
[*]Fixed Lua lighting, turns, and hands not networking syncing when changing settings. [url=https://tabletopsimulator.nolt.io/1703]https://tabletopsimulator.nolt.io/1703[/url] [url=https://tabletopsimulator.nolt.io/1085]https://tabletopsimulator.nolt.io/1085[/url]
[*]Fixed Layout zone not sorting by Memo. [url=https://tabletopsimulator.nolt.io/1624]https://tabletopsimulator.nolt.io/1624[/url]
[*]Fixed getObjectsWithTag returning incorrect values. [url=https://tabletopsimulator.nolt.io/1718]https://tabletopsimulator.nolt.io/1718[/url]
[*]Fixed Color.fromhex not working when alpha was omitted. [url=https://tabletopsimulator.nolt.io/1631]https://tabletopsimulator.nolt.io/1631[/url]
[*]Fixed lua object.hasAnyTag() not working when a deck inherited its tags from its cards. [url=https://tabletopsimulator.nolt.io/1593]https://tabletopsimulator.nolt.io/1593[/url]
[/list]
[b]Lua Lighting[/b]
[list]
[*]Added member variables lut_index, lut_contribution, lut_url.
[*]No longer need to call apply() to trigger an update any change will automatically apply.[/list]
[b]Lua Materials[/b]
[list]
[*]Added support for editing materials vars from Lua. [url=https://tabletopsimulator.nolt.io/724]https://tabletopsimulator.nolt.io/724[/url]
[*]Added new class called material.
[*]Added getMaterials() and getMaterialsInChildren() functions to GameObject.
Materials function very similarly to Components:
[*]GameObject game_object
[*]String shader
[*]set()
[*]get()
[*]getVars()[/list]
[b]Fixes[/b]
[list]
[*]Fixed issue with cards getting stuck in player hands and other issues with decals and zones. [url=https://tabletopsimulator.nolt.io/386]https://tabletopsimulator.nolt.io/386[/url]
[*]Fixed issues with player color names being static on the hexagon and octagon table. [url=https://tabletopsimulator.nolt.io/476]https://tabletopsimulator.nolt.io/476[/url]
[*]Fixed objects flying around when rewinding by freezing them one extra frame. [url=https://tabletopsimulator.nolt.io/839]https://tabletopsimulator.nolt.io/839[/url]
[*]Fixed cards with states break hand zones when you shuffle them. [url=https://tabletopsimulator.nolt.io/1702]https://tabletopsimulator.nolt.io/1702[/url]
[*]Fixed issue with bbcodes being stripped out of UI text when translated with language codes. [url=https://tabletopsimulator.nolt.io/522]https://tabletopsimulator.nolt.io/522[/url]
[*]Fixed action triggering at the point key is assigned to it. [url=https://tabletopsimulator.nolt.io/792]https://tabletopsimulator.nolt.io/792[/url]
[*]Fixed spectator_activate_with_resolution not working correctly when used in autoexec. [url=https://tabletopsimulator.nolt.io/885]https://tabletopsimulator.nolt.io/885[/url]
[*]Fixed rotation values not displaying sum for some totals. [url=https://tabletopsimulator.nolt.io/917]https://tabletopsimulator.nolt.io/917[/url]
[*]Fixed Layout Zone has the Reversed option enabled then decks being spread into it will be reversed. [url=https://tabletopsimulator.nolt.io/729]https://tabletopsimulator.nolt.io/729[/url]
[*]Fixed end_turn command not working in hotseat mode. [url=https://tabletopsimulator.nolt.io/726]https://tabletopsimulator.nolt.io/726[/url]
[*]Fixed objects becoming visible when grouping. [url=https://tabletopsimulator.nolt.io/948]https://tabletopsimulator.nolt.io/948[/url]
[*]Fixed XML UI tags not allowing for < > & . [url=https://tabletopsimulator.nolt.io/941]https://tabletopsimulator.nolt.io/941[/url]
[*]Fixed mouse centering when moving with keyboard while UI disabled (via F11). [url=https://tabletopsimulator.nolt.io/930]https://tabletopsimulator.nolt.io/930[/url]
[*]Fixed scripting zones triggering leave events when returning to main menu. [url=https://tabletopsimulator.nolt.io/929]https://tabletopsimulator.nolt.io/929[/url]
[*]Fixed trying to add a tag to an object which already exists on other objects not working. [url=https://tabletopsimulator.nolt.io/978]https://tabletopsimulator.nolt.io/978[/url]
[*]Fixed incorrect packet error when in hotseat mode.
[*]Fixed objectEnterContainer indicator cleanup.
[*]Fixed dropdown UI sometimes appearing beneath its parent window.
[*]Fixed alt zoom working with XML UI.
[*]Fixed hidden decks with custom backs being revealed when dealt.
[*]Fixed Gizmo tool being unable to click on objects with the Drag Selectable toggle turned off (note that while selecting you can override this toggle by holding shift).
[*]Fixed Layout zone not sorting by Memo. [url=https://tabletopsimulator.nolt.io/1624]https://tabletopsimulator.nolt.io/1624[/url]
[*]Fixed game taking a long time to return to main menu when lots of objects present on table. [url=https://tabletopsimulator.nolt.io/1720]https://tabletopsimulator.nolt.io/1720[/url][/list]