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_hull.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  1.8 KB  |  75 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_hull"] = {
  3.     type="hull",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Hard,
  6. -------------------------------------
  7.     bullet_hit = {
  8.         sounds = {
  9.             {"Sounds/bullethits/Mbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  10.             {"Sounds/bullethits/Mbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  11.             {"Sounds/bullethits/Mbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  12.             {"Sounds/bullethits/Mbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  13.             
  14.         },
  15.         particles = {
  16.             { --HitSmoke 
  17.                 focus = 1.5,
  18.                 color = {0.29,0.19,0.0},
  19.                 speed = 0.75,
  20.                 count = 4, --default 2
  21.                 size = 0.1, 
  22.                 size_speed=0.15,
  23.                 gravity=-1,
  24.                 lifetime=0.5,
  25.                 tid = System:LoadTexture("textures\\clouda2.dds"),
  26.                 frames=0,
  27.  
  28.             },
  29.         },
  30.  
  31.     },
  32.  
  33.     pancor_bullet_hit = {
  34.         sounds = {
  35.             {"Sounds/bullethits/Mbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  36.             {"Sounds/bullethits/Mbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  37.             {"Sounds/bullethits/Mbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  38.             {"Sounds/bullethits/Mbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  39.             
  40.         },
  41.         particles = {
  42.             { --HitSmoke 
  43.                 focus = 1.5,
  44.                 color = {0.29,0.19,0.0},
  45.                 speed = 0.75,
  46.                 count = 4, --default 2
  47.                 size = 0.1, 
  48.                 size_speed=0.15,
  49.                 gravity=-1,
  50.                 lifetime=0.5,
  51.                 tid = System:LoadTexture("textures\\clouda2.dds"),
  52.                 frames=0,
  53.  
  54.             },
  55.         },
  56.  
  57.     },
  58.  
  59.     projectile_hit = CommonEffects.common_projectile_hit,
  60.     mortar_hit = CommonEffects.common_mortar_hit,
  61.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  62.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  63.     grenade_hit = CommonEffects.common_grenade_hit,
  64. -------------------------------------
  65.     gameplay_physic = {
  66.         piercing_resistence = 15,
  67.         bouncyness=0,
  68.         friction = 1.0,
  69.     },
  70.  
  71.     AI = {
  72.         fImpactRadius = 5,
  73.     },
  74.             
  75. }