Raised This Month: $476 Target: $400
 119% 

FuncommandsX


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    1257 
    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, 692 views)

    Last edited by Spazman0&Arg!; 01-05-2017 at 23:16. Reason: 2.5 release
    Spazman0&Arg! is offline
    curlefry
    Senior Member
    Join Date: Jun 2008
    Location: Georgia, USA
    Old 08-07-2008 , 03:09   Re: FuncommandsX
    Reply With Quote #2

    Hi. I'm glad to have maybe been the first to test your plugin.

    1)It's amazing.
    2)Love the admin integration.

    I have carefully went through and tested your commands on a TF2 Server.

    Things I wish to recommend in a next version:

    sm_alpha - Is there an option for normal? Is 255 normal? Please make that a little clearer.

    sm_colorize - May I request that "Normal" be added to the menu of colors, because when I issued /colorize @me "normal" in chat, it worked perfect, putting me back to normal color.

    sm_ff - Great! If I were you, I'd mention it's in the Server Commands menu, took me a while to figure that out. ;)

    sm_happy - Great! I replaced the current lines and they worked out fine.

    sm_invis - Great! Hopefully it's not abused by too many admins ;)

    sm_tele - Works great as well, and seems like it's the same one as the "Admin Teleport Plugin," correct?

    ---

    Overall: I definately approve of this plugin. Do your job official approver people! Awesome job on your first project, you two.
    __________________
    curlefry is offline
    Send a message via MSN to curlefry
    Arg!
    Veteran Member
    Join Date: Jul 2008
    Location: Australia
    Old 08-07-2008 , 03:42   Re: FuncommandsX
    Reply With Quote #3

    Thanks curlefry!

    I made some clarification adjustments to the original post. As for normal being in the admin menu for colorize, it definetly should be there, as the first option too i would have thought, i cannot test it as am still at work, will check when i get home.
    The tele command (written by Spazman0) was done independently of the other teleport plugin floating around, but the other one was release first, wasnt sure if we should keep it in here or not but decided to see what happened. Also this tele has flames and stuff!

    EDIT: I checked the plugin, and normal is not comming up in the menu, will check it out now.
    __________________

    Last edited by Arg!; 08-07-2008 at 05:37.
    Arg! is offline
    Spazman0
    Member
    Join Date: Jul 2008
    Old 08-07-2008 , 03:55   Re: FuncommandsX
    Reply With Quote #4

    As Arg! Said, I made the teleport plugin, which is also the same as one of the teleport plugins floating around the approved plugins section. In this release, it is updated slightly, adding @all and @teams commands, and modifying the particle effects slightly.
    Spazman0 is offline
    Arg!
    Veteran Member
    Join Date: Jul 2008
    Location: Australia
    Old 08-07-2008 , 06:28   Re: FuncommandsX
    Reply With Quote #5

    Ok found the issue with the colorize admin menu, fixed in next release.
    __________________
    Arg! is offline
    ProjectManhatten
    SourceMod Donor
    Join Date: May 2005
    Location: LA
    Old 08-07-2008 , 14:11   Re: FuncommandsX
    Reply With Quote #6

    You would rock if you could make this compatible with DOD:S. After a long hard realism and/or drills a lot of us just like to kick back and have some crazy messed up WWII deathmatch shenanigans, and this sounds like it would suit it perfectly!
    __________________

    ProjectManhatten is offline
    Send a message via AIM to ProjectManhatten Send a message via MSN to ProjectManhatten Send a message via Yahoo to ProjectManhatten
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Old 08-07-2008 , 14:19   Re: FuncommandsX
    Reply With Quote #7

    You would rock if you could actually say what exactly doesn't work in DoD:S. Seems to me it should work fine as long as you have at least SM 1.0.4 (seeing how 1.0.3 doesn't work at all for DoD:S).
    __________________
    DJ Tsunami is offline
    ProjectManhatten
    SourceMod Donor
    Join Date: May 2005
    Location: LA
    Old 08-07-2008 , 15:42   Re: FuncommandsX
    Reply With Quote #8

    Im not a pro with this shenanigans all I know is that when I tried to join my server, after I installed it, it would say I was disconnected.
    __________________

    ProjectManhatten is offline
    Send a message via AIM to ProjectManhatten Send a message via MSN to ProjectManhatten Send a message via Yahoo to ProjectManhatten
    russell99ky
    Member
    Join Date: Apr 2008
    Old 08-07-2008 , 16:54   Re: FuncommandsX
    Reply With Quote #9

    Can you make the Color for anyone ingame to be able to change there color by saying it in chat not just admins?
    russell99ky is offline
    Arg!
    Veteran Member
    Join Date: Jul 2008
    Location: Australia
    Old 08-07-2008 , 19:13   Re: FuncommandsX
    Reply With Quote #10

    Quote:
    Originally Posted by DJ Tsunami View Post
    You would rock if you could actually say what exactly doesn't work in DoD:S. Seems to me it should work fine as long as you have at least SM 1.0.4 (seeing how 1.0.3 doesn't work at all for DoD:S).
    I dont have a DOD:S server to test on this on so I can only say for sure that it works on TF2 running SM 1.0.3. The teleport uses some particle effects from TF2 also, such as "pyro_blast" but i suppose this could be disabled for other games.

    Apart from this though, technically it should work with DOD:S, ProjectManhatten, perhaps if there are errors being generated you could turn debug mode on for this and post the output?
    __________________

    Last edited by Arg!; 08-07-2008 at 19:24.
    Arg! 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 00:25.


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