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_helmet.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  1.9 KB  |  58 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_helmet"] = {
  3.     type="helmet",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Hard,
  6. -------------------------------------
  7.     projectile_hit = CommonEffects.common_projectile_hit,
  8.     mortar_hit = CommonEffects.common_mortar_hit,
  9.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  10.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  11.     grenade_hit = CommonEffects.common_grenade_hit,
  12.  
  13.     bullet_hit = {
  14.         sounds = {
  15.             {"Sounds/bullethits/bpipe1.wav",SOUND_UNSCALABLE,200,5,60},
  16.             {"Sounds/bullethits/bpipe2.wav",SOUND_UNSCALABLE,200,5,60},
  17.             {"Sounds/bullethits/bpipe3.wav",SOUND_UNSCALABLE,200,5,60},
  18.             {"Sounds/bullethits/bpipe4.wav",SOUND_UNSCALABLE,200,5,60},
  19.             
  20.         },
  21.         particleEffects = {
  22.             name = "bullet.hit_metal.a",
  23.         },
  24.     },
  25.     pancor_bullet_hit = {
  26.         sounds = {
  27.             {"Sounds/bullethits/bpipe1.wav",SOUND_UNSCALABLE,200,5,60},
  28.             {"Sounds/bullethits/bpipe2.wav",SOUND_UNSCALABLE,200,5,60},
  29.             {"Sounds/bullethits/bpipe3.wav",SOUND_UNSCALABLE,200,5,60},
  30.             {"Sounds/bullethits/bpipe4.wav",SOUND_UNSCALABLE,200,5,60},
  31.             
  32.         },
  33.         particleEffects = {
  34.             name = "bullet.hit_metal_pancor.a",
  35.         },
  36.  
  37.     },
  38.     melee_slash = {
  39.         sounds = {
  40.             {"sounds/weapons/machete/macheteplate2.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  41.             {"sounds/weapons/machete/macheteplate3.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  42.             {"sounds/weapons/machete/macheteplate4.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  43.             {"sounds/weapons/machete/macheteplate5.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  44.              },
  45.         particles = CommonEffects.common_machete_hit_particles.particles,
  46.     },
  47.     gameplay_physic = {
  48.         piercing_resistence = 15,
  49.         friction = 0.75,
  50.         bouncyness= 0.4, --default 0
  51.     },
  52.  
  53.  
  54.     AI = {
  55.         fImpactRadius = 5,
  56.     },
  57.             
  58. }