Latest Releases:
Description Version Game Version Save & Play 1.0.1 Any Autocomplete 1.8.0 9.9
Autocomplete:
Description:
In an attempt to improve scripting in Tabletop Simulator for those who use Notepad++, I created a file that adds support for it to autocomplete functions from the API as you type them and also give tooltips about their parameters and usage.
The tooltips were taken from the [URL="http://berserk-games.com/knowledgebase/api/"]API's Knowledge base page[/URL], some directly and others edited by me to ensure consistence and readability.
For functions which have the same name across different classes (e.g setValue( )), multiple overloads are offered, each one specifying which class they belong to.
Installation:
1. Download the file from [URL="https://goo.gl/DOY8kp"]here[/URL] and put it into {Notepad++ installation path}/plugins/APIs
Changelog (1.8.0):
- Added all functions introduced from v9.6 to v9.9.
Older Changelogs:
Save & Play:
Description:
This allows Notepad++ to send scripts to the Tabletop Simulator in-game editor at the press of a button. Currently, you cannot import scripts from the game automatically.
Prerequisites:
This requires Python Script (a Notepad++ plugin that allows other plugins to be written using python) to work.
1. Go to Plugins > Plugin Manager > Show Plugin Manager
2. Find Python Script in the list, check it and then click Install. Let the program restart.
Installation:
1. Download the file from [URL="https://goo.gl/WfQrr2"]here[/URL] and put it into {Notepad++ installation path}/plugins/PythonScript/scripts
2. Go to Plugins > Python Script > Configuration
3. Select Machine Scripts and click on Save and Play.py then click the Add button just above "Toolbar icons".
4. Restart Notepad++ and you should see a new button on the program's toolbar with the python icon, this is the Save & Play button.
Usage:
1. Open Tabletop Simulator.
2. Create a new file in Notepad++ and save it as "[guid] any_name_you_want.lua", without quotes, where guid is either the guid of the component you want this script to go into or -1 if this is the Global script. Make sure to surround it in brackets.
3. Write some code in the file.
4. Click the Save & Play button in Notepad++.
5. If your scripts got transferred to TTS, congratulations and happy scripting. If not, make sure you followed all the steps correctly.
Changelog (1.1.0):
- Files can now have any name, as long as they have the target object guid surrounded by brackets. This makes it easier to maintain multiple versios of the same file.