Raised This Month: $51 Target: $400
 12% 

[TF2] Light Colours 0.6 (03/10)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Plugin ID:
1262
Plugin Version:
0.6
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    17 
    Plugin Description:
    Change the colour of lights.
    Old 11-02-2009 , 07:39   [TF2] Light Colours 0.6 (03/10)
    Reply With Quote #1

    Light Colours v0.6

    Description:

    This plugin grants admins full control over the colour of lights in a map, you can change all lights to a certain colour, turn them on/off, or even start a disco!

    Video:

    http://www.youtube.com/watch?v=WXuB7EamiOQ

    CVars:

    lights_version 0.6 - Version of the Light Colours plugin.
    lights_disco_enable 0 - Automatic Disco Mode.
    lights_flag z - Default admin flag required to use the commands. (Multiple flags can be added)

    Commands:

    lights_color <color> - Change all lights to the desired color.
    lights_disco - Start a disco with the lights (as seen in the video), this command does not turn Disco Mode off and will not work if Disco Mode is already turned on.
    lights_reset - Resets all lights.
    lights_switch - Toggle all lights (on/off).
    lights_help - Lists the above commands and what they do.

    The commands can also be accessed via the 'Server Commands' category in your Admin Menu, as of 0.2

    Version History:

    0.1:
    • Public Release
    0.2:
    • Added Admin Menu support.
    0.3:

    • Admin Flag support (lights_flag cvar).
    • Several bug fixes.
    • lights_disco_enable cvar added.
    0.4:

    • Fixed Disco Mode not disabling.

    0.5:

    • Really fixed Disco Mode not disabling.
    • Adjusted code to hopefully allow for multi-mod support.
    0.6:

    • Some minor adjustments in the hope of fixing the error.
    • Generic code optimizations.


    To Do:

    • Admin menu support
    • Change lights by aim.
    • Add natives to allow people to easily change lights through this plugin under their own conditions.
    • Get more translations. (Looking good so far!)
    • Add support for other mods besides TF2.


    Valid Colours:

    Code:
    pink
        red
        blue
        green
        yellow
        orange
        brown
        purple
        magenta
        cyan
        random (default)
    ---

    Installation:

    Place lightcolors.smx in your addons/sourcemod/plugins directory, and lightcolors.phrases.txt in your addons/sourcemod/translations directory.

    ---

    Translations:

    Hungarian - KhyrOO
    Spanish - Damizean
    Polish - Zuko
    Dutch - icequeenzz
    French - Cadav0r
    Portuguese - The JCS

    ---

    Any questions or issues, feel free to ask.

    Have fun!
    Attached Files
    File Type: zip LightColors.zip (14.7 KB, 2177 views)
    File Type: txt lightcolors.phrases.txt (6.8 KB, 1731 views)
    File Type: sp Get Plugin or Get Source (lightcolors.sp - 3251 views - 15.8 KB)
    __________________

    Last edited by Jindo; 10-03-2010 at 16:35.
    Jindo is offline
     



    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 10:10.


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