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

UnrealShare.BioMark


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
//=============================================================================
// Decal support for Unreal by Smirftsch. Partially ported from UT
// BioMark added for a small biogel decal when using GESBioRifle.
// usage: add in the selected class
// in simulated function HitWall
// if ( Level.NetMode != NM_DedicatedServer )
//		spawn(class'BioMark',,,Location, rotator(SurfaceNormal));
//=============================================================================

class BioMark expands Scorch;

#exec TEXTURE IMPORT NAME=biosplat FILE=Textures\Decals\goo_splat_s.pcx LODSET=2
#exec TEXTURE IMPORT NAME=biosplat2 FILE=Textures\Decals\goo_splat2_s.pcx LODSET=2

simulated function BeginPlay()
{
	if ( !Level.bDropDetail && (FRand() < 0.5) )
		Texture = texture'Unrealshare.biosplat2';
	Super.BeginPlay();
}

defaultproperties
{
				MultiDecalLevel=2
				Texture=Texture'UnrealShare.biosplat'
				DrawScale=0.650000
}

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.584 - Created with UnCodeX