Advertisement
Guest User

Untitled

a guest
Oct 13th, 2015
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.94 KB | None | 0 0
  1. class DefaultEventhandlers;
  2. class CfgPatches
  3. {
  4. class Pep_Bow_NemesisEXR
  5. {
  6. units[] = {"Pep_Bow_NemesisEXR_base","Pep_Bow_NemesisEXR_gris","Pep_Bow_NemesisEXR_orange","Pep_Bow_NemesisEXR_noir","Pep_Bow_NemesisEXR_rouge","Pep_Bow_NemesisEXR_blanc"};
  7. weapons[] = {};
  8. requiredVersion = 0.1;
  9. requiredAddons[] = {"A3_Soft_F","A3_Data_F"};
  10. };
  11. };
  12. class WeaponFireGun;
  13. class WeaponCloudsGun;
  14. class WeaponFireMGun;
  15. class WeaponCloudsMGun;
  16.  
  17. class CfgVehicles
  18. {
  19. class Car;
  20. class Car_F: Car
  21. {
  22. class UserActions;
  23. class AnimationSources;
  24. class HitPoints
  25. {
  26. class HitLFWheel;
  27. class HitLF2Wheel;
  28. class HitRFWheel;
  29. class HitRF2Wheel;
  30. class HitBody;
  31. class HitGlass1;
  32. class HitGlass2;
  33. class HitGlass3;
  34. class HitGlass4;
  35. };
  36. class EventHandlers;
  37. };
  38. class Pep_Bow_NemesisEXR: Car_F
  39. {
  40. model = "\Bow_NemesisEXR_pep\Pep_Bow_NemesisEXR.p3d";
  41. picture = "\A3\Weapons_F\Data\placeholder_co.paa";
  42. Icon = "\A3\Weapons_F\Data\placeholder_co.paa";
  43. displayName = "Bowler Nemesis EXR";
  44. author = "LuthSS"
  45. hiddenSelections[] = {"camo1"};
  46. terrainCoef = 5.5;
  47. turnCoef = 3;
  48. precision = 10;
  49. fireResistance = 10;
  50. armor = 100;
  51. cost = 50000;
  52. transportMaxBackpacks = 8;
  53. transportSoldier = 2;
  54. wheelDamageRadiusCoef = 0.9;
  55. wheelDestroyRadiusCoef = 0.4;
  56. maxFordingDepth = 0.5;
  57. waterResistance = 1;
  58. crewCrashProtection = 0.15;
  59. driverLeftHandAnimName = "drivewheel";
  60. driverRightHandAnimName = "drivewheel";
  61. class TransportItems
  62. {
  63. class _xx_FirstAidKit
  64. {
  65. name = "FirstAidKit";
  66. count = 2;
  67. };
  68. };
  69. class Turrets{};
  70. class HitPoints: HitPoints
  71. {
  72. class HitLFWheel: HitLFWheel {armor=0.125; passThrough=0;};
  73. class HitLF2Wheel: HitLF2Wheel {armor=0.125; passThrough=0;};
  74.  
  75. class HitRFWheel: HitRFWheel {armor=0.125; passThrough=0;};
  76. class HitRF2Wheel: HitRF2Wheel {armor=0.125; passThrough=0;};
  77.  
  78. class HitFuel {armor=0.50; material=-1; name="fueltank"; visual=""; passThrough=0.2;};
  79. class HitEngine {armor=0.50; material=-1; name="engine"; visual=""; passThrough=0.2;};
  80. class HitBody: HitBody {name = "body"; visual="camo1"; passThrough=1;};
  81.  
  82. class HitGlass1: HitGlass1 {armor=0.25;};
  83. class HitGlass2: HitGlass2 {armor=0.25;};
  84. class HitGlass3: HitGlass3 {armor=0.25;};
  85. class HitGlass4: HitGlass4 {armor=0.25;};
  86. };
  87. driverAction = "driver_offroad01"; /// what action is going the driver take inside the vehicle. Non-existent action makes the vehicle inaccessible
  88. cargoAction[] = {"passenger_low01", "passenger_generic01_leanleft", "passenger_generic01_foldhands"}; /// the same of all the crew
  89. getInAction = "GetInLow"; /// how does driver look while getting in
  90. getOutAction = "GetOutLow"; /// and out
  91. cargoGetInAction[] = {"GetInLow"}; /// and the same for the rest, if the array has fewer members than the count of crew, the last one is used for the rest
  92. cargoGetOutAction[] = {"GetOutLow"}; /// that means all use the same in this case
  93.  
  94. attenuationEffectType = "CarAttenuation"; //Attenuation in interior (Link to Attenuation.hpp in folder SOUNDS_F)
  95.  
  96. soundGetIn[]=
  97. {
  98. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door",
  99. 0.56234133,
  100. 1
  101. };
  102. soundGetOut[]=
  103. {
  104. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door",
  105. 0.56234133,
  106. 1,
  107. 40
  108. };
  109. soundDammage[]={"", db-5, 1};
  110. soundEngineOnInt[] = {"Bow_NemesisEXR_pep\sounds\int_start", db-0.39810699, 1.0};
  111. soundEngineOnExt[] = {"Bow_NemesisEXR_pep\sounds\ext_start", db-0.446684, 1.0, 200};
  112. soundEngineOffInt[] = {"Bow_NemesisEXR_pep\sounds\int_stop", db-0.39810699, 1.0};
  113. soundEngineOffExt[] = {"Bow_NemesisEXR_pep\sounds\ext_stop", db-0.446684, 1.0, 200};
  114.  
  115. /* ---- CRASHES START ---- */
  116.  
  117. buildCrash0[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_1", db0, 1,200};
  118. buildCrash1[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_2", db0, 1,200};
  119. buildCrash2[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_3", db0, 1,200};
  120. buildCrash3[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_4", db0, 1,200};
  121. soundBuildingCrash[]={buildCrash0, 0.25, buildCrash1, 0.25, buildCrash2, 0.25, buildCrash3, 0.25};
  122.  
  123. WoodCrash0[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_1", db0, 1,200};
  124. WoodCrash1[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_1", db0, 1,200};
  125. WoodCrash2[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_1", db0, 1,200};
  126. WoodCrash3[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_1", db0, 1,200};
  127. soundWoodCrash[]={woodCrash0, 0.25, woodCrash1, 0.25, woodCrash2, 0.25, woodCrash3, 0.25};
  128.  
  129. armorCrash0[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_1", db0, 1,200};
  130. armorCrash1[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_2", db0, 1,200};
  131. armorCrash2[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_3", db0, 1,200};
  132. armorCrash3[]={"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_4", db0, 1,200};
  133. soundArmorCrash[]={ArmorCrash0, 0.25, ArmorCrash1, 0.25, ArmorCrash2, 0.25, ArmorCrash3, 0.25};
  134.  
  135. /* ---- CRASHES END ---- */
  136.  
  137. class Sounds
  138. {
  139.  
  140. class Idle_ext
  141. {
  142. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_idle", db-0.2238721, 1, 150};
  143. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  144. volume="engineOn*camPos*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  145. };
  146. class Engine
  147. {
  148. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_1000", db-0.281838,1, 200};
  149. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  150. volume="engineOn*camPos*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  151. };
  152. class Engine1_ext
  153. {
  154. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_2000", db-0.35481337,1, 240};
  155. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  156. volume="engineOn*camPos*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  157. };
  158. class Engine2_ext
  159. {
  160. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_3000", db-0.39810699,1, 280};
  161. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  162. volume="engineOn*camPos*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  163. };
  164. class Engine3_ext
  165. {
  166. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_4000", db-0.44668359,1, 320};
  167. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  168. volume="engineOn*camPos*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  169. };
  170. class Engine4_ext
  171. {
  172. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_5000", db-0.50118721,1, 360};
  173. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
  174. volume="engineOn*camPos*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  175. };
  176. class Engine5_ext
  177. {
  178. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_6000", db-0.56234097,1, 420};
  179. frequency="0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
  180. volume="engineOn*camPos*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  181. };
  182.  
  183. /* hatchback external sounds with gas */
  184.  
  185. class IdleThrust
  186. {
  187. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_1000", db-0.50118721,1, 200};
  188. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  189. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  190. };
  191. class EngineThrust
  192. {
  193. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_2000", db-0.56234097,1, 250};
  194. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  195. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  196. };
  197. class Engine1_Thrust_ext
  198. {
  199. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_3000", db-0.63095701,1, 280};
  200. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  201. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  202. };
  203. class Engine2_Thrust_ext
  204. {
  205. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_4000", db-0.70794576,1, 320};
  206. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  207. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  208. };
  209. class Engine3_Thrust_ext
  210. {
  211. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_5000", db-0.79432821,1, 360};
  212. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  213. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  214. };
  215. class Engine4_Thrust_ext
  216. {
  217. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_6000", db 1,1, 400};
  218. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
  219. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  220. };
  221. class Engine5_Thrust_ext
  222. {
  223. sound[] = {"Bow_NemesisEXR_pep\sounds\ext_7000", db 1.2589254,1, 450};
  224. frequency="0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
  225. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  226. };
  227.  
  228. /* end external sounds with gas */
  229.  
  230. /* hatchback internal sounds without gas */
  231.  
  232. class Idle_int
  233. {
  234. sound[] = {"Bow_NemesisEXR_pep\sounds\int_idle", db-0.17782794, 1};
  235. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  236. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  237. };
  238. class Engine_int
  239. {
  240. sound[] = {"Bow_NemesisEXR_pep\sounds\int_1000", db-0.199526,1 };
  241. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  242. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  243. };
  244. class Engine1_int
  245. {
  246. sound[] = {"Bow_NemesisEXR_pep\sounds\int_2000", db-0.25118864,1 };
  247. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  248. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  249. };
  250. class Engine2_int
  251. {
  252. sound[] = {"Bow_NemesisEXR_pep\sounds\int_3000", db-0.281838,1 };
  253. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  254. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  255. };
  256. class Engine3_int
  257. {
  258. sound[] = {"Bow_NemesisEXR_pep\sounds\int_4000", db-0.31622776,1 };
  259. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  260. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  261. };
  262. class Engine4_int
  263. {
  264. sound[] = {"Bow_NemesisEXR_pep\sounds\int_5000", db-0.35481337,1 };
  265. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
  266. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  267. };
  268. class Engine5_int
  269. {
  270. sound[] = {"Bow_NemesisEXR_pep\sounds\int_6000", db-0.50118721,1 };
  271. frequency="0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
  272. volume="engineOn*(1-camPos)*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  273. };
  274.  
  275. /* hatchback internal sounds with gas */
  276.  
  277. class IdleThrust_int
  278. {
  279. sound[] = {"Bow_NemesisEXR_pep\sounds\int_1000", db-0.31622776,1 };
  280. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  281. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  282. };
  283. class EngineThrust_int
  284. {
  285. sound[] = {"Bow_NemesisEXR_pep\sounds\int_2000", db-0.35481337,1 };
  286. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  287. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  288. };
  289. class Engine1_Thrust_int
  290. {
  291. sound[] = {"Bow_NemesisEXR_pep\sounds\int_3000", db-0.39810699,1 };
  292. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  293. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  294. };
  295. class Engine2_Thrust_int
  296. {
  297. sound[] = {"Bow_NemesisEXR_pep\sounds\int_4000", db-0.44668359,1 };
  298. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  299. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  300. };
  301. class Engine3_Thrust_int
  302. {
  303. sound[] = {"Bow_NemesisEXR_pep\sounds\int_5000", db-0.50118721,1 };
  304. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  305. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  306. };
  307. class Engine4_Thrust_int
  308. {
  309. sound[] = {"Bow_NemesisEXR_pep\sounds\int_6000", db-0.56234097,1 };
  310. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
  311. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  312. };
  313. class Engine5_Thrust_int
  314. {
  315. sound[] = {"Bow_NemesisEXR_pep\sounds\int_7000", db-0.63095701,1 };
  316. frequency="0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
  317. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  318. };
  319. class Movement
  320. {
  321. sound = "soundEnviron";
  322. frequency = "1";
  323. volume = "0";
  324. };
  325. /* end internal sounds with gas */
  326.  
  327.  
  328. /*----------------------------------*/
  329. /*----------- TIRES EXT ---------*/
  330. /*----------------------------------*/
  331.  
  332. class TiresRockOut
  333. {
  334. sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_1", db-6, 1.0, 60};
  335. frequency = "1";
  336. volume = "camPos*rock*(speed factor[2, 20])";
  337. };
  338. class TiresSandOut
  339. {
  340. sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1", db-6, 1.0, 60};
  341. frequency = "1";
  342. volume = "camPos*sand*(speed factor[2, 20])";
  343. };
  344. class TiresGrassOut
  345. {
  346. sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_2", db-6, 1.0, 60};
  347. frequency = "1";
  348. volume = "camPos*grass*(speed factor[2, 20])";
  349. };
  350. class TiresMudOut
  351. {
  352. sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2", db-6, 1.0, 60};
  353. frequency = "1";
  354. volume = "camPos*mud*(speed factor[2, 20])";
  355. };
  356. class TiresGravelOut
  357. {
  358. sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_gravel_1", db-6, 1.0, 60};
  359. frequency = "1";
  360. volume = "camPos*gravel*(speed factor[2, 20])";
  361. };
  362. class TiresAsphaltOut
  363. {
  364. sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_asfalt_2", db-6, 1.0, 60};
  365. frequency = "1";
  366. volume = "camPos*asphalt*(speed factor[2, 20])";
  367. };
  368. class NoiseOut
  369. {
  370. sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_ext_car_3", db-8, 1.0, 90};
  371. frequency = "1";
  372. volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
  373. };
  374.  
  375. /*----------------------------------*/
  376. /*----------- TIRES INT ---------*/
  377. /*----------------------------------*/
  378.  
  379. class TiresRockIn
  380. {
  381. sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_1", db-6, 1.0};
  382. frequency = "1";
  383. volume = "(1-camPos)*rock*(speed factor[2, 20])";
  384. };
  385. class TiresSandIn
  386. {
  387. sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2", db-6, 1.0};
  388. frequency = "1";
  389. volume = "(1-camPos)*sand*(speed factor[2, 20])";
  390. };
  391. class TiresGrassIn
  392. {
  393. sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_2", db-6, 1.0};
  394. frequency = "1";
  395. volume = "(1-camPos)*grass*(speed factor[2, 20])";
  396. };
  397. class TiresMudIn
  398. {
  399. sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2", db-6, 1.0};
  400. frequency = "1";
  401. volume = "(1-camPos)*mud*(speed factor[2, 20])";
  402. };
  403. class TiresGravelIn
  404. {
  405. sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_gravel_1", db-6, 1.0};
  406. frequency = "1";
  407. volume = "(1-camPos)*gravel*(speed factor[2, 20])";
  408. };
  409. class TiresAsphaltIn
  410. {
  411. sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_asfalt_2", db-6, 1.0};
  412. frequency = "1";
  413. volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
  414. };
  415. class NoiseIn
  416. {
  417. sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_int_car_3", db-12, 1.0};
  418. frequency = "1";
  419. volume = "(damper0 max 0.1)*(speed factor[0, 8])*(1-camPos)"; //Definition of inside sounds
  420. };
  421.  
  422. /*------------------------------------------------------------------*/
  423. /*-------------- external sounds for screeching tires on the road -------------*/
  424. /*------------------------------------------------------------------*/
  425.  
  426. /* sounds on the road */
  427.  
  428. class breaking_ext_road
  429. {
  430. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04", db-3, 1, 80};
  431. frequency = 1;
  432. volume = engineOn*camPos*asphalt*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15]);
  433. };
  434.  
  435. class acceleration_ext_road
  436. {
  437. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
  438. frequency = 1;
  439. volume = engineOn*camPos*asphalt*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2]);
  440. };
  441. class turn_left_ext_road
  442. {
  443. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
  444. frequency = 1;
  445. volume = engineOn*camPos*asphalt*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15]);
  446. };
  447.  
  448. class turn_right_ext_road
  449. {
  450. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
  451. frequency = 1;
  452. volume = engineOn*camPos*asphalt*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15]);
  453. };
  454.  
  455. /*-----------------------------------------------------------------*/
  456. /* external sounds for screeching tires on other surfaces */
  457. /*-----------------------------------------------------------------*/
  458.  
  459. class breaking_ext_dirt
  460. {
  461. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking", db-3, 1, 60};
  462. frequency = 1;
  463. volume = engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15]);
  464. };
  465. class acceleration_ext_dirt
  466. {
  467. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration", db-3, 1, 60};
  468. frequency = 1;
  469. volume = engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 1]);
  470. };
  471. class turn_left_ext_dirt
  472. {
  473. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", db-3, 1, 60};
  474. frequency = 1;
  475. volume = engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[1, 15]);
  476. };
  477. class turn_right_ext_dirt
  478. {
  479. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", db-3, 1, 60};
  480. frequency = 1;
  481. volume = engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15]);
  482. };
  483.  
  484.  
  485. /*---------------------------------------------------------------------------*/
  486. /*-------------- internal sounds for screeching tires on the road --------------*/
  487. /*---------------------------------------------------------------------------*/
  488.  
  489. class breaking_int_road
  490. {
  491. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int", db-10, 1};
  492. frequency = 1;
  493. volume = engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15]);
  494. };
  495. class acceleration_int_road
  496. {
  497. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
  498. frequency = 1;
  499. volume = engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2]);
  500. };
  501. class turn_left_int_road
  502. {
  503. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
  504. frequency = 1;
  505. volume = engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15]);
  506. };
  507. class turn_right_int_road
  508. {
  509. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
  510. frequency = 1;
  511. volume = engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15]);
  512. };
  513.  
  514. /*--------------------------------------------------------------------------------------------*/
  515. /*-------------- internal sounds for screeching tires on other surfaces -------------*/
  516. /*--------------------------------------------------------------------------------------------*/
  517. class breaking_int_dirt
  518. {
  519. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking_int", db-10, 1};
  520. frequency = 1;
  521. volume = engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[-01, -0.4])*(Speed Factor[2, 15]);
  522. };
  523. class acceleration_int_dirt
  524. {
  525. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration_int", db-10, 1};
  526. frequency = 1;
  527. volume = engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2]);
  528. };
  529. class turn_left_int_dirt
  530. {
  531. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", db-10, 1};
  532. frequency = 1;
  533. volume = engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15]);
  534. };
  535. class turn_right_int_dirt
  536. {
  537. sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", db-10, 1};
  538. frequency = 1;
  539. volume = engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15]);
  540. };
  541. };
  542. class RenderTargets
  543. {
  544. class Gauche
  545. {
  546. renderTarget="rendertarget1";
  547. class CameraView1
  548. {
  549. pointPosition="PIP1_pos";
  550. pointDirection="PIP1_dir";
  551. renderQuality=2;
  552. renderVisionMode=0;
  553. fov=1;
  554. };
  555. };
  556. class Droite
  557. {
  558. renderTarget="rendertarget3";
  559. class CameraView1
  560. {
  561. pointPosition="PIP3_pos";
  562. pointDirection="PIP3_dir";
  563. renderQuality=2;
  564. renderVisionMode=0;
  565. fov=1;
  566. };
  567. };
  568. };
  569. maxSpeed = 255;
  570. fuelCapacity = 15;
  571. fuelConsumptionRate = 9;
  572. simulation = "carx";
  573. wheelCircumference = 2.805;
  574. brakeIdleSpeed = 1.78;
  575. class complexGearbox
  576. {
  577. GearboxRatios[] = {"R1",-2.575,"N",0,"D1",4.5,"D2",2.6,"D3",1.32,"D4",0.96,"D5",0.65};
  578. TransmissionRatios[] = {"High",5.539};
  579. gearBoxMode = "semi-auto";
  580. moveOffGear = 1;
  581. driveString = "D";
  582. neutralString = "N";
  583. reverseString = "R";
  584. gearUpMaxCoef = 0.9;
  585. gearDownMaxCoef = 0.75;
  586. gearUpMinCoef = 0.7;
  587. gearDownMinCoef = 0.7;
  588. transmissionDelay = 1;
  589. };
  590. changeGearMinEffectivity[] = {0.95,0.15,0.99,0.99,0.99,0.99,0.99};
  591. switchTime = 0.34;
  592. latency = 2.0;
  593. dampersBumpCoef = 3.0;
  594. differentialType = "all_limited";
  595. frontRearSplit = 0.45;
  596. frontBias = 1.5;
  597. rearBias = 1.5;
  598. centreBias = 1.3;
  599. clutchStrength = 35.0;
  600. dampingRateFullThrottle = 0.08;
  601. dampingRateZeroThrottleClutchEngaged = 0.55;
  602. dampingRateZeroThrottleClutchDisengaged = 0.55;
  603. transmissionLosses = 20;
  604. torqueCurve[] = {{ 0,0 },{ 0.14,0.41 },{ 0.29,0.77 },{ 0.43,1 },{ 0.57,1 },{ 0.71,0.87 },{ 0.86,0.77 },{ 1,0.62 }};
  605. maxOmega = 700.24;
  606. enginePower = 300;
  607. peakTorque = 650;
  608. idleRpm = 900;
  609. redRpm = 9000;
  610. thrustDelay = 0.5;
  611. class Wheels
  612. {
  613. class LF
  614. {
  615. boneName = "wheel_1_1_damper";
  616. steering = 1;
  617. side = "left";
  618. center = "wheel_1_1_axis";
  619. boundary = "wheel_1_1_bound";
  620. width = "0.2";
  621. mass = 20;
  622. MOI = 5.3;
  623. dampingRate = 0.5;
  624. maxBrakeTorque = 5000;
  625. maxHandBrakeTorque = 0;
  626. suspTravelDirection[] = {0,-1,0};
  627. suspForceAppPointOffset = "wheel_1_1_axis";
  628. tireForceAppPointOffset = "wheel_1_1_axis";
  629. maxCompression = 0.1;
  630. mMaxDroop = 0.05;
  631. sprungMass = 272.5;
  632. springStrength = 27250;
  633. springDamperRate = 6725;
  634. longitudinalStiffnessPerUnitGravity = 100000;
  635. latStiffX = 25;
  636. latStiffY = 18000;
  637. frictionVsSlipGraph[] = {{ 0,1 },{ 0.5,1 },{ 1,1 }};
  638. };
  639. class LR: LF
  640. {
  641. boneName = "wheel_1_2_damper";
  642. steering = 0;
  643. center = "wheel_1_2_axis";
  644. boundary = "wheel_1_2_bound";
  645. suspForceAppPointOffset = "wheel_1_2_axis";
  646. tireForceAppPointOffset = "wheel_1_2_axis";
  647. maxHandBrakeTorque = 4000;
  648. };
  649. class RF: LF
  650. {
  651. boneName = "wheel_2_1_damper";
  652. center = "wheel_2_1_axis";
  653. boundary = "wheel_2_1_bound";
  654. suspForceAppPointOffset = "wheel_2_1_axis";
  655. tireForceAppPointOffset = "wheel_2_1_axis";
  656. steering = 1;
  657. side = "right";
  658. };
  659. class RR: RF
  660. {
  661. boneName = "wheel_2_2_damper";
  662. steering = 0;
  663. center = "wheel_2_2_axis";
  664. boundary = "wheel_2_2_bound";
  665. suspForceAppPointOffset = "wheel_2_2_axis";
  666. tireForceAppPointOffset = "wheel_2_2_axis";
  667. maxHandBrakeTorque = 4000;
  668. };
  669. };
  670. memoryPointTrackFLL = "TrackFLL";
  671. memoryPointTrackFLR = "TrackFLR";
  672. memoryPointTrackBLL = "TrackBLL";
  673. memoryPointTrackBLR = "TrackBLR";
  674. memoryPointTrackFRL = "TrackFRL";
  675. memoryPointTrackFRR = "TrackFRR";
  676. memoryPointTrackBRL = "TrackBRL";
  677. memoryPointTrackBRR = "TrackBRR";
  678.  
  679. class Damage
  680. {
  681. tex[]={};
  682. mat[]=
  683. {
  684. "A3\data_f\glass_veh_int.rvmat", /// material mapped in model
  685. "A3\data_f\Glass_veh_damage.rvmat", /// changes to this one once damage of the part reaches 0.5
  686. "A3\data_f\Glass_veh_damage.rvmat", /// changes to this one once damage of the part reaches 1
  687.  
  688. "A3\data_f\glass_veh.rvmat", /// another material
  689. "A3\data_f\Glass_veh_damage.rvmat", /// changes into different ones
  690. "A3\data_f\Glass_veh_damage.rvmat"
  691. };
  692. };
  693. class Exhausts
  694. {
  695. class Exhaust1
  696. {
  697. position = "exhaust1_pos";
  698. direction = "exhaust1_dir";
  699. effect = "ExhaustEffectOffroad";
  700. };
  701. class Exhaust2
  702. {
  703. position = "exhaust2_pos";
  704. direction = "exhaust2_dir";
  705. effect = "ExhaustEffectOffroad";
  706. };
  707. };
  708. class Reflectors
  709. {
  710. class LightCarHeadL01
  711. {
  712. color[] = {1900,1800,1700};
  713. ambient[] = {5,5,5};
  714. position = "LightCarHeadL01";
  715. direction = "LightCarHeadL01_end";
  716. hitpoint = "Light_L";
  717. selection = "Light_L";
  718. size = 1;
  719. innerAngle = 100;
  720. outerAngle = 169;
  721. coneFadeCoef = 10;
  722. intensity = 1;
  723. useFlare = 1;
  724. dayLight = 0;
  725. flareSize = 1.0;
  726. class Attenuation
  727. {
  728. start = 1.0;
  729. constant = 0;
  730. linear = 0;
  731. quadratic = 0.25;
  732. hardLimitStart = 30;
  733. hardLimitEnd = 60;
  734. };
  735. };
  736. class LightCarHeadL02: LightCarHeadL01
  737. {
  738. position = "LightCarHeadL02";
  739. direction = "LightCarHeadL02_end";
  740. FlareSize = 0.5;
  741. };
  742. class LightCarHeadR01: LightCarHeadL01
  743. {
  744. position = "LightCarHeadR01";
  745. direction = "LightCarHeadR01_end";
  746. hitpoint = "Light_R";
  747. selection = "Light_R";
  748. };
  749. class LightCarHeadR02: LightCarHeadR01
  750. {
  751. position = "LightCarHeadR02";
  752. direction = "LightCarHeadR02_end";
  753. FlareSize = 0.5;
  754. };
  755. };
  756. aggregateReflectors[] = {{ "LightCarHeadL01","LightCarHeadL02" },{ "LightCarHeadR01","LightCarHeadR02" }};
  757.  
  758. class EventHandlers: EventHandlers
  759. {
  760. };
  761. };
  762. class Pep_Bow_NemesisEXR_base: Pep_Bow_NemesisEXR
  763. {
  764. scope=2;
  765. forceInGarage=1;
  766. author= "LuthSS";
  767. faction="CIV_F";
  768. displayName = "Bowler Nemesis EXR Bleu";
  769. hiddenSelections[]=
  770. {
  771. "camo1"
  772. };
  773. hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.113725,0.403922,0.729412,1.0,co)"};
  774. };
  775. class Pep_Bow_NemesisEXR_blanc: Pep_Bow_NemesisEXR
  776. {
  777. scope=2;
  778. forceInGarage=1;
  779. author= "LuthSS";
  780. faction="CIV_F";
  781. displayName = "Bowler Nemesis EXR Blanc";
  782. hiddenSelections[]=
  783. {
  784. "camo1"
  785. };
  786. hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,1,1,1.0,co)"};
  787. };
  788. class Pep_Bow_NemesisEXR_rouge: Pep_Bow_NemesisEXR
  789. {
  790. scope=2;
  791. forceInGarage=1;
  792. author= "LuthSS";
  793. faction="CIV_F";
  794. displayName = "Bowler Nemesis EXR Rouge";
  795. hiddenSelections[]=
  796. {
  797. "camo1"
  798. };
  799. hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.501961,0,0,1.0,co)"};
  800. };
  801. class Pep_Bow_NemesisEXR_Noir: Pep_Bow_NemesisEXR
  802. {
  803. scope=2;
  804. forceInGarage=1;
  805. author= "LuthSS";
  806. faction="CIV_F";
  807. displayName = "Bowler Nemesis EXR Noir";
  808. hiddenSelections[]=
  809. {
  810. "camo1"
  811. };
  812. hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0,0,0,1.0,co)"};
  813. };
  814. class Pep_Bow_NemesisEXR_gris: Pep_Bow_NemesisEXR
  815. {
  816. scope=2;
  817. forceInGarage=1;
  818. author= "LuthSS";
  819. faction="CIV_F";
  820. displayName = "Bowler Nemesis EXR Gris";
  821. hiddenSelections[]=
  822. {
  823. "camo1"
  824. };
  825. hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.360784,0.360784,0.360784,1.0,co)"};
  826. };
  827. class Pep_Bow_NemesisEXR_orange: Pep_Bow_NemesisEXR
  828. {
  829. scope=2;
  830. forceInGarage=1;
  831. author= "LuthSS";
  832. faction="CIV_F";
  833. displayName = "Bowler Nemesis EXR Orange";
  834. hiddenSelections[]=
  835. {
  836. "camo1"
  837. };
  838. hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.733333,0.545098,0.109804,1.0,co)"};
  839. };
  840. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement