Raised This Month: $7 Target: $400
 1% 

[L4D-L4D2] New custom commands v1.0.9


Post New Thread Reply   
 
Thread Tools Display Modes
Author
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Plugin ID:
1825
Plugin Version:
1.0.9
Plugin Category:
Admin Commands
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    194 
    Plugin Description:
    Will add new administrative and fun commands in the admin menu
    Old 07-25-2010 , 19:54   [L4D-L4D2] New custom commands v1.0.9
    Reply With Quote #1

    [L4D & L4D2] New custom commands

    Re-download l4d2customcmds.txt!!! [1.0.9]
    L4D1 version doesn't require the gamedata file

    Left 4 Dead 1 Version:v1.0.6b
    Left 4 Dead 2 Version:v1.0.9

    Description:

    Simple plugin that will add more and new commands for the sourcemod's admin menu. The new commands are listed below.

    Video Demostration by blackalegator

    If you have a request of a new command, please, do NOT doubt on posting the idea.

    Current Commands on Left 4 Dead 1:

    Player Commands:
    - "sm_incapplayer" (Incapacitate Player): Will Incapacitate a Survivor or Tank.
    - "sm_speedplayer" (Set player speed): Will set a selected player's speed into a the given value.
    - "sm_sethpplayer" (Set player health): Will set a player's health into the given value.
    - "sm_colorplayer" (Set player color): Will set a player's color into the given value (Red, Green, Blue, Alpha*).
    - "sm_dontrush" (Anti Rush Player) - Teleports the player to the beginning safe room
    - "sm_sizeplayer" (Resize Player) - Will set a player's size into the given value. Works better on jockeys.
    - "sm_airstrike" (Send airstrike) - Will send an airstrike attack to the selected player.
    - "sm_changehp" (Switch Health Style) - Will switch a player's health between Permanent and Temporal.
    - "sm_godmode" (God Mode) - Will enable or disable god mode in a player.
    - "sm_shakeplayer" (Shake player) - Will shake a player's screen.
    - "sm_teleport" (Teleport Player) - Teleports a player to your mouse postion.

    *Transparency of the survivor

    Utility Commands:
    - "sm_ccrefresh" - Refresh the admin menu to store all the items upon plugin unload, load or reload.

    Server Commands:
    - "sm_setexplosion" (Create explosion): Will create an explosion on your current position or cursor position.
    - "sm_l4drain" (L4D1 Survivors Rain) - Will rain survivors. [Caution: Will lag low performance computers]

    Not in the admin menu
    - "sm_colortarget" - Will apply a custom color to any entity with a model. (objects or players)
    - "sm_sizetarget" - Will resize the target's model into the given value
    - "sm_cheat" - Bypass any command and executes it
    - "sm_cmdplayer" - Controls a player console
    - "sm_weaponrain" - Will rain the desired weapon
    - "sm_bleedplayer" - Force a player to bleed (HP wont be affected)
    - "sm_wipentity" - Deletes all the entities with the given class name. (For weapons you must put 'weapon_' before its name, EX: weapon_adrenaline for adrenaline)
    - "sm_ignite" (Ignite Player) - Will burn the player, adding a fire effect on him - Pending - Problems parenting the entity.
    - "sm_createparticle" (Create Particle) - Creates a particle with the given name and will parent (or not) it.
    - "sm_setmodel" - Sets a player model into the given model file.
    - "sm_setmodelentity" - Sets all entities that match the given classname with the given model.
    - "sm_teleportent" - Teleport the desired entities with the classname to your cursor position.
    - "sm_rcheat" - Bypass and executes any server command.
    - "sm_grabentity" - Grabs any looking entity allowing you to freely move it.
    - "sm_scanmodel" - Scans any entity model, if possible. If the model property is not found the command will fail.

    Current Commands on Left 4 Dead 2:
    -To obtain the full command list, please, type !cchelp on chat, and then check your console.

    Current Command Ideas:

    Reference: Research means that im searching for possible methods, Pending means that a method have been found but not implemented, and discarted means the commands cannot be done, or for any other reason specified next to it. Ready means the command is ready but is awaiting to be included on a massive or future update

    -None

    CVARS
    Just a few...

    -l4d2_custom_commands_version : Version of the plugin.
    -l4d2_custom_commands_explosion_radius : Radius of the explosion.
    -l4d2_custom_commands_explosion_power : Power of the explosion.
    -l4d2_custom_commands_explosion_duration: Duration of the fire trace left by the explosion (Causes damage).
    -l4d2_custom_commands_rain_duration: Duration of the Gnome Rain and l4d1 rain..
    -l4d2_custom_commands_rain_radius: Radius of the Gnome Rain, l4d1 rain and air strike commands.
    -l4d2_custom_commands_menutype: 0: Create a new admin menu category 1: Add commands to the default sourcemod categories

    Installation:
    Left 4 Dead:
    Code:
    -Put the l4d_custom_commands.smx file on your sourcemod/plugins folder.
    Left 4 Dead 2:
    Code:
    -Put the l4d2_custom_commands.smx file on your sourcemod/plugins folder.
    -Put the l4d2customcmds.txt file on your sourcemod/gamedata folder.
    TO DO:
    -Add more custom commands for the admins based on members requests or developer ideas.

    Known Bugs:
    -sm_gnomerain command might freeze the server or affect it's network capacity. Use with CAUTION

    Thanks To:
    -Silver: For his suggestion an ideas
    -Rochellecrab: For giving out the acidspill command source
    -Machine: For his help with the acidspill command
    -blackalegator: For the video
    -Everyone: For their support

    Left 4 Dead Changelog:
    Code:
    1.0.6b
    -Added dialog to the !ccrefresh command to avoid confusion.
    Left 4 Dead 2 Changelog:

    Code:
    1.0.9
    -Added sm_acidspill, sm_shove, sm_adren, sm_panic, sm_temphp, sm_oldmovie, sm_cchelp commands.
    -Fixed some other bugs
    
    1.0.8
    -Fixed some reported bugs
    -Added a useful convar
    
    1.0.7b
    -Added dialog to the !ccrefresh command to avoid confusion.
    
    1.0.7a
    -Fixed !cheat and !rcheat commands
    
    1.0.7
    -Added the sm_rcheat command.
    -Added the sm_grabentity command.
    -Added the sm_scanmodel command.
    -Fixed important code sections
    -Improved the cheat command function. Thanks to JLHack7!
    
    1.0.6a
    -Added Left 4 dead 1 support.
    -Enhanced Explosion Code.
    -Enhanced Teleport Code.
    -Fixed a few bugs.
    
    1.0.6
    -Added the "sm_teleport" command.
    -Added the "sm_teleportent" command.
    -Added the utility "sm_ccrefresh" command.
    -Added a log system.
    
    1.0.5a
    -Fixed "sm_setexplosion" command On cursor option.
    
    1.0.5
    -Added 4 new commands ("sm_ignite", "sm_createparticle", "sm_setmodel", "sm_setmodelentity").
    
    1.0.4a
    -Enhanced explosion code
    -Deleted unnecessary commands
    
    1.0.4
    
    New Commands:
    - "sm_cheat" - Bypass any command and executes it
    - "sm_cmdplayer" - Controls a player console
    - "sm_weaponrain" - Will rain the desired weapon
    - "sm_bleedplayer" - Force a player to bleed (HP wont be affected)
    - "sm_hinttext" - Draws an instructor hint to all players
    - "smwipentity" - Deletes all the entities with the given class name. (For weapons you must put 'weapon_' before its name, EX: weapon_adrenaline for adrenaline)
    
    Fixed Bugs:
    
    -Lag when the airstrike command was used for the first time.
    
    1.0.3.a
    -Fixed "sm_shakeplayer" command.
    -Added "l4d2_custom_commands_rain_radius" convar.
    
    
    1.0.3
    -Added "sm_l4drain" command.
    -Added "sm_sizetarget" command.
    -Added "sm_colortarget" command.
    -Added "sm_godmode" command.
    -Added "sm_charge" command.
    -Added "sm_shakeplayer" command.
    -Enhanced vomit player command. Works better on survivors now
    
    1.0.2
    -Added "sm_changehp" command.
    -Added "sm_gnomewipe" command.
    -Added "sm_airstrike" command.
    -Added "sm_gnomerain" command.
    -The plugin will now use standard sourcemod targeting system.
    
    1.0.1
    -Added "sm_dontrush" command.
    -Added "sm_norescue" command.
    -Added "sm_bugplayer" command. [BETA].
    -Added "sm_sizeplayer" command.
    
    1.0.0
    -Initial Release
    Attached Files
    File Type: txt l4d2customcmds.txt (4.5 KB, 21022 views)
    File Type: sp Get Plugin or Get Source (l4d2_custom_commands.sp - 29616 views - 159.6 KB)
    File Type: sp Get Plugin or Get Source (l4d_custom_commands.sp - 10531 views - 106.5 KB)

    Last edited by honorcode23; 12-13-2010 at 14:25. Reason: Update
    honorcode23 is offline
    thejuice027
    Senior Member
    Join Date: Dec 2009
    Old 07-25-2010 , 19:56   Re: [L4D2] New custom commands
    Reply With Quote #2

    Sounds fun, I'll have to try it when I get the chance.
    __________________
    Steam_id: thejuice027
    thejuice027 is offline
    Searcher64
    Senior Member
    Join Date: Apr 2010
    Old 07-25-2010 , 20:30   Re: [L4D2] New custom commands
    Reply With Quote #3

    Is it possible to set the scale of a player's size? This would be really fun
    Searcher64 is offline
    Dayto123
    Junior Member
    Join Date: Jun 2010
    Old 07-25-2010 , 20:33   Re: [L4D2] New custom commands
    Reply With Quote #4

    im going to try it ill tell u what and how it goes
    Dayto123 is offline
    Dayto123
    Junior Member
    Join Date: Jun 2010
    Old 07-25-2010 , 20:35   Re: [L4D2] New custom commands
    Reply With Quote #5

    Quote:
    Originally Posted by Searcher64 View Post
    Is it possible to set the scale of a player's size? This would be really fun
    that would be really fun and also could u make a command were a missle comes down and blows up the person u targeted that would be fun
    Dayto123 is offline
    Searcher64
    Senior Member
    Join Date: Apr 2010
    Old 07-25-2010 , 20:43   Re: [L4D2] New custom commands
    Reply With Quote #6

    This could be the official L4D2 version of this

    https://forums.alliedmods.net/showthread.php?p=665771

    Searcher64 is offline
    Dayto123
    Junior Member
    Join Date: Jun 2010
    Old 07-25-2010 , 20:52   Re: [L4D2] New custom commands
    Reply With Quote #7

    ok tested pretty cool exept for the explosion it crashed 3 ppl on my servers computer and the on cursor doesnt work from what i can tell mabey i did it wrong but it woulf just kill me
    Dayto123 is offline
    honorcode23
    BANNED
    Join Date: Mar 2010
    Location: Chile
    Old 07-25-2010 , 21:35   Re: [L4D2] New custom commands
    Reply With Quote #8

    Quote:
    Originally Posted by Dayto123 View Post
    ok tested pretty cool exept for the explosion it crashed 3 ppl on my servers computer and the on cursor doesnt work from what i can tell mabey i did it wrong but it woulf just kill me
    Thanks for the report, i probably missed something.
    honorcode23 is offline
    honorcode23
    BANNED
    Join Date: Mar 2010
    Location: Chile
    Old 07-25-2010 , 22:11   Re: [L4D2] New custom commands
    Reply With Quote #9

    Quote:
    Originally Posted by Searcher64 View Post
    Is it possible to set the scale of a player's size? This would be really fun
    It's possible, but, it will only resize the survivor's pants. It looks pretty ridiculous but it's still fun to see xD.

    There is definitely something wrong with valve...
    honorcode23 is offline
    Searcher64
    Senior Member
    Join Date: Apr 2010
    Old 07-25-2010 , 22:51   Re: [L4D2] New custom commands
    Reply With Quote #10

    XD Why not do it then?
    Searcher64 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 23:11.


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