AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Donator Recognition (https://forums.alliedmods.net/showthread.php?t=122320)

toazron1 03-25-2010 15:23

[TF2] Donator Recognition
 
2 Attachment(s)
This plugin gives donators the recognition they deserve on your server.

Thanks to Jindo for the basic $ sprite

Features
  • Shows a custom connection "tag" when a player joins the server (center hud)
  • Allows players to set their tag and change the color of their tag (donator menu)
  • Shows a sprite over their heads (ONLY at the end of the round)
  • Allows users to pick multiple sprites (or shut them off completely)
Setup
To add more sprites to the list you need to modify TOTAL_SPRITE_FILES and add the file name to the szSpriteFiles and szSpriteNames arrays.

Example:

PHP Code:

new const String:szSpriteNames[TOTAL_SPRITE_FILES][] =
{
    
"Money Sign",
    
"Money Sign / Cloud",
    
"NEW SPRITE LOL"
};

//NOTE: Path to the filename ONLY (vtf/vmt added in plugin)
new const String:szSpriteFiles[TOTAL_SPRITE_FILES][] = 
{
    
"materials/custom/$",
    
"materials/custom/donator2",
    
"PATH/TO/NEWSPRITE_WITHOUT_EXT"
}; 

Screenshot
http://lolsup.com/TF2/screenshots/sprsm.jpg
(Click for a larger picture)
Note

The sprite only shows at the end of the round so it is not intrusive.
This plugin requires Basic Donator Interface.

This plugin is for TF2 only.

Previous downloads: 405

bouncer 03-25-2010 15:30

Re: TF2: Donator Recognition
 
Love the idea!
Is it possible to only have the dollar sign show up and not the donator cloud?

Also is it possible to have our own custom icons show up that we could make ourselves? (how do we make it?)

Thanks.

toazron1 03-25-2010 15:39

Re: TF2: Donator Recognition
 
You can use any sprite you want, I just posted the one we use on our servers.

Jindo 03-25-2010 16:57

Re: [TF2] Donator Recognition
 
I'll provide the dollar minus the speech bubble, give me a moment.

Nice idea by the way!

bouncer 03-25-2010 16:58

Re: [TF2] Donator Recognition
 
cool! Thanks!

Jindo 03-25-2010 17:07

Re: [TF2] Donator Recognition
 
1 Attachment(s)
The VMT file is identical to the one in the original post and this is completely untested, so no promises. If it doesn't work, I'll try to come up with a working one on the weekend.

bouncer 03-25-2010 17:12

Re: [TF2] Donator Recognition
 
K will test it soon, thanks.

bouncer 03-25-2010 17:51

Re: [TF2] Donator Recognition
 
Anyone have quick tutorial on where I can read a NICE FULL ARTICLE on how to create one myself?

I used to..but forgot how to now.
Testing the texture right now Jindo... will edit this post to let you know.

bouncer 03-25-2010 17:52

Re: [TF2] Donator Recognition
 
Eh how to compile it using colors.inc....and what is the colors.inc needed for here exactly? (I know what colors.inc is used for) but not in this plugin.

Jindo 03-25-2010 17:57

Re: [TF2] Donator Recognition
 
Quote:

Originally Posted by bouncer (Post 1128722)
Eh how to compile it using colors.inc....and what is the colors.inc needed for here exactly? (I know what colors.inc is used for) but not in this plugin.

Put Colors INC in the includes folder and the plugin should compile.

If you can't see any sign of the coloured text things that colors.inc is used for, then try commenting out the include line for now. Line 159 is the first use I can find.


All times are GMT -4. The time now is 18:29.

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