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_jeephull.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  1009 b   |  31 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. --This material is for the collision object (hullproxy2), therefore the friction is set to zero.
  3. Materials["mat_jeephull"] = {
  4.     type="jeephull",
  5. -------------------------------------
  6.     gameplay_physic = {
  7.         piercing_resistence = 15,
  8.         bouncyness=0, -- default 0
  9.         friction = 0,
  10.     },
  11.  
  12.     melee_slash = {
  13.         sounds = {
  14.             {"sounds/weapons/machete/machetepipe1.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  15.             {"sounds/weapons/machete/machetepipe2.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  16.              },
  17.         particles = CommonEffects.common_machete_hit_particles.particles,
  18.  
  19.     },
  20.  
  21.     projectile_hit = CommonEffects.common_projectile_hit,
  22.     mortar_hit = CommonEffects.common_mortar_hit,
  23.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  24.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  25.     grenade_hit = CommonEffects.common_grenade_hit,
  26.     
  27.     AI = {
  28.         fImpactRadius = 5,
  29.     },
  30.  
  31. }