home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / KOOB / control / server / misc / weather.cs < prev   
Encoding:
Text File  |  2006-09-24  |  1.5 KB  |  57 lines

  1. datablock AudioProfile(HeavyRainSound)
  2. {
  3.    filename    = "~/data/sound/rain.wav";
  4.    description = AudioLooping2d;
  5. };
  6. datablock AudioProfile(ThunderCrash1Sound)
  7. {
  8.    filename  = "~/data/sound/thunder1.wav";
  9.    description = Audio2d;
  10. };
  11. datablock AudioProfile(ThunderCrash2Sound)
  12. {
  13.    filename  = "~/data/sound/thunder2.wav";
  14.    description = Audio2d;
  15. };
  16. datablock AudioProfile(ThunderCrash3Sound)
  17. {
  18.    filename  = "~/data/sound/thunder3.wav";
  19.    description = Audio2d;
  20. };
  21. datablock AudioProfile(ThunderCrash4Sound)
  22. {
  23.    filename  = "~/data/sound/thunder4.wav";
  24.    description = Audio2d;
  25. };
  26. datablock LightningData(LightningStorm)
  27. {
  28.  
  29.    strikeTextures[0]  = "control/data/maps/lightning1frame1.jpg";
  30.    strikeTextures[1]  = "control/data/maps/lightning1frame2.jpg";
  31.    strikeTextures[2]  = "control/data/maps/lightning1frame3.jpg";thunderSounds[0] = ThunderCrash1Sound;
  32.    thunderSounds[1] = ThunderCrash2Sound;
  33.    thunderSounds[2] = ThunderCrash3Sound;
  34.    thunderSounds[3] = ThunderCrash4Sound;
  35. };
  36. datablock PrecipitationData(HeavyRain)
  37. {
  38.    dropTexture = "~/data/maps/mist";
  39.    splashTexture = "~/data/maps/water_splash";
  40.    soundProfile = "HeavyRainSound";
  41.    dropSize = 10;
  42.    splashSize = 0.25;
  43.    splashMS = 250;
  44.    useTrueBillboards = true;
  45. };
  46.  
  47. datablock PrecipitationData(MediumRain)
  48. {
  49.    dropTexture = "~/data/maps/rain";
  50.    splashTexture = "~/data/maps/mist";
  51.    soundProfile = "HeavyRainSound";
  52.    dropSize = 0.75;
  53.    splashSize = 0.25;
  54.    splashMS = 250;
  55.    useTrueBillboards = true;
  56. };
  57.