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_gel.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  4.1 KB  |  138 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_gel"] = {
  3.     type="gel",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Soft,
  6. -------------------------------------
  7.     bullet_hit = {
  8.         sounds = {
  9.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  10.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  11.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  12.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  13.             
  14.         },
  15.         
  16.         decal = { 
  17.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  18.             scale = 0.03,
  19.         },
  20.  
  21.         particles = {
  22.             { --HitSmoke 
  23.                 focus = 1.5,
  24.                 color = {0.29,0.19,0.0},
  25.                 speed = 0.75,
  26.                 count = 4, --default 2
  27.                 size = 0.1, 
  28.                 size_speed=0.15,
  29.                 gravity=-1,
  30.                 lifetime=0.5,
  31.                 tid = System:LoadTexture("textures\\cloud1.dds"),
  32.                 frames=0,
  33.                 color_based_blending = 3
  34.             },
  35.         },
  36.  
  37.     },
  38.  
  39.     pancor_bullet_hit = {
  40.         sounds = {
  41.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  42.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  43.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  44.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  45.             
  46.         },
  47.         
  48.         decal = { 
  49.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  50.             scale = 0.03,
  51.         },
  52.  
  53.         particles = {
  54.             { --HitSmoke 
  55.                 focus = 1.5,
  56.                 color = {0.29,0.19,0.0},
  57.                 speed = 0.75,
  58.                 count = 1, --default 2
  59.                 size = 0.1, 
  60.                 size_speed=0.15,
  61.                 gravity=-1,
  62.                 lifetime=0.5,
  63.                 tid = System:LoadTexture("textures\\cloud1.dds"),
  64.                 frames=0,
  65.                 color_based_blending = 3
  66.             },
  67.         },
  68.  
  69.     },
  70.  
  71.     melee_slash = {
  72.         sounds = {
  73.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60,{fRadius=10,fInterest=1,fThreat=0,},}, 
  74.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60,{fRadius=10,fInterest=1,fThreat=0,},}, 
  75.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60,{fRadius=10,fInterest=1,fThreat=0,},}, 
  76.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60,{fRadius=10,fInterest=1,fThreat=0,},}, 
  77.         },
  78.  
  79.         particles =  CommonEffects.common_machete_hit_canvas_part.particles,
  80.  
  81.     }, 
  82.  
  83.     projectile_hit = CommonEffects.common_projectile_hit,
  84.     mortar_hit = CommonEffects.common_mortar_hit,
  85.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  86.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  87.     grenade_hit = CommonEffects.common_grenade_hit,
  88. -------------------------------------
  89.     player_walk = {
  90.         sounds = {
  91.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  92.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  93.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  94.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  95.         },
  96.     },
  97.     player_run = {
  98.         sounds = {
  99.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  100.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  101.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  102.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  103.         },
  104.     },
  105.     player_crouch = {
  106.         sounds = {
  107.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  108.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  109.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  110.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  111.         },
  112.     },
  113.     player_prone = {
  114.         sounds = {
  115.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  116.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  117.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  118.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  119.         },
  120.     },
  121.     player_walk_inwater = CommonEffects.player_walk_inwater,
  122.     
  123.     player_drop = {
  124.         sounds = {
  125.             {"sounds/player/bodyfalls/bodyfallmud1.wav",SOUND_UNSCALABLE,210,10,150},
  126.         },
  127.  
  128.     },
  129.     gameplay_physic = {
  130.         piercing_resistence = 15,
  131.         friction = 0.8,
  132.     },
  133.  
  134.     AI = {
  135.         fImpactRadius = 2,
  136.     },
  137.             
  138. }