Tabletop Simulator

Tabletop Simulator

Not enough ratings
Object Name Recolor
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
16.421 KB
12 Oct, 2021 @ 12:17pm
26 Oct, 2021 @ 7:50pm
2 Change Notes ( view )

Subscribe to download
Object Name Recolor

In 1 collection by Liyarin
Utility Scripts by Nyss AKA Liyarin
19 items
Description
This tool will help you quickly give colors to the names of your objects.

Simply change the tool's color tint, place the object that you want a colorful name on the tool, then press the button, and voila!





Made by Liyarin:
If you like my mods and wish to support me, you may do so here[paypal.me].

I now make tabletop simulator mods by commission, if you're interested, request one here[www.fiverr.com].
4 Comments
ZeeZeeB 21 Apr @ 5:42am 
Holy shit this is great, thank you
Liyarin  [author] 26 Oct, 2021 @ 7:56pm 
Just added the suggestion that CHRY commented a few weeks ago.
Thanks again for the feedback.
Liyarin  [author] 15 Oct, 2021 @ 6:04pm 
@CHRY Thanks for the feedback! I made this very quickly for my own needs, so I didn't think too far ahead, and I simply shared what I had at the end.

I will probably add another version of the tool that works each of those ways, so that people can save the one they prefer.
ulia  [developer] 14 Oct, 2021 @ 2:17pm 
Good idea for a tool! Here's a suggestion to improve usability - Using onObjectPickUp instead skips the hassle of having to place objects for the cast so you don't need to re-arrange them to their corresponding snap points and positions. Could also substitute it with polling getSelectedObjects while it's enabled for the ability to target locked objects.

function onObjectPickUp(col, obj)
if (enabled) then
local color = tintToHex(self.getColorTint())
local objn = obj.getName()
if string.sub(objn, 1, 1) == "[" and string.sub(objn, 8, 8) == "]" then
objn = string.sub(objn,9)
end

obj.setName("["..color.."]"..objn)
end
end

Sadly I don't believe [code] tags work in comments :(