Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UnrealShare.BloodSplat


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
class BloodSplat expands Scorch;

#exec TEXTURE IMPORT NAME=BloodSplat1 FILE=Textures\Decals\Blood_Splat_1.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat2 FILE=Textures\Decals\Blood_Splat_2.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat3 FILE=Textures\Decals\Blood_Splat_3.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat4 FILE=Textures\Decals\BloodSplat4.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat5 FILE=Textures\Decals\Blood_Splat_5.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat6 FILE=Textures\Decals\BSplat1-S.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat7 FILE=Textures\Decals\BloodSplat1.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat8 FILE=Textures\Decals\Blood_Splat_1.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat9 FILE=Textures\Decals\Spatter1.pcx LODSET=2
#exec TEXTURE IMPORT NAME=BloodSplat10 FILE=Textures\Decals\BloodSplat2.pcx LODSET=2

var texture Splats[10];

simulated function BeginPlay()
{
	if ( class'GameInfo'.Default.bLowGore || (Level.bDropDetail && (FRand() < 0.35)) )
	{
		destroy();
		return;
	}
	if ( Level.bDropDetail )
		Texture = splats[Rand(5)];
	else
		Texture = splats[Rand(10)];
}

defaultproperties
{
				Splats(0)=Texture'UnrealShare.BloodSplat1'
				Splats(1)=Texture'UnrealShare.BloodSplat2'
				Splats(2)=Texture'UnrealShare.BloodSplat3'
				Splats(3)=Texture'UnrealShare.BloodSplat4'
				Splats(4)=Texture'UnrealShare.BloodSplat5'
				Splats(5)=Texture'UnrealShare.BloodSplat6'
				Splats(6)=Texture'UnrealShare.BloodSplat7'
				Splats(7)=Texture'UnrealShare.BloodSplat8'
				Splats(8)=Texture'UnrealShare.BloodSplat9'
				Splats(9)=Texture'UnrealShare.BloodSplat10'
				bImportant=False
				MultiDecalLevel=0
				Texture=Texture'UnrealShare.BloodSplat1'
				DrawScale=0.350000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: zo 11-11-2012 21:10:28.000 - Creation time: zo 11-11-2012 21:14:17.647 - Created with UnCodeX