Tabletop Simulator

Tabletop Simulator

Otillräckligt med betyg
Object Name Recolor
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Type: Modding
Complexity: Low Complexity
Language: English
Taggar: Liyarin, Nyss
Filstorlek
Lades upp
Uppdaterades
16.421 KB
12 okt, 2021 @ 12:17
26 okt, 2021 @ 19:50
2 ändringsnotiser ( visa )

Abonnera för att ladda ner
Object Name Recolor

I 1 samling av Liyarin
Utility Scripts by Nyss AKA Liyarin
19 artiklar
Beskrivning
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 kommentarer
ZeeZeeB 21 apr @ 5:42 
Holy shit this is great, thank you
Liyarin  [skapare] 26 okt, 2021 @ 19:56 
Just added the suggestion that CHRY commented a few weeks ago.
Thanks again for the feedback.
Liyarin  [skapare] 15 okt, 2021 @ 18:04 
@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  [utvecklare] 14 okt, 2021 @ 14:17 
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 :(