home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
WaterVolume.uc
< prev
next >
Wrap
Text File
|
2004-03-09
|
778b
|
29 lines
class WaterVolume extends PhysicsVolume;
var string EntrySoundName, ExitSoundName, EntryActorName;
function PostBeginPlay()
{
Super.PostBeginPlay();
if ( EntrySoundName != "" )
EntrySound = Sound(DynamicLoadObject(EntrySoundName,class'Sound'));
if ( ExitSoundName != "" )
ExitSound = Sound(DynamicLoadObject(ExitSoundName,class'Sound'));
if ( EntryActorName != "" )
EntryActor = class<Actor>(DynamicLoadObject(EntryActorName,class'Class'));
}
defaultproperties
{
// Removed by Demiurge (Runtime)
bWaterVolume=True
FluidFriction=+00002.400000
LocationName="under water"
bDistanceFog=true
DistanceFogColor=(R=32,G=64,B=128,A=64)
DistanceFogStart=+8.0
DistanceFogEnd=+2000.0
KExtraLinearDamping=0.8
KExtraAngularDamping=0.1
}