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_head.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  3.5 KB  |  106 lines

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