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

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. --#Script:ReloadScript("scripts/materials/mat_arm.lua") --for copying/pasting into the console!!!
  3. Materials["mat_arm"] = {
  4.     type="arm",
  5. -------------------------------------    
  6.     PhysicsSounds=PhysicsSoundsTable.Soft,
  7. -------------------------------------    
  8.     bullet_hit = {
  9.         sounds = {
  10.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  11.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  12.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  13.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,220,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.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.         decal = { 
  37.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  38.             texture = System:LoadTexture("Languages/Textures/Decal/hole_blood.dds",0,1),
  39.             scale = 0.04,
  40.         },
  41.         particleEffects = {
  42.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  43.             name = "bullet.hit_flesh_pancor.a",
  44.                     },
  45.     },
  46.  
  47.     
  48.     -------------------------
  49.     melee_punch = {
  50.         sounds = {
  51.             {"sounds/objectimpact/hit1.wav",SOUND_UNSCALABLE,255,5,30},
  52.             {"sounds/objectimpact/hit2.wav",SOUND_UNSCALABLE,255,5,30},
  53.             {"sounds/objectimpact/hit3.wav",SOUND_UNSCALABLE,255,5,30},
  54.             {"sounds/objectimpact/hit4.wav",SOUND_UNSCALABLE,255,5,30},
  55.             {"sounds/objectimpact/hit5.wav",SOUND_UNSCALABLE,255,5,30},
  56.             {"sounds/objectimpact/hit6.wav",SOUND_UNSCALABLE,255,5,30},
  57.             {"sounds/objectimpact/hit7.wav",SOUND_UNSCALABLE,255,5,30},
  58.             {"sounds/objectimpact/hit8.wav",SOUND_UNSCALABLE,255,5,30},
  59.             
  60.         },
  61.     },
  62.     melee_slash = {
  63.         sounds = {
  64.             {"sounds/mutants/ab1/hit1.wav",SOUND_UNSCALABLE,185,5,30},
  65.             {"sounds/mutants/ab1/hit2.wav",SOUND_UNSCALABLE,185,5,30},
  66.             {"sounds/mutants/ab1/hit3.wav",SOUND_UNSCALABLE,185,5,30},
  67.             {"sounds/mutants/ab1/hit4.wav",SOUND_UNSCALABLE,185,5,30},
  68.             {"sounds/mutants/ab1/hit5.wav",SOUND_UNSCALABLE,185,5,30},
  69.             {"sounds/mutants/ab1/hit6.wav",SOUND_UNSCALABLE,185,5,30},
  70.             {"sounds/mutants/ab1/hit7.wav",SOUND_UNSCALABLE,185,5,30},
  71.             --{"sounds/objectimpact/Mslash8.wav",SOUND_UNSCALABLE,255,5,30},
  72.         },
  73.         particleEffects = {
  74.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  75.             name = "bullet.hit_flesh.a",
  76.         },
  77.     },
  78.  
  79.     projectile_hit = CommonEffects.common_projectile_hit,
  80.     mortar_hit = CommonEffects.common_mortar_hit,
  81.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  82.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  83.     grenade_hit = CommonEffects.common_grenade_hit,
  84. -------------------------------------
  85.     gameplay_physic = {
  86.         piercing_resistence = 4,
  87.         friction = 0.6,
  88.         bouncyness= -2, -- default 0
  89.         important = 1,
  90.     },
  91.     
  92.     AI = {
  93.         fImpactRadius = 5,
  94.     },
  95.  
  96.             
  97. }