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

UnrealI.TarZone


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
class TarZone extends ZoneInfo;

#exec AUDIO IMPORT FILE="..\UnrealShare\Sounds\Generic\GoopE1.wav" NAME="LavaEx" GROUP="Generic"
#exec AUDIO IMPORT FILE="..\UnrealShare\Sounds\Generic\GoopJ1.wav" NAME="LavaEn" GROUP="Generic"
//#exec AUDIO IMPORT FILE="Sounds\Generic\uGoop1.wav" NAME="InGoop" GROUP="Generic"
//	 AmbientSound=InGoop

// When an actor enters this zone.
event ActorEntered( actor Other )
{
	Super.ActorEntered(Other);
	if ( Other.IsA('Pawn') && Pawn(Other).bIsPlayer )
		Pawn(Other).WaterSpeed *= 0.1;
}

// When an actor leaves this zone.
event ActorLeaving( actor Other )
{
	Super.ActorLeaving(Other);
	if ( Other.IsA('Pawn') && Pawn(Other).bIsPlayer )
		Pawn(Other).WaterSpeed *= 10;
}

defaultproperties
{
				ZoneFluidFriction=4.000000
				ZoneTerminalVelocity=250.000000
				EntrySound=Sound'UnrealShare.Generic.LavaEn'
				ExitSound=Sound'UnrealShare.Generic.LavaEx'
				bWaterZone=True
				ViewFlash=(X=-0.390000,Y=-0.390000,Z=-0.390000)
				ViewFog=(X=0.312500,Y=0.312500,Z=0.234375)
				EFXAmbients=REVERB_PRESET_SMALLWATERROOM
}

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