Raised This Month: $ Target: $400
 0% 

[REQ] INS Fog control


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Luke Penny
Senior Member
Join Date: Jan 2010
Location: Canada
Old 02-09-2010 , 18:36   Re: [REQ] INS Fog control
Reply With Quote #4

Those Cvars are clientside, sourcemod can not change them for clients. However, you could use Stripper: Source to add env_fog_controllers to your map, and assuming there isn't one already, it would take effect everywhere in the map.
http://www.bailopan.net/stripper/

You could do something as simple as this

Code:
add:
{
"classname" "env_fog_controller"
"origin" "1 1 1"
"fogcolor" "200 200 255"
"fogcolor2" "200 150 255"
"fogstart" "64" 
"fogend" "1280"
}
"
That is from my memory, but there are more properties that you could add for the fog controller, but I am not entirely sure if adding the fog controller will work, but it should.

EDIT: If INS already has env_fog_controllers, then you want something like this.
Code:
modify:
{
match:
{
"classname" "env_fog_controller"
}
replace:
{
"fogstart" "120"
"fogcolor" "200 200 200"
}
}
Just as an example, you could do other properties as well. I am assuming that stripper: Source works on INS, I have no idea if it does. If it doesn't, then I have a plugin I made a while ago for editing fog, I could dig it up and find it, but Stripper is much easier if it works.
__________________

Last edited by Luke Penny; 02-09-2010 at 18:41.
Luke Penny 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 04:06.


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