Tabletop Simulator

Tabletop Simulator

Tabletop Workshop
Create and import your own content, discover new and exciting games, and take your tabletop gaming experience to a whole new level.
Learn More
 This topic has been pinned, so it's probably important
Karmond 2 27 Apr, 2014 @ 11:51pm
Karmond's Tools (Dungeon Gen, Multi-Board, & Locker)
Introduction
I've put together a few simple tools to assist with creating games for Tabletop Simulator. I hope you find them useful.

These tools let you download a zip archive of a TTS Save file. In Windows, the save files need to be extracted to:

  • %UserProfile%\Documents\My Games\Tabletop Simulator\Saves\

RPG Dungeon Generator

RPG Dungeon Generator Tool[markdesousa.com]

Allows you to quickly and easily create a dungeon using the RPG tile set. Just draw what you want by holding down the left mouse button. Drawing will automatically place walls for the adjacent tiles. Drawn tiles can be customized by right clicking, which will cycle through the wall placements.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=254104011

Multi-Board Generator

Multi-Board Tool[markdesousa.com]

This was designed as a method to get larger playing surfaces for custom games. As of TTS v1.2 which included Custom Board Stretching, this tool isn't as useful in its current form. Still, there may be a need for it in the future.

Allows you to generate a save file with two custom boards side by side, or four boards in a 2x2 square. The latter does clip through the table slightly so it might be beneficial to add blank space to your images.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=252497394

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=252497488

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=252255273

Object Locker

Object Locker Tool[markdesousa.com]

Permanently locks all objects in a supplied save file.

Something I quickly put together after a suggestion from CaSquall. Hasn't been extensively tested yet but should work with most saves. If your mod only requires certain objects locked, make as save with only those objects placed and then use this tool. Afterwards you can then place the aditional unlocked objects. Singular locked cards can be unlocked by using another card to stack into an unlocked deck. Locked decks can still have cards drawn.
Last edited by Karmond; 23 May, 2014 @ 5:17am
< >
Showing 1-15 of 19 comments
Napalm420 1 28 Apr, 2014 @ 2:08am 
Heya man, I tried adding you in the past to thank you personally, but thanks for the Multi-board tool. I used it to make Risq, worked great. Don't know if I could have made it at this point in game development without ya. ;P
Karmond 2 28 Apr, 2014 @ 2:34am 
Yeah sorry, I don't really accept friend requests unless I know or have played with you.
Napalm420 1 28 Apr, 2014 @ 3:28am 
Originally posted by Karmond:
Yeah sorry, I don't really accept friend requests unless I know or have played with you.

Understandable, just wanted to say thanks.
Kyrah Abattoir 28 Apr, 2014 @ 5:47am 
Good job Karmond, double board was exactly what i needed.
Anwinity 29 Apr, 2014 @ 8:00am 
Multiboard looks very cool :o I'll definitely be using this!
IceWarm 14 29 Apr, 2014 @ 8:51pm 
Awesome tools, thanks.
CaSquall 2 22 May, 2014 @ 6:28pm 
Great mod, was hoping for a mod that made me able to place custom boards and size them. But still so far really cool idea, also a mod suggestion if you understand the code enough, to be able to lock objects like you can the tileset. The reason for this is that I am using oversized cards as small player boards, which holds loot items etc. Would be nice not to be able to interact with that card once objects are on it.
Karmond 2 22 May, 2014 @ 7:40pm 
Unfortunatly the game doesn't allow you to resize the boards in it's current state. Aside from having the 'width' stretch/contract and meet the image ratio.

As for locking objects, you wouldn't be able to do it in a live game if it were possible but I guess I could have a quick look if objects other than the tileset can store a 'locked' state in the save file.

EDIT: Took a look, does look like you can use the variable used to lock the tileset to lock other objects too. It can't be done in real time in a live game but I suppose if you've got a specific layout you want to achieve with 'cards' then you could potentially set up a save file with them pre-locked.

I tested it by making a save with 4 floor tiles, locked them, then saved and modified the file changing the floor tiles into other objects. The changed objects were perma-locked. As in you couldn't move them, even after spawning in an RPG tile and cycling the lock. I didn't test it with decks because I haven't done enough experiments with decks yet to understand how they're structured in the save file but it's promising at least.
Last edited by Karmond; 23 May, 2014 @ 2:14am
Karmond 2 23 May, 2014 @ 4:21am 
Okay give this a whirl;
http://markdesousa.com/tools/tabletop-simulator/object-locker/

Pretty basic in what it does, just changes the unlocked variable to locked. I haven't done extensive testing with it yet (I just quickly whipped it up). I assume it won't work if you mix non tileset objects with tileset objects (I think It'll only lock the last set of objects). All objects in the save file you lock with this tool will be permanently locked. The only exception is decks and cards, where you can still draw cards from a locked deck, and if you merge a locked single card with an unlocked card to create a deck, the deck will be unlocked.
CaSquall 2 23 May, 2014 @ 6:55am 
Whoah Karmond that was fast, I will give it a whirl when I get the chance.
By the way seeing as you're really skilled, and I have a poop ton of ideas for the program, would you mind if I added you?
Karmond 2 23 May, 2014 @ 7:23am 
I guess so. Though I can't promise that I can do what you want for the game.
Last edited by Karmond; 23 May, 2014 @ 7:23am
nsc 20 23 May, 2014 @ 7:23pm 
So there's a new tabletop, that's big.

Any chance you'll revise the dungeon builder script to work with the giant table?
Karmond 2 23 May, 2014 @ 7:28pm 
Sure, I could add the large table later today (I'm not currently at my PC).
Karmond 2 24 May, 2014 @ 1:54am 
Updated the Dungeon Generator.
Added Custom Table
Scale now adjusts the grid (use your browsers zoom function if it scrolls the page)

I've still got the palette on the todo list that someone suggested a while back, not sure when I'll tackle that.
nsc 20 24 May, 2014 @ 12:21pm 
Cheers, thanks for the updated script.
< >
Showing 1-15 of 19 comments
Per page: 1530 50