Tabletop Simulator

Tabletop Simulator

Conditions & Ruler for D&D 5e (+ Pathfinder)
77 Comments
phantomias2023 5 Nov, 2023 @ 9:47am 
Here is an update Version of the PF2e MiniBase. Same as before but now the Conditions are ordered alphabetically, which lets you find them much quicker:

https://drive.google.com/drive/folders/1bebZd15BTqVRTzw2rNiGSILRxYfsFiPw?usp=drive_link

Just update the AssetBundle from the Workshop Version with this one, or create a custom assetBundle and copy+paste the script from the workshop version.
DeadHat 8 Apr, 2022 @ 10:51am 
Thanks!
ColColonCleaner 27 Feb, 2022 @ 11:27am 
@Sileflas There should be a way around that error. Grab my DND Mini Injector from the workshop linked below and pull it into this workshop. Drop the basic round MiniBase onto it and it will inject my scripts into the MiniBase instead of the default scripts. The health bar that displays over the injected mini has buttons on it. The left side of the health bar is the button that activates the status effects from this workshop. All the other functionality of that injector is described in my workshop.
Sileflas 27 Feb, 2022 @ 8:23am 
Every time I try to bring these into my d&d table, I keep getting an error message and the mini base disappears.

"Error in Script (MiniBase - 43bc45): chunk_3:(65,1-55):attempt to index a nil value"

Any idea why it won't let me import these to my own table to use?
ColColonCleaner 13 Dec, 2021 @ 8:50pm 
@retraffic I've added compatibility with this workshop's asset bundle to my tools. Video attached.

