Raised This Month: $ Target: $400
 0% 

Solved Change map lighting


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 08-28-2017 , 11:50   Re: Change map lighting
Reply With Quote #3

Quote:
Originally Posted by fiction View Post
Check out SDK Tools' SetLightStyle().
  • style is how the lighting will behave, you can see all the values here.
  • value is the brightness, a being the darkest, z being the brightest. (a is bugged in certain games making surfaces completely black)

PHP Code:
//This will make the map as dark as possible (using SetLightStyle) in CS:GO.
public void OnMapStart()
{
    
SetLightStyle(0"b");

Here is a comparison of the default lighting vs. light value b:
Spoiler

Thanks so much
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
 



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 13:16.


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