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_canvas.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  3.4 KB  |  99 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_canvas"] = {
  3.     type="canvas",
  4.  
  5. -------------------------------------
  6.     PhysicsSounds=PhysicsSoundsTable.Hard,
  7. -------------------------------------    
  8.     bullet_drop_single = CommonEffects.common_bullet_drop_single_ashphalt,
  9.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_ashphalt,
  10. -------------------------------------    
  11.     bullet_hit = {
  12.         sounds = {
  13.             {"Sounds/Bullethits/Wsheet1.wav",SOUND_UNSCALABLE,200,5,60},
  14.             {"Sounds/Bullethits/Wsheet2.wav",SOUND_UNSCALABLE,200,5,60},
  15.             {"Sounds/Bullethits/Wsheet3.wav",SOUND_UNSCALABLE,200,5,60},
  16.             {"Sounds/Bullethits/Wsheet4.wav",SOUND_UNSCALABLE,200,5,60},
  17.         },
  18.         
  19.         decal = { 
  20.             texture = System:LoadTexture("Textures/Decal/Default.tga"),
  21.             scale = 0.025,
  22.         },
  23.         particles = {
  24.             { --HitSmoke 
  25.                 focus = 1.5,
  26.                 color = {0.29,0.19,0.0},
  27.                 speed = 0.25,
  28.                 count = 3, 
  29.                 size = 0.05, 
  30.                 size_speed=0.15,
  31.                 gravity=-1,
  32.                 lifetime=0.5,
  33.                 tid = System:LoadTexture("textures\\cloud1.dds"),
  34.                 frames=0,
  35.                 color_based_blending = 3
  36.             },
  37.         },
  38.     },
  39.  
  40.     projectile_hit = CommonEffects.common_projectile_hit,
  41.     mortar_hit = CommonEffects.common_mortar_hit,
  42.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  43.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  44.     grenade_hit = CommonEffects.common_grenade_hit,
  45.     melee_slash = {
  46.         sounds = {
  47.             {"sounds/weapons/machete/machetewood1.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  48.             {"sounds/weapons/machete/machetewood2.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  49.             {"sounds/weapons/machete/machetewood3.wav",SOUND_UNSCALABLE,185,5,30,{fRadius=10,fInterest=1,fThreat=0,},},
  50.         },
  51.         particles =  CommonEffects.common_machete_hit_canvas_part.particles,
  52.  
  53.     },
  54.  
  55. -------------------------------------
  56.     player_walk = {
  57.         sounds = {
  58.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,140,10,60},
  59.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,140,10,60},
  60.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,140,10,60},
  61.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,140,10,60},
  62.         },
  63.     },
  64.     player_run = {
  65.         sounds = {
  66.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  67.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  68.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  69.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  70.         },
  71.     },
  72.     player_crouch = {
  73.         sounds = {
  74.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,60},
  75.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,60},
  76.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,60},
  77.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,60},
  78.         },
  79.     },
  80.     player_prone = {
  81.         sounds = {
  82.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,60},
  83.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,60},
  84.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,60},
  85.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,60},
  86.         },
  87.     },
  88.     player_walk_inwater = CommonEffects.player_walk_inwater,
  89.     gameplay_physic = {
  90.         piercing_resistence = 15,
  91.         friction = 0.6,
  92.         bouncyness= 0.2, --default 0
  93.     },
  94.  
  95.     AI = {
  96.         fImpactRadius = 1,
  97.     },
  98.             
  99. }