https://www.youtube.com/watch?v=QwV2ccJLWyM
ColColonCleaner 13 Dec, 2021 @ 11:22am 
I'm going to be working this into the DND Tools workshop that I run.
I'll direct people here to grab the actual bases, but i'm going to make the scripting for the mini injector compatible with this asset bundle and automatically generate the buttons from it.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2454472719
Cheddar 29 May, 2021 @ 6:55pm 
any way you couyld do one for savage worlds conditions?
PRLO 6 May, 2021 @ 4:35pm 
Привет, мне нужна только функция дистанции. Что нужно удалить для этого в скрипте?
Hi, I only need the distance function. What needs to be removed for this in the script?
LasrinPrime 22 Feb, 2021 @ 9:30pm 
Beautiful!
ajb818s 1 Oct, 2020 @ 1:54pm 
Any idea why some objects can't be attached to these? When I put things on top of the bases, those things are no longer selectable to attach.
Crystilac 14 Sep, 2020 @ 3:38am 
Have I just completely missed it or is there a condition "raging" for barbs? Is there an easy way to add this?
kimrel  [author] 25 May, 2020 @ 1:31am 
@Nihiladrem you make these with tabletop simulator under create custom object. the mini in the scene is just a visualization of that.
Nihiladrem 25 May, 2020 @ 12:20am 
@retraffic I know how to use 3d mini's with the black bases, what I mean is the standee base with the 2d tab on it.
kimrel  [author] 24 May, 2020 @ 1:06am 
@Nihiladrem you make your own miniature and attach it to the base after
Nihiladrem 23 May, 2020 @ 11:26am 
This may be a stupid question, but how do I set an image to the standee?
kimrel  [author] 3 May, 2020 @ 3:09am 
New update is live with the pathfinder base by TfreeJ and the fix for lines being deleted on destroy
JohnFintch 3 May, 2020 @ 2:52am 
@retraffic thank you i'll give a shot!
kimrel  [author] 3 May, 2020 @ 1:20am 
@JohnFintch I have no idea how the fog of war is supposed to work at all because it just never synchronizes with my players. But the solution should be either to combine your miniatures and the base into one object with the attach tool or raising the fog of war height above the base height.
JohnFintch 2 May, 2020 @ 4:14pm 
Hi thanks very much:) I only have one issue the miniature don't work with fog of war someone no how to fix it?
Feather 30 Apr, 2020 @ 3:20pm 
Nice item, thx!
I included this in my table with some adjustments and an extra switch button.
I added your name (as credits) to the code and my description.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2052884272
TfreeJ 30 Apr, 2020 @ 11:27am 
@kwagsire Check out the side discussion detailing making your own custom lists. I have roughed together a Pathfinder 2e basic conditions list which will be coming to this mod soon-ish. Retraffic was a huge help and gives a detailed tutorial on how to make your own list to bring into TTS. Something missing that your group uses or have another RPG you want to use this tool with, jump on over to that disucssion thread and check it out (Tabs are above the mod pic).
BreaKMasteR 30 Apr, 2020 @ 3:00am 
This is awesome, good work
Kwagsyre 30 Apr, 2020 @ 2:27am 
Hello. This is an awesome mod. I plan on suggesting this to my DMs to use in our conversion to online games. However, I noticed a few fairly common conditions not on the list such as Sleep and Silence. I did read below that tts only allows 99 triggers. Some of these conditions are either very situational or somewhat unnecessary especially in the case of a spell that targets creature types. Druid Grove, Hollow, and Magic Circle are a few examples. Certain spells like Dispel Good and Evil I feel like should stay as they impose more specific conditions rather than "you can't enter this area." Instead I feel like at least Sleep and Silence should be on this list. I've seen far more uses of both of these spells before I even knew that Druid Grove (this one was today) and Magic Circle were spells.
kimrel  [author] 28 Apr, 2020 @ 11:42pm 
@🅱ird_toe right. will fix this weekend
🅱ird_toe 26 Apr, 2020 @ 7:49pm 
@retraffic It seems the onDestroy function still deletes global vectorLines.
kimrel  [author] 26 Apr, 2020 @ 1:35am 
@AdoringFan i've never heard about this issue either. maybe try removing all pieces and remove them. what tool did you use to snap the character pieces on there? also, the grid size is definable on the base.
Radkos 25 Apr, 2020 @ 2:22pm 
Hello. This mod is great. I am running into an issue however, and I am unsure as to why. I loaded this into my game and copied some of the minibases to put my players pieces on (had to adjust the grid size for them to 2,2 to snap right). Upon saving the game and reloading all the character pieces where thrown into the middle of the table and I could not interact with them, aside from one that would move when I clicked on a different piece in the pile. It seems to transfer to any table I load. I do get one error message when the game loads, it is the following: "Failed to load Figurine_Custom. Value cannot be null." "Parameter name: key. <9>" I never had this error prior, only started when I put the pieces on the minibases and loaded it up. Any thoughts?
kimrel  [author] 25 Apr, 2020 @ 3:59am 
New Version is out that introduces different base sizes and fixes the line-drawing issues.
kimrel  [author] 22 Apr, 2020 @ 11:41pm 
@🅱ird_toe great thanks. I'll add that to the script. the API documentation is a bit minimal.
🅱ird_toe 22 Apr, 2020 @ 10:49pm 
I really like this mod, but erasing all drawn lines prevented me from using it. I tinkered with the lua script a bit and if you set your vector lines with this you won't have to erase the entire table as the lines will be local to the object.

self.setVectorLines({
{
points = { self.positionToLocal({obj.x,1,obj.z}), self.positionToLocal({posi.x,1,posi.z}) },
color = {1,1,1},
thickness = 0.1,
rotation = {0,0,0},
}
})
kimrel  [author] 18 Apr, 2020 @ 1:06am 
@Hades hm not really no. you can try to make your own custom base like described in the discussion thread.
Hades 17 Apr, 2020 @ 7:31pm 
Heya! Just came back to this since it looks like you've improve it exponentially! (Even make it rotate of a perfect axis!)

