This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Color modulation with light_environment/skybox


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 07-22-2023 , 19:19   Color modulation with light_environment/skybox
Reply With Quote #1



Actually this is might be useful for someone. You can modulate players color, weapon, viewmodel.
But, one thing you need to know, the model should be with specific flag to make this work even in dark areas, where light is not exists. Without model editing, this will only work where the skybox illuminates the surface of the map.
So, you can decompile model and add into .qc file line with:

$flags 1024

Example of .qc file after editing:

Spoiler


This flag forces lights the model directly from light_environment, no matter where it is in the map.
Also this flag makes model always with maximum light level (lambert).

Spoiler
1xAero 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 05:46.


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