View Single Post
Plugin Info:     Modification:          Category:          Approver:   v3x (159)
shine771
Senior Member
Join Date: Jun 2007
Old 08-06-2008 , 10:08   Advanced Fog 0.7
Reply With Quote #1

Advanced Fog
v0.7

This Fog plugin differs from others because you can turn fog on/off, change it's color,density without changing the map. It easy to use. Any admin with MAP access("f" flag in users.ini) can access the console command.

Cvars:
amx_fog_default
<1/0>(If 1, players will have fog when they join the game) (default: 1)
amx_fog_color
<### ### ###> (Color is in RGB format(0-255). With this cvar you control the color of the fog when users join the game(if amx_fog default is 1). This also is the color which is sat if an admin has made a mistake setting the fogs color) (default: "116 137 147")
amx_fog_amount
<1-9>(Fogs density. 1 - good visibility... 9 - you can hardly see where you're going) (default: 3)

Admin Commands:
amx_fog
<1/0 - on/off><R G B><Density/Amount>(With this command admins can turn the fog on/off set it's color and set it's density/amount. Remember: RGB must have 3 value between 0 and 255(ex. "255 0 0" - red color). If you would like to use default value for Color or Density just put 0 in the respective place.)

Examples:
Quote:
amx_fog 1 "0 0 0" 1 - Would make a black fog which you can hardly see.
amx_fog 1 0 0 - Would use the default values for the fog.
amx_fog 0 0 0 - Would turn the fog off.
amx_fog 1 "116 137 147" 9 - Would make a realistic gray fog and it would be really hard to see anything.
amx_fog 1 "0 0 200" 3 - Would make a cool blue fog.
Changes:
v0.7
*First Release

Screenie!
[IMG]http://img84.**************/img84/9963/screeeniewr4.th.jpg[/IMG]


Attached Files
File Type: sma Get Plugin or Get Source (advanced_fog.sma - 13551 views - 5.8 KB)

Last edited by shine771; 08-06-2008 at 11:53.
shine771 is offline