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

FuncommandsX


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Spazman0&Arg!
Junior Member
Join Date: Aug 2008
Plugin ID:
493
Plugin Version:
2.5
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    160 
    Plugin Description:
    Extension of SourceMod fun commands
    Old 08-07-2008 , 02:08   FuncommandsX
    Reply With Quote #1

    FuncommandsX - By Spazman0 and Arg!

    Description: Additional fun commands for SourceMod. Each fun command has full admin menu integration. Built and tested for SourceMod 1.6.2 using TF2, DOD:S and CS:S. Joint project, our first release.

    Admin Commands:
    • sm_alpha - sets player alpha (visibility) 0 is invisible, 255 is opaque (normal)
    • sm_colorize - sets player color (normal to revert)
    • sm_fakesay - forces a client to say text, as if they typed it in chat (ROOT admin only, override to give other admins access)
    • sm_ff - toggles friendly fire (this is triggered from the Server Commands admin menu)
    • sm_happy - replaces clients text chat with strings from happy_phrases.ini
    • sm_invis - toggles or sets player invisibility
    • sm_invisplayer - toggles or sets player invisibility (does not affect player weapon)
    • sm_tele - Teleports player to where admin is looking
    • sm_explode - Explodes player(s) (only works with games supporting the 'explode' client console cmd, eg TF2)
    • sm_disco - changes all players colors to random every x seconds (this is triggered from the Server Commands admin menu). x is defined by cvar sm_discointerval.
    Console Commands:
    • sm_me - performs an IRC style 'me' action.
    • sm_colorize_colors - displays colors available to sm_colorize
    • sm_colorme <color> - allows players to colorize themselves.
    Cvars:
    • sm_discointerval - interval in seconds for how often players colors will change in disco mode. Default is 0.6 seconds.
    • sm_autodisco <1|0> - If enabled, discomode is enabled on map change.
    • sm_autodiscotime Time in seconds to run auto disco mode for, default 60.0
    • sm_sa_me <1|0> - Toggles availability of sm_me command, defaults to on.
    • sm_selfcolorize <1|0> - Toggles ability to use sm_colorme command
    Other:

    To change the message displayed when disco mode is activated edit the 'funcommandsX.phrases.txt' file and change the text in the 'Disco on message' section.

    Translation support for some phrases added as of version 1.4. If you are able to add any translations please feel free to let Arg! know, it would be appreciated. Also if you find any phrases which need to be setup for translation, let Arg! know as well.

    Requires colors.inc to compile - http://forums.alliedmods.net/showthread.php?t=96831

    Thanks to:Install Instructions:
    • plugins/funcommandsX.smx goes into 'sourcemod/plugins'
    • configs/happy_phrases.ini goes into 'sourcemod/configs' and can be edited to allow for custom 'happy' phrases.
    • The file 'funncommandsX.cfg' will be created in 'cfg/sourcemod' and can be used to change default cvar settings.
    • The file 'translations/funcommandsX.phrases.txt' must go in the translations directory 'addons/sourcemod/translations'
    Known Issues:
    • Team Fortress 2 - If a player has been colorized, made invisible or had their alpha changed, players using the spy radio command on them will not hear the class specific sound file, instead a generic 'spy' sound. This resets for a player on map change or if they reconnect. This (http://forums.alliedmods.net/showthread.php?t=105646) plugin has been developed to counter it if you are interested in it.
    Changelog:

    7th August 2008 - 0.1
    • Initial Release
    9th August 2008 - 0.2
    • Fixed 'normal' not showing in colorize menu
    • Fixed clients possibly not being able to connect
    13th August 2008 - 0.3
    • Alpha and color settings now get remembered when players spawn always
    • Fixed bug where changing a players color would reset their alpha
    24th August 2008 - 0.4
    • DOD:S now can have weapons/alpha/invis weapons
    • Fixed issue with FakeClient detection on plugin unload
    3rd September 2008 - 0.5
    • Colorize is now applied to dead players
    • Minor bug fixes/error handling
    • Improved package zip file structure
    11th September 2008 - 0.6
    • Removed unnecesary error logging
    • Added usage pattern to teleport command
    • Added sm_explode command
    14th September 2008 - 0.7
    • Added sm_disco command
    18th September 2008 - 0.8
    • Now compiled with sourcemod 1.0.4
    • ShowActivity now fires when enabling disco mode from admin menu
    • ShowActivity now fires when toggling friendly fire with sm_ff
    • Added game detection routine
    • Teleport particle effects now only fire in TF2 (and no errors generated if not in tf2)
    • Disco mode now has center text to inform players when its activated
    23th September 2008 - 0.9
    • Bots are now affected by disco mode
    • Added sm_autodisco and sm_autodiscotime cvars
    • Fixed potential issues on player spawn
    7th October 2008 - 1.0
    • Major code cleanup and restructure
    • Fixed bug where disco mode would not disable for all players
    • Bots are now affected by disco mode, colorize and alpha
    • New algorithm for teleport command
    18th November 2008 - 1.1 ROLLED BACK
    • Added lasers to disco mode
    20th November 2008 - 1.0.1
    • Rolled back lasers (still in code but commented out) due to it crashing TF2 Clients after map change. Initial loading of plugin appeared to result in successful testing but after map change activating disco will crash clients.
    16th February 2009 - 1.2
    • Removed reduntand code
    • Built on SourceMod 1.1
    • Added translation file for Disco mode on message
    • Provided compromise workaround for TF2 'spy check' radio command bug
    13th April 2009 - 1.3
    • NOTE: Please merge the translation file from this release with your current one.
    • Compiled with sourcemod 1.2
    • Added console cmd sm_me
    • Added cvar sm_sa_me
    16th May 2009 - 1.4
    • NOTE: Please merge the translation file from this release with your current one.
    • sm_me now uses team colors
    • Translation support added.
    11th June 2009 - 1.5
    27th June 2009 - 1.6
    • IMPORTANT UPGRADE NOTE: Backup and delete the file 'cfg\sourcemod\funcommandsX.cfg' before loading this plugin. Once loaded, check the newly created 'cfg\sourcemod\funcommandsX.cfg' against your backup for modified settings. After this, the server may need a restart to allow new functionality to work.
    • Compiled with sourcemod 1.2.1
    • Changed command 'sm_colorize_colors' to a console command.
    • Added console command 'sm_colorme' to allow players to self colorize.
    • Added cvar 'sm_selfcolorize' to enable the use of 'sm_colorme' by players.
    1st August 2009 - 1.7
    • Added more colors to colorize list (please use the latest translation file from this release)
    20th December 2009 - 1.8
    • Added command sm_invisplayer to keep weapons visible.
    • Added code to include wearables (TF2) when setting rgba properties.
    • Added code to set weapons and wearables on change class and respawn (TF2).
    14th January 2011 - 1.9
    13th May 2011 - 2.0
    25th June 2011 - 2.1
    21st October 2011 - 2.2
    30th November 2012 - 2.3
    • Compiled with sourcemod 1.4.6
    • Now checks if player is gagged before allowing sm_me command
    5th December 2014 - 2.4
    • Compiled with Sourcemod 1.6.2
    • Fixed messages for CS:GO - plugin should now work for CS:GO
    • Fixed a bug in rgba.sp - Thanks FlaminSarge! (https://forums.alliedmods.net/member.php?u=84304)
    • Made sm_colorme an admin command with no flags - should now be overrideable correctly.
    • Please note due to the way the CS:GO engine works the sm_invis and sm_alpha commands do not work in CS:GO.
    • Update colors.inc to morecolors.inc - currently doesn't do anything different though!
    5th January 2017 - 2.5
    Attached Files
    File Type: zip funcommandsX_2.5.zip (64.4 KB, 9679 views)

    Last edited by Spazman0&Arg!; 01-05-2017 at 23:16. Reason: 2.5 release
    Spazman0&Arg! is offline
     



    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:46.


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