Tabletop Simulator

Tabletop Simulator

Ikke nok vurderinger
Object Name Recolor
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Type: Modding
Complexity: Low Complexity
Language: English
Merkelapper: Liyarin, Nyss
Filstørrelse
Lagt ut
Oppdatert
16.421 KB
12. okt. 2021 kl. 12.17
26. okt. 2021 kl. 19.50
2 endringslogger ( vis )

Abonner for å laste ned
Object Name Recolor

I 1 samling av Liyarin
Utility Scripts by Nyss AKA Liyarin
19 gjenstander
Beskrivelse
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. 2024 kl. 5.42 
Holy shit this is great, thank you
Liyarin  [skaper] 26. okt. 2021 kl. 19.56 
Just added the suggestion that CHRY commented a few weeks ago.
Thanks again for the feedback.
Liyarin  [skaper] 15. okt. 2021 kl. 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  [utvikler] 14. okt. 2021 kl. 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 :(