29 lines
731 B
Ucode
29 lines
731 B
Ucode
//2.5 BloodSplatter Decal ✓
|
|
class BloodSplatterOS extends ProjectedDecal;
|
|
|
|
//Usage:
|
|
//Blood Decals for when zed corpse impacts the floor
|
|
#exec OBJ LOAD FILE=KFOldSchool_XEffects.utx
|
|
#exec OBJ LOAD File=KFOldSchoolZeds_Textures.utx
|
|
|
|
var texture Splats[3];
|
|
|
|
simulated function PostBeginPlay()
|
|
{
|
|
ProjTexture = splats[Rand(3)];
|
|
|
|
super.PostBeginPlay();
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
Splats(0)=Texture'KFOldSchool_XEffects.BloodSplat1'
|
|
Splats(1)=Texture'KFOldSchool_XEffects.BloodSplat2'
|
|
Splats(2)=Texture'KFOldSchool_XEffects.BloodSplat3'
|
|
ProjTexture=Texture'KFOldSchool_XEffects.BloodSplat1'
|
|
FOV=6
|
|
bClipStaticMesh=True
|
|
CullDistance=7000.000000
|
|
LifeSpan=5.000000
|
|
}
|