home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Gameplay / Classes / WaterVolume.uc < prev    next >
Text File  |  2004-03-09  |  778b  |  29 lines

  1. class WaterVolume extends PhysicsVolume;
  2.  
  3. var string EntrySoundName, ExitSoundName, EntryActorName;
  4.  
  5. function PostBeginPlay()
  6. {
  7.     Super.PostBeginPlay();
  8.  
  9.     if ( EntrySoundName != "" )
  10.         EntrySound = Sound(DynamicLoadObject(EntrySoundName,class'Sound'));
  11.     if ( ExitSoundName != "" )
  12.         ExitSound = Sound(DynamicLoadObject(ExitSoundName,class'Sound'));
  13.     if ( EntryActorName != "" )
  14.         EntryActor = class<Actor>(DynamicLoadObject(EntryActorName,class'Class'));    
  15. }
  16.  
  17. defaultproperties
  18. {
  19.     // Removed by Demiurge (Runtime)
  20.     bWaterVolume=True
  21.     FluidFriction=+00002.400000
  22.     LocationName="under water"
  23.     bDistanceFog=true
  24.     DistanceFogColor=(R=32,G=64,B=128,A=64)
  25.     DistanceFogStart=+8.0
  26.     DistanceFogEnd=+2000.0
  27.     KExtraLinearDamping=0.8
  28.     KExtraAngularDamping=0.1
  29. }