Garry's Mod

Garry's Mod

289 个评价
HL2 Themed Gibbing
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 风景
内容描述词: 常见成人内容, 频繁出现暴力或血腥
文件大小
发表于
更新日期
22.214 KB
7 月 1 日 上午 10:00
7 月 21 日 下午 1:05
10 项改动说明 ( 查看 )

订阅以下载
HL2 Themed Gibbing

描述
An Update Is Underway! It will majorly improve the mod, I think it might be released some time in October

Current Notices:
You must have keep corpses on for this to work (for now)
Blacklist doesn't save across sessions (also for now)

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
热门讨论 查看全部(1)
13
9 月 29 日 下午 12:33
置顶: Bugs
Bluekrakan but spooky
88 条留言
Balooba5000 10 月 12 日 下午 7:32 
Slamming ragdolls into walls has never been funnier
Ghoul479 10 月 2 日 下午 6:56 
peak mod made by a peak person:steamhappy::steamhappy::steamhappy::steamhappy::steamhappy::steamhappy::steamhappy::steamhappy:
gaming_noob 10 月 2 日 上午 4:06 
does work for zippy gore mod?
Rokenenko 9 月 28 日 下午 5:48 
anyway to replace the gibs?
Bluekrakan but spooky  [作者] 9 月 19 日 下午 1:11 
tbh i don't think i've tried it in other gamemodes
olivegrove 9 月 19 日 上午 8:39 
Does this work outside of sandbox? I've tried a few gamemode's and couldn't get it to happen
Bluekrakan but spooky  [作者] 9 月 16 日 下午 12:00 
no, it uses the default blood enumerations to determine the gib colour. I'm pretty sure stuff like npc bases that are not the default one use a different system and potentially have it set no -1 or no blood so then they can make their own effects. The mod just checks if the blood colour is 0 or red and if it isn't it assumes yellow.
Though there is going to be a way to swap a npc's gib colour that will work similary to the blacklist's system.
Gordon, GORDAN! 9 月 16 日 上午 6:25 
Does the gibbing system read from a list to apply red blood to certain NPCs and uses yellow gibs for the rest? I tested some ZBase NPCs and the recent Age of Chivarly SNPCs and it seems to use yellow gibs for SNPCs outside of the HL2 Humans/Humanoids roster.
Bluekrakan but spooky  [作者] 9 月 7 日 上午 8:26 
not currently, but now that you mention it i'm going to make that an option n the next update
Wisho1926 9 月 7 日 上午 1:27 
Anyway to disable the blood staining the player?