Raised This Month: $7 Target: $400
 1% 

Winter Environment


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   v3x (159)
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-11-2008 , 07:59   Winter Environment
Reply With Quote #1

Winter Environment

Description
  • With this plugin you can put a touch of realism in your server.
  • Plugin was designed for a fun server, with custom bomb models,sounds, without bomb led.
  • Snowy weather, custom footstep sounds, like when you walk on snow.
  • Also custom sounds will be emited when bomb is planted,defused,exploded.
  • The resources are a bit biggish, but i think is worthing. You must wait ~1.5, ~2 min to download, depending on your connection,without F[ast]D[ownload].
Changelog
  • 1.0 - Initial release.
Requirements
  • Resources that can be downloaded from below.
  • Cvar "cl_weather 1/2/3" on client, too see the snow.
Info
  • "ch-m" folder must be copyed in cstrike/models folder.
  • "ch-s" folder must be copyed in cstrike/sound folder.
  • You can run 'Hats' plugin with this one, putting on players 'Santa hat' to make more funny environment.
Credits
  • connorr - o.O Way to remove bomb led sprite. Hi connorr
[IMG]http://img88.**************/img88/2121/dedust2long0007tb3.th.jpg[/IMG][IMG]http://img528.**************/img528/9595/dedust2long0010nn6.th.jpg[/IMG][IMG]http://img528.**************/images/thpix.gif[/IMG][IMG]http://img509.**************/img509/8780/dedust2long0013ky2.th.jpg[/IMG][IMG]http://img509.**************/images/thpix.gif[/IMG]
Attached Files
File Type: zip Resources.zip (919.4 KB, 22738 views)
File Type: sma Get Plugin or Get Source (winter_environment.sma - 28585 views - 3.6 KB)
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 11-13-2008 at 12:01.
Alka is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-11-2008 , 11:04   Re: Winter Environment
Reply With Quote #2

Nice Plugin, Good Job +k
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-11-2008 , 13:53   Re: Winter Environment
Reply With Quote #3

Nice job!
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 11-11-2008 , 17:01   Re: Winter Environment
Reply With Quote #4

Alka, I think you're secksy, but I do need some screenshots to prove it once again. (Shots of the plugin, not you)
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
DeuX
Member
Join Date: Apr 2008
Old 11-11-2008 , 17:48   Re: Winter Environment
Reply With Quote #5

Niceg need to testing
DeuX is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-11-2008 , 18:08   Re: Winter Environment
Reply With Quote #6

The code looks good except for 2 things:

1.
Code:
if((vVel[0] && vVel[1] && !vVel[2]) && ...)
This will make footsteps not work if a player is running perfectly horizontally on the X or Y axis, such as against a building.
Should be:
Code:
if(((vVel[0] || vVel[1]) && !vVel[2]) && ...)


2. I think the volume of footsteps while a player is walking should either be removed or half the normal volume.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-12-2008 , 07:41   Re: Winter Environment
Reply With Quote #7

Yea, that is a poor way, i know, but was maded in rush...i will fix the code ASAP.

@PPF - o.O ok. I'll make some.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
TeddyDesTodes
Senior Member
Join Date: Oct 2008
Location: 10.25.15.210
Old 11-12-2008 , 12:58   Re: Winter Environment
Reply With Quote #8

hey alka
can i use some of your code please?
i mean this one:
Code:
stock Float:is_user_outside(id)
{
    new Float:vOrigin[3], Float:fDist;
    pev(id, pev_origin, vOrigin);
    
    fDist = vOrigin[2];
    
    while(engfunc(EngFunc_PointContents, vOrigin) == CONTENTS_EMPTY)
        vOrigin[2] += 5.0;
    
    if(engfunc(EngFunc_PointContents, vOrigin) == CONTENTS_SKY)
        return (vOrigin[2] - fDist);
    
    return 0.0;
}
if its not your nvm =)
__________________
TeddyDesTodes is offline
Send a message via ICQ to TeddyDesTodes
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-12-2008 , 13:18   Re: Winter Environment
Reply With Quote #9

You can use what ever you want...is not somebody code, just use some natives to make a stock/func...
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 11-12-2008 , 14:45   Re: Winter Environment
Reply With Quote #10

Nice ideea by making specific footsteps sounds...
I have a questuion: 'is_user_outside' will return true if a player is not inside of a building or something like that?
__________________

anakin_cstrike is offline
Reply


Thread Tools
Display Modes

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 04:13.


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