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_leaves.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  3.8 KB  |  118 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. --#Script:ReloadScript("scripts/materials/mat_leaves.lua")
  3. Materials["mat_leaves"] = {
  4.  
  5.     type = "mat_leaves",
  6.  
  7. -------------------------------------    
  8.     PhysicsSounds=PhysicsSoundsTable.Soft,
  9. -------------------------------------
  10.     bullet_hit = {
  11.         sounds = {
  12.             {"Sounds/Bullethits/bleaves1.wav",SOUND_UNSCALABLE,200,5,60},
  13.             {"Sounds/Bullethits/bleaves2.wav",SOUND_UNSCALABLE,200,5,60},
  14.             {"Sounds/Bullethits/bleaves3.wav",SOUND_UNSCALABLE,200,5,60},
  15.             {"Sounds/Bullethits/bleaves4.wav",SOUND_UNSCALABLE,200,5,60},
  16.             
  17.         },
  18.         particleEffects = {
  19.             name = "bullet.hit_leaf.a",
  20.         },
  21.         
  22.     },
  23.  
  24.     pancor_bullet_hit = {
  25.         sounds = {
  26.             {"Sounds/Bullethits/bleaves1.wav",SOUND_UNSCALABLE,200,5,60},
  27.             {"Sounds/Bullethits/bleaves2.wav",SOUND_UNSCALABLE,200,5,60},
  28.             {"Sounds/Bullethits/bleaves3.wav",SOUND_UNSCALABLE,200,5,60},
  29.             {"Sounds/Bullethits/bleaves4.wav",SOUND_UNSCALABLE,200,5,60},
  30.             
  31.         },
  32.         particleEffects = {
  33.             name = "bullet.hit_leaf.a",
  34.         },
  35.         
  36.     },
  37.  
  38.  
  39.     --projectile_hit = CommonEffects.common_projectile_hit,
  40.     mortar_hit = CommonEffects.common_mortar_hit,
  41.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  42.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  43.     grenade_hit = CommonEffects.common_grenade_hit,
  44.     melee_slash = {
  45.         sounds = {
  46.             {"Sounds/Bullethits/bleaves1.wav",SOUND_UNSCALABLE,200,5,60},
  47.             {"Sounds/Bullethits/bleaves2.wav",SOUND_UNSCALABLE,200,5,60},
  48.             {"Sounds/Bullethits/bleaves3.wav",SOUND_UNSCALABLE,200,5,60},
  49.             {"Sounds/Bullethits/bleaves4.wav",SOUND_UNSCALABLE,200,5,60},
  50.             
  51.         },
  52.         particleEffects = {
  53.             name = "bullet.hit_leaf.a",
  54.         },
  55.     },
  56. -------------------------------------
  57.     player_walk_by = {
  58.         sounds = {
  59.             {"sounds/player/footsteps/leaves/step1.wav",SOUND_UNSCALABLE,140,10,60},
  60.             {"sounds/player/footsteps/leaves/step2.wav",SOUND_UNSCALABLE,140,10,60},
  61.             {"sounds/player/footsteps/leaves/step3.wav",SOUND_UNSCALABLE,140,10,60},
  62.             {"sounds/player/footsteps/leaves/step4.wav",SOUND_UNSCALABLE,140,10,60},
  63.         },
  64.     },
  65.  
  66.     player_walk = {
  67.         sounds = {
  68.             {"sounds/player/footsteps/leaves/step1.wav",SOUND_UNSCALABLE,140,10,60},
  69.             {"sounds/player/footsteps/leaves/step2.wav",SOUND_UNSCALABLE,140,10,60},
  70.             {"sounds/player/footsteps/leaves/step3.wav",SOUND_UNSCALABLE,140,10,60},
  71.             {"sounds/player/footsteps/leaves/step4.wav",SOUND_UNSCALABLE,140,10,60},
  72.         },
  73.     },
  74.     player_run = {
  75.         sounds = {
  76.             {"sounds/player/footsteps/leaves/step1.wav",SOUND_UNSCALABLE,200,10,60},
  77.             {"sounds/player/footsteps/leaves/step2.wav",SOUND_UNSCALABLE,200,10,60},
  78.             {"sounds/player/footsteps/leaves/step3.wav",SOUND_UNSCALABLE,200,10,60},
  79.             {"sounds/player/footsteps/leaves/step4.wav",SOUND_UNSCALABLE,200,10,60},
  80.         },
  81.     },
  82.     player_crouch = {
  83.         sounds = {
  84.             {"sounds/player/footsteps/leaves/step1.wav",SOUND_UNSCALABLE,120,10,60},
  85.             {"sounds/player/footsteps/leaves/step2.wav",SOUND_UNSCALABLE,120,10,60},
  86.             {"sounds/player/footsteps/leaves/step3.wav",SOUND_UNSCALABLE,120,10,60},
  87.             {"sounds/player/footsteps/leaves/step4.wav",SOUND_UNSCALABLE,120,10,60},
  88.         },
  89.     },
  90.     player_prone = {
  91.         sounds = {
  92.             {"sounds/player/footsteps/leaves/step1.wav",SOUND_UNSCALABLE,120,10,60},
  93.             {"sounds/player/footsteps/leaves/step2.wav",SOUND_UNSCALABLE,120,10,60},
  94.             {"sounds/player/footsteps/leaves/step3.wav",SOUND_UNSCALABLE,120,10,60},
  95.             {"sounds/player/footsteps/leaves/step4.wav",SOUND_UNSCALABLE,120,10,60},
  96.         },
  97.     },
  98.     player_walk_inwater = CommonEffects.player_walk_inwater,
  99.     
  100.     player_drop = {
  101.         sounds = {
  102.             {"sounds/player/bodyfalls/bodyfallgrass1.wav",SOUND_UNSCALABLE,210,10,150},
  103.             {"sounds/player/bodyfalls/bodyfallgrass2.wav",SOUND_UNSCALABLE,210,10,150},
  104.         },
  105.  
  106.     },
  107.     gameplay_physic = {
  108.         piercing_resistence = 2,
  109.         friction = 0.5,
  110.         bouncyness= 0, --default 0
  111.         no_collide=1,
  112.     },
  113.  
  114.     AI = {
  115.         fImpactRadius = 5,
  116.     },
  117.             
  118. }