Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Vehicle
- using RTDB, BaseStats, Driving
- rolls_royce_wraith_01 : Vehicle_4w_Default
- {
- entityTemplatePath = "base\vehicles\standard\v_standard2_rollsroyce_wraith_01.ent";
- appearanceName = "rolls_royce_wraith_01";
- displayName = "LocKey#rolls_royce_wraith";
- manufacturer = "Vehicle.rr";
- vehicleUIData =
- {
- productionYear = "2015";
- driveLayout = "LocKey#45371";
- horsepower = 660.0f;
- mass = 2350.0f;
- info = "LocKey#WRAITH_INFO";
- };
- fk< UIIcon > icon = "UIIcon.rr";
- rightFrontCamber = -1.5f;
- leftFrontCamber = 1.5f;
- rightBackCamber = -1.0f;
- leftBackCamber = 1.0f;
- rightFrontCamberOffset = ( 0.0, 0, 0 );
- leftFrontCamberOffset = ( 0.0, 0, 0 );
- rightBackCamberOffset = ( -0.02, 0, 0 );
- leftBackCamberOffset = ( 0.02, 0, 0 );
- fxWheelsDecals = "Vehicle.FxWheels_Radial_M";
- model = "Vehicle.Turbo";
- tags +=
- [
- "Sport"
- ];
- fk< VehicleDataPackage > vehDataPackage =
- {
- vehSeatSet = "Vehicle.Vehicle2SeatSetDefault";
- canStoreBody = true;
- additionalAnimFeatures =
- [
- "porscheCorrectivePose"
- ];
- } : VehicleDataPackageSport2;
- player_audio_resource = "v_car_rayfield_aerondight";
- traffic_audio_resource = "v_car_rayfield_aerondight_traffic";
- destroyedAppearance = "rolls_royce_wraith_burnt_01";
- enableDestruction = true;
- destruction =
- {
- gridDimensions = ( 2.0f, 3.8f, 0.25f );
- gridLocalOffset = ( 0.0f, 0.0f, 0.7f );
- glass =
- [
- {
- component = "window_f";
- effect = "damage_windshield";
- isWindshield = true;
- gridCells =
- [
- 6, 7, 4, 5
- ];
- threshold = 0.15;
- },
- {
- component = "window_fl_b";
- effect = "damage_glass_fl_b";
- gridCells =
- [
- 2, 4
- ];
- threshold = 0.1;
- },
- {
- component = "window_fl";
- effect = "damage_glass_fl";
- gridCells =
- [
- 2, 4
- ];
- threshold = 0.1;
- },
- {
- component = "window_bl_01";
- effect = "damage_glass_bl_01";
- gridCells =
- [
- 2, 0
- ];
- threshold = 0.15;
- },
- {
- component = "window_fr_b";
- effect = "damage_glass_fr_b";
- gridCells =
- [
- 3, 5
- ];
- threshold = 0.1;
- },
- {
- component = "window_fr";
- effect = "damage_glass_fr";
- gridCells =
- [
- 3, 5
- ];
- threshold = 0.1;
- },
- {
- component = "window_br_01";
- effect = "damage_glass_br_01";
- gridCells =
- [
- 1, 3
- ];
- threshold = 0.15;
- },
- {
- component = "window_b";
- effect = "damage_glass_b";
- gridCells =
- [
- 0, 1
- ];
- threshold = 0.15;
- }
- ];
- lights =
- [
- {
- component = "head_light_left_01";
- gridCells =
- [
- 6
- ];
- threshold = 0.1f;
- },
- {
- component = "head_light_right_01";
- gridCells =
- [
- 7
- ];
- threshold = 0.1f;
- },
- {
- component = "head_light_left_03";
- gridCells =
- [
- 6
- ];
- threshold = 0.1f;
- },
- {
- component = "head_light_right_03";
- gridCells =
- [
- 7
- ];
- threshold = 0.1f;
- },
- {
- component = "position_light_left_01";
- gridCells =
- [
- 0
- ];
- threshold = 0.1f;
- },
- {
- component = "position_light_left_02";
- gridCells =
- [
- 0
- ];
- threshold = 0.1f;
- },
- {
- component = "break_light_left_01";
- gridCells =
- [
- 0
- ];
- threshold = 0.1f;
- },
- {
- component = "reverse_light_left_01";
- gridCells =
- [
- 0
- ];
- threshold = 0.1f;
- },
- {
- component = "position_light_right_01";
- gridCells =
- [
- 1
- ];
- threshold = 0.1f;
- },
- {
- component = "break_light_right_01";
- gridCells =
- [
- 1
- ];
- threshold = 0.1f;
- },
- {
- component = "position_light_right_02";
- gridCells =
- [
- 1
- ];
- threshold = 0.1f;
- },
- {
- component = "reverse_light_right_01";
- gridCells =
- [
- 1
- ];
- threshold = 0.1f;
- }
- ];
- detachableParts =
- [
- {
- name = "lic_plate_f";
- gridCells =
- [
- 6, 7
- ];
- threshold = 0.1;
- components =
- [
- "license_plate_f"
- ];
- },
- {
- name = "lic_plate_b";
- gridCells =
- [
- 0, 1
- ];
- threshold = 0.1;
- components =
- [
- "license_plate_b"
- ];
- },
- {
- name = "BumperFront";
- gridCells =
- [
- 6, 7
- ];
- threshold = 0.8;
- components =
- [
- "bumper_f_01"
- ];
- },
- {
- name = "BumperBack";
- gridCells =
- [
- 0, 1
- ];
- threshold = 0.8;
- components =
- [
- "bumper_b_01"
- ];
- },
- {
- name = "MirrorLeft";
- gridCells =
- [
- 4, 2
- ];
- threshold = 0.1;
- components =
- [
- "mirror_fl_01"
- ];
- }
- ];
- wheels =
- [
- {
- name = "FrontLeft";
- intact = "tire_01_fl";
- flat = "tire_flat_01_fl";
- },
- {
- name = "FrontRight";
- intact = "tire_01_fr";
- flat = "tire_flat_01_fr";
- },
- {
- name = "BackLeft";
- intact = "tire_01_bl";
- flat = "tire_flat_01_bl";
- },
- {
- name = "BackRight";
- intact = "tire_01_br";
- flat = "tire_flat_01_br";
- }
- ];
- } : VehicleDestructionParamsDefault_4w;
- vehWheelDimensionsSetup =
- {
- frontPreset =
- {
- tireRadius = 0.42f;
- rimRadius = 0.38f;
- tireWidth = 0.23f;
- wheelOffset = 0.11f;
- } : VehicleWheelDimensionsPreset;
- backPreset =
- {
- tireRadius = 0.42f;
- rimRadius = 0.38f;
- tireWidth = 0.23f;
- wheelOffset = 0.11f;
- } : VehicleWheelDimensionsPreset;
- } : VehicleWheelDimensionsSetup;
- vehDriveModelData =
- {
- momentOfInertia = ( 3000.0f, 1250.0f, 4000.0f );
- center_of_mass_offset = ( 0.0f, 0.15f, 0.15f );
- antiSwaybarDampingScalor = 0.72f;
- maxWheelTurnDeg = 35.f;
- wheelTurnMaxAddPerSecond = 130.f;
- wheelTurnMaxSubPerSecond = 150.f;
- turnUpdateMaxSpeedThreshold = 40.f;
- turnUpdateMaxSpeedTurnChangeMul = 2.7f;
- chassis_mass = 2000.0f;
- total_mass = 2000.0f;
- airResistanceFactor = 2.1f;
- wheelSetup =
- {
- frontPreset =
- {
- maxBrakingTorque = 720.0f;
- frictionMulLateral = 0.95f;
- tireLateralSlipEffectsMul = 0.60f;
- swaybarStiffness = 27.0f;
- swaybarLengthScalar = 1.5f;
- swaybarDisplacementLimit = 0.20;
- springStiffness = 22.0f;
- springDamping = 3600;
- springReboundDamping = 3100;
- springBoundDampingLowRate = 1850.0f;
- springReboundDampingLowRate = 1700.0f;
- wheelsVerticalOffset = 0.1;
- logicalSuspensionCompressionLength = 0.55f;
- visualSuspensionCompressionLength = 0.05f;
- } : VehicleWheelDrivingPreset_4_RWD_Front;
- backPreset =
- {
- maxBrakingTorque = 720.0f;
- frictionMulLongitudinal = 0.95f;
- frictionMulLateral = 0.95f;
- swaybarStiffness = 24.0f;
- swaybarLengthScalar = 1.f;
- swaybarDisplacementLimit = 0.20;
- springStiffness = 20.0f;
- springDamping = 3700;
- springReboundDamping = 3200;
- springBoundDampingLowRate = 1900.0f;
- wheelsVerticalOffset = 0.1;
- logicalSuspensionCompressionLength = 0.55f;
- visualSuspensionCompressionLength = 0.10f;
- } : VehicleWheelDrivingPreset_4_MR_Rear;
- } : VehicleWheelDrivingSetup_4_RWD;
- driveHelpers =
- [
- {
- type = "Vehicle.RotationLimiter_HelperType";
- driftLimit = 1.15f;
- } : RotationLimiter_Luxery,
- {
- type = "Vehicle.RearWheelsFrictionModifier_HelperType";
- minLatFrictionCoef = 0.95f;
- maxSpeed = 13.f;
- } : RearWheelsFrictionModifier_Standard,
- {
- type = "Vehicle.HandbrakeFrictionModifier_HelperType";
- rearWheelsLatFrictionCoef = 0.85f;
- rearWheelsLongFrictionCoef = 0.85f;
- blendOutTime = 0.5f;
- } : HandbrakeFrictionModifier_Sport,
- {
- type = "Vehicle.UphillDriveHelper_HelperType";
- } : UphillDriveHelper_Standard,
- {
- type = "Vehicle.InAirGravityModifier_HelperType";
- } : InAirGravityModifier,
- {
- type = "Vehicle.DriveWheelsAccelerateNoise_HelperType";
- } : DriveWheelsAccelerateNoise_Basic,
- ];
- burnOut =
- {
- lateralForceMaxSpeed = 6.8f;
- lateralForceMaxAcceleration = 0.4f;
- lateralAccelForwardSpeedMaxDecimation = 0.61f;
- maxLateralAccelSlipRatioMultipler = 0.67f;
- minLongFrictionCoeff = 0.76f;
- burnOutGripBonus = 2.8f;
- gripBonusMaxLaunchSpeed = 11.0f;
- } : VehicleBurnOut_4w_RWD_Mid;
- } : VehicleDriveModelData_Regular_Small_RWD;
- vehEngineData =
- {
- engineMaxTorque = 780.f;
- resistanceTorque = 350.f;
- flyWheelMomentOfInertia = 0.15f;
- minRPM = 680.f;
- maxRPM = 6400.f;
- wheelsResistanceRatio = 15.f;
- gears =
- [
- {
- minSpeed = 0.f;
- maxSpeed = 10.f;
- minEngineRPM = 1000.f;
- maxEngineRPM = 5900.f;
- torqueMultiplier = 0.9f;
- },
- {
- minSpeed = 0.f;
- maxSpeed = 20.f;
- minEngineRPM = 2000.f;
- maxEngineRPM = 6000.f;
- torqueMultiplier = 0.95f;
- },
- {
- minSpeed = 18.f;
- maxSpeed = 30.f;
- minEngineRPM = 2600.f;
- maxEngineRPM = 5600.f;
- torqueMultiplier = 0.6f;
- },
- {
- minSpeed = 28.f;
- maxSpeed = 40.f;
- minEngineRPM = 2700.f;
- maxEngineRPM = 5700.f;
- torqueMultiplier = 0.4f;
- },
- {
- minSpeed = 38.0f;
- maxSpeed = 50.f;
- minEngineRPM = 2800.f;
- maxEngineRPM = 5800.f;
- torqueMultiplier = 0.3f;
- },
- {
- minSpeed = 48.f;
- maxSpeed = 60.f;
- minEngineRPM = 3000.f;
- maxEngineRPM = 6000.f;
- torqueMultiplier = 0.25f;
- },
- {
- minSpeed = 58.f;
- maxSpeed = 65.f;
- minEngineRPM = 3200.f;
- maxEngineRPM = 6200.f;
- torqueMultiplier = 0.2f;
- },
- {
- minSpeed = 63.f;
- maxSpeed = 70.f;
- minEngineRPM = 3400.f;
- maxEngineRPM = 6400.f;
- torqueMultiplier = 0.1f;
- }
- ];
- } : VehicleEngineData_4_Sport_Transaxle;
- tppCameraPresets =
- [
- "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"
- ];
- drivingParamsPanic = "Driving.Panic_Sport";
- trafficSuspension = "Vehicle.TrafficSuspension_Sport";
- savable = true;
- // Virtual Car Dealer
- string dealerAtlasPath = "base\gameplay\gui\rolls_royce_wraith_buyscreen\dealer_rolls_royce_wraith.inkatlas";
- string dealerPartName = "dealer_rolls_royce_wraith";
- int dealerPrice = 165000;
- int dealerCred = 20;
- }
- vehicle_list
- {
- list += ["Vehicle.rolls_royce_wraith_01"];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement