Custom Icons

SuperTeflonSuperTeflon Join Date: 2003-12-31 Member: 24893Banned
edited January 2004 in General Server Discussion
We want to set up custom icons on our server - Icons that show up next to anyone on a list (much like veteran, admin, constellation, etc. icons). Does anyone know how to do this?

Comments

  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    edited January 2004
    Well, in 2.01, having custom icons are not fully possible. There is a method which you could do to give the impression of having custom icons, which technically is just customizing the icons which are available currently. Have your clients download .tgas which replace some of the following files:

    gfx/vgui/640_scoreboarddev.tga [Developer - Baby blue TSA]
    gfx/vgui/640_scoreboardcd.tga [Cheating-Death - Orange C-D]
    gfx/vgui/640_scoreboardcontrib.tga [Constellation - Blue star]
    gfx/vgui/640_scoreboardguide.tga [Guide - purple heavy armor]
    gfx/vgui/640_scoreboardpt.tga [Playtester - tan skulk]
    gfx/vgui/640_scoreboardserverop.tga [Server op - Green (Or grey) computer]
    gfx/vgui/640_scoreboardveteran.tga [Veteren - Yellow medal]

    Then use an icon plugin such as <a href='http://www.modns.org/forums/index.php?showtopic=64' target='_blank'>ServerOps</a> and have it display the icon which you had your clients download. It should appear as though it's a custom icon. The only downside to this would be any server the client joins anybody with the icon which you had the client replace this custom icon would appear instead of the standard.

    However, in 3.0, an ability for custom icons to be used will be available. So, unless you like going through the task mentioned above, I would say just wait.

    <b>Edit:</b> However, the server ops plugin listed above will let you use dev/vet/pt/const etc icons for people with reserved slots, even without making clients change those tgas.
  • SuperTeflonSuperTeflon Join Date: 2003-12-31 Member: 24893Banned
    edited January 2004
    Out of curiousity why are the above listed images grey, not colored (like they should be)?


    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->The icon itself should be drawn in grey-scale (black = opaque, white = fully transparent). The actual colour of the icon should be determined by the value of the mp_customicon cvar. The first four characters of the cvar tell NS the name of the icon (presumably so different servers don't overwrite each other's icons). The last three characters determine the colour of the icon, where 000 equals black and 999 equals white. An example off the top of my head: The Skulkrush server has a custom icon. They save it as gfx/vgui/640_SKRS.tga. They want it to appear in bright red, so they set mp_customicon to "SKRS900". <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Got it <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
  • BigBullBigBull Join Date: 2003-04-02 Member: 15123Members
    edited January 2004
    Can't wait till 3.0 where we can make our own icons.
Sign In or Register to comment.