Raised This Month: $66 Target: $400
 16% 

Admin Icons


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   General Purpose        Approver:   devicenull (200)
mahnsawce
Senior Member
Join Date: Apr 2004
Location: internet
Old 09-05-2004 , 12:28   Admin Icons
Reply With Quote #1

This plugin will enable custom icons for either AMXx admins, or for specific SteamIDs.

This plugin requires Latest AMX Mod X!
This plugin no longer requires the Engine Module

The plugin is entirely configurable through a .conf file.
The .conf file is to be located in ns/addons/amxmodx/configs/icons.conf


Inside of the conf file, you will be able to either assign a specific SteamID, or an access group an icon.

How do I assign a SteamID an icon?

Simply add a line in the conf file looking like: STEAMID ICON

Example - To assign myself the awesome pirate icon, you would add:
Quote:
STEAM_0:1076 pirate999
to your icons.conf


How do I assign an access group an icon?

Simply add the letter of access group (for example, for the reserved slot access group, you use the letter b), and then add the icon trailing it. All access group letters are visible in the default users.ini provided with AMXx.

Example - assign all holders of reserved slots the medpack icon:
Quote:
b medpack999
Will this work with any mod other than NS?

No. Don't ask.

How do I assign a server operator icon?

There are four shortcuts available for assigning people/groups server op icons. They are:

:op: - Assigns somebody the standard GREEN icon
:yellowop: - Assigns somebody a YELLOW server op icon
:redop: - Assigns somebody a RED server op icon
:blueop: - Assigns somebody a BLUE server op icon

Note: Do NOT add a color after these shortcuts!


How do I apply color to an icon?

If you notice in the first example, the icon "pirate999" was used.
The last three numbers in the icon string is the color mask to apply. They are the RGB values, 0 = 0%, 9 = 100%.

If your icon already is colored (such as the provided pirate/medpack icons), it's recommended to use "999" as the icon's color string, else it may appear awkward in game.

If your icon is grey-scale (such as the provided "greyhive", "greyoc", and "greyalienres"), then it's best to play around to find an appropriate color.


How do I assign a developer/guide/playtester/veteran/const icon?

You don't. Support for that was dropped when support for custom icons was added into NS.

There is no reason to smurf as Flayra.


My icons aren't displaying/downloading to clients! Wtf?

Check your server console (NOT logs -- the actual console), it will output information is the icon cannot be used.

Also verify that for specific icons, you provided a color string! This is mandatory for all icons except the following: p:, :redop:, :blueop:, :yellowop:, :default:


A user in an access group doesn't want a custom icon, what do I do?

Add the user's SteamID with the icon string as :default:

Example - Let's assume player 1 is a developer. His SteamID is "STEAM_0:1:2345", he's in an AMX Access group for a reserved slot on a server, but would rather have his developer icon show, rather than the reserved slot icon (assuming one was assigned), so you add this for his SteamID:
Quote:
STEAM_0:1:2345 :default:
Attached Files
File Type: zip adminicons-package.zip (16.0 KB, 6522 views)
File Type: sma Get Plugin or Get Source (icons.sma - 3471 views - 10.3 KB)

Last edited by mahnsawce; 11-29-2006 at 23:58.
mahnsawce is offline
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 09-05-2004 , 12:29  
Reply With Quote #2

nice sawce
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
Poison_Jay
Senior Member
Join Date: May 2004
Old 09-06-2004 , 04:21  
Reply With Quote #3

very nice
Poison_Jay is offline
Send a message via MSN to Poison_Jay
Lasershock
Member
Join Date: Jul 2004
Old 09-06-2004 , 07:03  
Reply With Quote #4

would be cool if you could do this in cs or any other mod but i guess that the scoreboard dosnt support it :/
Lasershock is offline
mahnsawce
Senior Member
Join Date: Apr 2004
Location: internet
Old 09-06-2004 , 07:56  
Reply With Quote #5

You are correct, this is an NS specific thing.
mahnsawce is offline
hunter
Junior Member
Join Date: Sep 2004
Old 09-14-2004 , 01:22  
Reply With Quote #6

icon didn't work
i've place the 640_*.tga file to /ns/gfx/env/
my icons.conf is in ns/addons/amxmodx/

inside icons.conf is:
Quote:
b gorge999
t fall999
l hive999
r onos999
m turret999
the plugins successfully loaded up when i type amx_plugins but i don't see anybody have icon
did i do something wrong???????
hunter is offline
mahnsawce
Senior Member
Join Date: Apr 2004
Location: internet
Old 09-14-2004 , 02:58  
Reply With Quote #7

1. Are the icons being downloaded to the clients?

2. :

Quote:
i've place the 640_*.tga file to /ns/gfx/env/
They go in /ns/gfx/vgui, not /ns/gfx/env
mahnsawce is offline
hunter
Junior Member
Join Date: Sep 2004
Old 09-14-2004 , 04:01  
Reply With Quote #8

right, it's kind of hard to see ur text in italic. i wish u would just make it bold. plz make bold nexttime.
hunter is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 09-14-2004 , 04:14  
Reply With Quote #9

its not hard to read -_-

People need glasses?

Just for simplicity make it bold/italics haha
__________________

BigBaller is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 09-14-2004 , 04:21  
Reply With Quote #10

Set your internet explorer text size to
LARGEST
__________________
QwertyAccess is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:19.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode