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_pickup.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  1.4 KB  |  54 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2.  
  3. Materials["mat_pickup"] = {
  4.     type="pickup",
  5. -------------------------------------    
  6.     PhysicsSounds=PhysicsSoundsTable.Soft,
  7. -------------------------------------    
  8.     bullet_hit = {
  9.     },
  10.     pancor_bullet_hit = {
  11.     },
  12.  
  13.  
  14.     projectile_hit = CommonEffects.common_projectile_hit,
  15.     mortar_hit = CommonEffects.common_mortar_hit,
  16.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  17.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  18.     grenade_hit = CommonEffects.common_grenade_hit,
  19.     melee_slash = {
  20.  
  21.     },
  22. -------------------------------------
  23.     player_walk = CommonEffects.player_pebble_walk,
  24.     player_run = CommonEffects.player_pebble_run,
  25.     player_crouch = CommonEffects.player_pebble_crouch,
  26.     player_prone = CommonEffects.player_pebble_prone,
  27.     player_walk_inwater = CommonEffects.player_walk_inwater,
  28.     
  29.     player_drop = {
  30.         sounds = {
  31.             {"sounds/player/bodyfalls/bodyfallmud1.wav",SOUND_UNSCALABLE,210,10,150},
  32.         },
  33.  
  34.     },
  35. -------------------------------------
  36.     player_land = {
  37.         sounds = {
  38.             --sound , volume , {min, max}
  39.             --NOTE volume and min max are optional
  40.              {"sounds/doors/dooropen.wav",SOUND_UNSCALABLE,200,1,20},
  41.              {"sounds/doors/dooropen.wav",SOUND_UNSCALABLE,200,1,20},
  42.             
  43.         },
  44.     },
  45.     gameplay_physic = {
  46.         piercing_resistence = 15,
  47.         friction = 100.0,
  48.         bouncyness= -1, -- default 0
  49.     },
  50.  
  51.     AI = {
  52.         fImpactRadius = 5,
  53.     },        
  54. }