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_ceramic.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  2.8 KB  |  98 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_ceramic"] = {
  3.     type="rock",
  4. -------------------------------------
  5.     PhysicsSounds=PhysicsSoundsTable.Hard,
  6. -------------------------------------    
  7.     bullet_drop_single = CommonEffects.common_bullet_drop_single_ashphalt,
  8.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_ashphalt,
  9. -------------------------------------    
  10.     bullet_hit = {
  11.         sounds = {
  12.             {"Sounds/bullethits/brock1.wav",SOUND_UNSCALABLE,200,5,60},
  13.             {"Sounds/bullethits/brock2.wav",SOUND_UNSCALABLE,200,5,60},
  14.             {"Sounds/bullethits/brock3.wav",SOUND_UNSCALABLE,200,5,60},
  15.             {"Sounds/bullethits/brock4.wav",SOUND_UNSCALABLE,200,5,60},
  16.         },
  17.         
  18.         decal = { 
  19.             texture = System:LoadTexture("Textures/Decal/concrete.dds"),
  20.             scale = 0.045,
  21.             random_scale = 44
  22.         },
  23.         
  24.         particleEffects = {
  25.             name = "bullet.hit_concrete.a",
  26.         },
  27.  
  28.     },
  29.  
  30.     pancor_bullet_hit = {
  31.         sounds = {
  32.             {"Sounds/bullethits/brock1.wav",SOUND_UNSCALABLE,200,5,60},
  33.             {"Sounds/bullethits/brock2.wav",SOUND_UNSCALABLE,200,5,60},
  34.             {"Sounds/bullethits/brock3.wav",SOUND_UNSCALABLE,200,5,60},
  35.             {"Sounds/bullethits/brock4.wav",SOUND_UNSCALABLE,200,5,60},
  36.         },
  37.         
  38.         decal = { 
  39.             texture = System:LoadTexture("Textures/Decal/concrete.dds"),
  40.             scale = 0.045,
  41.             random_scale = 44
  42.         },
  43.         
  44.         particleEffects = {
  45.             name = "bullet.hit_concrete_pancor.a",
  46.         },
  47.     },
  48.  
  49.  
  50.     projectile_hit = CommonEffects.common_projectile_hit,
  51.     mortar_hit = CommonEffects.common_mortar_hit,
  52.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  53.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  54.     grenade_hit = CommonEffects.common_grenade_hit,
  55.     melee_slash = {
  56.         sounds = {
  57.             {"sounds/weapons/machete/macheteconc1.wav",SOUND_UNSCALABLE,185,5,30,
  58.               {fRadius=10,fInterest=1,fThreat=0,},
  59.             },
  60.             {"sounds/weapons/machete/macheteconc2.wav",SOUND_UNSCALABLE,185,5,30,
  61.               {fRadius=10,fInterest=1,fThreat=0,},
  62.             },
  63.             {"sounds/weapons/machete/macheteconc3.wav",SOUND_UNSCALABLE,185,5,30,
  64.               {fRadius=10,fInterest=1,fThreat=0,},
  65.             },
  66.         },
  67.         particleEffects = {
  68.             name = "bullet.hit_rock.a",
  69.                 },
  70.  
  71.     },
  72.  
  73.  
  74. -------------------------------------
  75.     player_walk = CommonEffects.player_conc_walk,
  76.     player_run = CommonEffects.player_conc_run,
  77.     player_crouch = CommonEffects.player_conc_crouch,
  78.     player_prone = CommonEffects.player_conc_prone,
  79.     player_walk_inwater = CommonEffects.player_walk_inwater,
  80.     
  81.         player_drop = {
  82.         sounds = {
  83.             {"sounds/player/bodyfalls/bodyfallrock1.wav",SOUND_UNSCALABLE,210,10,150},
  84.             {"sounds/player/bodyfalls/bodyfallrock2.wav",SOUND_UNSCALABLE,210,10,150},
  85.         },
  86.  
  87.     },
  88.     gameplay_physic = {
  89.         piercing_resistence = 15,
  90.         friction = 0.6,
  91.         bouncyness= 0.2, --default 0
  92.     },
  93.  
  94.     AI = {
  95.         fImpactRadius = 5,
  96.     },
  97.             
  98. }