Raised This Month: $ Target: $400
 0% 

[ZP] Addon Round Fog


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 06-05-2011 , 14:32   [ZP] Addon Round Fog
Reply With Quote #1

Plugin Description:
This plugin is created for all HL1 fog lover, it makes different fog for each mod (infection, multi, swarm, plague, survivor, nemesis).

Cvars:
No cvars all hardcoded

Configuration:
* Please make sure to use OpenGL mod, because HL1 based game is suck!
* Remember to disable ZP original fog, look in "zombieplague.ini" and set "FOG = 0"

To set fog color and density:
PHP Code:
public zp_round_started(gamemode)
{
    switch(
gamemode)
    {
        
// Make sure density must between 0.0001 and 0.25
        // Max RGB color is 255
        
case MODE_INFECTIONCreateFog(00000.0008);
        case 
MODE_MULTICreateFog(010010000.0008);
        case 
MODE_PLAGUECreateFog(0010000.0008);
        case 
MODE_SURVIVORCreateFog(0001000.0008);
        case 
MODE_NEMESISCreateFog(0100000.0008);
        case 
MODE_SWARMCreateFog(01001001000.0005);
    }

To remove fog for certain player:
PHP Code:
CreateFog(id, .clear true); 
To remove fog for all players:
PHP Code:
CreateFog(0, .clear true); 
Credits:
Arkshine -- Custom Fog Stock.
Dolph_Ziggler -- His idea, nice yow!
Attached Files
File Type: sma Get Plugin or Get Source (ZP_Addon_RoundFog.sma - 1873 views - 1.9 KB)
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019

Last edited by yokomo; 06-05-2011 at 14:40.
yokomo 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 15:02.


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