Tabletop Simulator

Tabletop Simulator

Automated Pathfinder D20 Character sheets
29 Comments
crossmr  [author] 20 Mar, 2021 @ 3:10am 
@faolanthehedgehog I found the bug with the skill class, I fixed that on V2.
crossmr  [author] 20 Mar, 2021 @ 12:53am 
Hey guys, I've started doing a version 2 which uses the text input fields but maintains the automation of the counters, you can check it out here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2430038512
faolanthehedgehog 15 Dec, 2018 @ 1:29pm 
The +3 to skills comes from the checkbox marking it as a class skill, but the bonus should only apply when you have ranks in the skill. If the number of ranks is 0 in a class skill, the sheet erroneously still gives the +3 bonus. As for encumbrance, yes. I usually use decimals for those objects that weigh 1/2 or 1/4 lbs.
crossmr  [author] 14 Dec, 2018 @ 7:51pm 
@faolanthehedgehog I haven't really maintained this in awhile, but I loaded it up, and I don't see anything adding a +3 bonus to all skills. https://i.imgur.com/FdK1z3g.jpg That's what I see when I add some stats and a few ranks to things. Did you change something else? For the encumbrance are you wanting to use decimals?
faolanthehedgehog 14 Dec, 2018 @ 6:56am 
Thought this sheet was amazing until I discovered the way it keeps track of money. Really, a counter that only increases by +1 or -1 in a game where you often deal with thousands? I'd change this to a text box. Also, the skills are calculating incorrectly, granting a +3 bonus to all your class skills, even if you don't have a rank in them. Then under gear and encumbrance, you can only have integers because they also use counters.
SmaugBR 4 Aug, 2018 @ 5:26am 
Hey, great work!!! I'm really impressed. In case someone is wondering (as I was - just discovered it because I'm new to Tabletop Simulator), to edit a text just press EDIT. A small piece will appear. Right click on it and edit the lower space, where the original text can be seen. Then, press EDIT again so the piece goes away and the text updates. ;)
8BitKefka 6 Sep, 2017 @ 5:02pm 
now character sheet is causing freezing and game to lock up
giximon 5 Jun, 2017 @ 10:53am 
ehm the size modifire seems to be wrong cuz when you take a fx haflings they get 1 size cuz they are small and -1 cmd but if i put the size mod in they will get +1 instead in cmd any way i can costumize so it will be right ???
crossmr  [author] 15 May, 2017 @ 8:46am 
The sheets save things to global, but there is no code in global itself related to the sheets. Basically the sheets save a copy of their data in global when you unload them, then pull it back in when you load them up, with a unique name based on their ID number. You could verify that all your sheets have unique ID numbers and they aren't stepping on each other's toes, but that should be automatic.
Hempninja 15 May, 2017 @ 3:08am 
Hey Crossmr, These sheets are great, but I can't get spell pages 1 & 2 to load up the editable buttons when I am trying to use them at my table. I always get an "error in script function: <onload>. Then it seems all the script is white in the LUA editor when I bring it up to do a debug. I assumed you may have some global code that the other table doesn't have, but that doesn't appear to make a difference. Do you have any suggestions?
crossmr  [author] 1 May, 2017 @ 3:18pm 
@Rimaka I'll have a look at that and see if I can figure out what might be causing that. They may have changed the way some of the code is working as that worked before.

@mutantbeast functional in what way?
Rimaka 30 Apr, 2017 @ 1:39pm 
Hey, thanks a bunch for this. It appears to work flawlessly but there is one little thing that is bugging me. Anytime I change a number (on the second sheet) and I flip to a new state, the number does not save. If I press an Edit button after changing a number however, then swap states, it will save. Is there any way to fix this?
crossmr  [author] 15 Mar, 2017 @ 7:01pm 
I haven't played with the color of the text too much. But it's possible that you could write a function that when it is set to off it changes the color of the text of that item. Basically look at where you define the parameters of your piece of text, make another one that is identical but with a different color (I think you can do that) and then have the function switch that on the sheet. I've never tried it myself, but that's how I'd start looking at it.
Zombie Matt 15 Mar, 2017 @ 6:46pm 
I got a question. On one of my sheets I have a bunch of 'toggle' counters. I am tring to give the appearance of a group of values being blank when toggle is off. Currently they show as 0 then the toggle changes them to set numbers. I can't make the default valye 'null' because you cannot do math on string so I was wonder if there was a way to have the toggle change the color of the text instead. No math would be needed then since the value wouldn't change just your ability to read the numbers would. Any thoughts?
Cpt Condor 14 Mar, 2017 @ 7:58pm 
awesome! works great 5/5.
crossmr  [author] 4 Mar, 2017 @ 7:50pm 
Okay I haven't had a chance to check the code closely as I'm out right now. So I didn't see the error, just had a chance to load it up and see that it wasn't saving the data when switching states. I'll start debugging and see what changed.
Zombie Matt 4 Mar, 2017 @ 4:47pm 
As of this patch I started getting "can't save object reference not set to an instance of an object" not sure if that is the same issue you are seing now. Since the char sheet is the only scripting I am using I tried for an hour to figure out what was wrong. Eventually I deleted my workshop folder (My Games\Tabletop Simulator\Mods\Workshop) so tabletop sim would re-download everything fresh from the server and that actually fixed my problem.
crossmr  [author] 4 Mar, 2017 @ 4:06pm 
Ah, it looks like the states on the second sheet aren't being saved when switching between. I'll have a look at it a bit later on and see if I can figure out what's going on.
crossmr  [author] 4 Mar, 2017 @ 4:05pm 
Could you be more specific about what you think is broken? I just loaded it up and changed some values and all the calculations seem to be done correctly.
GreenTextAnon 4 Mar, 2017 @ 3:29pm 
I think the most recent update broke the sheet.
crossmr  [author] 23 Feb, 2017 @ 5:33pm 
Sure feel free to leave a link here too it as well.
Zombie Matt 23 Feb, 2017 @ 4:41pm 
This is really awesome. Is it alright if I use a modified version of this in a game I am creating? I'll of course give you credit :)
crossmr  [author] 21 Jan, 2017 @ 7:49pm 
If you go towards the end of the file you'll see where it defines those fields. There is an "offset" section there somewhere. That offset controls where the button appears. You can put it wherever you want in relation to the actual field. I'll find the exact code a little later if you can't see it.
MurderHobo 21 Jan, 2017 @ 12:21pm 
heya, ive been working on a savage worlds sheet version of this... i have a question about the EDIT button, i would like to change the location of the spawning text, from underneath to beside the EDIT button.. no idea where to find it... i can change the locations of items and remove em to fit the way i need.. but no idea how to get text to spawn say to the RIGHT side of the EDIT button....

any help would be great
H3xx 19 Jan, 2017 @ 12:21am 
I and my players would greatly apreciate it. I've tried, but I can't seem to wrap my head around Lua, otherwise I'd attempt it myself.
crossmr  [author] 19 Jan, 2017 @ 12:18am 
The code itself isn't hard, it's simply a time sink to line up all the counters and text fields. If I get some free time I'll see if I can do one
H3xx 18 Jan, 2017 @ 10:45pm 
This isn't far off from a 3.5 sheet. Think you could make one for 3.5?
crossmr  [author] 14 Jan, 2017 @ 3:27am 
I'm glad to do it. It's nice to see so many people using it already. I hope it's working well for everyone so far.
codyvidal 14 Jan, 2017 @ 2:14am 
Thank you so much for this.