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

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2.  
  3. Materials["mat_wheel"] = {
  4.     type="wheel",
  5. -------------------------------------    
  6.     PhysicsSounds=PhysicsSoundsTable.Soft,
  7. -------------------------------------    
  8.     bullet_hit = {
  9.         sounds = {
  10.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  11.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  12.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  13.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  14.             
  15.         },
  16.         particleEffects = {
  17.             name = "bullet.hit_default.a",
  18.         },
  19.     },
  20.     pancor_bullet_hit = {
  21.         sounds = {
  22.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  23.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  24.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  25.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  26.             
  27.         },
  28.         particleEffects = {
  29.             name = "bullet.hit_default.a",
  30.         },
  31.     },
  32.     melee_slash = {
  33.         sounds = {
  34.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,185,5,30},
  35.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,185,5,30},
  36.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,185,5,30},
  37.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,185,5,30},
  38.         },
  39.         particleEffects = {
  40.             name = "bullet.hit_default.a",
  41.         },
  42.     },
  43.     projectile_hit = CommonEffects.common_projectile_hit,
  44.     mortar_hit = CommonEffects.common_mortar_hit,
  45.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  46.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  47.     grenade_hit = CommonEffects.common_grenade_hit,
  48.  
  49. -------------------------------------
  50.     player_walk = {
  51.         sounds = {
  52.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,140,10,60},
  53.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,140,10,60},
  54.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,140,10,60},
  55.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,140,10,60},
  56.         },
  57.     },
  58.     player_run = {
  59.         sounds = {
  60.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  61.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  62.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  63.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  64.         },
  65.     },
  66.     player_crouch = {
  67.         sounds = {
  68.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,60},
  69.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,60},
  70.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,60},
  71.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,60},
  72.         },
  73.     },
  74.     player_prone = {
  75.         sounds = {
  76.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,60},
  77.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,60},
  78.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,60},
  79.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,60},
  80.         },
  81.     },
  82.     player_walk_inwater = CommonEffects.player_walk_inwater,
  83.     
  84.     gameplay_physic = {
  85.         piercing_resistence = 15,
  86.         bouncyness=0.4, -- default 0.1
  87.         friction = 10.0,
  88.     },
  89.  
  90.     AI = {
  91.         fImpactRadius = 5,
  92.     },
  93.             
  94. }