Gib Death 2.1

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Gib Death 2.1

Post by greenie »

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.

plugin
Post Reply

Return to “Fun Stuff”