AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Nifty Tools (https://forums.alliedmods.net/showthread.php?t=68809)

pRED* 03-23-2008 01:57

Nifty Tools
 
2 Attachment(s)
[IMG]http://img245.**************/img245/2982/dedust0000fe9.jpg[/IMG]

Lets you draw pointless 3D images in the air using beam point temp ents.

Command: sm_logo <name>

Logos are defined in the logos.cfg file (goes in configs btw).
Let me know if you come up with some new ones and I'll add them.

Todo:

Make images auto align to your current eye angle (so letters will always be readable)
Auto-generation of words/sentences.
Rotation?
Suggestions?

Btw: Will probably never update this again. Be warned

Credits:
Thanks to bonbon for the idea.
Thanks to bonbon for flaunting horrible es code and providing the motivation to make this.
Thanks to bonbon for the sample logos that I stole.

bonbon 03-23-2008 01:59

Re: Nifty Tools
 
Thanks for all the credit, pRED*. I might even remove my stolen avatar it's so amazing.

Fredd 03-23-2008 02:00

Re: Nifty Tools
 
oh its nifty alright, good job man!

theY4Kman 03-23-2008 03:14

Re: Nifty Tools
 
LEIK WOWZ MAN THAT ARE AWSUM IT AREBE TEH SECKS

DontWannaName 03-23-2008 03:44

Re: Nifty Tools
 
Can everyone see them when you do this and can you make it for admins only? Could be cool to put it in CSS above T spawn say T and above CT say CT or in TF2 Blu and Red. I would try my clan logo (-TN-) and make it orange haha.

Extreme_One 03-23-2008 08:56

Re: Nifty Tools
 
Wow cool!

I look forward to word/ sentence generation.

bonbon 03-23-2008 14:41

Re: Nifty Tools
 
Quote:

Originally Posted by Extreme_One (Post 600673)
Wow cool!

I look forward to word/ sentence generation.

he has to steal more of my code


edit: fine fine fine, find some program that lets you run python, or install Python and then run this
Code:

rletters = {"a":["0, 0, 0, 10, 0, 30", "20, 0, 0, 10, 0, 30", "5, 0, 15,15, 0, 15"], "b":["0, 0, 0, 0, 0, 30", "0, 0, 30, 10, 0, 25", "10, 0, 25, 12, 0, 20", "12, 0, 20, 12, 0, 17.5", "12, 0, 17.5, 10, 0, 15", "10, 0, 15, 0, 0, 15", "0, 0, 15, 15, 0, 15", "5, 0, 15, 10, 0, 12.5", "10, 0, 12.5, 12.5, 0, 9", "12.5, 0, 9, 12.5, 0, 5", "12.5, 0, 5, 10, 0, 2.5", "10, 0, 2.5, 8, 0, 0", "10, 0, 2.5, 0, 0, 0"], "c":["16, 0, 0, 8, 0, 2", "8, 0, 2, 0, 0, 6", "0, 0, 6, -2, 0, 12", "-2, 0, 12, -2, 0, 20", "-2, 0, 20, 1, 0, 28", "1, 0, 28, 6, 0, 30", "6, 0, 30, 16, 0, 32"], "d":["0, 0, 30, 6, 0, 27", "6, 0, 27, 9, 0, 24", "9, 0, 24, 12, 0, 21", "12, 0, 21, 13.5, 0, 18", "13.5, 0, 18, 13.5, 0, 15", "13.5, 0, 15, 12, 0, 9", "12, 0, 9, 9, 0, 3", "9, 0, 3, 6, 0, 1.5", "6, 0, 1.5, 3, 0, 0", "3, 0, 0, 0, 0, 0", "0, 0, 0, 0, 0, 30"], "e":["0, 0, 0, 0, 0, 30", "0, 0, 30, 15, 0, 30", "0, 0, 15, 15, 0, 15", "0, 0, 0, 15, 0, 0"], "f":["0, 0, 0, 0, 0, 30", "0, 0, 30, 15, 0, 30", "0, 0, 15, 15, 0, 15"], "g":["16, 0, 0, 8, 0, 2", "8, 0, 2, 0, 0, 6", "0, 0, 6, -2, 0, 12", "-2, 0, 12, -2, 0, 20", "-2, 0, 20, 1, 0, 28", "1, 0, 28, 6, 0, 30", "6, 0, 30, 16, 0, 32", "16, 0, 0, 18, 0, 4", "18, 0, 4, 19, 0, 8", "19, 0, 8, 16, 0, 10", "16, 0, 10, 8, 0, 10"], "h":["0, 0, 0, 0, 0, 30", "15, 0, 0, 15, 0, 30", "0, 0, 15, 15, 0, 15"], "i":["7.5, 0, 0, 7.5, 0, 30", "0, 0, 30, 15, 0, 30", "0, 0, 0, 15, 0, 0"], "j":["0, 0, 30, 20, 0, 30", "10, 0, 30, 10, 0, 10", "10, 0, 10, 8, 0, 5", "8, 0, 5, 7, 0, 0", "7, 0, 2, 6, 0, 0", "4, 0, 0, -2, 0, 10"], "k":["0, 0, 0, 0, 0, 30", "0, 0, 15, 15, 0, 30", "0, 0, 15, 15, 0, 0"], "l":["0, 0, 0, 0, 0, 30", "0, 0, 0, 15, 0, 0"], "m":["0, 0, 0, 5, 0, 30", "5, 0, 30, 10, 0, 0", "10, 0, 0, 15, 0, 30", "15, 0, 30, 20, 0, 0"], "n":["0, 0, 0, 5, 0, 30", "5, 0, 30, 10, 0, 0", "10, 0, 0, 15, 0, 30"], "o":["16, 0, 0, 8, 0, 2", "8, 0, 2, 0, 0, 6", "0, 0, 6, -2, 0, 12", "-2, 0, 12, -2, 0, 20", "-2, 0, 20, 1, 0, 28", "1, 0, 28, 6, 0, 30", "6, 0, 30, 16, 0, 32", "16, 0, 30, 22, 0, 27", "22, 0, 27, 25, 0, 24", "25, 0, 24, 28, 0, 21", "28, 0, 21, 29.5, 0, 18", "29.5, 0, 18, 29.5, 0, 15", "29.5, 0, 15, 28, 0, 9", "28, 0, 9, 25, 0, 3", "25, 0, 3, 22, 0, 1.5", "22, 0, 1.5, 19, 0, 0", "19, 0, 0, 0, 0, 0"], "p":["0, 0, 0, 0, 0, 30", "0, 0, 30, 10, 0, 25", "10, 0, 25, 12, 0, 20", "12, 0, 20, 12, 0, 17.5", "12, 0, 17.5, 10, 0, 15", "10, 0, 15, 0, 0, 15"], "q":["16, 0, 0, 8, 0, 2", "8, 0, 2, 0, 0, 6", "0, 0, 6, -2, 0, 12", "-2, 0, 12, -2, 0, 20", "-2, 0, 20, 1, 0, 28", "1, 0, 28, 6, 0, 30", "6, 0, 30, 16, 0, 32", "16, 0, 30, 22, 0, 27", "22, 0, 27, 25, 0, 24", "25, 0, 24, 28, 0, 21", "28, 0, 21, 29.5, 0, 18", "29.5, 0, 18, 29.5, 0, 15", "29.5, 0, 15, 28, 0, 9", "28, 0, 9, 25, 0, 3", "25, 0, 3, 22, 0, 1.5", "22, 0, 1.5, 19, 0, 0", "19, 0, 0, 0, 0, 0", "10, 0, 4, 15, 0, -8"], "r":["0, 0, 0, 0, 0, 30", "0, 0, 30, 10, 0, 25", "10, 0, 25, 12, 0, 20", "12, 0, 20, 12, 0, 17.5", "12, 0, 17.5, 10, 0, 15", "10, 0, 15, 0, 0, 15", "0, 0, 15, 13, 0, 0"], "s":["0, 0, 0, 18, 0, 0", "18, 0, 0, 20, 0, 6", "20, 0, 6, 20, 0, 12", "20, 0, 12, 17, 0, 13", "17, 0, 13, 6, 0, 13", "6, 0, 13, 0, 0, 18", "0, 0, 18, 1, 0, 24", "1, 0, 24, 5, 0, 30", "5, 0, 30, 18, 0, 30"], "t":["10, 0, 0, 10, 0, 30", "0, 0, 30, 20, 0, 30"], "u":["0, 0, 30, 0, 0, 18", "0, 0, 18, 4, 0, 8", "4, 0, 8, 8, 0, 0", "8, 0, 0, 16, 0, 0", "16, 0, 0, 20, 0, 8", "20, 0, 8, 20, 0, 16", "20, 0, 16, 20, 0, 30"], "v":["0, 0, 30, 10, 0, 0", "10, 0, 0, 20, 0, 30"], "w":["0, 0, 30, 5, 0, 0", "5, 0, 0, 10, 0, 30", "10, 0, 30, 15, 0, 0", "15, 0, 0, 20, 0, 30"], "x":["0, 0, 0, 20, 0, 30", "20, 0, 0, 0, 0, 30"], "y":["0, 0, 30, 10, 0, 20", "20, 0, 30, 10, 0, 20", "10, 0, 20, 10, 0, 0"], "z":["0, 0, 30, 20, 0, 30", "20, 0, 30, 0, 0, 0", "0, 0, 0, 20, 0, 0"], "!":["0, 0, 0, 0, 0, 3", "0, 0, 6, 0, 0, 30"], ":":["0, 0, 0, 0, 0, 3", "0, 0, 27, 0, 0, 30"], ")":["0, 0, 30, 6, 0, 27", "6, 0, 27, 9, 0, 24", "9, 0, 24, 12, 0, 21", "12, 0, 21, 13.5, 0, 18", "13.5, 0, 18, 13.5, 0, 15", "13.5, 0, 15, 12, 0, 9", "12, 0, 9, 9, 0, 3", "9, 0, 3, 6, 0, 1.5", "6, 0, 1.5, 3, 0, 0", "3, 0, 0, 0, 0, 0"], "(":["16, 0, 0, 8, 0, 2", "8, 0, 2, 0, 0, 6", "0, 0, 6, -2, 0, 12", "-2, 0, 12, -2, 0, 20", "-2, 0, 20, 1, 0, 28", "1, 0, 28, 6, 0, 30", "6, 0, 30, 16, 0, 32"], "=":["0, 0, 10, 20, 0, 10", "0, 0, 20, 20, 0, 20"], "#":["7, 0, 0, 7, 0, 30", "14, 0, 0, 14, 0, 30", "0, 0, 10, 20, 0, 10", "0, 0, 20, 20, 0, 20"], "$":["0, 0, 0, 18, 0, 0", "18, 0, 0, 20, 0, 6", "20, 0, 6, 20, 0, 12", "20, 0, 12, 17, 0, 13", "17, 0, 13, 6, 0, 13", "6, 0, 13, 0, 0, 18", "0, 0, 18, 1, 0, 24", "1, 0, 24, 5, 0, 30", "5, 0, 30, 18, 0, 30", "7, 0, -5, 7, 0, 35", "14, 0, -5, 14, 0, 35"], "^":["0, 0, 15, 10, 0, 30", "20, 0, 15, 10, 0, 30"], "*":["10, 0, 15, 10, 0, 30", "0, 0, 25, 20, 0, 25", "0, 0, 15, 20, 0, 30", "20, 0, 15, 0, 0, 30"], "-":["0, 0, 15, 20, 0, 15"], "+":["0, 0, 15, 20, 0, 15", "10, 0, 0, 10, 0, 30"], "_":["0, 0, 0, 20, 0, 0"], "[":["0, 0, 0, 0, 0, 30", "0, 0 30, 7, 0, 30", "0, 0, 0, 7, 0, 0"], "]":["7, 0, 0, 7, 0, 30", "0, 0, 0, 7, 0, 0", "0, 0, 30, 7, 0, 30"], "/":["0, 0, 0, 15, 0, 30"], ">":["0, 0, 30, 20, 0, 15", "0, 0, 0, 20, 0, 15"], "<":["20, 0, 30, 0, 0, 15", "20, 0, 0, 0, 0, 15"], "~":["0, 0, 15, 5, 0, 20", "5, 0, 20, 10, 0, 10", "10, 0, 10, 15, 0, 20", "15, 0, 20, 20, 0, 10"], ".":["0, 0, 0, 3, 0, 0"], ",":["0, 0, -2, 3, 0, 2"], "'":["10, 0, 26, 10, 0, 30"], '"':["9, 0, 26, 9, 0, 30", "11, 0, 26, 11, 0, 30"]}

for letter in rletters:
    print 'Letter' + letter.capitalize()
    print '{'
    for a in rletters[letter]:
        print '    "' + str(a).replace(',', '') + '"' + "      " + '"' + "40 240 255 255" + '"'
    print '}'

it'll give you the template

KMFrog 03-24-2008 08:29

Re: Nifty Tools
 
Nice to see the port to Source Pawn

Rebell 03-24-2008 13:28

Re: Nifty Tools
 
Ooohh looks really good !


Yes roration and ajustable speed would be cool...

Greyscale 03-24-2008 13:59

Re: Nifty Tools
 
Quote:

Originally Posted by pRED*
Btw: Will probably never update this again. Be warned

lol.


All times are GMT -4. The time now is 17:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.