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 / commoneffects.lua next >
Encoding:
Text File  |  2004-07-21  |  24.6 KB  |  811 lines

  1. Script:LoadScript("scripts/materials/PhysicsSounds.lua")
  2.  
  3. CommonEffects = 
  4. {
  5.     player_walk_inwater = {
  6.         sounds = {
  7.             {"sounds/player/footsteps/water/step1.wav",SOUND_UNSCALABLE,230,10,100},
  8.             {"sounds/player/footsteps/water/step2.wav",SOUND_UNSCALABLE,230,10,100},
  9.             {"sounds/player/footsteps/water/step3.wav",SOUND_UNSCALABLE,230,10,100},
  10.             {"sounds/player/footsteps/water/step4.wav",SOUND_UNSCALABLE,230,10,100},
  11.         },
  12.     },
  13.     player_metal_walk = {
  14.         sounds = {
  15.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,180,10,100},
  16.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,180,10,100},
  17.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,180,10,100},
  18.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,180,10,100},
  19.         },
  20.     },
  21.     player_metal_run = {
  22.         sounds = {
  23.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,230,10,100},
  24.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,230,10,100},
  25.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,230,10,100},
  26.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,230,10,100},
  27.         },
  28.     },
  29.     player_metal_crouch = {
  30.         sounds = {
  31.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,140,10,100},
  32.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,140,10,100},
  33.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,140,10,100},
  34.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,140,10,100},
  35.         },
  36.     },
  37.     player_metal_prone = {
  38.         sounds = {
  39.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,100,10,100},
  40.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,100,10,100},
  41.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,100,10,100},
  42.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,100,10,100},
  43.         },
  44.     },
  45.     player_metalgrate_walk = {
  46.         sounds = {
  47.             {"sounds/player/footsteps/metal/grate/step1.wav",SOUND_UNSCALABLE,180,10,100},
  48.             {"sounds/player/footsteps/metal/grate/step2.wav",SOUND_UNSCALABLE,180,10,100},
  49.             {"sounds/player/footsteps/metal/grate/step3.wav",SOUND_UNSCALABLE,180,10,100},
  50.             {"sounds/player/footsteps/metal/grate/step4.wav",SOUND_UNSCALABLE,180,10,100},
  51.         },
  52.     },
  53.     player_metalgrate_run = {
  54.         sounds = {
  55.             {"sounds/player/footsteps/metal/grate/step1.wav",SOUND_UNSCALABLE,230,10,100},
  56.             {"sounds/player/footsteps/metal/grate/step2.wav",SOUND_UNSCALABLE,230,10,100},
  57.             {"sounds/player/footsteps/metal/grate/step3.wav",SOUND_UNSCALABLE,230,10,100},
  58.             {"sounds/player/footsteps/metal/grate/step4.wav",SOUND_UNSCALABLE,230,10,100},
  59.         },
  60.     },
  61.     player_metalgrate_crouch = {
  62.         sounds = {
  63.             {"sounds/player/footsteps/metal/grate/step1.wav",SOUND_UNSCALABLE,140,10,100},
  64.             {"sounds/player/footsteps/metal/grate/step2.wav",SOUND_UNSCALABLE,140,10,100},
  65.             {"sounds/player/footsteps/metal/grate/step3.wav",SOUND_UNSCALABLE,140,10,100},
  66.             {"sounds/player/footsteps/metal/grate/step4.wav",SOUND_UNSCALABLE,140,10,100},
  67.         },
  68.     },
  69.     player_metalgrate_prone = {
  70.         sounds = {
  71.             {"sounds/player/footsteps/metal/grate/step1.wav",SOUND_UNSCALABLE,100,10,100},
  72.             {"sounds/player/footsteps/metal/grate/step2.wav",SOUND_UNSCALABLE,100,10,100},
  73.             {"sounds/player/footsteps/metal/grate/step3.wav",SOUND_UNSCALABLE,100,10,100},
  74.             {"sounds/player/footsteps/metal/grate/step4.wav",SOUND_UNSCALABLE,100,10,100},
  75.         },
  76.     },
  77.     player_wood_walk = {
  78.         sounds = {
  79.             {"sounds/player/footsteps/wood/step1.wav",SOUND_UNSCALABLE,180,10,100},
  80.             {"sounds/player/footsteps/wood/step2.wav",SOUND_UNSCALABLE,180,10,100},
  81.             {"sounds/player/footsteps/wood/step3.wav",SOUND_UNSCALABLE,180,10,100},
  82.             {"sounds/player/footsteps/wood/step4.wav",SOUND_UNSCALABLE,180,10,100},
  83.         },
  84.     },
  85.     player_wood_run = {
  86.         sounds = {
  87.             {"sounds/player/footsteps/wood/step1.wav",SOUND_UNSCALABLE,230,10,100},
  88.             {"sounds/player/footsteps/wood/step2.wav",SOUND_UNSCALABLE,230,10,100},
  89.             {"sounds/player/footsteps/wood/step3.wav",SOUND_UNSCALABLE,230,10,100},
  90.             {"sounds/player/footsteps/wood/step4.wav",SOUND_UNSCALABLE,230,10,100},
  91.         },
  92.     },
  93.     player_wood_crouch = {
  94.         sounds = {
  95.             {"sounds/player/footsteps/wood/step1.wav",SOUND_UNSCALABLE,140,10,100},
  96.             {"sounds/player/footsteps/wood/step2.wav",SOUND_UNSCALABLE,140,10,100},
  97.             {"sounds/player/footsteps/wood/step3.wav",SOUND_UNSCALABLE,140,10,100},
  98.             {"sounds/player/footsteps/wood/step4.wav",SOUND_UNSCALABLE,140,10,100},
  99.         },
  100.     },
  101.     player_wood_prone = {
  102.         sounds = {
  103.             {"sounds/player/footsteps/wood/step1.wav",SOUND_UNSCALABLE,100,10,100},
  104.             {"sounds/player/footsteps/wood/step2.wav",SOUND_UNSCALABLE,100,10,100},
  105.             {"sounds/player/footsteps/wood/step3.wav",SOUND_UNSCALABLE,100,10,100},
  106.             {"sounds/player/footsteps/wood/step4.wav",SOUND_UNSCALABLE,100,10,100},
  107.         },
  108.     },
  109.     player_conc_walk = {
  110.         sounds = {
  111.             {"sounds/player/footsteps/rock/walk1a.wav",SOUND_UNSCALABLE,180,10,100},
  112.             {"sounds/player/footsteps/rock/walk2a.wav",SOUND_UNSCALABLE,180,10,100},
  113.             {"sounds/player/footsteps/rock/walk3a.wav",SOUND_UNSCALABLE,180,10,100},
  114.             {"sounds/player/footsteps/rock/walk4a.wav",SOUND_UNSCALABLE,180,10,100},
  115.         },
  116.     },
  117.     player_conc_run = {
  118.         sounds = {
  119.             {"sounds/player/footsteps/rock/walk1a.wav",SOUND_UNSCALABLE,230,10,100},
  120.             {"sounds/player/footsteps/rock/walk2a.wav",SOUND_UNSCALABLE,230,10,100},
  121.             {"sounds/player/footsteps/rock/walk3a.wav",SOUND_UNSCALABLE,230,10,100},
  122.             {"sounds/player/footsteps/rock/walk4a.wav",SOUND_UNSCALABLE,230,10,100},
  123.         },
  124.     },
  125.     player_conc_crouch = {
  126.         sounds = {
  127.             {"sounds/player/footsteps/rock/walk1a.wav",SOUND_UNSCALABLE,140,10,100},
  128.             {"sounds/player/footsteps/rock/walk2a.wav",SOUND_UNSCALABLE,140,10,100},
  129.             {"sounds/player/footsteps/rock/walk3a.wav",SOUND_UNSCALABLE,140,10,100},
  130.             {"sounds/player/footsteps/rock/walk4a.wav",SOUND_UNSCALABLE,140,10,100},
  131.         },
  132.     },
  133.     player_conc_prone = {
  134.         sounds = {
  135.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,100,10,100},
  136.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,100,10,100},
  137.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,100,10,100},
  138.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,100,10,100},
  139.         },
  140.     },
  141.     player_grass_walk = {
  142.         sounds = {
  143.             {"sounds/player/footsteps/grass_dry/step1.wav",SOUND_UNSCALABLE,180,10,100},
  144.             {"sounds/player/footsteps/grass_dry/step2.wav",SOUND_UNSCALABLE,180,10,100},
  145.             {"sounds/player/footsteps/grass_dry/step3.wav",SOUND_UNSCALABLE,180,10,100},
  146.             {"sounds/player/footsteps/grass_dry/step4.wav",SOUND_UNSCALABLE,180,10,100},
  147.         },
  148.     },
  149.     player_grass_run = {
  150.         sounds = {
  151.             {"sounds/player/footsteps/grass_dry/step1.wav",SOUND_UNSCALABLE,230,10,100},
  152.             {"sounds/player/footsteps/grass_dry/step2.wav",SOUND_UNSCALABLE,230,10,100},
  153.             {"sounds/player/footsteps/grass_dry/step3.wav",SOUND_UNSCALABLE,230,10,100},
  154.             {"sounds/player/footsteps/grass_dry/step4.wav",SOUND_UNSCALABLE,230,10,100},
  155.         },
  156.     },
  157.     player_grass_crouch = {
  158.         sounds = {
  159.             {"sounds/player/footsteps/grass_dry/step1.wav",SOUND_UNSCALABLE,140,10,100},
  160.             {"sounds/player/footsteps/grass_dry/step2.wav",SOUND_UNSCALABLE,140,10,100},
  161.             {"sounds/player/footsteps/grass_dry/step3.wav",SOUND_UNSCALABLE,140,10,100},
  162.             {"sounds/player/footsteps/grass_dry/step4.wav",SOUND_UNSCALABLE,140,10,100},
  163.         },
  164.     },
  165.     player_grass_prone = {
  166.         sounds = {
  167.             {"sounds/player/footsteps/grass_dry/step1.wav",SOUND_UNSCALABLE,100,10,100},
  168.             {"sounds/player/footsteps/grass_dry/step2.wav",SOUND_UNSCALABLE,100,10,100},
  169.             {"sounds/player/footsteps/grass_dry/step3.wav",SOUND_UNSCALABLE,100,10,100},
  170.             {"sounds/player/footsteps/grass_dry/step4.wav",SOUND_UNSCALABLE,100,10,100},
  171.         },
  172.     },
  173.     player_pebble_walk = {
  174.         sounds = {
  175.             {"sounds/player/footsteps/pebble/step1.wav",SOUND_UNSCALABLE,180,10,100},
  176.             {"sounds/player/footsteps/pebble/step2.wav",SOUND_UNSCALABLE,180,10,100},
  177.             {"sounds/player/footsteps/pebble/step3.wav",SOUND_UNSCALABLE,180,10,100},
  178.             {"sounds/player/footsteps/pebble/step4.wav",SOUND_UNSCALABLE,180,10,100},
  179.         },
  180.     },
  181.     player_pebble_run = {
  182.         sounds = {
  183.             {"sounds/player/footsteps/pebble/step1.wav",SOUND_UNSCALABLE,230,10,100},
  184.             {"sounds/player/footsteps/pebble/step2.wav",SOUND_UNSCALABLE,230,10,100},
  185.             {"sounds/player/footsteps/pebble/step3.wav",SOUND_UNSCALABLE,230,10,100},
  186.             {"sounds/player/footsteps/pebble/step4.wav",SOUND_UNSCALABLE,230,10,100},
  187.         },
  188.     },
  189.     player_pebble_crouch = {
  190.         sounds = {
  191.             {"sounds/player/footsteps/pebble/step1.wav",SOUND_UNSCALABLE,140,10,100},
  192.             {"sounds/player/footsteps/pebble/step2.wav",SOUND_UNSCALABLE,140,10,100},
  193.             {"sounds/player/footsteps/pebble/step3.wav",SOUND_UNSCALABLE,140,10,100},
  194.             {"sounds/player/footsteps/pebble/step4.wav",SOUND_UNSCALABLE,140,10,100},
  195.         },
  196.     },
  197.     player_pebble_prone = {
  198.         sounds = {
  199.             {"sounds/player/footsteps/pebble/step1.wav",SOUND_UNSCALABLE,100,10,100},
  200.             {"sounds/player/footsteps/pebble/step2.wav",SOUND_UNSCALABLE,100,10,100},
  201.             {"sounds/player/footsteps/pebble/step3.wav",SOUND_UNSCALABLE,100,10,100},
  202.             {"sounds/player/footsteps/pebble/step4.wav",SOUND_UNSCALABLE,100,10,100},
  203.         },
  204.     },
  205.     common_bullet_hit_flesh_part = {
  206.         particles = {
  207.             { --Hitbloodonground
  208.             gore = 1,    -- to be able to switch off gore -- to know what's allowed                    
  209.                 focus = 1.5,
  210.                 start_color = {1,0,0},
  211.                 end_color = {1,0,0},
  212.                 speed = 0.0,
  213.                 count = 1,
  214.                 size = 0.25,
  215.                 size_speed=0.015,
  216.                 gravity={x=0,y=0,z=-5},
  217.                 lifetime=10,
  218.                 tid = System:LoadTexture("Languages\\textures\\decal\\blood.dds"),
  219.                 frames=0,
  220.                 particle_type = 1,
  221.                 bouncyness = 0,
  222.             },
  223.             { --Hitbloodyshower
  224.             gore = 1,    -- to be able to switch off gore -- to know what's allowed                    
  225.                 bLinearSizeSpeed=1,
  226.                 focus = 0.5,
  227.                 start_color = {0.5,0,0},
  228.                 end_color = {0.5,0,0},
  229.                 speed = 0.75,
  230.                 count = 1,
  231.                 size = 0.025,
  232.                 size_speed=0.75,
  233.                 gravity={x=0,y=0,z=-3},
  234.                 lifetime=0.75,
  235.                 tid = System:LoadTexture("Languages\\textures\\decal\\blood.dds"),
  236.                 frames=0,
  237.                 bouncyness = 0,
  238.             
  239.             },
  240.             { --blooddrops
  241.             gore = 1,    -- to be able to switch off gore -- to know what's allowed                    
  242.                 focus = 1.0,
  243.                 speed = 5,
  244.                 start_color = {0.5,0,0},
  245.                 end_color = {0.5,0,0},
  246.                 count = 3,
  247.                 size = 0.020,
  248.                 size_speed=0.0,
  249.                 gravity={x=0,y=0,z=-10},
  250.                 lifetime=0.25,
  251.                 tail_length = 0.25,
  252.                 tid = System:LoadTexture("Languages\\textures\\decal\\blooddrop.dds"),
  253.                 frames=0,
  254.                 bouncyness = 0,
  255.             },
  256.         },
  257.     },
  258.     common_bullet_hit_wood_part = {
  259.         particles = {
  260.             { --HitChips
  261.                 focus = 2,
  262.                 speed = 3.5, --default 1.5
  263.                 count = 6, --default 2
  264.                 size = 0.05, 
  265.                 size_speed=0.0,
  266.                 gravity = {x = 0.0, y = 0.0, z = -3},
  267.                 rotation = {x = 0.0, y = 0.0, z = 20},
  268.                 lifetime=1.5,
  269.                 frames=1,
  270.                 tid = System:LoadTexture("textures\\sprites\\chip.dds"),
  271.             },
  272.             { --HitChips1
  273.                 focus = 2,
  274.                 speed = 3.5, --default 1.5
  275.                 count = 6, --default 2
  276.                 size = 0.05, 
  277.                 size_speed=0.0,
  278.                 gravity = {x = 0.0, y = 0.0, z = -3},
  279.                 rotation = {x = 0.0, y = 0.0, z = 20},
  280.                 lifetime=1.5,
  281.                 frames=1,
  282.                 tid = System:LoadTexture("textures\\sprites\\chip1.dds"),
  283.             },            
  284.             { --HitDirt 
  285.                 focus = 1.5,
  286.                 color = {0.29,0.19,0.0},
  287.                 speed = 0.7,
  288.                 count = 10, --default 5
  289.                 size = 0.01, 
  290.                 size_speed=0.015,
  291.                 gravity={x=0,y=0,z=-2},
  292.                 lifetime=0.3,
  293.                 tid = System:LoadTexture("textures\\dirt1.dds"),
  294.                 frames=0,
  295.             },
  296.             {--hitsmoke
  297.                  focus = 0,
  298.                 start_color = {0.89,0.69,0.4},
  299.                 end_color = {1,1,1},
  300.                 speed = 0.1,
  301.                 count = 6, --default 2
  302.                 size = 0.005, 
  303.                 size_speed=0.01,
  304.                 gravity = {x = 0.0, y = 0.0, z = 0.25},
  305.                 rotation = {x = 0.0, y = 0.0, z = 2},
  306.                 lifetime=1.0,
  307.                 tid = System:LoadTexture("textures/clouda1.dds"),
  308.                 frames=0,
  309.                 blend_type = 0,
  310.             },
  311.             { --HotSpot
  312.                 focus = 90,
  313.                 speed = 0.0,
  314.                 count = 1, --default 1
  315.                 size = 0.01, 
  316.                 size_speed=0.01,
  317.                 gravity={x=0,y=0,z=0},
  318.                 lifetime=0.2,
  319.                 tid = System:LoadTexture("Textures/Decal/Spark.dds"),
  320.                 frames=0,
  321.                 blend_type = 2,
  322.                 draw_last = 1,
  323.                 },
  324.         },
  325.     },
  326.     common_bullet_hit_particles = {
  327.         particles = {
  328.  
  329.             { --HitMetalSparksTrail
  330.             focus = 2.0,
  331.             color = {1,1,1},
  332.             speed = 6.0,
  333.             count = 10, --default 5
  334.             size = 0.025, 
  335.             size_speed=0,
  336.             gravity={x=0,y=0,z=-1},
  337.             lifetime=0.15,
  338.             tid = System:LoadTexture("Textures/Decal/Spark.dds"),
  339.             tail_length = 0.4,
  340.             frames=0,
  341.             blend_type = 2
  342.             },
  343.  
  344.             { --HitMetalHotSpot
  345.             focus = 90,
  346.             color = {1,1,1},
  347.             speed = 0.0,
  348.             count = 1, --default 2
  349.             size = 0.05, 
  350.             size_speed=0,
  351.             gravity={x=0,y=0,z=0},
  352.             lifetime=0.3,
  353.             tid = System:LoadTexture("Textures/Decal/Spark.dds"),
  354.             frames=0,
  355.             blend_type = 2
  356.             },
  357.         },
  358.     },
  359.     common_machete_hit_particles = {
  360.         particles = {
  361.             { --HitMetalSparksTrail
  362.                 focus = 0.0,
  363.                 speed = 1.0,
  364.                 count = 5, 
  365.                 size = 0.01, 
  366.                 size_speed=0,
  367.                 gravity={x=0,y=0,z=-6},
  368.                 lifetime=0.4,
  369.                 tid = System:LoadTexture("Textures/Decal/Spark.dds"),
  370.                 tail_length = 0.6,
  371.                 frames=0,
  372.                 blend_type = 2
  373.             },
  374.         },
  375.  
  376.     },
  377.     common_machete_hit_flesh_part = {
  378.         particles = {
  379.             { --Hitbloodyshower
  380.             gore = 1,    -- to be able to switch off gore -- to know what's allowed                    
  381.                 bLinearSizeSpeed=1,
  382.                 focus = 1,
  383.                 start_color = {0.5,0,0},
  384.                 end_color = {0.5,0,0},
  385.                 speed = 0.75,
  386.                 count = 5,
  387.                 size = 0.01,
  388.                 size_speed=0.5,
  389.                 gravity={x=0,y=0,z=-3},
  390.                 lifetime=0.75,
  391.                 tid = System:LoadTexture("Languages\\textures\\decal\\blood.dds"),
  392.                 frames=0,
  393.                 bouncyness = 0,
  394.             
  395.             },
  396.             { --blooddrops
  397.             gore = 1,    -- to be able to switch off gore -- to know what's allowed                    
  398.                 focus = 1.0,
  399.                 speed = 5,
  400.                 start_color = {0.5,0,0},
  401.                 end_color = {0.5,0,0},
  402.                 count = 5,
  403.                 size = 0.015,
  404.                 size_speed=0.0,
  405.                 gravity={x=0,y=0,z=-15},
  406.                 lifetime=0.25,
  407.                 tail_length = 0.25,
  408.                 tid = System:LoadTexture("Languages\\textures\\decal\\blooddrop.dds"),
  409.                 frames=0,
  410.                 bouncyness = 0,
  411.             },
  412.         },
  413.     },
  414.     common_machete_hit_wood_part = {
  415.         particles = {
  416.             { --HitChips
  417.                 focus = 0,
  418.                 speed = 2.0,
  419.                 count = 10,
  420.                 size = 0.035, 
  421.                 size_speed=0.0,
  422.                 gravity = {x = 0.0, y = 0.0, z = -2},
  423.                 rotation = {x = 0.0, y = 0.0, z = 20},
  424.                 lifetime=0.3,
  425.                 frames=1,
  426.                 tid = System:LoadTexture("textures\\sprites\\chip.dds"),
  427.             },
  428.             { --HitDirt 
  429.                 focus = 1.5,
  430.                 color = {0.29,0.19,0.0},
  431.                 speed = 0.9,
  432.                 count = 3,
  433.                 size = 0.015, 
  434.                 size_speed=0.025,
  435.                 gravity={x=0,y=0,z=-2},
  436.                 lifetime=0.5,
  437.                 tid = System:LoadTexture("textures\\dirt1.dds"),
  438.                 frames=0,
  439.             },
  440.             {--hitsmoke
  441.                  focus = 0,
  442.                 start_color = {0.89,0.69,0.4},
  443.                 end_color = {1,1,1},
  444.                 speed = 0.1,
  445.                 count = 2,
  446.                 size = 0.005, 
  447.                 size_speed=0.01,
  448.                 gravity = {x = 0.0, y = 0.0, z = 0.25},
  449.                 rotation = {x = 0.0, y = 0.0, z = 2},
  450.                 lifetime=1.0,
  451.                 tid = System:LoadTexture("textures/cloud1.dds"),
  452.                 frames=0,
  453.                 blend_type = 1,
  454.             },
  455.  
  456.         },
  457.     },
  458.     common_machete_hit_canvas_part = {
  459.         particles = {
  460.             { --HitChips
  461.                 focus = 0,
  462.                 speed = 2.0,
  463.                 count = 5,
  464.                 size = 0.015, 
  465.                 size_speed=0.0,
  466.                 gravity = {x = 0.0, y = 0.0, z = -5},
  467.                 rotation = {x = 0.0, y = 0.0, z = 20},
  468.                 lifetime=0.2,
  469.                 frames=1,
  470.                 tid = System:LoadTexture("textures\\sprites\\chip.dds"),
  471.             },
  472.             {--hitsmoke
  473.                  focus = 0,
  474.                 start_color = {0.89,0.69,0.4},
  475.                 end_color = {1,1,1},
  476.                 speed = 0.1,
  477.                 count = 2,
  478.                 size = 0.05, 
  479.                 size_speed=0.125,
  480.                 gravity = {x = 0.0, y = 0.0, z = 0.25},
  481.                 rotation = {x = 0.0, y = 0.0, z = 0.5},
  482.                 lifetime=1.0,
  483.                 tid = System:LoadTexture("textures/cloud2.dds"),
  484.                 frames=0,
  485.                 blend_type = 1,
  486.             },
  487.  
  488.         },
  489.     },
  490.     common_bullet_drop_single_wood = {
  491.         sounds = {
  492.             {"sounds/bullets/casingwood1.wav",SOUND_UNSCALABLE, 175, 1, 20},
  493.             {"sounds/bullets/casingwood2.wav",SOUND_UNSCALABLE, 175, 1, 20},
  494.             {"sounds/bullets/casingwood3.wav",SOUND_UNSCALABLE, 175, 1, 20},
  495.             {"sounds/bullets/casingwood4.wav",SOUND_UNSCALABLE, 175, 1, 20},
  496.             {"sounds/bullets/casingwood5.wav",SOUND_UNSCALABLE, 175, 1, 20},
  497.             {"sounds/bullets/casingwood6.wav",SOUND_UNSCALABLE, 175, 1, 20},
  498.         },
  499.     },
  500.     common_bullet_drop_rapid_wood = {
  501.         sounds = {
  502.             {"sounds/bullets/casingwoodmulti1.wav",SOUND_UNSCALABLE, 175, 1, 20},
  503.             {"sounds/bullets/casingwoodmulti2.wav",SOUND_UNSCALABLE, 175, 1, 20},
  504.             {"sounds/bullets/casingwoodmulti3.wav",SOUND_UNSCALABLE, 175, 1, 20},
  505.             {"sounds/bullets/casingwoodmulti4.wav",SOUND_UNSCALABLE, 175, 1, 20},
  506.         },
  507.     },
  508.     common_bullet_drop_single_ashphalt = {
  509.         sounds = {
  510.             {"sounds/bullets/casingashphalt1.wav",SOUND_UNSCALABLE, 175, 1, 20},
  511.             {"sounds/bullets/casingashphalt2.wav",SOUND_UNSCALABLE, 175, 1, 20},
  512.             {"sounds/bullets/casingashphalt3.wav",SOUND_UNSCALABLE, 175, 1, 20},
  513.             {"sounds/bullets/casingashphalt4.wav",SOUND_UNSCALABLE, 175, 1, 20},
  514.             {"sounds/bullets/casingashphalt5.wav",SOUND_UNSCALABLE, 175, 1, 20},
  515.         },
  516.     },
  517.     common_bullet_drop_rapid_ashphalt = {
  518.         sounds = {
  519.             {"sounds/bullets/casingasphaltmulti1.wav",SOUND_UNSCALABLE, 175, 1, 20},
  520.             {"sounds/bullets/casingasphaltmulti2.wav",SOUND_UNSCALABLE, 175, 1, 20},
  521.             {"sounds/bullets/casingasphaltmulti3.wav",SOUND_UNSCALABLE, 175, 1, 20},
  522.             {"sounds/bullets/casingasphaltmulti4.wav",SOUND_UNSCALABLE, 175, 1, 20},
  523.         },
  524.     },
  525.     common_bullet_drop_single_metal = {
  526.         sounds = {
  527.             {"sounds/bullets/casingmetal1.wav",SOUND_UNSCALABLE, 175, 1, 20},
  528.             {"sounds/bullets/casingmetal2.wav",SOUND_UNSCALABLE, 175, 1, 20},
  529.             {"sounds/bullets/casingmetal3.wav",SOUND_UNSCALABLE, 175, 1, 20},
  530.             {"sounds/bullets/casingmetal4.wav",SOUND_UNSCALABLE, 175, 1, 20},
  531.             {"sounds/bullets/casingmetal5.wav",SOUND_UNSCALABLE, 175, 1, 20},
  532.             {"sounds/bullets/casingmetal6.wav",SOUND_UNSCALABLE, 175, 1, 20},
  533.         },
  534.     },
  535.     common_bullet_drop_rapid_metal = {
  536.         sounds = {
  537.             {"sounds/bullets/casingmetalmulti1.wav",SOUND_UNSCALABLE, 175, 1, 20},
  538.             {"sounds/bullets/casingmetalmulti2.wav",SOUND_UNSCALABLE, 175, 1, 20},
  539.             {"sounds/bullets/casingmetalmulti3.wav",SOUND_UNSCALABLE, 175, 1, 20},
  540.             {"sounds/bullets/casingmetalmulti4.wav",SOUND_UNSCALABLE, 175, 1, 20},
  541.         },
  542.     },
  543.     common_bullet_hit = 
  544.         {
  545.         particles = 
  546.             {
  547.                 { --Hit 
  548.                 focus = 0,
  549.                 color = {0.29,0.19,0.0},
  550.                 speed = 0.0,
  551.                 count = 1,
  552.                 size = 0.25, 
  553.                 size_speed=0.3,
  554.                 gravity=-1,
  555.                 lifetime=0.6,
  556.                 tid = System:LoadTexture("textures/grhit2.dds"),
  557.                 frames=0,
  558.                 color_based_blending = 3
  559.                 },
  560.                 {--hitsmoke
  561.                  focus = 10,
  562.                 color = {0.29,0.19,0.0},
  563.                 speed = 0.15,
  564.                 count = 4,
  565.                 size = 0.01, 
  566.                 size_speed=0.01,
  567.                 gravity=0,
  568.                 lifetime=1.25,
  569.                 tid = System:LoadTexture("textures/cloud1.dds"),
  570.                 frames=0,
  571.                 color_based_blending = 3
  572.                 },
  573.                 {--particles
  574.                 focus = 2,
  575.                 color = {0.29,0.19,0.0},
  576.                 speed = 5.0,
  577.                 count = 3,
  578.                 size = 0.02, 
  579.                 size_speed=0.0,
  580.                 gravity = {x = 0.0, y = 0.0, z = -5},
  581.                 lifetime=0.3,
  582.                 tid =System:LoadTexture("textures/Animated/stone/sta0000.dds"),
  583.                 frames=1,
  584.                 color_based_blending = 1
  585.                 },
  586.  
  587.             },
  588.         },
  589.  
  590. -- primary explosion from rocket
  591.  
  592.     common_projectile_hit = {
  593.         particleEffects = {
  594.             name = "explosions.rocket.a",
  595.             scale = 1.0,
  596.         },
  597.     },
  598.  
  599.  
  600. -- secondary explosion from rocket
  601. --
  602. --    common_projectile_hit2 = 
  603. --        {
  604. --            particles = 
  605. --            {
  606. --                
  607. --                {--ExplosionRocksBig 
  608. --                focus = 5,
  609. --                color = {1,1,1},
  610. --                speed = 25, -- default 20
  611. --                count = 15, -- default 20
  612. --                size = 0.2, size_speed = 0,
  613. --                gravity = {x = 0.0, y = 0.0, z = -20.0}, -- default z = 20
  614. --                lifetime = 4.0, -- default 4.0
  615. --                frames = 32,
  616. --                color_based_blending = 0,
  617. --                tid = System:LoadAnimatedTexture("textures/animated/stone/sta%04d.tga",16),
  618. --                    ChildSpawnPeriod = 0.03,
  619. --                    ChildProcess = 
  620. --                    { -- smoking rocks
  621. --                      focus = 90,
  622. --                    start_color = {0.3,0.3,0.3},
  623. --                    end_color = {1,1,1},
  624. --                     speed = 1, -- default 1
  625. --                    count = 1, -- default 1
  626. --                    size = 0.15, size_speed = 0.4,
  627. --                    lifetime = 0.6, -- default 0.6
  628. --                    frames = 1,
  629. --                    blend_type = 0,
  630. --                    tid = System:LoadTexture( "textures/clouda.dds" ),
  631. --                      }
  632. --                },
  633. --                {--ExplosionRocksSmall 
  634. --                focus = 5,
  635. --                color = {1,1,1},
  636. --                speed = 30, -- default 30
  637. --                rotation = {x=0,y=0,z=20}, 
  638. --                count = 75, -- default 75
  639. --                size = 0.15, size_speed = 0,
  640. --                gravity = {x = 0.0, y = 0.0, z = -37.0}, -- z = 37
  641. --                lifetime = 4.25, -- default 2.25
  642. --                color_based_blending = 0,
  643. --                frames = 1,
  644. --                tid = System:LoadTexture("textures/animated/stone/sta0000.tga"),
  645. --                },
  646. --                {--ExplosionLowerDirt
  647. --                focus = 8, -- default 4
  648. --                color = {1,1,1},
  649. --                speed = 20, -- default 25
  650. --                rotation = {x=0,y=0,z=1.5},
  651. --                count = 80, -- default 40
  652. --                size = 0.05, size_speed = 2,
  653. --                gravity = {x = 0.0, y = 0.0, z = -22.0}, -- default z = 22
  654. --                lifetime = 1.8, -- default 1.8
  655. --                color_based_blending = 1,
  656. --                frames = 1,
  657. --                tid = System:LoadTexture("textures/dirt1.dds"),
  658. --                },
  659. --            },
  660. --    
  661. --        },
  662.  
  663.  
  664.  
  665.  
  666.     common_grenade_hit = {
  667.         sounds = {
  668.             {"SOUNDS/items/grenade_hit.wav", SOUND_UNSCALABLE, 190, 5, 60},
  669.         },
  670.     },
  671.  
  672.  
  673.  
  674.     common_mortar_hit = 
  675.         {
  676.             particles = 
  677.             {
  678.                 {--ExplosionRocksBig 
  679.                 focus = 2,
  680.                 color = {1,1,1},
  681.                 speed = 12,
  682.                 count = 5,
  683.                 size = 0.2, size_speed = 0,
  684.                 gravity = {x = 0.0, y = 0.0, z = -20.0},
  685.                 lifetime = 1.5,
  686.                 frames = 32,
  687.                 color_based_blending = 0,
  688.                 tid = System:LoadAnimatedTexture("textures/animated/stone/sta%04d.tga",16),
  689.                     ChildSpawnPeriod = 0.03,
  690.                     ChildProcess = 
  691.                     {
  692.                       focus = 90,
  693.                     start_color = {0.3,0.3,0.3},
  694.                     end_color = {1,1,1},
  695.                      speed = 1,
  696.                     count = 1,
  697.                     size = 0.15, size_speed = 0.4,
  698.                     lifetime = 0.6,
  699.                     frames = 1,
  700.                     blend_type = 0,
  701.                     tid = System:LoadTexture( "textures/clouda.dds" ),
  702.                       }
  703.                 },
  704.                 {--ExplosionRocksSmall 
  705.                 focus = 5,
  706.                 color = {1,1,1},
  707.                 speed = 20,
  708.                 rotation = {x=0,y=0,z=20},
  709.                 count = 50,
  710.                 size = 0.15, size_speed = 0,
  711.                 gravity = {x = 0.0, y = 0.0, z = -27.0},
  712.                 lifetime = 2.25,
  713.                 color_based_blending = 0,
  714.                 frames = 1,
  715.                 tid = System:LoadTexture("textures/animated/stone/sta0000.tga"),
  716.                 },
  717.                  {--ExplosionRocksSmallTrails
  718.                 focus = 5,
  719.                 color = {1,1,1},
  720.                 speed = 20,
  721.                 rotation = {x=0,y=0,z=20},
  722.                 count = 5,
  723.                 size = 0.15, size_speed = 0,
  724.                 gravity = {x = 0.0, y = 0.0, z = -27.0},
  725.                 lifetime = 1.0,
  726.                 color_based_blending = 0,
  727.                 frames = 1,
  728.                 tid = System:LoadTexture("textures/animated/stone/sta0000.tga"),
  729.                 ChildSpawnPeriod = 0.02,
  730.                     ChildProcess = 
  731.                     {
  732.                       focus = 40,
  733.                     start_color = {0.3,0.3,0.3},
  734.                     end_color = {1,1,1},
  735.                     rotation = {x=0,y=0,z=20},
  736.                      speed = 0,
  737.                     count = 1,
  738.                     size = 0.25, size_speed = 0.2,
  739.                     lifetime = 0.6,
  740.                     frames = 1,
  741.                     blend_type = 0,
  742.                     tid = System:LoadTexture( "textures/clouda.dds" ),
  743.                       }
  744.                 },
  745.                  {--ExplosionDirt
  746.                 focus = 8,
  747.                 color = {1,1,1},
  748.                 speed = 17,
  749.                 rotation = {x=0,y=0,z=1.5},
  750.                 count = 20,
  751.                 size = 0.05, size_speed = 2,
  752.                 gravity = {x = 0.0, y = 0.0, z = -22.0},
  753.                 lifetime = 1.8,
  754.                 color_based_blending = 1,
  755.                 frames = 1,
  756.                 tid = System:LoadTexture("textures/dirt1.dds"),
  757.                 },
  758.             },
  759.  
  760.         },
  761.  
  762.     common_flashgrenade_hit = {
  763.         sounds = {
  764.             {"SOUNDS/items/smokecan_hit.wav", SOUND_UNSCALABLE, 190, 5, 60},
  765.         },
  766.     },
  767.  
  768.     common_smokegrenade_hit = {
  769.         sounds = {
  770.             {"SOUNDS/items/smokecan_hit.wav", SOUND_UNSCALABLE, 190, 5, 60},
  771.         },
  772.     },
  773.  
  774. -----------------------------------------------------------------------------------------------------------------
  775. ------------------------------------------WATER--------------------------------------------------------
  776. -----------------------------------------------------------------------------------------------------------------
  777.     water_projectile_hit = {
  778.         sounds = {
  779.             {"Sounds/weapons/grenade/splash1.wav",0,175,20,10000},
  780.             {"Sounds/weapons/grenade/splash1.wav",0,175,20,10000},
  781.         },
  782.         particleEffects = {
  783.             name = "water.water_splash.a",
  784.         },
  785.     },
  786.  
  787.     AI = {
  788.         fImpactRadius = 5,
  789.     },
  790.     
  791.     water_splash = {
  792.         sounds = {
  793.             {"Sounds/player/water/bodysplash.wav",SOUND_UNSCALABLE,200,5,200},
  794.         },
  795.         particleEffects = {
  796.             name = "water.water_splash.a",
  797.             scale = 0.3,
  798.         },
  799.     },
  800.     
  801.     --vehicle common effects, water is already handled by code.
  802.     
  803.     --particles
  804.     common_vehicle_particles_rocks = "smoke.vehicle_rocks.a",
  805.     common_vehicle_particles_grass = "smoke.vehicle_rocks.b",
  806.     
  807.     --smokes
  808.     common_vehicle_smoke_mud = "smoke.vehicle_dust.a",
  809.     common_vehicle_smoke_concrete = "smoke.vehicle_dust.b",
  810.     --common_vehicle_smoke_grass = "smoke.vehicle_dust.c",
  811. }