Tabletop Simulator

Tabletop Simulator

No hay suficientes valoraciones
Object Name Recolor
   
Premiar
Favoritos
Favorito
Quitar
Type: Modding
Complexity: Low Complexity
Language: English
Etiquetas: Liyarin, Nyss
Tamaño
Publicado el
Actualizado el
16.421 KB
12 OCT 2021 a las 12:17
26 OCT 2021 a las 19:50
2 notas sobre cambios ( ver )

Suscríbete para descargar
Object Name Recolor

En 1 colección creada por Liyarin
Utility Scripts by Nyss AKA Liyarin
19 artículos
Descripción
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 comentarios
ZeeZeeB 21 ABR a las 5:42 
Holy shit this is great, thank you
Liyarin  [autor] 26 OCT 2021 a las 19:56 
Just added the suggestion that CHRY commented a few weeks ago.
Thanks again for the feedback.
Liyarin  [autor] 15 OCT 2021 a las 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  [desarrollador] 14 OCT 2021 a las 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 :(