Raised This Month: $32 Target: $400
 8% 

[L4D1] Colorful Common Infected Clothes [v1.0.1 | 06-March-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
7398
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Adds more colors to the clothes of the common infected
    Old 11-30-2020 , 11:14   [L4D1] Colorful Common Infected Clothes [v1.0.1 | 06-March-2021]
    Reply With Quote #1

    L4D1 ONLY

    Description

    This plugin adds more colors to the clothes of the common infected.

    Features
    • Allow configuring a random or a specific color to the clothes of the common infected.

    Cvars

    A configuration file named "l4d1_colorful_common.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

    PHP Code:
    // Common infected clothes color.
    // Use "random" for random colors.
    // Use three values between 0-255 separated by spaces ("<0-255> <0-255> <0-255>"), to apply a specific color.
    // Examples:
    // l4d1_colorful_common_color "random"
    // l4d1_colorful_common_color "255 0 0"
    // -
    // Default: "random"
    l4d1_colorful_common_color "random"

    // Enable/Disable the plugin.
    // 0 = Disable, 1 = Enable.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d1_colorful_common_enable "1" 
    Admin Commands
    • sm_colorful_common_refresh => Refresh the common infected clothes color.
    • sm_print_cvars_l4d1_colorful_common => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Notes
    • L4D2 isn't supported, since there is no way to change the common clothes color (without modding) by now.
    • The color change was applied by using the SetEntityRenderColor function.

    Thank you!
    • KadabraZz - for the request and testing in his server.

    Related Plugins

    Post Reply
    • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

    Installation
    • Put the "l4d1_colorful_common.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d1_colorful_common.sp - 285 views - 10.1 KB)
    __________________

    Last edited by Marttt; 01-25-2023 at 18:01.
    Marttt is offline
    finishlast
    Senior Member
    Join Date: Nov 2018
    Location: In Reno with the vitamin
    Old 12-01-2020 , 13:55   Re: [L4D1] Colorful Common Infected Clothes [v1.0.0 | 30-November-2020]
    Reply With Quote #2

    Quote:
    Originally Posted by aiyoaiui View Post
    Not work
    It does work on l4d1.

    And I really like that, thx Marttt.

    Next project Tank with pink pants lol
    __________________

    Last edited by finishlast; 12-01-2020 at 14:00.
    finishlast is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 11-07-2023 , 22:58   Re: [L4D1] Colorful Common Infected Clothes [v1.0.1 | 06-March-2021]
    Reply With Quote #3

    Such great plugin, make "black and white" common infected more colorful
    __________________
    HarryPotter 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 06:16.


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