Core.Object | +--Engine.Actor | +--Engine.Decal | +--Botpack.Scorch | +--Botpack.UTBloodPool
Texture
Splats[5]
simulated
BeginPlay()
00001 class UTBloodPool expands Scorch; 00002 00003 #exec TEXTURE IMPORT NAME=BloodPool6 FILE=TEXTURES\DECALS\BSplat1-S.PCX LODSET=2 00004 #exec TEXTURE IMPORT NAME=BloodPool7 FILE=TEXTURES\DECALS\BSplat5-S.PCX LODSET=2 00005 #exec TEXTURE IMPORT NAME=BloodPool8 FILE=TEXTURES\DECALS\BSplat2-S.PCX LODSET=2 00006 #exec TEXTURE IMPORT NAME=BloodPool9 FILE=TEXTURES\DECALS\Spatter2.PCX LODSET=2 00007 00008 var texture Splats[5]; 00009 00010 simulated function BeginPlay() 00011 { 00012 if ( class'GameInfo'.Default.bLowGore ) 00013 { 00014 destroy(); 00015 return; 00016 } 00017 00018 if ( Level.bDropDetail ) 00019 Texture = splats[2 + Rand(3)]; 00020 else 00021 Texture = splats[Rand(5)];; 00022 } 00023 00024 defaultproperties 00025 { 00026 Splats(0)=Texture'Botpack.BloodPool6' 00027 Splats(1)=Texture'Botpack.BloodPool8' 00028 Splats(2)=Texture'Botpack.BloodPool9' 00029 Splats(3)=Texture'Botpack.BloodPool7' 00030 Splats(4)=Texture'Botpack.BloodSplat4' 00031 Texture=Texture'Botpack.BloodSplat1' 00032 DrawScale=0.750000 00033 }