Core.Object | +--Engine.Actor | +--Engine.Info | +--Engine.ZoneInfo | +--UnrealI.TarZone
00001 class TarZone extends ZoneInfo; 00002 00003 #exec AUDIO IMPORT FILE="..\UnrealShare\Sounds\Generic\GoopE1.WAV" NAME="LavaEx" GROUP="Generic" 00004 #exec AUDIO IMPORT FILE="..\UnrealShare\Sounds\Generic\GoopJ1.WAV" NAME="LavaEn" GROUP="Generic" 00005 //#exec AUDIO IMPORT FILE="Sounds\Generic\uGoop1.WAV" NAME="InGoop" GROUP="Generic" 00006 // AmbientSound=InGoop 00007 00008 // When an actor enters this zone. 00009 event ActorEntered( actor Other ) 00010 { 00011 Super.ActorEntered(Other); 00012 if ( Other.IsA('Pawn') && Pawn(Other).bIsPlayer ) 00013 Pawn(Other).WaterSpeed *= 0.1; 00014 } 00015 00016 // When an actor leaves this zone. 00017 event ActorLeaving( actor Other ) 00018 { 00019 Super.ActorLeaving(Other); 00020 if ( Other.IsA('Pawn') && Pawn(Other).bIsPlayer ) 00021 Pawn(Other).WaterSpeed *= 10; 00022 } 00023 00024 defaultproperties 00025 { 00026 ZoneFluidFriction=4.000000 00027 ZoneTerminalVelocity=250.000000 00028 EntrySound=Sound'UnrealShare.Generic.LavaEn' 00029 ExitSound=Sound'UnrealShare.Generic.LavaEx' 00030 bWaterZone=True 00031 ViewFlash=(X=-0.390000,Y=-0.390000,Z=-0.390000) 00032 ViewFog=(X=0.312500,Y=0.312500,Z=0.234375) 00033 }