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

[ANY] Disco Players (v1.0 22/6/2016)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Rachnus
Senior Member
Join Date: Jun 2016
Location: Funland
Plugin ID:
5256
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Cycles through colors on players
    Old 06-21-2016 , 18:07   [ANY] Disco Players (v1.0 22/6/2016)
    Reply With Quote #1

    DISCO PLAYERS


    Features:

    Allows admins/players use sm_disco to either slowly cycle through colors with smooth transitions, rapidly change colors (seizure mode (disabled by default)), or just cycle through alpha. The mode you will get is random.

    Commands:

    sm_disco (Toggles disco mode on yourself, admin flag generic required "b")

    Usage:

    sm_disco
    sm_disco <playername> (Admin only)
    sm_disco @me (Admin only)
    sm_disco @all (Admin only)

    Cvars:

    Spoiler


    Changelog:

    Spoiler


    Extra info:

    GENERAL
    Plugin tested for:
    • CS:GO
    • TF2

    ONLY FOR CS:GO SERVER OWNERS
    sv_disable_immunity_alpha is disabled by default on CS:GO servers, the plugin should enable this. If alpha mode is not working, make sure this cvar is set to '1'.


    EDIT
    This plugin might crash your server if you have disco enabled on many people because of the intense network usage... As for now I would not recommend "discoplayers_adminonly 0" and keep this enabled on as few people as possible

    Github: https://github.com/Rachnus/Small-Sou...iscoplayers.sp
    Attached Files
    File Type: sp Get Plugin or Get Source (discoplayers.sp - 296 views - 8.8 KB)
    File Type: smx discoplayers.smx (9.6 KB, 483 views)
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests

    Last edited by asherkin; 05-15-2020 at 11:57.
    Rachnus is offline
    UB VinylScratch
    Junior Member
    Join Date: May 2015
    Location: Massachusetts
    Old 06-22-2016 , 01:28   Re: [ANY] Disco Players (v1.0 22/6/2016)
    Reply With Quote #2

    Great start for this plugin! But you have to either type it again or bind the command to constantly change your disco mode colors. If you could make it so that it would cycle through fully through the RGB colors on disco mode for the player, that would be great (each time you type or press the bind for the plugin to work, the colors transition from one to the next, but are not fully cycled through the RGB colors because it is stuck within a cycle of whatever is generated from the 255 255 255 255 ) I really like the epilepsy feature though hahaha.

    (TF2 Tested)
    Ex.

    1. Colors go from: Normal--> Light Green to Dark Green--> Purple to Light Purple--> Normal
    2. Colors go from: Normal--> Purple--> Blue--> Light Green to Green to Yellowish Green--> Normal
    -----------------------------------------------------------------------------------------------------------------------
    I know there's probably more here that I didn't state but usually this is basically how it is.

    Last edited by UB VinylScratch; 06-22-2016 at 01:51.
    UB VinylScratch is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 06-22-2016 , 02:42   Re: [ANY] Disco Players (v1.0 22/6/2016)
    Reply With Quote #3

    Quote:
    Originally Posted by UB VinylScratch View Post
    Great start for this plugin! But you have to either type it again or bind the command to constantly change your disco mode colors. If you could make it so that it would cycle through fully through the RGB colors on disco mode for the player, that would be great (each time you type or press the bind for the plugin to work, the colors transition from one to the next, but are not fully cycled through the RGB colors because it is stuck within a cycle of whatever is generated from the 255 255 255 255 ) I really like the epilepsy feature though hahaha.

    (TF2 Tested)
    Ex.

    1. Colors go from: Normal--> Light Green to Dark Green--> Purple to Light Purple--> Normal
    2. Colors go from: Normal--> Purple--> Blue--> Light Green to Green to Yellowish Green--> Normal
    -----------------------------------------------------------------------------------------------------------------------
    I know there's probably more here that I didn't state but usually this is basically how it is.
    I could probably do some equation to completely randomize the colors, I'll see what I can do thanks

    EDIT: This should be fixed now
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests

    Last edited by Rachnus; 06-22-2016 at 03:11.
    Rachnus is offline
    misterG
    Senior Member
    Join Date: May 2015
    Location: Romania
    Old 06-22-2016 , 13:15   Re: [ANY] Disco Players (v1.0 22/6/2016)
    Reply With Quote #4

    Why am i getting those errors ?
    __________________
    misterG is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 06-22-2016 , 13:56   Re: [ANY] Disco Players (v1.0 22/6/2016)
    Reply With Quote #5

    Quote:
    Originally Posted by misterG View Post
    Why am i getting those errors ?
    Try compiling the plugin with an 1.8 compiler, go to sourcemod.net and install the latest stable build.
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests
    Rachnus is offline
    King_OXO
    Senior Member
    Join Date: Dec 2020
    Location: Brazil
    Old 06-16-2021 , 08:06   Re: [ANY] Disco Players (v1.0 22/6/2016)
    Reply With Quote #6

    my version with aura, works for CS:GO and L4D(2)
    Attached Files
    File Type: sp Get Plugin or Get Source (discoplayers.sp - 169 views - 12.0 KB)
    File Type: smx discoplayers.smx (8.8 KB, 63 views)
    King_OXO 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 18:52.


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