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_rubber.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  3.0 KB  |  92 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2.  
  3. Materials["mat_rubber"] = {
  4.     type="rubber",
  5. -------------------------------------    
  6.     PhysicsSounds=PhysicsSoundsTable.Soft,
  7. -------------------------------------    
  8.     bullet_hit = {
  9.         sounds = {
  10.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  11.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  12.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  13.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  14.             
  15.         },
  16.         particleEffects = {
  17.             name = "bullet.hit_default.a",
  18.         },
  19.     },
  20.     pancor_bullet_hit = {
  21.         sounds = {
  22.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  23.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  24.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  25.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  26.             
  27.         },
  28.         particleEffects = {
  29.             name = "bullet.hit_default.a",
  30.         },
  31.     },
  32.     melee_slash = {
  33.         sounds = {
  34.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  35.         },
  36.         particleEffects = {
  37.             name = "bullet.hit_default.a",
  38.         },
  39.     },
  40.  
  41.     projectile_hit = CommonEffects.common_projectile_hit,
  42.     mortar_hit = CommonEffects.common_mortar_hit,
  43.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  44.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  45.     grenade_hit = CommonEffects.common_grenade_hit,
  46.  
  47. -------------------------------------
  48.     player_walk = {
  49.         sounds = {
  50.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,140,10,100},
  51.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,140,10,100},
  52.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,140,10,100},
  53.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,140,10,100},
  54.         },
  55.     },
  56.     player_run = {
  57.         sounds = {
  58.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,100},
  59.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,100},
  60.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,100},
  61.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,100},
  62.         },
  63.     },
  64.     player_crouch = {
  65.         sounds = {
  66.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,100},
  67.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,100},
  68.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,100},
  69.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,100},
  70.         },
  71.     },
  72.     player_prone = {
  73.         sounds = {
  74.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,100},
  75.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,100},
  76.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,100},
  77.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,100},
  78.         },
  79.     },
  80.     player_walk_inwater = CommonEffects.player_walk_inwater,
  81.     
  82.     gameplay_physic = {
  83.         piercing_resistence = 15,
  84.         bouncyness=0.4, -- default 0.1
  85.         friction = 1.5,
  86.     },
  87.  
  88.     AI = {
  89.         fImpactRadius = 5,
  90.     },
  91.             
  92. }