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_leg.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  3.2 KB  |  101 lines

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