Garry's Mod

Garry's Mod

223 betyg
HL2 Themed Gibbing
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic
Innehållsbeskrivningar: Diverse innehåll med vuxet tema, Mycket våld eller blod
Filstorlek
Lades upp
Uppdaterades
22.214 KB
1 jul @ 10:00
21 jul @ 13:05
10 ändringsnotiser ( visa )

Abonnera för att ladda ner
HL2 Themed Gibbing

Beskrivning
You must have keep corpses on for this to work

Blacklist doesn't save across sessions for some reason rn, so until I can find a solution you'll have to live with it.

This basically allows death ragdolls spawned from things to be gibbed like seen in Half-Life 1, but instead with Half-Life 2 theming. Gibs will change colour and size depending on the ragdoll/NPC. Blood splats will be applied to nearby surfaces with the range depending on the size of the ragdoll.
Also if you want player ragdolls to be gibbable I would recommend either Ragdoll Death V2.0 or Super Simple Serverside Ragdolls .
Oh yea ragdolls also have to be serverside so have keep corpses on.

A mod that goes well with this is gibs replacement.

If you do get an error or you believe something isn't working the way it's supposed to, comment about it with the error you got and/or the way that it happened. If you just say "Doesn't work" or "It's broken" I can't do anything about it.

Console Variables:
hl2gibbing_enabled, default: 1, Turn the addon on or off. hl2gibbing_health_mult, default: 2, The health multiplier for health types 1 to 3. hl2gibbing_health_type, default: 1, What should ragdoll health be based on? 1 = Entity max health; 2 = Volume (Divided by 16 to not be too large with an increasing health trend for health values); 3 = Cubed volume (Multiplied by 4 to not be too low and has a more linear health trend for health values); 4 = Fixed amount for each ragdoll (This value can be changed with the hl2gibbing_fixed_health ConVar). hl2gibbing_fixed_health, default: 100, This is the fixed amount of health for ragdolls if hl2gibbing_health_type is set to 4. hl2gibbing_dmg_reset_delay, default: 1, The amount of time in seconds it takes for damage done to a ragdoll to be reset as the mod basically uses a damage threshold system, and if you don't want a threshold system then just make this number higher. hl2gibbing_max_gibs, default: 64, Just the highest amount of gibs permitted on the map at once until the oldest ones start getting removed. hl2gibbing_despawn_time, default: 15, How long will it take in seconds for gibs to be despawned automatically. hl2gibbing_min_health, default: 40, The minimum amount of health a ragdoll can have if the ConVar hl2gibbing_health_type is set to 1, 2, or 3. hl2gibbing_gib_spawnrate, default: 16, How many gibs are spawned? This will also change the sizing of them so you can have one big strider chunk I guess. hl2gibbing_sandbox_health, default: 100, The health that player spawned ragdolls have. hl2gibbing_explosions_only, default: 0, If ragdolls can only be gibbed by explosive damage. hl2gibbing_burn_duration, default 4, How long flaming gibs burn for. hl2gibbing_blood_frequency, default 0.1, The delay between gibs producing blood effects. hl2gibbing_fresh_time, default 3, How long gibs actually make blood particles for. hl2gibbing_blacklist, default: I ain't writing that, You probabaly shouldn't change this unless you wanna write the whole table manually. If you do change it and want to revert it type into the console "hl2gibbing_reset hl2gibbing_blacklist".

Console Commands:
hl2gibbing_reset [ConVar], Type in the ConVar you want to reset the value for, also works on the blacklist. hl2gibbing_reset_all, Resets all console variables. hl2gibbing_clear_gibs, Cleans up all gibs from the map. hl2gibbing_blacklist_print, Prints the model and NPC blacklist to the console. hl2gibbing_blacklist_add [Path to model or NPC class], Add an NPC or model to the blacklist. hl2gibbing_blacklist_remove [Entry on blacklist], Remove an entry from the blacklist.

Kinda Credits:
Coding n' stuff - me
Assets - Valve
And thanks to the GMod Wiki[wiki.facepunch.com] for having a list of all hooks, functions, and libraries I can use and also to StrawWagen's Advanced Material Tool Reborn for allowing me to test the non-shiny Lua created flesh texture and how other textures look on the fly.

This mod basically came from an idea I had on a mod that makes stuff gib like in HL1 but stylized for HL2, so I looked for one and to no avail. I then decided I would make it myself so when I got better at programming in Lua I did so and here we are now.

Version 4.0

Tags because there are things it relates to that havn't been mentioned: gore vanilla GMod
Populära diskussioner Visa alla (1)
6
20 jul @ 8:09
KLISTRAD: Bugs
Bluekrakan
75 kommentarer
Brave Yet Dumb 10 aug @ 11:57 
Human NPCs started to blow up into yellow gibs today for some reason
Bluekrakan  [skapare] 7 aug @ 7:27 
k good, so it's just something with how SNPCs are made
killermonkey75 7 aug @ 7:18 
not from what I can see.
Bluekrakan  [skapare] 7 aug @ 6:06 
i've also wondered, is this happening with the base HL2 humans?
killermonkey75 7 aug @ 5:56 
honestly that's better than humans making yellow blood, plus they canonically have grey blood so even yellow isn't really accurate.
Bluekrakan  [skapare] 7 aug @ 4:57 
i guess, but stuff like striders and hunters are set to no blood aswell so they would make red gibs
killermonkey75 7 aug @ 4:06 
oh. maybe you could make it check if the variable is (whatever yellow blood is) and anything else uses red?
Bluekrakan  [skapare] 6 aug @ 7:35 
@killermonkey75 i think i know what causes VJ npcs to make alien gibs, is they probably have their blood colour set to -1 ( aka no blood ), and all the mod does is check whether or not the variable is 0 ( red blood ), so anything that doesn't have red blood will make yellow gibs
killermonkey75 6 aug @ 7:21 
maybe you could add a setting to turn off yellow gibs as a whole, just for people like me who use more human npcs than aliens.