Raised This Month: $32 Target: $400
 8% 

Simple Snowfall


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Plugin ID:
5451
Plugin Version:
0.3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 12-19-2016 , 19:33   Simple Snowfall
    Reply With Quote #1

    Simple Snowfall

    A super simple snow plugin which should work with any games, and should not cause crashes as it automatically adjusts bounds to make sure they are within a playable area.

    Code:
     0.1 - 
    
    • Initial Release.
    0.2 -
    • Added better support for TF2.
    0.3 -
    • Ignore certain maps which would cause an infinite loop while adjusting boundaries, (Use at your own risk on Surf, Bhop, Kz, Arena as I can't guarantee clients won't crash on these.)
    • Added support for maps which already contain rain, snow or other precipitation effects, It should override these with snow now instead of layering 2 effects at once.
    Merry Christmas
    Attached Files
    File Type: sp Get Plugin or Get Source (SimpleSnowfall.sp - 1697 views - 3.8 KB)

    Last edited by SM9; 12-19-2016 at 22:34. Reason: 0.3
    SM9 is offline
    ImACow
    AlliedModders Donor
    Join Date: Feb 2015
    Old 12-19-2016 , 19:36   Re: Simple Snowfall
    Reply With Quote #2

    Thanks a ton!
    __________________
    ImACow is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 12-19-2016 , 20:47   Re: Simple Snowfall
    Reply With Quote #3

    The entity's origin should also be contained within the map bounds.
    Mitchell is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 12-19-2016 , 21:59   Re: Simple Snowfall
    Reply With Quote #4

    Very cool, glad to see this! A couple things:

    Many maps snowfall does not appear. Possibly relevant information:
    A map that works no problem: surf_rookie
    Running a timer application
    A map that snow does not appear on, but no error logs: surf_beginner

    And some maps cause a script timeout:
    Code:
    L 12/19/2016 - 21:00:37: Info (map "surf_eldritch") (file "errors_20161219.log")
    L 12/19/2016 - 21:00:37: [SM] Exception reported: Script execution timed out
    L 12/19/2016 - 21:00:37: [SM] Blaming: simplesnowfall.smx
    L 12/19/2016 - 21:00:37: [SM] Call stack trace:
    L 12/19/2016 - 21:00:37: [SM]   [1] Line 62, G:\sm18\scripting\simplesnowfall.sp::OnMapStart
    L 12/19/2016 - 21:00:59: Error log file session closed.
    L 12/19/2016 - 21:02:22: SourceMod error session started
    L 12/19/2016 - 21:02:22: Info (map "surf_trance_ksf") (file "errors_20161219.log")
    L 12/19/2016 - 21:02:22: [SM] Exception reported: Script execution timed out
    L 12/19/2016 - 21:02:22: [SM] Blaming: simplesnowfall.smx
    L 12/19/2016 - 21:02:22: [SM] Call stack trace:
    L 12/19/2016 - 21:02:22: [SM]   [1] Line 68, G:\sm18\scripting\simplesnowfall.sp::OnMapStart
    Edit: Whoops, game is CS:GO, might've been handy to mention that
    __________________

    Last edited by sneaK; 12-19-2016 at 22:04. Reason: added information
    sneaK is offline
    SM9
    Veteran Member
    Join Date: Sep 2013
    Location: United Kingdom
    Old 12-19-2016 , 22:35   Re: Simple Snowfall
    Reply With Quote #5

    Quote:
    Originally Posted by blackhawk74 View Post
    Very cool, glad to see this! A couple things:

    Many maps snowfall does not appear. Possibly relevant information:
    A map that works no problem: surf_rookie
    Running a timer application
    A map that snow does not appear on, but no error logs: surf_beginner

    And some maps cause a script timeout:
    Code:
    L 12/19/2016 - 21:00:37: Info (map "surf_eldritch") (file "errors_20161219.log")
    L 12/19/2016 - 21:00:37: [SM] Exception reported: Script execution timed out
    L 12/19/2016 - 21:00:37: [SM] Blaming: simplesnowfall.smx
    L 12/19/2016 - 21:00:37: [SM] Call stack trace:
    L 12/19/2016 - 21:00:37: [SM]   [1] Line 62, G:\sm18\scripting\simplesnowfall.sp::OnMapStart
    L 12/19/2016 - 21:00:59: Error log file session closed.
    L 12/19/2016 - 21:02:22: SourceMod error session started
    L 12/19/2016 - 21:02:22: Info (map "surf_trance_ksf") (file "errors_20161219.log")
    L 12/19/2016 - 21:02:22: [SM] Exception reported: Script execution timed out
    L 12/19/2016 - 21:02:22: [SM] Blaming: simplesnowfall.smx
    L 12/19/2016 - 21:02:22: [SM] Call stack trace:
    L 12/19/2016 - 21:02:22: [SM]   [1] Line 68, G:\sm18\scripting\simplesnowfall.sp::OnMapStart
    Edit: Whoops, game is CS:GO, might've been handy to mention that
    Please try the last version, unfortunately, I can't guarantee it won't crash clients but lets hope not!
    SM9 is offline
    r3v
    Senior Member
    Join Date: Feb 2016
    Location: Lithuania, Vilnius
    Old 12-20-2016 , 01:50   Re: Simple Snowfall
    Reply With Quote #6

    Can you add say command !snow to turn off/on only for a player, not for all? If it's easy...
    r3v is offline
    LaGgLs
    Senior Member
    Join Date: Apr 2015
    Location: sweden
    Old 12-20-2016 , 04:16   Re: Simple Snowfall
    Reply With Quote #7

    Good plugin just one ide can you make a turn and off command if a person dont like it

    But this plugin dosent work for csgo

    Last edited by LaGgLs; 12-20-2016 at 04:22. Reason: upgrade chat
    LaGgLs is offline
    CrazyGhostRider
    Member
    Join Date: Apr 2014
    Location: Russia
    Old 12-20-2016 , 07:24   Re: Simple Snowfall
    Reply With Quote #8

    Team Fortress 2:
    "Engine Error: CUtlLinkedList overflow! (exhausted index range)"
    CrazyGhostRider is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 12-20-2016 , 08:00   Re: Simple Snowfall
    Reply With Quote #9

    Quote:
    Originally Posted by blackhawk74 View Post
    Edit: Whoops, game is CS:GO, might've been handy to mention that
    Does csgo support snow?
    Mitchell is offline
    VOLK_RuS
    Junior Member
    Join Date: Mar 2016
    Old 12-20-2016 , 08:25   Re: Simple Snowfall
    Reply With Quote #10

    Hi!It works for CS:GO, but there is error with position. Can u fix that? And can you make to set up coordinates manually? Like first corner and second corner.

    Spoiler

    Last edited by VOLK_RuS; 12-20-2016 at 08:34.
    VOLK_RuS 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 14:35.


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