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

UPak.SpinnerAcid


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
//=============================================================================
// Decal support for Unreal by Smirftsch. Partially ported from UT
// SpinnerAcid added for a SpinnerAcid decal
// if ( Level.NetMode != NM_DedicatedServer )
//		Spawn(class'SpinnerAcid',,,Location, rotator(HitNormal));
//=============================================================================
class SpinnerAcid expands EnergyImpact;

#exec TEXTURE IMPORT NAME=SpinnerAcid00 FILE=Textures\Decals\SpinnerAcid00.bmp LODSET=4
#exec TEXTURE IMPORT NAME=SpinnerAcid01 FILE=Textures\Decals\SpinnerAcid01.bmp LODSET=4
#exec TEXTURE IMPORT NAME=SpinnerAcid02 FILE=Textures\Decals\SpinnerAcid02.bmp LODSET=4
#exec TEXTURE IMPORT NAME=SpinnerAcid03 FILE=Textures\Decals\SpinnerAcid03.bmp LODSET=4
#exec TEXTURE IMPORT NAME=SpinnerAcid04 FILE=Textures\Decals\SpinnerAcid04.bmp LODSET=4
#exec TEXTURE IMPORT NAME=SpinnerAcid05 FILE=Textures\Decals\SpinnerAcid05.bmp LODSET=4
var int i;
var() texture DecalAnim[6];

function Timer()
{
	Texture = DecalAnim[i];
	i++;
	if (i<=5)
		SetTimer(1.0,false);
}

defaultproperties
{
				DecalAnim(0)=Texture'UPak.SpinnerAcid00'
				DecalAnim(1)=Texture'UPak.SpinnerAcid01'
				DecalAnim(2)=Texture'UPak.SpinnerAcid02'
				DecalAnim(3)=Texture'UPak.SpinnerAcid03'
				DecalAnim(4)=Texture'UPak.SpinnerAcid04'
				DecalAnim(5)=Texture'UPak.SpinnerAcid05'
				bImportant=False
				MultiDecalLevel=0
				Texture=Texture'UPak.SpinnerAcid00'
				DrawScale=0.100000
}

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