Raised This Month: $ Target: $400
 0% 

Solved Change map lighting


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fiction
Member
Join Date: May 2017
Old 08-27-2017 , 13:23   Re: Change map lighting
Reply With Quote #2

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

Last edited by fiction; 08-27-2017 at 13:32.
fiction 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 13:16.


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