Env_fog questions
Hi,
I'm working on a weather experiment to implement later in a mod similar to Zombie Mod. However I just cannot get the desired effect. Trying to reproduce a green fog with some decent density. The fog code is contained in plugin_precache() right? Code:
public plugin_precache() {Increasing the density has no effect. Weird... Is there something I miss? Thanks, Misery |
Re: Env_fog questions
Try with density 0.00175.
|
Re: Env_fog questions
fm_set_kvd(entFog, "density", 0.007, "env_fog")
fm_set_kvd(entFog, "rendercolor", "0 255 0", "env_fog") or fm_set_kvd(entFog, "rendercolor", {0, 255, 0}, "env_fog") i dont know anymore how it goes :) :) anyway if that not working there is anyohter way static density[16], rcolor[16] formatex(density, charsmax(density), "0.007") formatex(rcolor, charsmax(rcolor), "0 255 0") fm_set_kvd(entFog, "density", density, "env_fog") fm_set_kvd(entFog, "rendercolor", rcolor, "env_fog") |
Re: Env_fog questions
Dispatch* works fine, just env_fog needs some weird values for density.
|
| All times are GMT -4. The time now is 00:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.