Walkero0

cfgsurfaces

Nov 4th, 2022
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.31 KB | None | 0 0
  1. class CfgSoundEnvironToControllers
  2. {
  3. class grass;
  4. class sand;
  5. class dirt;
  6. class road;
  7. class forest;
  8. class rock;
  9. class grass_exp: grass{};
  10. class grasstall_exp: grass{};
  11. class sand_exp: sand{};
  12. class dirt_exp: dirt{};
  13. class asphalt_exp: road{};
  14. class forest_exp: forest{};
  15. class stones_exp: rock{};
  16. };
  17. class CfgSurfaces
  18. {
  19. class Default {};
  20. class wlk_Asphalt_Surface: Default
  21. {
  22. access = 2;
  23. files = "wlk_asphalt*";
  24. character = "Empty";
  25. soundEnviron = "asphalt_exp";
  26. soundHit = "concrete";
  27. rough = 0.05;
  28. dust = 0.05;
  29. lucidity = 0.03;
  30. grassCover = 0.0;
  31. maxClutterColoringCoef = 1.5;
  32. impact = "hitConcrete";
  33. surfaceFriction = 2;
  34. restitution = 0.2;
  35. };
  36. class wlk_dirt_Surface: Default
  37. {
  38. access = 2;
  39. files = "wlk_dirt*";
  40. character = "Empty";
  41. soundEnviron = "dirt_exp";
  42. soundHit = "soft_ground";
  43. rough = 0.05;
  44. dust = 0.05;
  45. lucidity = 0.03;
  46. grassCover = 0.0;
  47. maxClutterColoringCoef = 1.5;
  48. impact = "hitGroundSoft";
  49. surfaceFriction = 2;
  50. restitution = 0.2;
  51. };
  52. class wlk_snow_Surface: Default
  53. {
  54. access = 2;
  55. files = "wlk_snow*";
  56. character = "Empty";
  57. soundEnviron = "sand";
  58. soundHit = "hitGroundSoft";
  59. rough = 0.05;
  60. dust = 0.05;
  61. lucidity = 0.03;
  62. grassCover = 0.0;
  63. maxClutterColoringCoef = 1.5;
  64. impact = "hitGroundSoft";
  65. surfaceFriction = 2;
  66. restitution = 0.2;
  67. };
  68. class wlk_slope_Surface: Default
  69. {
  70. access = 2;
  71. files = "wlk_slope*";
  72. character = "Empty";
  73. soundEnviron = "stones_exp";
  74. soundHit = "hitGroundHard";
  75. rough = 0.05;
  76. dust = 0.05;
  77. lucidity = 0.03;
  78. grassCover = 0.0;
  79. maxClutterColoringCoef = 1.5;
  80. impact = "hitGroundHard";
  81. surfaceFriction = 2;
  82. restitution = 0.2;
  83. };
  84. class wlk_concrete_dirt_Surface: Default
  85. {
  86. access = 2;
  87. files = "wlk_concrete_dirt*";
  88. character = "Empty";
  89. soundEnviron = "asphalt_exp";
  90. soundHit = "concrete";
  91. rough = 0.05;
  92. dust = 0.05;
  93. lucidity = 0.03;
  94. grassCover = 0.0;
  95. maxClutterColoringCoef = 1.5;
  96. impact = "hitConcrete";
  97. surfaceFriction = 2;
  98. restitution = 0.2;
  99. };
  100. class wlk_feld_pebbles_Surface: Default
  101. {
  102. access = 2;
  103. files = "wlk_pebbles*";
  104. character = "Empty";
  105. soundEnviron = "gravel_exp";
  106. soundHit = "hitGroundHard";
  107. rough = 0.05;
  108. dust = 0.05;
  109. lucidity = 0.03;
  110. grassCover = 0.0;
  111. maxClutterColoringCoef = 1.5;
  112. impact = "hitGroundHard";
  113. surfaceFriction = 2;
  114. restitution = 0.2;
  115. };
  116. class wlk_feld_gravel_Surface: Default
  117. {
  118. access = 2;
  119. files = "wlk_gravel*";
  120. character = "Empty";
  121. soundEnviron = "gravel_exp";
  122. soundHit = "hitGroundHard";
  123. rough = 0.05;
  124. dust = 0.05;
  125. lucidity = 0.03;
  126. grassCover = 0.0;
  127. maxClutterColoringCoef = 1.5;
  128. impact = "hitGroundHard";
  129. surfaceFriction = 2;
  130. restitution = 0.2;
  131. };
  132. // standard
  133. class wlk_lukino_sea_Surface : Default
  134. {
  135. files = "wlk_seafloor*";
  136. rough = 0.09;
  137. maxSpeedCoef = 0.9;
  138. isWater = 1;
  139. dust = 0.5;
  140. soundEnviron = "seabed_exp";
  141. character = "wlk_lukino_sea_floor_Character";
  142. impact = "hitGroundSoft";
  143. soundHit = "water";
  144. lucidity = 1;
  145. grassCover = 0.03;
  146. };
  147. class wlk_lukino_sand_Surface : Default
  148. {
  149. files = "wlk_sand*";
  150. rough = 0.08;
  151. maxSpeedCoef = 0.7;
  152. dust = 0.75;
  153. surfaceFriction = 1.5;
  154. soundEnviron = "sand";
  155. impact = "hitGroundSoft";
  156. character = "Empty";
  157. soundHit = "soft_ground";
  158. lucidity = 2;
  159. grassCover = 0.1;
  160. };
  161. class wlk_lukino_forest_pine_Surface : Default
  162. {
  163. files = "wlk_forest*";
  164. rough = 0.10;
  165. maxSpeedCoef = 0.6;
  166. dust = 0.4;
  167. soundEnviron = "forest_exp";
  168. impact = "hitGroundSoft";
  169. surfaceFriction = 1.8;
  170. character = "wlk_lukino_forest_pine_Character";
  171. soundHit = "soft_ground";
  172. lucidity = 3.5;
  173. grassCover = 0.04;
  174. };
  175. class wlk_lukino_grass_green_Surface : Default
  176. {
  177. files = "wlk_grass*";
  178. rough = 0.11;
  179. maxSpeedCoef = 0.7;
  180. soundEnviron = "grasstall_exp";
  181. impact = "hitGroundSoft";
  182. surfaceFriction = 1.5;
  183. dust = 0.09;
  184. character = "wlk_lukino_green_grass_Character";
  185. soundHit = "soft_ground";
  186. lucidity = 4;
  187. grassCover = 0.05;
  188. };
  189. class wlk_lukino_rasen_arena_Surface : Default
  190. {
  191. files = "wlk_rasen*";
  192. rough = 0.11;
  193. maxSpeedCoef = 0.7;
  194. soundEnviron = "grass";
  195. impact = "hitGroundSoft";
  196. surfaceFriction = 1.5;
  197. dust = 0.09;
  198. character = "wlk_lukino_rasen_arena_Character";
  199. soundHit = "soft_ground";
  200. lucidity = 4;
  201. grassCover = 0.05;
  202. };
  203. class wlk_lukino_confield_Surface : Default
  204. {
  205. files = "wlk_field*";
  206. rough = 0.10;
  207. soundEnviron = "dirt_exp";
  208. impact = "hitGroundSoft";
  209. surfaceFriction = 2;
  210. maxSpeedCoef = 0.6;
  211. dust = 0.75;
  212. character = "wlk_lukino_field_corn_Character";
  213. soundHit = "soft_ground";
  214. lucidity = 4;
  215. grassCover = 0.05;
  216. };
  217. class wlk_lukino_feld_Surface : Default
  218. {
  219. files = "wlk_feld*";
  220. rough = 0.10;
  221. soundEnviron = "dirt_exp";
  222. impact = "hitGroundSoft";
  223. dust = 0.75;
  224. maxSpeedCoef = 0.6;
  225. character = "wlk_lukino_feld_Character";
  226. soundHit = "soft_ground";
  227. lucidity = 4;
  228. grassCover = 0.05;
  229. };
  230. class wlk_lukino_wheat_Surface : Default
  231. {
  232. files = "wlk_wheat*";
  233. rough = 0.10;
  234. soundEnviron = "dirt_exp";
  235. impact = "hitGroundSoft";
  236. surfaceFriction = 2;
  237. maxSpeedCoef = 0.6;
  238. dust = 0.75;
  239. character = "wlk_lukino_feld_wheat_Character";
  240. soundHit = "soft_ground";
  241. lucidity = 4;
  242. grassCover = 0.05;
  243. };
  244. class wlk_lukino_sunflower_Surface : Default
  245. {
  246. files = "wlk_mud*";
  247. rough = 0.10;
  248. soundEnviron = "dirt_exp";
  249. impact = "hitGroundSoft";
  250. surfaceFriction = 2;
  251. maxSpeedCoef = 0.4;
  252. dust = 0.75;
  253. character = "wlk_lukino_area_sunflower_Character";
  254. soundHit = "soft_ground";
  255. lucidity = 4;
  256. grassCover = 0.05;
  257. };
  258. //roads
  259. class ab1_hw: wlk_Asphalt_Surface
  260. {
  261. files = "ab1_hw*";
  262. soundEnviron = "concrete";
  263. character = "Empty";
  264. };
  265. class surf_roaddirt: wlk_dirt_Surface
  266. {
  267. files = "surf_roaddirt*";
  268. soundEnviron = "dirt";
  269. character = "Empty";
  270. };
  271. class ab1_asf1_hw: wlk_Asphalt_Surface
  272. {
  273. files = "ab1_asf1_hw*";
  274. soundEnviron = "concrete";
  275. character = "Empty";
  276. };
  277. class wlk_roadtarmac_main_road: wlk_Asphalt_Surface
  278. {
  279. files = "wlk_roadtarmac_main_road*";
  280. soundEnviron = "concrete";
  281. character = "Empty";
  282. };
  283. class surf_roadconcrete: wlk_Asphalt_Surface
  284. {
  285. files = "surf_roadconcrete*";
  286. soundEnviron = "concrete";
  287. character = "Empty";
  288. };
  289. };
  290.  
  291. class CfgSurfaceCharacters
  292. {
  293. class wlk_lukino_forest_pine_Character
  294. {
  295. probability[] = {0.0003,0.04,0.003,0.004,0.16,0.08,0.04};
  296. names[] = {"wlk_lukino_bush_ficus_c1","wlk_lukino_BigFallenBranches_pine","wlk_lukino_BigFallenBranches_pine02","wlk_lukino_BigFallenBranches_pine03","wlk_lukino_GrassDryGroup","wlk_lukino_GrassGreenGroup","wlk_lukino_Grassdesert_Group"};
  297. };
  298. class wlk_lukino_green_grass_Character
  299. {
  300. probability[] = {0.0002,0.15,0.0002,0.05,0.1,0.05,0.05,0.2,0.04,0.03,0.19,0.01,0.1,0.03};
  301. names[] = {"wlk_lukino_bush_ficus_c2","wlk_lukino_Grass_Green","wlk_lukino_bush_nerium_b2","wlk_lukino_GrassDryGroup","wlk_lukino_WeedBrownTallGroup","wlk_lukino_GrassDryMediumGroup","wlk_lukino_Grasss_Mimosa","wlk_lukino_Grassdesert_Group","wlk_lukino_Grassshort_Small","wlk_lukino_GrassGreenGroup","wlk_lukino_WeedGreenTall","wlk_lukino_PlantMullein","wlk_lukino_GrassDry","wlk_lukino_ThistleThornGreen"};
  302. };
  303. class wlk_lukino_rasen_arena_Character
  304. {
  305. probability[] = {0.5};
  306. names[] = {"wlk_lukino_Grass_Green"};
  307. };
  308. class wlk_lukino_sea_floor_Character
  309. {
  310. probability[] = {0.03,0.035,0.05,0.02,0.01,0.09,0.03};
  311. names[] = {"SeaWeed1Exp","SeaWeed2Exp","Coral4Exp","Coral1Exp","Coral5Exp","Coral3Exp","Coral2Exp"};
  312. };
  313.  
  314. class wlk_lukino_field_corn_Character
  315. {
  316. probability[] = {0.5};
  317. names[] = {"wlk_lukino_field_corn"};
  318. };
  319. class wlk_lukino_feld_Character
  320. {
  321. probability[] = {0.01,0.01,0.03};
  322. names[] = {"wlk_lukino_BigFallenBranches_pine","wlk_lukino_BigFallenBranches_pine02","wlk_lukino_GrassDryGroup"};
  323. };
  324. class wlk_lukino_feld_wheat_Character
  325. {
  326. probability[] = {0.3};
  327. names[] = {"wlk_lukino_feld_wheat"};
  328. };
  329. class wlk_lukino_area_sunflower_Character
  330. {
  331. probability[] = {0.3};
  332. names[] = {"wlk_lukino_area_sunflower"};
  333. };
  334. };
Advertisement
Add Comment
Please, Sign In to add comment