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

[ASW] Skill Change Alerter


Post New Thread Reply   
 
Thread Tools Display Modes
Author
davec524
New Member
Join Date: Aug 2010
Plugin ID:
1878
Plugin Version:
1.0.4
Plugin Category:
General Purpose
Plugin Game:
Alien Swarm
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Alerts players when the difficulty is changed.
    Unapprover:
    Reason for Unapproving:
    Prints errors on newer difficulty levels, plugin updater url is broken (fix or remove).
    Old 08-13-2010 , 21:25   [ASW] Skill Change Alerter
    Reply With Quote #1

    Requirements
    Like all current Alien Swarm plugins, this one also requires that you use the current dev builds of both metamod and sourcemod.

    -There is an optional auto-update feature to update the plugin. The AutoUpdater plugin as well as any and all dependencies of that are required to use the auto-update feature.

    Setup
    Take the .smx file, throw it in your plugins folder, and you're good to go. No config files are included or needed for this.

    Description
    This quick and dirty plugin does two things that Valve probably should have implemented to begin with:
    1. 15 seconds after a player enters the game, they are whispered with a message that reminds them of the current difficulty level.
    2. Whenever the difficulty is changed, everyone is alerted to this change.
    CVARs or Commands
    Currently, there are none, but if there is demand and I feel a need for them, I may implement them in the future. Most likely, there won't be any, as that would remove the simplistic nature of this plugin.

    *Also, the entire plugin is written with extensive use of modular functions, so feel free to rip my code apart and use them if you want. Enjoy.

    Change Log
    • 1.0.0 -Initial release
    • 1.0.1 -Fixed a possible chat redundancy issue
    • 1.0.2 -Code cleanup
    • 1.0.3 -Added auto-update feature
    • 1.0.4 -Fixed a fatal crash related to timers
    To Do
    • Add colored text
      • Possibly unsupported currently? (didn't work when tested)
    • Play a sound when skill is changed
      • Couldn't get sounds to play that were not in "/sounds/ui/" during lobby. (looking into other possible ways to play sounds)
    Attached Files
    File Type: smx getdifficulty.smx (3.6 KB, 257 views)
    File Type: sp Get Plugin or Get Source (getdifficulty.sp - 224 views - 3.4 KB)
    __________________

    Last edited by psychonic; 11-03-2011 at 22:42. Reason: changed game to Alien Swarm
    davec524 is offline
    RavenDan29
    Veteran Member
    Join Date: Sep 2009
    Old 08-15-2010 , 10:49   Re: [ASW] Skill Change Alerter
    Reply With Quote #2

    nice job for a newbie, wish i had an understanding of making plugins that would speed things up rather than having to request to have plugins made,

    I see how this plugin is of use, as a member of the public joins they r pre warned of what difficulty the game is on, unfortunately the public can still be pretty stupid my server has a message saying it has beta aliens yet they still join and get surprised when they see a queen or beta harvester etc... same with my speed run server, "why am I walking so fast?" HELLO dont u read b4 entering a public server.

    Going back to this plugin they sometimes assume its on insane lvl just cause im lvl 27 third promotion when its actually only on hard level, or newbies join when i am on insane lvl which is extremely annoying, unfortunately having a message come up will not neccasarily detere them from staying STUPID Pubs.
    __________________
    RavenDan29 is offline
    1Swat2KillThemAll
    SourceMod Donor
    Join Date: Nov 2009
    Old 08-26-2010 , 12:36   Re: [ASW] Skill Change Alerter
    Reply With Quote #3

    Hi, I edited your code a bit hope you like it it does compile but I haven't tested it yet...
    Attached Files
    File Type: sp Get Plugin or Get Source (AswDifficultyChanger.sp - 235 views - 4.7 KB)
    1Swat2KillThemAll is offline
    RavenDan29
    Veteran Member
    Join Date: Sep 2009
    Old 08-28-2010 , 06:54   Re: [ASW] Skill Change Alerter
    Reply With Quote #4

    In what way is it different?, as im perefectly happy with the current version.
    __________________
    RavenDan29 is offline
    Searcher64
    Senior Member
    Join Date: Apr 2010
    Old 08-28-2010 , 16:38   Re: [ASW] Skill Change Alerter
    Reply With Quote #5

    There's been updates to Alien Swarm, such as onslaught, hardcore friendly fire, and Brutal game difficulty where this plugin only prints the first three original difficulties
    Searcher64 is offline
    MON@H Rasta
    Junior Member
    Join Date: Dec 2010
    Location: Kyiv, Ukraine
    Old 01-03-2011 , 16:16   Re: [ASW] Skill Change Alerter
    Reply With Quote #6

    Have error on compiling (((

    Code:
    //// getdifficulty.sp
    // getdifficulty.sp(4) : fatal error 120: cannot read from file: "autoupdate"
    //
    // Compilation aborted.
    // 1 Error.
    //
    // Compilation Time: 0,12 sec
    MON@H Rasta is offline
    Send a message via ICQ to MON@H Rasta Send a message via Skype™ to MON@H Rasta
    Despirator
    Senior Member
    Join Date: Jun 2011
    Location: Kazakhstan ->Shymkent
    Old 07-18-2011 , 02:49   Re: [ASW] Skill Change Alerter
    Reply With Quote #7

    install it http://forums.alliedmods.net/showthread.php?p=823636
    Despirator is offline
    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:56.


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