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

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_meat"] = {
  3.     type="mat_meat",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Soft,
  6. -------------------------------------    
  7.     bullet_hit = {
  8.         sounds = {
  9.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  10.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  11.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  12.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,220,10,80},
  13.             
  14.          },
  15.         
  16.         particleEffects = {
  17.             gore = 1,
  18.             name = "bullet.hit_flesh.a",
  19.         },
  20.  
  21.     
  22.     },
  23.     
  24.     pancor_bullet_hit = {
  25.         sounds = {
  26.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  27.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  28.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  29.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,220,10,80},
  30.             
  31.          },
  32.         
  33.         particleEffects = {
  34.             gore = 1,
  35.             name = "bullet.hit_flesh_pancor.a",
  36.                     },
  37.  
  38.     
  39.     },
  40.  
  41. -------------------------
  42.     melee_punch = {
  43.         sounds = {
  44.             {"sounds/objectimpact/hit1.wav",SOUND_UNSCALABLE,255,5,30},
  45.             {"sounds/objectimpact/hit2.wav",SOUND_UNSCALABLE,255,5,30},
  46.             {"sounds/objectimpact/hit3.wav",SOUND_UNSCALABLE,255,5,30},
  47.             {"sounds/objectimpact/hit4.wav",SOUND_UNSCALABLE,255,5,30},
  48.             {"sounds/objectimpact/hit5.wav",SOUND_UNSCALABLE,255,5,30},
  49.             {"sounds/objectimpact/hit6.wav",SOUND_UNSCALABLE,255,5,30},
  50.             {"sounds/objectimpact/hit7.wav",SOUND_UNSCALABLE,255,5,30},
  51.             {"sounds/objectimpact/hit8.wav",SOUND_UNSCALABLE,255,5,30},
  52.             
  53.         },
  54.     },
  55.     melee_slash = {
  56.         sounds = {
  57.             {"sounds/objectimpact/Mslash1.wav",SOUND_UNSCALABLE,185,5,30},
  58.             {"sounds/objectimpact/Mslash2.wav",SOUND_UNSCALABLE,185,5,30},
  59.             {"sounds/objectimpact/Mslash3.wav",SOUND_UNSCALABLE,185,5,30},
  60.             {"sounds/objectimpact/Mslash4.wav",SOUND_UNSCALABLE,185,5,30},
  61.             {"sounds/objectimpact/Mslash5.wav",SOUND_UNSCALABLE,185,5,30},
  62.             {"sounds/objectimpact/Mslash6.wav",SOUND_UNSCALABLE,185,5,30},
  63.             {"sounds/objectimpact/Mslash7.wav",SOUND_UNSCALABLE,185,5,30},
  64.             {"sounds/objectimpact/Mslash8.wav",SOUND_UNSCALABLE,185,5,30},
  65.             
  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.         decal = { 
  73.             texture = System:LoadTexture("Languages/Textures/Decal/flesh_slash.dds"),
  74.             scale = 0.20,
  75.                 },
  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.     player_walk = CommonEffects.player_conc_walk,
  86.     player_run = CommonEffects.player_conc_run,
  87.     player_crouch = CommonEffects.player_conc_crouch,
  88.     player_prone = CommonEffects.player_conc_prone,
  89.     player_walk_inwater = CommonEffects.player_walk_inwater,
  90.     gameplay_physic = {
  91.         piercing_resistence = 15,
  92.         friction = 0.6,
  93.         bouncyness= -2, -- default 0
  94.     },
  95.  
  96.     AI = {
  97.         fImpactRadius = 5,
  98.     },
  99.             
  100. }