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

  1. ----#Script:ReloadScript("scripts/materials/mat_pebble.lua")
  2. Script:LoadScript("scripts/materials/commoneffects.lua");
  3.      
  4. Materials["mat_pebble"] = {
  5.     type="pebble",
  6. -------------------------------------
  7.     PhysicsSounds=PhysicsSoundsTable.Hard,
  8. -------------------------------------    
  9.     bullet_drop_single = CommonEffects.common_bullet_drop_single_ashphalt,
  10.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_ashphalt,
  11. -------------------------------------    
  12.  
  13. -- primary explosion from rocket
  14.  
  15.     projectile_hit = CommonEffects.common_projectile_hit,
  16.     mortar_hit = CommonEffects.common_mortar_hit,
  17.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  18.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  19.     grenade_hit = CommonEffects.common_grenade_hit,
  20.  
  21.     bullet_hit = {
  22.         sounds = {
  23.             {"Sounds/bullethits/bgravel1.wav",SOUND_UNSCALABLE,200,5,60},
  24.             {"Sounds/bullethits/bgravel2.wav",SOUND_UNSCALABLE,200,5,60},
  25.             {"Sounds/bullethits/bgravel3.wav",SOUND_UNSCALABLE,200,5,60},
  26.             {"Sounds/bullethits/bgravel4.wav",SOUND_UNSCALABLE,200,5,60},
  27.             
  28.             
  29.             
  30.         },
  31.         
  32.         decal = { 
  33.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  34.             scale = 0.035,
  35.         },
  36.         
  37.                 particleEffects = {
  38.             name = "bullet.hit_ground.a",
  39.         },
  40.     },
  41.  
  42.     pancor_bullet_hit = {
  43.         sounds = {
  44.             {"Sounds/bullethits/bgravel1.wav",SOUND_UNSCALABLE,200,5,60},
  45.             {"Sounds/bullethits/bgravel2.wav",SOUND_UNSCALABLE,200,5,60},
  46.             {"Sounds/bullethits/bgravel3.wav",SOUND_UNSCALABLE,200,5,60},
  47.             {"Sounds/bullethits/bgravel4.wav",SOUND_UNSCALABLE,200,5,60},
  48.             
  49.             
  50.             
  51.         },
  52.         
  53.         decal = { 
  54.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  55.             scale = 0.035,
  56.         },
  57.         
  58.                 particleEffects = {
  59.             name = "bullet.hit_ground_pancor.a",
  60.         },
  61.     },
  62.  
  63.         
  64. -------------------------------------
  65.     player_walk = CommonEffects.player_pebble_walk,
  66.     player_run = CommonEffects.player_pebble_run,
  67.     player_crouch = CommonEffects.player_pebble_crouch,
  68.     player_prone = CommonEffects.player_pebble_prone,
  69.     player_walk_inwater = CommonEffects.player_walk_inwater,
  70.     
  71.     player_drop = {
  72.         sounds = {
  73.             {"sounds/player/bodyfalls/bodyfallgravel1.wav",SOUND_UNSCALABLE,210,10,150},
  74.             {"sounds/player/bodyfalls/bodyfallgravel2.wav",SOUND_UNSCALABLE,210,10,150},
  75.             {"sounds/player/bodyfalls/bodyfallgravel3.wav",SOUND_UNSCALABLE,210,10,150},
  76.         },
  77.  
  78.     },
  79.     melee_slash = {
  80.         sounds = {
  81.             {"sounds/weapons/machete/machetesand4.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  82.     
  83.         },
  84.         particles =  CommonEffects.common_machete_hit_canvas_part.particles,
  85.  
  86.     },
  87. -------------------------------------
  88.     player_land = {
  89.         sounds = {
  90.             --sound , volume , {min, max}
  91.             --NOTE volume and min max are optional
  92.              {"sounds/doors/dooropen.wav"},
  93.              {"sounds/doors/dooropen.wav"},
  94.             
  95.         },
  96.     },
  97.     gameplay_physic = {
  98.         piercing_resistence = 15,
  99.         friction = 0.6,
  100.         bouncyness= 0.2, --default 0
  101.     },
  102.     ---------------------------------------------
  103.     AI = {
  104.         fImpactRadius = 5,
  105.     },    
  106.     
  107.     --vehicle effects: particle is called when wheels are slipping, smoke in any case if the vehicle is moving.
  108.     VehicleParticleEffect = CommonEffects.common_vehicle_particles_rocks,
  109.     VehicleSmokeEffect = CommonEffects.common_vehicle_smoke_mud,
  110. }