AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Gib Death 2.1 (https://forums.alliedmods.net/showthread.php?t=107215)

<VeCo> 10-24-2009 08:15

Gib Death 2.1
 
5 Attachment(s)
●●● Gib Death 2.1
●●● Author: <VeCo>
●●● Category: Fun Stuff
●●● Video (old): here


●● Description:

When someone dies he transforms into gibs (like func_breakable).

●● CVARs:
●●● gib_type "abcdefghijklm"
●●● Allowed types of gib models (chosen by random):
a - flesh
b - glass
c - wood
d - metal
e - cinder block
f - ceiling tile
g - computer parts
h - rocks
i - books
j - garbage
k - bones
l - plant
m - web
●●● Note: Diplicate letters *might* increase chance.
●●● Note: Changing values will take effect on the beginning of the next round.

●●● gib_spread 10
●●● Spread of the gibs.
●●● gib_count 8
●●● Number of gibs.
●●● gib_life 30
●●● Duration of the gibs (10 ~ 1 second).
●●● Note: Value is passed as a byte, so the maximum allowed number is 255 (~25 seconds).

●● Changes Log:
●●● 1.0
●●● First release!
●●● 1.1
●●● Optimization.
●●● 1.2
●●● Fixed bug with spectators.
●●● Fixed bug with some materials.
●●● Plugin needs fun module.
●●● Added 2 new materials.

●●● 1.3
●●● Fixed part of code for removing dead bodies.
●●● Plugin doesn't need engine module.
●●● Added new material.

●●● 1.4
●●● Changed ResetHUD to Ham_Spawn.
●●● Plugin needs hamsandwich module.
●●● Removed fun module.

●●● 1.5
●●● Optimization.
●●● Added new material.

●●● 1.6
●●● Added CVAR for changing spread of gib models.
●●● Optimization.
●●● Added new material.

●●● 1.7
●●● Fixed various bugs.
●●● Plugin doesn't need fakemeta module.
●●● Plugin needs engine and fun modules.

●●● 2.0
●●● Rewritten code.
●●● Added better method for hiding dead bodies.
●●● CVAR "gib_type" now uses flags, allowing users to enable/disable gibs by their own choice.
●●● Added "gib_count" and "gib_life" CVARs.
●●● Removed usage of fun module.
●●● Tweaked gib velocity values a bit.

●●● 2.1
●●● Added "Zombie Plague" support (gib effects apply only to zombies).
●● Requirements:
●●● Modules:
●●● Engine
●●● Hamsandwich
●● Notes:
●●● To enable "Zombie Plague" support:
PHP Code:

//#define USE_ZP // uncomment this line to use Zombie Plague mode (gib effects apply only to zombies) 

●● Credits:
●●● IMBA
●●● For removing dead bodies code.
●●● hateYou
●●● For the optimization (version 1.1).
●●● alan_el_more
●●● For better spawn hook method, using Ham_Spawn instead of ResetHUD (version 1.4).
●●● Nextra
●●● For the optimization (version 1.5/1.6).
●●● Arkshine
●●● For fixing bugs (version 1.7).
●●● For the HLSDK material constants.
●● Want to help supporting this plugin?:
●●● Post your suggestions, reports and improvements.

alan_el_more 10-24-2009 08:26

Re: Gib Death 1.3
 
Don't use ResetHUD, use Ham_Spawn

<VeCo> 10-24-2009 09:10

Re: Gib Death 1.3
 
Quote:

Originally Posted by alan_el_more (Post 970657)
Don't use ResetHUD, use Ham_Spawn

done!

lazarev 10-24-2009 09:37

Re: Gib Death 1.4
 
lol nice :)

KadiR 10-24-2009 10:04

Re: Gib Death 1.4
 
hahahaha nice :)

dark_style 10-24-2009 12:39

Re: Gib Death 1.4
 
Hehe good! :)

dark_style 10-24-2009 12:41

Re: Gib Death 1.4
 
Hehe good!

DarkSkif 10-24-2009 13:04

Re: Gib Death 1.4
 
Nice plugin,big thk

Alucard^ 10-24-2009 20:13

Re: Gib Death 1.4
 
Original idea, ye... I like it.

#8 SickneSS 10-24-2009 21:23

Re: Gib Death 1.4
 
Nice


All times are GMT -4. The time now is 13:17.

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