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

UnrealShare.TentacleMark


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
//=============================================================================
// Decal support for Unreal by Smirftsch. Partially ported from UT
// TentacleMark added for a TentacleMark decal
// usage:
// if the class uses the explode function (such as Rockets, Dispersionammo)
// add in the selected class
// ExplosionDecal=class'Unrealshare.TentacleMark' into the default properties
// otherwise (Grenades) put in function BlowUp(vector HitLocation)
// if ( Level.NetMode != NM_DedicatedServer )
//		Spawn(class'TentacleMark',,,Location, rotator(HitNormal));
//=============================================================================


class TentacleMark expands Scorch;

#exec TEXTURE IMPORT NAME=TentacleProj FILE=Textures\Decals\TentacleProj.pcx LODSET=2
#exec TEXTURE IMPORT NAME=TentacleProj2 FILE=Textures\Decals\TentacleProj2.pcx LODSET=2
#exec TEXTURE IMPORT NAME=TentacleProj3 FILE=Textures\Decals\TentacleProj3.pcx LODSET=2

simulated function BeginPlay()
{
	local float f;
	f = FRand();

	if (f<0.33)			Texture = texture'Unrealshare.TentacleProj';
	else if (f<0.66)	Texture = texture'Unrealshare.TentacleProj2';
	else				Texture = texture'Unrealshare.TentacleProj3';
}

defaultproperties
{
				Texture=Texture'UnrealShare.TentacleProj'
				DrawScale=0.300000
}

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:20.569 - Created with UnCodeX