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_swamp.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  3.0 KB  |  110 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2.  
  3. Materials["mat_swamp"] = {
  4.     type="swamp",
  5. -------------------------------------
  6.     PhysicsSounds=PhysicsSoundsTable.Soft,
  7. -------------------------------------    
  8.     bullet_hit = {
  9.         sounds = {
  10.             {"Sounds/bullethits/bgravel1.wav",SOUND_UNSCALABLE,200,5,60},
  11.             {"Sounds/bullethits/bgravel2.wav",SOUND_UNSCALABLE,200,5,60},
  12.             {"Sounds/bullethits/bgravel3.wav",SOUND_UNSCALABLE,200,5,60},
  13.             {"Sounds/bullethits/bgravel4.wav",SOUND_UNSCALABLE,200,5,60},
  14.             
  15.         },
  16.         
  17.         decal = { 
  18.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  19.             scale = 0.03,
  20.         },
  21.  
  22.         particles = {
  23.             { --HitSmoke 
  24.                 focus = 1.5,
  25.                 color = {0.29,0.19,0.0},
  26.                 speed = 0.75,
  27.                 count = 4, --default 2
  28.                 size = 0.1, 
  29.                 size_speed=0.15,
  30.                 gravity=-1,
  31.                 lifetime=0.5,
  32.                 tid = System:LoadTexture("textures\\cloud1.dds"),
  33.                 frames=0,
  34.                 color_based_blending = 3
  35.             },
  36.         },
  37.  
  38.     },
  39.  
  40.     pancor_bullet_hit = {
  41.         sounds = {
  42.             {"Sounds/bullethits/bgravel1.wav",SOUND_UNSCALABLE,200,5,60},
  43.             {"Sounds/bullethits/bgravel2.wav",SOUND_UNSCALABLE,200,5,60},
  44.             {"Sounds/bullethits/bgravel3.wav",SOUND_UNSCALABLE,200,5,60},
  45.             {"Sounds/bullethits/bgravel4.wav",SOUND_UNSCALABLE,200,5,60},
  46.             
  47.         },
  48.         
  49.         decal = { 
  50.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  51.             scale = 0.03,
  52.         },
  53.  
  54.         particles = {
  55.             { --HitSmoke 
  56.                 focus = 1.5,
  57.                 color = {0.29,0.19,0.0},
  58.                 speed = 0.75,
  59.                 count = 4, --default 2
  60.                 size = 0.1, 
  61.                 size_speed=0.15,
  62.                 gravity=-1,
  63.                 lifetime=0.5,
  64.                 tid = System:LoadTexture("textures\\cloud1.dds"),
  65.                 frames=0,
  66.                 color_based_blending = 3
  67.             },
  68.         },
  69.  
  70.     },
  71.  
  72.     projectile_hit = CommonEffects.common_projectile_hit,
  73.     mortar_hit = CommonEffects.common_mortar_hit,
  74.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  75.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  76.     grenade_hit = CommonEffects.common_grenade_hit,
  77.     melee_slash = {
  78.         sounds = {
  79.             {"sounds/weapons/machete/machetesand1.wav",SOUND_UNSCALABLE,185,5,30},
  80.             {"sounds/weapons/machete/machetesand2.wav",SOUND_UNSCALABLE,185,5,30},
  81.             {"sounds/weapons/machete/machetesand3.wav",SOUND_UNSCALABLE,185,5,30},
  82.         },
  83.     particles =  CommonEffects.common_machete_hit_canvas_part.particles,
  84.  
  85.     },
  86. -------------------------------------
  87.     player_walk = CommonEffects.player_pebble_walk,
  88.     player_run = CommonEffects.player_pebble_run,
  89.     player_crouch = CommonEffects.player_pebble_crouch,
  90.     player_prone = CommonEffects.player_pebble_prone,
  91.     player_walk_inwater = CommonEffects.player_walk_inwater,
  92.     
  93.     player_drop = {
  94.         sounds = {
  95.             {"sounds/player/bodyfalls/bodyfallgravel1.wav",SOUND_UNSCALABLE,210,10,150},
  96.             {"sounds/player/bodyfalls/bodyfallgravel2.wav",SOUND_UNSCALABLE,210,10,150},
  97.             {"sounds/player/bodyfalls/bodyfallgravel3.wav",SOUND_UNSCALABLE,210,10,150},
  98.         },
  99.  
  100.     },
  101.     gameplay_physic = {
  102.         piercing_resistence = 15,
  103.         friction = 1.5,
  104.     },
  105.  
  106.     AI = {
  107.         fImpactRadius = 5,
  108.     },
  109.             
  110. }