Tabletop Simulator

Tabletop Simulator

200 ratings
Character Sheet Template
11
2
3
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc, Templates
File Size
Posted
0.019 MB
Aug 30, 2017 @ 1:30pm
1 Change Note ( view )

Subscribe to download
Character Sheet Template

Description
Without needing to know Lua, you can modify this character sheet to make your own. You replace the custom image of the sheet with one of your own, then you modify some variables to add/remove different "elements". The elements are checkboxes (click to check/uncheck), counters (number with a + and - button to change its value) and textboxes (fields to enter number/text). There are also some overall variables that will let you change text/background colors.

Also included is a position finder. While you can still tweek the values for where buttons are placed, you can place the red circle on top of your character sheet and copy the position it gives you in the notes. Then paste it into the script at the indicated place for that button and the button will be there after you save+apply.

I have included in-depth instructions, as clear as I can reasonably make them without them becoming too bloated. I am confident that with a little fiddling, you will be able to make your own character sheet even with 0 Lua knowledge.
Popular Discussions View All (2)
1
Mar 27, 2021 @ 11:10am
Using textbox content as a variable
ronin_LTKKA
0
Aug 22, 2020 @ 11:41am
BUG REPORT: Setting editing to False resets all progress.
Gake
< >
185 Comments
Moberget Dec 22, 2021 @ 1:32am 
Awesome tool! But is there any way to make the checks and info persist between saves/states or even just being put in a bag and taken out again? This is a rather big issue that I feel should have a pretty simple solution. But does it?
Riff Rath Nov 29, 2021 @ 6:43pm 
I'm having a problem where the coordinate finder just stops working for no reason...
VampireGamer Nov 27, 2021 @ 4:05pm 
Unfortunately, the sheets lose all the entered data after loading a save.
Malixx Nov 6, 2021 @ 9:25am 
Ok, if you want to remove/hide (or change opacity/transparency) of the background of a textbox AND rotate the textbox you must change the self.createInput like this:

self.createInput({
input_function = funcName,
function_owner = self,
label = data.label,
alignment = data.alignment,
position = data.pos,
rotation = data.rot,
scale = buttonScale,
width = data.width,
height = (data.font_size*data.rows)+24,
font_size = data.font_size,
color = data.color,
font_color = data.font_color,
value = data.value,

And then the textbox should looke like this:

pos = {-0.026,0.1,1.474},
rot = {0,180,0}, -- change 180 for rotation
rows = 1,
width = 5000,
font_size = 800,
color = {1,1,1,0.4}, -- change 0.4 for opacity
font_color = {0,0,0,255},
scale = {0.1,0.1,0.1},
label = "Empty",
value = "",
alignment = 3
Malixx Nov 6, 2021 @ 5:25am 
This is almost perfect! Like MasterHorus said transparent background and text rotation is all that is missing.
MasterHorus Oct 4, 2021 @ 3:40pm 
Is it possible to remove/hide the background of a textbox like you do with the counters ?
Penisland Jul 22, 2021 @ 12:05pm 
I found this to be an insanely useful tool. Unfortunately we ran into a problem, where if you click in any of the text boxes and type something, it immediately deletes everything. This is the native response for any text box in TTS. If you click on a text box and then click again to place your cursor at the end of the text you can just add text, but if you click once and type, it erases. 5/5 stars
ZuMan Jun 27, 2021 @ 11:59am 
This is a fantastic basic template. It's minimal and the code is very clearly commented. Thank you very much for sharing.
Zero May 18, 2021 @ 1:35am 
@eggdropsoap PLEASE post your version! Even if it's not "perfect", iteration is ok :)
Inspector de Patas May 7, 2021 @ 12:45am 
Hey there! I have a couple questions:

1.- How can I increase the size of the number in the counters? (Increasing the size parameter only increases the size of the + and - buttons)

2.- Is there a way to make the white text box space transparent?

I also want to suggest, coulds you kindly update this mod to make it possible to add a "Lock"/"Unlock" button that protects the textboxes text from accidental editing?