home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / FCData / Scripts.pak / Scripts / materials / mat_waterfall.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  2.9 KB  |  94 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_waterfall"] = {
  3.     type="waterfall",
  4. -------------------------------------    
  5.     bullet_hit = {
  6.         sounds = {
  7.             {"Sounds/bullethits/bwater1.wav",SOUND_UNSCALABLE,200,5,60},
  8.             {"Sounds/bullethits/bwater2.wav",SOUND_UNSCALABLE,200,5,60},
  9.             {"Sounds/bullethits/bwater3.wav",SOUND_UNSCALABLE,200,5,60},
  10.             {"Sounds/bullethits/bwater4.wav",SOUND_UNSCALABLE,200,5,60},
  11.             
  12.         },
  13.         particles = {
  14.             {--water particles
  15.                 focus = 20,
  16.                 color = {0.29,0.19,0.0},
  17.                 speed = 1.0,
  18.                 count = 3,
  19.                 size = 0.1, 
  20.                 size_speed=0.3,
  21.                 gravity={x=0,y=0,z=-0.5},
  22.                 rotation = {x=0,y=0,z=2},
  23.                 lifetime=0.7,
  24.                 tid = System:LoadTexture("textures\\clouda2.dds"),
  25.                 frames=0,
  26.                 blend_type = 0
  27.             },
  28.             {--water splashes
  29.                 focus =10,
  30.                 speed = 1.5,
  31.                 count = 2,
  32.                 size = 0.05, 
  33.                 size_speed=0.4,
  34.                 rotation = {x=0,y=0,z=0},
  35.                 gravity={x=0,y=0,z=-2},
  36.                 lifetime=0.4,
  37.                 tid = System:LoadTexture("textures\\splash1.dds"),
  38.                 frames=0,
  39.                 blend_type = 0
  40.             },
  41.         },
  42.     },
  43.     melee_slash = {
  44.         sounds = {
  45.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,185,5,30},
  46.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,185,5,30},
  47.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,185,5,30},
  48.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,185,5,30},
  49.         },
  50.     },
  51.  
  52.     player_walk = {
  53.         sounds = {
  54.             {"sounds/player/footsteps/water/step1.wav",SOUND_UNSCALABLE,200,10,60},
  55.             {"sounds/player/footsteps/water/step2.wav",SOUND_UNSCALABLE,200,10,60},
  56.             {"sounds/player/footsteps/water/step3.wav",SOUND_UNSCALABLE,200,10,60},
  57.             {"sounds/player/footsteps/water/step4.wav",SOUND_UNSCALABLE,200,10,60},
  58.         },
  59.     },
  60.     player_run = {
  61.         sounds = {
  62.             {"sounds/player/footsteps/water/step1.wav",SOUND_UNSCALABLE,200,10,60},
  63.             {"sounds/player/footsteps/water/step2.wav",SOUND_UNSCALABLE,200,10,60},
  64.             {"sounds/player/footsteps/water/step3.wav",SOUND_UNSCALABLE,200,10,60},
  65.             {"sounds/player/footsteps/water/step4.wav",SOUND_UNSCALABLE,200,10,60},
  66.         },
  67.     },
  68.     player_crouch = {
  69.         sounds = {
  70.             {"sounds/player/footsteps/water/step1.wav",SOUND_UNSCALABLE,200,10,60},
  71.             {"sounds/player/footsteps/water/step2.wav",SOUND_UNSCALABLE,200,10,60},
  72.             {"sounds/player/footsteps/water/step3.wav",SOUND_UNSCALABLE,200,10,60},
  73.             {"sounds/player/footsteps/water/step4.wav",SOUND_UNSCALABLE,200,10,60},
  74.         },
  75.     },
  76.     player_prone = {
  77.         sounds = {
  78.             {"sounds/player/footsteps/water/step1.wav",SOUND_UNSCALABLE,200,10,60},
  79.             {"sounds/player/footsteps/water/step2.wav",SOUND_UNSCALABLE,200,10,60},
  80.             {"sounds/player/footsteps/water/step3.wav",SOUND_UNSCALABLE,200,10,60},
  81.             {"sounds/player/footsteps/water/step4.wav",SOUND_UNSCALABLE,200,10,60},
  82.         },
  83.     },
  84.     player_walk_inwater = CommonEffects.player_walk_inwater,
  85.     gameplay_physic = {
  86.         piercing_resistence = 15,
  87.         friction = 1,
  88.     },
  89.  
  90.     AI = {
  91.         fImpactRadius = 3,
  92.     },
  93.             
  94. }