Raised This Month: $100 Target: $400
 25% 

Gib-Slay (aka Gory-Slay)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-13-2007 , 17:53   Gib-Slay (aka Gory-Slay)
Reply With Quote #1

Quote:
/********************************************* *******
*
* Name: M2's Gib-Slay
* Version: 1.8
* Date: 10-16-2007
* E-mail: [email protected]
* Website: www.killmachine.com
*
* Description:
* - This plugin will slay a player which results in a mess of guts, bones, and blood.
*
* Commands:
* - amx_gibslay <authid, nick, @team, @all or #userid> [REQUIRES ADMIN_SLAY FLAG]
* - amx_gibslay_nk <authid, nick, @team, @all or #userid> [REQUIRES ADMIN_SLAY FLAG]
* - amx_gibslay_aim <target in crosshair> [REQUIRES ADMIN_SLAY FLAG]
* - amx_gibslay_nk_aim <target in crosshair> [REQUIRES ADMIN_SLAY FLAG]
*
* Command Details:
* - amx_gibslay will gib-slay the target player.
* - amx_gibslay_nk (nk = no kill) will gib-slay the target, but the target is not harmed.
* - amx_gibslay_aim will gib-slay the player in your crosshair.
* - amx_gibslay_nk_aim will execute the nasty gib-slaying effect on the player in your crosshair.
*
* CVARs:
* - m2_gs_count <1-500> - number of gibs (default 25)
* - m2_gs_velocity <1-9999> - velocity of gibs (default 250)
* - m2_gs_life <1-999> - how long the gibs stay on the floor (default 30)
* - m2_gs_gibtype <1|2> - what kind of gibs are used; 1 = human, 2 = alien (default 1)
* - m2_gs_immunity <1|0> - if this is 1, players with immunity are not harmed (default 1)
* - m2_gs_enabled <1|0> - enables/disables gib-slaying (default 1)
* - m2_gs_customsound <1|0> - use a custom sound if the file exists; 1 = on, 2 = off (default 1)
* - m2_gs_usesound <1|0> - use sound when gib-slaying; 1 = on, 2 = off (default 1)
* - m2_gs_logging <1|0> - enables/disables logging of gib-slaying; 1 = on, 2 = off (default 1)
*
* Notes:
* - Be nice to players with lower-end machines; they can't always handle large amounts of entities.
* - Valid teams for TFC: @blue, @red, @yellow, @green
* - Valid teams for CS: @CT, @T
*
* Special Thanks (and Credits):
* - KiLL Machine Guild -[KM]- (www.killmachine.com)
* - Special thanks to |SPANKIN|SamuraiBarbi-[KM]- for helping me test this plugin.
* - AMX Mod X community for awesome support.
* - -={*UGC*}=-$ilent$niper for pointing out the visible spectator bug.
* - Ultimate Gore Enhancement for blood decals.
* - Zenith77 for pointing me to a thread with decal ID's.
*
* Known Bugs:
* - If gib-slaying a player the moment they respawn, their body will not be set invisible.
* - Using the _aim commands may not work on the first try, and repeatedly pressing the button
* which it's bound to will not make it any more efficient.
*
* Changelog:
* - 1.0: Initial release.
* - 1.1: Added control over the amount of gibs and the velocity; Cleaned up code.
* - 1.2: Added control to enable/disable the plugin; Cleaned up code.
* - 1.3: Added control to the life of the gibs and how much blood is created; Revised permissions.
* - 1.4: Code cleanup; Removed logging; Removed useless functions; Removed redundant code.
* - 1.5: Added alien gibs; Change CVAR "m2_gs_gibtype" to "2" for alien gibs; Removed a glitch.
* where spectators would be visible while this plugin was enabled; Extra blood effect for TFC when
* using the human gib-slay type; Removed CVAR "m2_gs_bloodlevel", as it was unnecessary and could
* easily be abused.
* - 1.6: Added ability to gib-slay multiple targets at once; Added immunity control; Added ability
* to change between the custom sound and default sound (only if the custom sound exists, or else the
* default sound will be used no matter what).
* - 1.7: Added a new way to gib-slay by using the new _aim commands to slay the player in one's
* crosshair.
* - 1.8: Added logging again.
*
********************************************* *******/
Screenshots:
[IMG]http://img521.**************/img521/2266/gibslay1se5.th.jpg[/IMG]
[IMG]http://img505.**************/img505/781/gibslay3ta6.th.jpg[/IMG]
[img]http://img412.**************/img412/507/gibslay4jy0.gif[/img]
Attached Thumbnails
Click image for larger version

Name:	gibslay2.JPG
Views:	1257
Size:	77.0 KB
ID:	19097  
Attached Files
File Type: zip m2_gibslay-sound.zip (24.2 KB, 942 views)
File Type: sma Get Plugin or Get Source (m2_gibslay.sma - 2208 views - 15.9 KB)

Last edited by M249-M4A1; 10-16-2007 at 11:43. Reason: Updated to 1.7
M249-M4A1 is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 08-14-2007 , 05:44   Re: Gib-Slay
Reply With Quote #2

Screens?
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-14-2007 , 12:53   Re: Gib-Slay
Reply With Quote #3

Added a few.
M249-M4A1 is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 08-15-2007 , 06:37   Re: Gib-Slay
Reply With Quote #4

Thx!
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-16-2007 , 11:03   Re: Gib-Slay
Reply With Quote #5

Np.
M249-M4A1 is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-16-2007 , 11:04   Re: Gib-Slay
Reply With Quote #6

Add a cvar turning the plugin on / off. Because if someone puts this on there server and it starts lagging them they're going to want it off, and pretty quick.
X-Script is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-16-2007 , 12:14   Re: Gib-Slay
Reply With Quote #7

You could just set the gib count to 0 but I added your feature anyway, sounded like a nice idea.
M249-M4A1 is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-17-2007 , 13:24   Re: Gib-Slay
Reply With Quote #8

* Made some changes that I thought would be nice to have.
M249-M4A1 is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 10-10-2007 , 00:22   Re: Gib-Slay
Reply With Quote #9

OK - Bringing back this old topic. Some of you have asked me on the side if I was ever going to clean up the code. Yes, it was horrendous, so I finally cleaned it up. It went from 14kb to 6kb, and is more efficient than ever.
__________________
M249-M4A1 is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 10-10-2007 , 00:30   Re: Gib-Slay
Reply With Quote #10

OOOOOOOOOOOO!

Turn it into a ATAC punishment too!!

hehe that would be cool

(someone suggested that as a punishment outside of the ones packaged with ATAC 3.0.0)

Edit

lol you suggested this punishment, haha nevermind.
__________________

BigBaller 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 17:44.


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