AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Winter Environment (https://forums.alliedmods.net/showthread.php?t=80382)

Alka 11-11-2008 07:59

Winter Environment
 
2 Attachment(s)
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 :mrgreen:
[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]

DruGzOG 11-11-2008 11:04

Re: Winter Environment
 
Nice Plugin, Good Job +k :)

Exolent[jNr] 11-11-2008 13:53

Re: Winter Environment
 
Nice job! :)

Pro Patria Finland 11-11-2008 17:01

Re: Winter Environment
 
Alka, I think you're secksy, but I do need some screenshots to prove it once again. (Shots of the plugin, not you) :wink:

DeuX 11-11-2008 17:48

Re: Winter Environment
 
Niceg :) need to testing :D

Exolent[jNr] 11-11-2008 18:08

Re: Winter Environment
 
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.

Alka 11-12-2008 07:41

Re: Winter Environment
 
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.

TeddyDesTodes 11-12-2008 12:58

Re: Winter Environment
 
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 =)

Alka 11-12-2008 13:18

Re: Winter Environment
 
You can use what ever you want...is not somebody code, just use some natives to make a stock/func...

anakin_cstrike 11-12-2008 14:45

Re: Winter Environment
 
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?


All times are GMT -4. The time now is 13:40.

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