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_heart.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  3.4 KB  |  100 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_heart"] = {
  3.     type="heart",
  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.  
  17.         decal = { 
  18.             gore = 1,    -- to be able to switch off gore -- to know what's allowed        
  19.             texture = System:LoadTexture("Languages/Textures/Decal/hole_blood_head.dds",0,1),
  20.             scale = 0.06,
  21.             },
  22.  
  23.         
  24.         particleEffects = {
  25.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  26.             name = "bullet.hit_flesh.a",
  27.         },
  28.     },
  29.  
  30.     pancor_bullet_hit = {
  31.         sounds = {
  32.             --{"Sounds/bullethits/headbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  33.             --{"Sounds/bullethits/headbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  34.             --{"Sounds/bullethits/headbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  35.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  36.             --{"Sounds/explosions/explosion2.wav",SOUND_UNSCALABLE,200,10,80},
  37.             
  38.         },
  39.         decal = { 
  40.             gore = 1,    -- to be able to switch off gore -- to know what's allowed        
  41.             texture = System:LoadTexture("Languages/Textures/Decal/hole_blood_head.dds",0,1),
  42.             scale = 0.06,
  43.             },
  44.  
  45.         
  46.         particleEffects = {
  47.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  48.             name = "bullet.hit_flesh_pancor.a",
  49.         },
  50.     },
  51.     
  52. -------------------------
  53.     melee_punch = {
  54.         sounds = {
  55.             {"sounds/objectimpact/hit1.wav",SOUND_UNSCALABLE,255,5,30},
  56.             {"sounds/objectimpact/hit2.wav",SOUND_UNSCALABLE,255,5,30},
  57.             {"sounds/objectimpact/hit3.wav",SOUND_UNSCALABLE,255,5,30},
  58.             {"sounds/objectimpact/hit4.wav",SOUND_UNSCALABLE,255,5,30},
  59.             {"sounds/objectimpact/hit5.wav",SOUND_UNSCALABLE,255,5,30},
  60.             {"sounds/objectimpact/hit6.wav",SOUND_UNSCALABLE,255,5,30},
  61.             {"sounds/objectimpact/hit7.wav",SOUND_UNSCALABLE,255,5,30},
  62.             {"sounds/objectimpact/hit8.wav",SOUND_UNSCALABLE,255,5,30},
  63.             
  64.         },
  65.     },
  66.     melee_slash = {
  67.         sounds = {
  68.             {"sounds/mutants/ab1/hit1.wav",SOUND_UNSCALABLE,185,5,30},
  69.             {"sounds/mutants/ab1/hit2.wav",SOUND_UNSCALABLE,185,5,30},
  70.             {"sounds/mutants/ab1/hit3.wav",SOUND_UNSCALABLE,185,5,30},
  71.             {"sounds/mutants/ab1/hit4.wav",SOUND_UNSCALABLE,185,5,30},
  72.             {"sounds/mutants/ab1/hit5.wav",SOUND_UNSCALABLE,185,5,30},
  73.             {"sounds/mutants/ab1/hit6.wav",SOUND_UNSCALABLE,185,5,30},
  74.             {"sounds/mutants/ab1/hit7.wav",SOUND_UNSCALABLE,185,5,30},
  75.             --{"sounds/objectimpact/Mslash8.wav",SOUND_UNSCALABLE,255,5,30},
  76.             
  77.         },
  78.         particleEffects = {
  79.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  80.             name = "bullet.hit_flesh.a",
  81.         },
  82.     },
  83.  
  84.     projectile_hit = CommonEffects.common_projectile_hit,
  85.     mortar_hit = CommonEffects.common_mortar_hit,
  86.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  87.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  88.     grenade_hit = CommonEffects.common_grenade_hit,
  89. -------------------------------------
  90.     gameplay_physic = {
  91.         piercing_resistence = 15,
  92.         friction = 0.4,
  93.         bouncyness= -2, -- default 0
  94.     },
  95.     AI = {
  96.         fImpactRadius = 5,
  97.     },
  98.  
  99.             
  100. }