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

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_bullseye"] = {
  3.     type="bullseye",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Soft,
  6. -------------------------------------
  7.     bullet_hit = {
  8.         sounds = {
  9.             --{"Sounds/bullethits/headbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  10.             --{"Sounds/bullethits/headbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  11.             --{"Sounds/bullethits/headbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  12.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  13.             --{"Sounds/explosions/explosion2.wav",SOUND_UNSCALABLE,200,10,80},
  14.         },
  15.         
  16.         particleEffects = {
  17.             name = "bullet.hit_bullseye.a",
  18.         },
  19.     },
  20.  
  21.     pancor_bullet_hit = {
  22.         sounds = {
  23.             --{"Sounds/bullethits/headbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  24.             --{"Sounds/bullethits/headbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  25.             --{"Sounds/bullethits/headbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  26.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  27.             --{"Sounds/explosions/explosion2.wav",SOUND_UNSCALABLE,200,10,80},
  28.         },
  29.         
  30.         particleEffects = {
  31.             name = "bullet.hit_bullseye_pancor.a",
  32.         },
  33.     },
  34.  
  35.     shocker_hit = {
  36.         particleEffects = {
  37.             name = "bullet.hit_bullseye.a",
  38.         },
  39.     },    
  40.     
  41.     
  42.         -------------------------
  43.     melee_punch = {
  44.         sounds = {
  45.             {"sounds/objectimpact/hit1.wav",SOUND_UNSCALABLE,255,5,30},
  46.             {"sounds/objectimpact/hit2.wav",SOUND_UNSCALABLE,255,5,30},
  47.             {"sounds/objectimpact/hit3.wav",SOUND_UNSCALABLE,255,5,30},
  48.             {"sounds/objectimpact/hit4.wav",SOUND_UNSCALABLE,255,5,30},
  49.             {"sounds/objectimpact/hit5.wav",SOUND_UNSCALABLE,255,5,30},
  50.             {"sounds/objectimpact/hit6.wav",SOUND_UNSCALABLE,255,5,30},
  51.             {"sounds/objectimpact/hit7.wav",SOUND_UNSCALABLE,255,5,30},
  52.             {"sounds/objectimpact/hit8.wav",SOUND_UNSCALABLE,255,5,30},
  53.             
  54.         },
  55.     },
  56.     melee_slash = {
  57.         sounds = {
  58.             {"sounds/objectimpact/Mslash1.wav",SOUND_UNSCALABLE,185,5,30},
  59.             {"sounds/objectimpact/Mslash2.wav",SOUND_UNSCALABLE,185,5,30},
  60.             {"sounds/objectimpact/Mslash3.wav",SOUND_UNSCALABLE,185,5,30},
  61.             {"sounds/objectimpact/Mslash4.wav",SOUND_UNSCALABLE,185,5,30},
  62.             {"sounds/objectimpact/Mslash5.wav",SOUND_UNSCALABLE,185,5,30},
  63.             {"sounds/objectimpact/Mslash6.wav",SOUND_UNSCALABLE,185,5,30},
  64.             {"sounds/objectimpact/Mslash7.wav",SOUND_UNSCALABLE,185,5,30},
  65.             {"sounds/objectimpact/Mslash8.wav",SOUND_UNSCALABLE,185,5,30},
  66.         },
  67.         particleEffects = {
  68.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  69.             name = "bullet.hit_flesh.a",
  70.         },
  71.  
  72.     },
  73.  
  74.     projectile_hit = CommonEffects.common_projectile_hit,
  75.     mortar_hit = CommonEffects.common_mortar_hit,
  76.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  77.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  78.     grenade_hit = CommonEffects.common_grenade_hit,
  79. -------------------------------------
  80.     gameplay_physic = {
  81.         piercing_resistence = 15,
  82.         friction = 0.4,
  83.         bouncyness= -2, -- default 0
  84.     },
  85.  
  86.     AI = {
  87.         fImpactRadius = 5,
  88.     },
  89.  
  90.  
  91. }