Tabletop Simulator

Tabletop Simulator

Ei tarpeeksi arvosteluja
Object Name Recolor
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Type: Modding
Complexity: Low Complexity
Language: English
Tunnisteet: Liyarin, Nyss
Tiedostokoko
Julkaistu
Päivitetty
16.421 KB
12.10.2021 klo 12.17
26.10.2021 klo 19.50
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Object Name Recolor

1 kokoelmassa, tekijä Liyarin
Utility Scripts by Nyss AKA Liyarin
19 luomusta
Kuvaus
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 kommenttia
ZeeZeeB 21.4. klo 5.42 
Holy shit this is great, thank you
Liyarin  [tekijä] 26.10.2021 klo 19.56 
Just added the suggestion that CHRY commented a few weeks ago.
Thanks again for the feedback.
Liyarin  [tekijä] 15.10.2021 klo 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  [kehittäjä] 14.10.2021 klo 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 :(