Left 4 Dead 2

Left 4 Dead 2

785 ratings
[V-Script] Bloody Guns And Items Framework
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
5.378 KB
Oct 12 @ 7:40pm
1 Change Note ( view )

Subscribe to download
[V-Script] Bloody Guns And Items Framework

Description
You can find the vanilla textures with support for this mod here.

Allows all guns and items, except the chainsaw, to get covered in blood. HEAVILY based on Bloody Chainsaw Framework. If you want the chainsaw to also get covered in blood, go download that mod.

Any time you do damage to/take damage from the infected, AND are at least 200 HU close to them, the blood texture will get more visible. Max range can be changed in the settings.

This mod doesn't do anything by itself
To actually make items support this mod, you need to add the following to that item's material:

"$detail" "models/infected/hunter/hunter_01_detail.vtf" "$detailscale" "1.75" "$detailblendfactor" .001 "$detailblendmode" 0 "$detailAmount" "0" "Proxies" { "BloodyHands" { "resultVar" "$detailAmount" } "Equals" { "srcVar1" "$detailAmount" "resultVar" "$detailblendfactor" } }

What does this work with?
It should work with reskins, reanimations and custom models as long as those mods don't edit the materials for the gun.

Settings can be changed in ems/bloody_guns_framework/Settings.cfg

Known issues:
- Blood sometiemes applies to a completely unrelated player
- Fire damage sometimes prints errors in the console
Popular Discussions View All (1)
1
Oct 21 @ 11:14am
c
Zamin?
111 Comments
drippin jimmy 15 hours ago 
what vmt file do I even add the code lines to?? the master pak.dir doesn't let me change the materials. how tf does this work
El Pablo | ʞuƎ Nov 28 @ 6:36pm 
:steambored:
Conde Anatolius Nov 28 @ 2:49pm 
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Mehmet Nov 26 @ 8:39am 
XAXAXAXAXAXAXAXAXAXAXAXAXAXAXAXAXXAXAXAXAXAXAXAXA
PE_Yosh Nov 25 @ 4:07pm 
Hi, could you make it so this weapon doesn't have that modification that alters the magazine and ammunition? Also, if you can adapt it for the AK47, please. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3392079189
HazyAPI Nov 22 @ 9:33am 
Only items in first-person view or dropped items have a blood effect; items held in third-person view do not show a blood effect.
Enzo the Catto Nov 20 @ 4:13am 
"$detail" "models/infected/hunter/hunter_01_detail.vtf"

"$detailscale" "1.75"
"$detailblendfactor" .001
"$detailblendmode" 0
"$detailAmount" "0"

"Proxies"
{
"BloodyHands"
{
"resultVar" "$detailAmount"
}

"Equals"
{
"srcVar1" "$detailAmount"
"resultVar" "$detailblendfactor"
}
}

where I need to put this line in the file?
WIPI Nov 16 @ 12:58am 
топ:steamthumbsup:
Pepsi Nov 15 @ 2:56am 
likeee:steamthumbsup:
R̷obin G̳reen ♕ Nov 13 @ 8:05am 
This is going into my favorites.
full bill voice-over for any fans:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3453754982