Raised This Month: $319 Target: $400
 79%   Almost there!

[ANY] Advanced Map Light Style Config (HighNoon)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
3341
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    19 
    Plugin Description:
    Changes the brightness of each map based on the time the map started. Can simulate multiple 24-hours cycles in a single day.
    Old 11-01-2012 , 21:44   [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #1

    Description:

    Changes the brightness of each map based on the time the map started. Can simulate multiple 24-hours cycles in a single day.


    Screenshot:



    Install:

    Put .smx file in addons/sourcemod/plugins
    Put .txt file in cfg/sourcemod

    Note: Documentation and example are in advanced_lightstyle.txt

    The clock is 24-hours, for example 17 is 5 pm, 20 is 8 pm, 0 is 12 am, 5 is 5 am.

    if the exact time is not found in the txt file, applies the previous hour to appear in the file

    Default skybox here: https://developer.valvesoftware.com/wiki/Sky_List

    Custom skybox here: https://forums.alliedmods.net/attach...6&d=1351821968


    Credits:

    Based on https://forums.alliedmods.net/showthread.php?p=1388051
    This plugin does something like this http://addons.eventscripts.com/addons/view/highnoon


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking paid and free jobs.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 12-20-2015 at 09:35.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 11-01-2012 , 21:46   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #2

    Does this in any way change the direction of the dynamic lighting?
    __________________
    ReFlexPoison is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-01-2012 , 21:52   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #3

    Quote:
    Originally Posted by ReFlexPoison View Post
    Does this in any way change the direction of the dynamic lighting?
    This change the lighting only on map start for the moment.


    I just read that "You can set this anytime (not just only when map starts)" -> http://docs.sourcemod.net/api/index....d=show&id=178&

    I take this into account for the next update
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking paid and free jobs.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-01-2012 , 22:13   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #4

    Added customs skybox file to Attached Files in the first post.

    Remember, if you use a custom skybox you must include "custom yes" to force download, for example:

    Code:
    	"3" // hour, 3 am in this case
    	{
    		//The Light Level of the map ,"a"is the Darkest,"z"is the Brightest.
    		"lightlevel"		"a"
    
    		//The SkyName in "materials\skybox",for example:2cliff,hav,ntdm2_ ,sky_borealis01.
    		"skyname"		"ntdm2_lf"
    
    		// change to yes if you use a custom skybox, by default the value is "no"
    		"custom"	"yes"
    	}

    Also added a link with default skybox in the first post
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking paid and free jobs.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Cyril Tuto
    Member
    Join Date: Mar 2012
    Location: France
    Old 11-02-2012 , 15:47   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #5

    Hello, it is based on the hour of the machine or it's use the timeleft 0?
    __________________
    Cyril Tuto is offline
    delachambre
    AlliedModders Donor
    Join Date: Jan 2011
    Location: France
    Old 11-05-2012 , 01:13   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #6

    Code:
    FormatTime(hora, sizeof(hora), "%H", GetTime());
    It's a time ingame
    __________________
    ♥ 𝕊ℙ𝕒𝕨𝕟 𝔻𝕖𝕧𝕖𝕝𝕠𝕡𝕖𝕣 [ℂ𝕊:𝕊] ♥

    Clan-Nemesis
    delachambre is offline
    Shameless
    Junior Member
    Join Date: Oct 2012
    Old 11-09-2012 , 15:13   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #7

    Not compatible with cs:go =\
    Shameless is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-09-2012 , 15:22   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #8

    Quote:
    Originally Posted by Shameless View Post
    Not compatible with cs:go =\
    What not work in CS:GO? skybox, lighstyle or both?

    Quote:
    Originally Posted by Dr!fter View Post
    Code:
    Cvar: sv_skyname - Current name of the skybox texture
    Skybox should works in CS:GO
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking paid and free jobs.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 11-09-2012 , 16:18   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #9

    I was looking for this plugin for years... thank you! good job
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    StrikerMan780
    AlliedModders Donor
    Join Date: Jul 2009
    Location: Canada
    Old 12-13-2012 , 22:41   Re: [ANY] Advanced Map Light Style Config (HighNoon)
    Reply With Quote #10

    Would someone be willing to mod this so it is based on the Server Machine's actual time? Or is that what it does already?
    __________________

    Last edited by StrikerMan780; 12-13-2012 at 23:59.
    StrikerMan780 is offline
    Send a message via Skype™ to StrikerMan780
    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 01:55.


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