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_fish.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  1.2 KB  |  52 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_fish"] = {
  3.     type="fish",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Soft,
  6. -------------------------------------
  7.     bullet_hit = {
  8.         sounds = {
  9.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  10.         },
  11.         
  12.         particleEffects = {
  13.             gore = 1,
  14.             name = "bullet.hit_flesh.a",
  15.         },
  16.  
  17.     },
  18.     pancor_bullet_hit = {
  19.         sounds = {
  20.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  21.         },
  22.         particleEffects = {
  23.             gore = 1,
  24.             name = "bullet.hit_flesh_pancor.a",
  25.                     },
  26.     },
  27.     melee_slash = {
  28.         particleEffects = {
  29.             gore = 1,
  30.             name = "bullet.hit_flesh.a",
  31.         },
  32.         
  33.     },
  34.  
  35.     projectile_hit = CommonEffects.common_projectile_hit,
  36.     mortar_hit = CommonEffects.common_mortar_hit,
  37.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  38.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  39.     grenade_hit = CommonEffects.common_grenade_hit,
  40. -------------------------------------
  41.     gameplay_physic = {
  42.         piercing_resistence = 15,
  43.         friction = 0.3,
  44.         bouncyness= -2, -- default 0
  45.     },
  46.  
  47.     AI = {
  48.         fImpactRadius = 5,
  49.     },
  50.  
  51.  
  52. }