• Labeler 2.0
    52 replies, posted
This is a tool for creating text labels on thee world or props. You can specify the font, color and size. You can also edit labels you have previously created This a is a remake of my old labeler tool with all the bugs fixed, this is still a work in progress and I will be adding new feature in later versions. [b]Bugs[b/] -There is currently no prop protection support with this so people will be able to create labels on your stuff as well as changing your labels. -Duplicating props with labels does not work either (the props lose the labels) [b]Download[/b] [url=http://www.garrysmod.org/downloads/?a=view&id=21526][img]http://www.garrysmod.org/img/?t=dll&id=21526[/img][/url] [b]SVN Verion[/b] [url]http://www.darknexus.org.uk/svn/labeler2/[/url]
Nice, good work. :dance:
[lua]duplicator.RegisterEntity[/lua] or something along those lines would allow duplication. Nice idea.
[QUOTE=Kogitsune][lua]duplicator.RegisterEntity[/lua] or something along those lines would allow duplication. Nice idea.[/QUOTE] I've done that, but the duplicator does not check to see if there is any children on it that it should duplicate.
Good work. Why hasn't someone done this before :D Good for you. :D :D :D :D :D
Laber 2.0? :raise:
[QUOTE=SexCave]Laber 2.0? :raise:[/QUOTE] I made a crappy labeler last year, it broke in one of the updates
[QUOTE=croxmeister]I made a crappy labeler last year, it broke in one of the updates[/QUOTE] It says "Laber" not "Labler".
Awesome! :4chan:
Are you able to put labels on other players still?
[QUOTE=statquo]Are you able to put labels on other players still?[/QUOTE] LOL! I'm not sure that's a bug or a feature [b]Edit:[/b] [QUOTE=Catdaemon]It says "Laber" not "Labler".[/QUOTE] I cants spell, get over it
[QUOTE=Catdaemon]It says "Laber" not "Labler".[/QUOTE] And especially not "Labeler".
Wouldn't it suck for debugging if you kept doing stuff like huk.Add( "Think", "thinkfuntion", thinkfuntion ); Phonetic programming :D
I like it, even though a mingebag joined my server and wrote Thinks like "lol" all over my walls so it crashed, i like it...
[QUOTE=Hello?ZAP!]Why hasn't someone done this before :D[/QUOTE] Actually it has been done before, but it was broken a long time ago.
[QUOTE=Elspin]Actually it has been done before, but it was broken a long time ago.[/QUOTE] Yes, the reason was croxmeister hasn't used local vars in his functions so he has overwritten the player table. This seems to be a common problem in many scripts. Nice thing, croxmeister. You can look at the modified labeler I did based on your "1.0" so you can add duplicator support.
:lol: Can you make it so you can put labels on players too in some hacky way? So if it's player it sets a floating text above it... *Puts a tag on little brother saying Shoot me!*
Can you add some more styles for text. Like Background colour or custom fonts. Also, can you make it work better on diffrent shaped objects? So it goes round with a barrel or something.
[QUOTE=dvondrake]Here's a bug: It doesn't send the clientside files. You forgot to add "labeler/", the folder where your clientside files are, in AddCSLuaFile. [b]Edit:[/b] Also, stools/labeler.lua:27: attempt to index global 'Labeler' (a nil value) [b]Edit:[/b] Did you even test this? The whole thing doesn't even work![/QUOTE] I didn't test it online, only in single player [b]Edit:[/b] [QUOTE=aVoN]Nice thing, croxmeister. You can look at the modified labeler I did based on your "1.0" so you can add duplicator support.[/QUOTE] I didn't really want to use welds but if it is the only way ... [b]Edit:[/b] [QUOTE=bassie12]Can you add some more styles for text. Like Background colour or custom fonts. Also, can you make it work better on diffrent shaped objects? So it goes round with a barrel or something.[/QUOTE] I plan to add, more styles but I dont think it will be possible to make it wrap around barrels like you suggest
[QUOTE=croxmeister]I didn't test it online, only in single player [b]Edit:[/b] I didn't really want to use welds but if it is the only way ... [b]Edit:[/b] I plan to add, more styles but I dont think it will be possible to make it wrap around barrels like you suggest[/QUOTE] Hmm ok. Oh well lots of objects have flat sides.
ok this thing DOES NOT work in multiplayer. i just get a bunch of lua errors
Can you tell me where to extract the file? It really looks cool.
croxmeister, you should add feature of making an outline around the text. Simpliest way would be just rendering 8 more labels with same font, size, but with some position shift*. That would be 2-4 pixels. It gives the outline effect, and is pretty simple to implement. These labels are in same color (selectable?), and rendered first. *position shift - shift them so they form a "rectangle", i.e. offsets would be: (-2;-2), (0;-2), (2;-2); (-2;0), (2;0); (-2;2), (0;2), (2;2)
Yeh, can you make this so that it automatically downloads the clientside lua files, because i put this on my server, and people can't see my labels...
Mate you are a legend, I was just going threw all my lua files trying to find out how to do this. Once again, LEGEND!
[QUOTE=SSAAMM]I was just going threw all my lua files trying to find out how to do this.[/QUOTE] :raise: How would throwing all of your lua files help anything?
[QUOTE=Vicis]:raise: How would throwing all of your lua files help anything?[/QUOTE] Haha Lol, my bad. I was supposed to say through... unless I was taunting the spell checker thing.
Nice, works great.
Pretty awesome and pretty useful when people are always asking what stuff is when you're busy.
[QUOTE=Devon-M]Pretty awesome and pretty useful when people are always asking what stuff is when you're busy.[/QUOTE] Yeah,what a pitty it's not for real life :(
Sorry, you need to Log In to post a reply to this thread.