Just wanted to ask, is there a way to remove a few of the status from the user end? It seems like these bases give a hefty weight to the load speed of the table and Im wondering if reducing the amount of effects that the players dont even have access to would help.
kimrel  [author] 16 Apr, 2020 @ 3:02am 
I added a tutorial on how to make your own lists of commands in the discussions. Please send me your custom lists for other RPGs to include in this workshop entry.
kimrel  [author] 16 Apr, 2020 @ 1:30am 
@RolandTheHeadlessThompsonGunner and the problem goes away as soon as the base is removed from your game? WWW errors usually refer to mods with wrong URLs so on first glance I can't see a relation.
RolandTheHeadlessThompsonGunner 15 Apr, 2020 @ 6:56pm 
Beautiful mod, looks brilliant and adds something special to the game. However one of my players is unable to enter my lobby while it is active and we can't figure out why. She gets a couple of WWW error messages but I am 95% confident they are unrelated to this mod and are not the problem. We have tried restarts and verifying game cache, curiously she can use the mod herself in her own lobby. Any ideas?
Xaaridan 15 Apr, 2020 @ 9:42am 
Thanks for the quick response. Hope you can figure it out but the mod is amazing even if there isn't a solution!
kimrel  [author] 15 Apr, 2020 @ 9:04am 
@[ANT] Xaaridan for some reason the only way to draw lines in the tts api is to replace all lines with a new list of lines.. i'll try to think of a better way
Xaaridan 15 Apr, 2020 @ 8:43am 
Hey, awesome mod and is going to be super helpful for my D&D group, I do have one small issue though with the ruler removing all drawn lines when it gets used, is there a way to fix this?
Kou12am 14 Apr, 2020 @ 10:39pm 
@retraffic Reporting back, no issues here! Looks like the script jumping ahead really was the problem. Thanks for the fix!
ImaTarget 14 Apr, 2020 @ 7:27am 
This is very impressive.
kimrel  [author] 14 Apr, 2020 @ 1:55am 
you can't just change the buffs used. I'll come up with a way for people to define their own lists of things in Unity to send back to me for quick instantiation.
I'm So Metaphorical... 14 Apr, 2020 @ 12:57am 
this is such an awesome mod! I'd like to start using this for my SWRPG group! How might I go about changing the text of the buttons/indicators?
TWiG [SPOG] 13 Apr, 2020 @ 11:00am 
Thank you for such a helpful and awesome item ... really dig it!!!
Testing with your latest version is working very nice!!
kimrel  [author] 13 Apr, 2020 @ 3:07am 
@Oninoni hmmm I see what you mean. this really makes it complicated. I'll have to think about that.
kimrel  [author] 13 Apr, 2020 @ 3:05am 
@Jamster sorry. the tabletop simulator API doesn't allow any other interaction with unity assets other than "turn off" and "turn on"
kimrel  [author] 13 Apr, 2020 @ 3:01am 
@Kimokawa thanks for the error message. there's nothing in the script that references anything outside the object. in fact, the line that you send me is the one trying to read what triggers there are on the object. I read something in the tts API that an object may sometimes not know who it is for a while, so I updated the script so that it waits for a few frames before trying to read out its triggers. please see if this fixes the issues with instantiating it in other games. weirdly i still can't get that error in any of my other games.
Kou12am 13 Apr, 2020 @ 1:22am 
Awesome item though! Really love the UI design of the effects and how it circulates the base!
Kou12am 13 Apr, 2020 @ 1:21am 
I'm also getting the error after saving it into the chest and not too sure why... I'm assuming the blue button's coding may be referencing to a value that is reliant only the workshop's "game"?

Issue: Script error message upon import. Blue button will not open menu to select effects, but effects can be triggered from the Right-Click context menu. Error only happens when importing the object in a game other than the workshop item.

In-game error message:
Error in Script (MiniBase - 014ca8) function <onLoad>: chunk_3:(59,0-54): attempt to index a nil value
Jamster 13 Apr, 2020 @ 12:28am 
Really love it! I do wish the text rotational speed is a tad bit slower and a button to reduce the round duration on all buffs with a duration.
Oninoni 12 Apr, 2020 @ 4:29pm 
Could you make Variants for Different Sizes of Creatures? Large Creatures, etc... Scaling Breaks the Distance Messuring and maybe you could even allow a 2x2 Creature to be aligned to grid? No idea how that works :D