Advertisement
Guest User

rolls_royce_wraith.tweak

a guest
Sep 29th, 2023
823
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.77 KB | Gaming | 0 0
  1. package Vehicle
  2. using RTDB, BaseStats, Driving
  3.  
  4. rolls_royce_wraith_01 : Vehicle_4w_Default
  5. {
  6. entityTemplatePath = "base\vehicles\standard\v_standard2_rollsroyce_wraith_01.ent";
  7. appearanceName = "rolls_royce_wraith_01";
  8. displayName = "LocKey#rolls_royce_wraith";
  9. manufacturer = "Vehicle.rr";
  10. vehicleUIData =
  11. {
  12. productionYear = "2015";
  13. driveLayout = "LocKey#45371";
  14. horsepower = 660.0f;
  15. mass = 2350.0f;
  16. info = "LocKey#WRAITH_INFO";
  17. };
  18. fk< UIIcon > icon = "UIIcon.rr";
  19. rightFrontCamber = -1.5f;
  20. leftFrontCamber = 1.5f;
  21. rightBackCamber = -1.0f;
  22. leftBackCamber = 1.0f;
  23. rightFrontCamberOffset = ( 0.0, 0, 0 );
  24. leftFrontCamberOffset = ( 0.0, 0, 0 );
  25. rightBackCamberOffset = ( -0.02, 0, 0 );
  26. leftBackCamberOffset = ( 0.02, 0, 0 );
  27. fxWheelsDecals = "Vehicle.FxWheels_Radial_M";
  28. model = "Vehicle.Turbo";
  29. tags +=
  30. [
  31. "Sport"
  32. ];
  33. fk< VehicleDataPackage > vehDataPackage =
  34. {
  35. vehSeatSet = "Vehicle.Vehicle2SeatSetDefault";
  36. canStoreBody = true;
  37. additionalAnimFeatures =
  38. [
  39. "porscheCorrectivePose"
  40. ];
  41. } : VehicleDataPackageSport2;
  42. player_audio_resource = "v_car_rayfield_aerondight";
  43. traffic_audio_resource = "v_car_rayfield_aerondight_traffic";
  44. destroyedAppearance = "rolls_royce_wraith_burnt_01";
  45. enableDestruction = true;
  46. destruction =
  47. {
  48. gridDimensions = ( 2.0f, 3.8f, 0.25f );
  49. gridLocalOffset = ( 0.0f, 0.0f, 0.7f );
  50. glass =
  51. [
  52. {
  53. component = "window_f";
  54. effect = "damage_windshield";
  55. isWindshield = true;
  56. gridCells =
  57. [
  58. 6, 7, 4, 5
  59. ];
  60. threshold = 0.15;
  61. },
  62. {
  63. component = "window_fl_b";
  64. effect = "damage_glass_fl_b";
  65. gridCells =
  66. [
  67. 2, 4
  68. ];
  69. threshold = 0.1;
  70. },
  71. {
  72. component = "window_fl";
  73. effect = "damage_glass_fl";
  74. gridCells =
  75. [
  76. 2, 4
  77. ];
  78. threshold = 0.1;
  79. },
  80. {
  81. component = "window_bl_01";
  82. effect = "damage_glass_bl_01";
  83. gridCells =
  84. [
  85. 2, 0
  86. ];
  87. threshold = 0.15;
  88. },
  89. {
  90. component = "window_fr_b";
  91. effect = "damage_glass_fr_b";
  92. gridCells =
  93. [
  94. 3, 5
  95. ];
  96. threshold = 0.1;
  97. },
  98. {
  99. component = "window_fr";
  100. effect = "damage_glass_fr";
  101. gridCells =
  102. [
  103. 3, 5
  104. ];
  105. threshold = 0.1;
  106. },
  107. {
  108. component = "window_br_01";
  109. effect = "damage_glass_br_01";
  110. gridCells =
  111. [
  112. 1, 3
  113. ];
  114. threshold = 0.15;
  115. },
  116. {
  117. component = "window_b";
  118. effect = "damage_glass_b";
  119. gridCells =
  120. [
  121. 0, 1
  122. ];
  123. threshold = 0.15;
  124. }
  125. ];
  126. lights =
  127. [
  128. {
  129. component = "head_light_left_01";
  130. gridCells =
  131. [
  132. 6
  133. ];
  134. threshold = 0.1f;
  135. },
  136. {
  137. component = "head_light_right_01";
  138. gridCells =
  139. [
  140. 7
  141. ];
  142. threshold = 0.1f;
  143. },
  144. {
  145. component = "head_light_left_03";
  146. gridCells =
  147. [
  148. 6
  149. ];
  150. threshold = 0.1f;
  151. },
  152. {
  153. component = "head_light_right_03";
  154. gridCells =
  155. [
  156. 7
  157. ];
  158. threshold = 0.1f;
  159. },
  160. {
  161. component = "position_light_left_01";
  162. gridCells =
  163. [
  164. 0
  165. ];
  166. threshold = 0.1f;
  167. },
  168. {
  169. component = "position_light_left_02";
  170. gridCells =
  171. [
  172. 0
  173. ];
  174. threshold = 0.1f;
  175. },
  176. {
  177. component = "break_light_left_01";
  178. gridCells =
  179. [
  180. 0
  181. ];
  182. threshold = 0.1f;
  183. },
  184. {
  185. component = "reverse_light_left_01";
  186. gridCells =
  187. [
  188. 0
  189. ];
  190. threshold = 0.1f;
  191. },
  192. {
  193. component = "position_light_right_01";
  194. gridCells =
  195. [
  196. 1
  197. ];
  198. threshold = 0.1f;
  199. },
  200. {
  201. component = "break_light_right_01";
  202. gridCells =
  203. [
  204. 1
  205. ];
  206. threshold = 0.1f;
  207. },
  208. {
  209. component = "position_light_right_02";
  210. gridCells =
  211. [
  212. 1
  213. ];
  214. threshold = 0.1f;
  215. },
  216. {
  217. component = "reverse_light_right_01";
  218. gridCells =
  219. [
  220. 1
  221. ];
  222. threshold = 0.1f;
  223. }
  224. ];
  225. detachableParts =
  226. [
  227. {
  228. name = "lic_plate_f";
  229. gridCells =
  230. [
  231. 6, 7
  232. ];
  233. threshold = 0.1;
  234. components =
  235. [
  236. "license_plate_f"
  237. ];
  238. },
  239. {
  240. name = "lic_plate_b";
  241. gridCells =
  242. [
  243. 0, 1
  244. ];
  245. threshold = 0.1;
  246. components =
  247. [
  248. "license_plate_b"
  249. ];
  250. },
  251. {
  252. name = "BumperFront";
  253. gridCells =
  254. [
  255. 6, 7
  256. ];
  257. threshold = 0.8;
  258. components =
  259. [
  260. "bumper_f_01"
  261. ];
  262. },
  263. {
  264. name = "BumperBack";
  265. gridCells =
  266. [
  267. 0, 1
  268. ];
  269. threshold = 0.8;
  270. components =
  271. [
  272. "bumper_b_01"
  273. ];
  274. },
  275. {
  276. name = "MirrorLeft";
  277. gridCells =
  278. [
  279. 4, 2
  280. ];
  281. threshold = 0.1;
  282. components =
  283. [
  284. "mirror_fl_01"
  285. ];
  286. }
  287. ];
  288. wheels =
  289. [
  290. {
  291. name = "FrontLeft";
  292. intact = "tire_01_fl";
  293. flat = "tire_flat_01_fl";
  294. },
  295. {
  296. name = "FrontRight";
  297. intact = "tire_01_fr";
  298. flat = "tire_flat_01_fr";
  299. },
  300. {
  301. name = "BackLeft";
  302. intact = "tire_01_bl";
  303. flat = "tire_flat_01_bl";
  304. },
  305. {
  306. name = "BackRight";
  307. intact = "tire_01_br";
  308. flat = "tire_flat_01_br";
  309. }
  310. ];
  311. } : VehicleDestructionParamsDefault_4w;
  312. vehWheelDimensionsSetup =
  313. {
  314. frontPreset =
  315. {
  316. tireRadius = 0.42f;
  317. rimRadius = 0.38f;
  318. tireWidth = 0.23f;
  319. wheelOffset = 0.11f;
  320. } : VehicleWheelDimensionsPreset;
  321. backPreset =
  322. {
  323. tireRadius = 0.42f;
  324. rimRadius = 0.38f;
  325. tireWidth = 0.23f;
  326. wheelOffset = 0.11f;
  327. } : VehicleWheelDimensionsPreset;
  328. } : VehicleWheelDimensionsSetup;
  329. vehDriveModelData =
  330. {
  331. momentOfInertia = ( 3000.0f, 1250.0f, 4000.0f );
  332. center_of_mass_offset = ( 0.0f, 0.15f, 0.15f );
  333. antiSwaybarDampingScalor = 0.72f;
  334. maxWheelTurnDeg = 35.f;
  335. wheelTurnMaxAddPerSecond = 130.f;
  336. wheelTurnMaxSubPerSecond = 150.f;
  337. turnUpdateMaxSpeedThreshold = 40.f;
  338. turnUpdateMaxSpeedTurnChangeMul = 2.7f;
  339. chassis_mass = 2000.0f;
  340. total_mass = 2000.0f;
  341. airResistanceFactor = 2.1f;
  342. wheelSetup =
  343. {
  344. frontPreset =
  345. {
  346. maxBrakingTorque = 720.0f;
  347. frictionMulLateral = 0.95f;
  348. tireLateralSlipEffectsMul = 0.60f;
  349. swaybarStiffness = 27.0f;
  350. swaybarLengthScalar = 1.5f;
  351. swaybarDisplacementLimit = 0.20;
  352. springStiffness = 22.0f;
  353. springDamping = 3600;
  354. springReboundDamping = 3100;
  355. springBoundDampingLowRate = 1850.0f;
  356. springReboundDampingLowRate = 1700.0f;
  357. wheelsVerticalOffset = 0.1;
  358. logicalSuspensionCompressionLength = 0.55f;
  359. visualSuspensionCompressionLength = 0.05f;
  360. } : VehicleWheelDrivingPreset_4_RWD_Front;
  361. backPreset =
  362. {
  363. maxBrakingTorque = 720.0f;
  364. frictionMulLongitudinal = 0.95f;
  365. frictionMulLateral = 0.95f;
  366. swaybarStiffness = 24.0f;
  367. swaybarLengthScalar = 1.f;
  368. swaybarDisplacementLimit = 0.20;
  369. springStiffness = 20.0f;
  370. springDamping = 3700;
  371. springReboundDamping = 3200;
  372. springBoundDampingLowRate = 1900.0f;
  373. wheelsVerticalOffset = 0.1;
  374. logicalSuspensionCompressionLength = 0.55f;
  375. visualSuspensionCompressionLength = 0.10f;
  376. } : VehicleWheelDrivingPreset_4_MR_Rear;
  377. } : VehicleWheelDrivingSetup_4_RWD;
  378. driveHelpers =
  379. [
  380. {
  381. type = "Vehicle.RotationLimiter_HelperType";
  382. driftLimit = 1.15f;
  383. } : RotationLimiter_Luxery,
  384. {
  385. type = "Vehicle.RearWheelsFrictionModifier_HelperType";
  386. minLatFrictionCoef = 0.95f;
  387. maxSpeed = 13.f;
  388. } : RearWheelsFrictionModifier_Standard,
  389. {
  390. type = "Vehicle.HandbrakeFrictionModifier_HelperType";
  391. rearWheelsLatFrictionCoef = 0.85f;
  392. rearWheelsLongFrictionCoef = 0.85f;
  393. blendOutTime = 0.5f;
  394. } : HandbrakeFrictionModifier_Sport,
  395. {
  396. type = "Vehicle.UphillDriveHelper_HelperType";
  397. } : UphillDriveHelper_Standard,
  398. {
  399. type = "Vehicle.InAirGravityModifier_HelperType";
  400. } : InAirGravityModifier,
  401. {
  402. type = "Vehicle.DriveWheelsAccelerateNoise_HelperType";
  403. } : DriveWheelsAccelerateNoise_Basic,
  404. ];
  405. burnOut =
  406. {
  407. lateralForceMaxSpeed = 6.8f;
  408. lateralForceMaxAcceleration = 0.4f;
  409. lateralAccelForwardSpeedMaxDecimation = 0.61f;
  410. maxLateralAccelSlipRatioMultipler = 0.67f;
  411. minLongFrictionCoeff = 0.76f;
  412. burnOutGripBonus = 2.8f;
  413. gripBonusMaxLaunchSpeed = 11.0f;
  414. } : VehicleBurnOut_4w_RWD_Mid;
  415. } : VehicleDriveModelData_Regular_Small_RWD;
  416.  
  417. vehEngineData =
  418. {
  419. engineMaxTorque = 780.f;
  420. resistanceTorque = 350.f;
  421. flyWheelMomentOfInertia = 0.15f;
  422. minRPM = 680.f;
  423. maxRPM = 6400.f;
  424. wheelsResistanceRatio = 15.f;
  425. gears =
  426. [
  427. {
  428. minSpeed = 0.f;
  429. maxSpeed = 10.f;
  430. minEngineRPM = 1000.f;
  431. maxEngineRPM = 5900.f;
  432. torqueMultiplier = 0.9f;
  433. },
  434. {
  435. minSpeed = 0.f;
  436. maxSpeed = 20.f;
  437. minEngineRPM = 2000.f;
  438. maxEngineRPM = 6000.f;
  439. torqueMultiplier = 0.95f;
  440. },
  441. {
  442. minSpeed = 18.f;
  443. maxSpeed = 30.f;
  444. minEngineRPM = 2600.f;
  445. maxEngineRPM = 5600.f;
  446. torqueMultiplier = 0.6f;
  447. },
  448. {
  449. minSpeed = 28.f;
  450. maxSpeed = 40.f;
  451. minEngineRPM = 2700.f;
  452. maxEngineRPM = 5700.f;
  453. torqueMultiplier = 0.4f;
  454. },
  455. {
  456. minSpeed = 38.0f;
  457. maxSpeed = 50.f;
  458. minEngineRPM = 2800.f;
  459. maxEngineRPM = 5800.f;
  460. torqueMultiplier = 0.3f;
  461. },
  462. {
  463. minSpeed = 48.f;
  464. maxSpeed = 60.f;
  465. minEngineRPM = 3000.f;
  466. maxEngineRPM = 6000.f;
  467. torqueMultiplier = 0.25f;
  468. },
  469. {
  470. minSpeed = 58.f;
  471. maxSpeed = 65.f;
  472. minEngineRPM = 3200.f;
  473. maxEngineRPM = 6200.f;
  474. torqueMultiplier = 0.2f;
  475. },
  476. {
  477. minSpeed = 63.f;
  478. maxSpeed = 70.f;
  479. minEngineRPM = 3400.f;
  480. maxEngineRPM = 6400.f;
  481. torqueMultiplier = 0.1f;
  482. }
  483. ];
  484. } : VehicleEngineData_4_Sport_Transaxle;
  485. tppCameraPresets =
  486. [
  487. "Camera.VehicleTPP_4w_911_High_Close", "Camera.VehicleTPP_4w_911_High_Medium", "Camera.VehicleTPP_4w_911_High_Far", "Camera.VehicleTPP_4w_911_High_DriverCombatClose", "Camera.VehicleTPP_4w_911_High_DriverCombatMedium", "Camera.VehicleTPP_4w_911_High_DriverCombatFar", "Camera.VehicleTPP_4w_911_Low_Close", "Camera.VehicleTPP_4w_911_Low_Medium", "Camera.VehicleTPP_4w_911_Low_Far", "Camera.VehicleTPP_4w_911_Low_DriverCombatClose", "Camera.VehicleTPP_4w_911_Low_DriverCombatMedium", "Camera.VehicleTPP_4w_911_Low_DriverCombatFar"
  488. ];
  489. drivingParamsPanic = "Driving.Panic_Sport";
  490. trafficSuspension = "Vehicle.TrafficSuspension_Sport";
  491. savable = true;
  492.  
  493. // Virtual Car Dealer
  494. string dealerAtlasPath = "base\gameplay\gui\rolls_royce_wraith_buyscreen\dealer_rolls_royce_wraith.inkatlas";
  495. string dealerPartName = "dealer_rolls_royce_wraith";
  496. int dealerPrice = 165000;
  497. int dealerCred = 20;
  498. }
  499.  
  500. vehicle_list
  501. {
  502. list += ["Vehicle.rolls_royce_wraith_01"];
  503. }
  504.  
  505.  
  506.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement