Raised This Month: $ Target: $400
 0% 

Help with fog


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shine771
Senior Member
Join Date: Jun 2007
Old 07-20-2007 , 17:19   Help with fog
Reply With Quote #1

I have made All map Dark and Fog. The problem is that players can see each other too easy. I mean when all is dark and there is fog - you can see others on the grey background. Sorry for my bad english. Hope you did understand.

[IMG]http://img444.**************/img444/5683/thethethezq3.th.jpg[/IMG]

The fog's RED, but that doesn't matter. How can i increase the fog distance from the player??? Is it possible??? Here's The CODE:

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <engine>

#define PLUGIN "Fog"
#define VERSION "1.0"
#define AUTHOR "Sh!nE*"

new fog

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
plugin_precache()
{
    
fog engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"env_fog"))
    
DispatchKeyValue(fog,"density","0.001")
    
DispatchKeyValue(fog,"rendercolor","173 22 37")

I can only set density from 0.001 - 0.009\

Hope you did understand.
Thanks.
+Karma if someone will help me... Hope it's possible.
shine771 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 21:27.


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