Guest User

cfgSurfaces.hpp

a guest
Aug 18th, 2017
99
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class CfgSurfaces
  2. {
  3. class Default{};
  4. class grass_green_surface: Default
  5. {
  6. files = "grass_green_*";
  7. character = "grass_green_character";
  8. soundEnviron = "grass";
  9. soundHit = "soft_ground";
  10. rough = 0.08;
  11. maxSpeedCoef = 0.9;
  12. dust = 0.15;
  13. lucidity = 4;
  14. grassCover = 0.05;
  15. impact = "hitGroundSoft";
  16. };
  17. class concrete_surface: Default
  18. {
  19. files = "concrete_*";
  20. character = "Empty";
  21. soundEnviron = "concrete";
  22. soundHit = "concrete";
  23. rough = 0.05;
  24. maxSpeedCoef = 1;
  25. dust = 0.15;
  26. lucidity = 0.3;
  27. grassCover = 0.0;
  28. impact = "hitConcrete";
  29. };
  30. class dirt_surface: Default
  31. {
  32. files = "dirt_*";
  33. character = "Empty";
  34. soundEnviron = "dirt";
  35. soundHit = "soft_ground";
  36. rough = 0.09;
  37. maxSpeedCoef = 0.9;
  38. dust = 0.5;
  39. lucidity = 1;
  40. grassCover = 0.03;
  41. impact = "hitGroundSoft";
  42. };
  43. class mud_surface: Default
  44. {
  45. files = "mud_*";
  46. character = "MudClutter";
  47. soundEnviron = "dirt";
  48. soundHit = "soft_ground";
  49. rough = 0.15;
  50. maxSpeedCoef = 0.85;
  51. dust = 0.32;
  52. lucidity = 1.5;
  53. grassCover = 0.04;
  54. impact = "hitGroundHard";
  55. };
  56. };
  57.  
  58. class cfgSurfaceCharacters
  59. {
  60. class grass_green_character
  61. {
  62. // how much stuff from the clutters will be placed,
  63. // so in this case 3 numbers representing the 3 names on next line.
  64. probability[] = {0.95,0.01,0.01,0.01};
  65. names[] = {"grass_green_clutter"};
  66. };
  67. };
RAW Paste Data