Hi,
I've searched the forums and not found much help on this. I'm creating a bleeding mod. Once a player is injured their health will gradually drop until they go to a medic to be healed. I have this all working fine.
What I would like to have is as the player loses health they leave a trail of blood behind them.
I figured I ought to be able to do that by using the blood decals. However I'm not sure how. Can anyone help me with this?
Help with Decals
Moderator: Moderators
Help with Decals
[VS-UK]Capt.Parts[BnHQ]
I've made some progress on this. I've created a TIK file that looks as follows:
I've created a shader as follwos:
I've placed these plus the tga in a pk3 and distributed to the server and the client.
Works fine for me but other players on the server just see white blobs rather than the blood texture. Anyone know why this could be?
They have the file, they have static decals turned on and compression off.
Code: Select all
TIKI
setup
{
scale 0.75
path models/fx/splinter
skelmodel splinter.skd
surface material1 shader blood_bled
}
animations
{
idle splinter.skc
}Code: Select all
blood_bled
{
polygonOffset
{
map textures/effects/blood_splat.tga
blendFunc blend
rgbGen vertex
alphaGen vertex
}
}Works fine for me but other players on the server just see white blobs rather than the blood texture. Anyone know why this could be?
They have the file, they have static decals turned on and compression off.
[VS-UK]Capt.Parts[BnHQ]
