Raised This Month: $ Target: $400
 0% 

How to make snow in all maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sb123
Senior Member
Join Date: Jan 2007
Old 12-19-2011 , 15:59   How to make snow in all maps
Reply With Quote #1

some maps can't sonw

like bloodstrike

How to make snow in all maps?
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 12-19-2011 , 21:10   Re: How to make snow in all maps
Reply With Quote #2

This?

http://forums.alliedmods.net/showthread.php?p=735477
__________________
kramesa is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-19-2011 , 23:13   Re: How to make snow in all maps
Reply With Quote #3

It's not possible to create snow on the ground (that is hardcoded in to the map). It is possible to create falling snow. I'm guessing for the latter, you use create the env_snow entity. There are some weather plugins already so you should look at those to see how they are done.

@kramesa: He didn't ask for a mod.
__________________

Last edited by fysiks; 12-19-2011 at 23:14.
fysiks is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 12-19-2011 , 23:16   Re: How to make snow in all maps
Reply With Quote #4

add this into a plugin

PHP Code:
public plugin_precache()
{
    
engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"env_snow"));

and #include <fakemeta>

and there you go, you have snow falling. But the clients must have cl_weather 1 in order to see the snow falling.
DjOptimuS is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-20-2011 , 02:44   Re: How to make snow in all maps
Reply With Quote #5

Engine:

PHP Code:
entity_create("env_snow"
__________________
kiki33hun is offline
sb123
Senior Member
Join Date: Jan 2007
Old 12-21-2011 , 03:25   Re: How to make snow in all maps
Reply With Quote #6

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_precache()
{
    
register_plugin("Make Snow""0.1""connor")
    new 
iEnt engfunc(EngFunc_CreateEntityengfunc(EngFunc_AllocString"env_snow"))
    if( 
pev_valid(iEnt) )
    {
        
dllfunc(DLLFunc_SpawniEnt)
    }

some maps still can't snow
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
Reply



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 11:57.


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