Raised This Month: $51 Target: $400
 12% 

RainySnowy (Enables CS weather) v2.0y


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Brad (55)
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 07-28-2006 , 04:18   RainySnowy (Enables CS weather) v2.0y
Reply With Quote #1

RainySnowy 2.0y

Description:
This will utilize Counter-Strike 1.6's weather system. Choose from Rain or Snow, and have nice looking weather effects. It appears appropriately outside and does not appear indoors. Also, recently added is a lightning system and rain sounds. Rain will only play when your outside, and players has 1 in 1000 * MAXPLAYERS chance of getting struck by lightning.

Authors: OneEyed & teame06

Requirements:
- AMXX 1.71+
- Modules: Default FAKEMETA. To use ENGINE, uncomment the #include, and comment #include <fakemeta>
- .inc file: ojos.inc has #defines and stocks to make switching between ENGINE and FAKEMETA a breeze. Whichever #include you choose is the module's natives it'll use. Their designed to do the same thing on both modules, in one simple macro.

CVAR:
- weather_type < 0 | 1 | 2 | 3 > - ( 0 = OFF | 1 = RAIN | 2 = SNOW | 3 = RANDOM )
- weather_storm < 0 - 100 > - ( 0 = OFF | 1-100 = INTENSITY ) - Only works when its raining.

Credits: Twilight Suzuka, got some things from timer16.

Compiling: Add ojos.inc to your scripting/include/ folder. Then drag and drop rainysnowy.sma into compile.exe. (This requires the scripting/ folder from AMXX 1.75)

SCREENSHOTS: Screenshot Gallery

NOTICE: The WEATHER can only be changed on mapchange, because its done before map loads! So change the map after changing the cvars or use weather_type 3 for randomness!!!
Attached Files
File Type: sma Get Plugin or Get Source (rainysnowy.sma - 35593 views - 5.0 KB)
File Type: inc ojos.inc (3.4 KB, 18131 views)
__________________

Last edited by OneEyed; 12-21-2006 at 15:46.
OneEyed 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 08:28.


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