# FXX EVO addon master script
game MW
# creates folders and copies BIN files
folder_create CARS\FXXEVO
file_copy "GEOMETRY.BIN" CARS\FXXEVO\GEOMETRY.BIN
file_copy "TEXTURES.BIN" CARS\FXXEVO\TEXTURES.BIN

ui_textPick which vinyls you want to install.
ui_textBe aware that the quality you choose has to match the quality of all other vinyls on your cars.
ui_textYou can't mix and match resolutions, eg 512x512 vinyls on some cars and 1024x1024 on others, as that will cause crashes and graphical issues.
ui_control radiobutton my_radio_button_1 option1 "Standard resolution [512x512]"
ui_control radiobutton my_radio_button_1 option2 "High resolution [1024x1024]"

ui_option my_radio_button_1 option1
file_copy "VINYLS_512.BIN" CARS\FXXEVO\VINYLS.BIN
ui_option my_radio_button_1 option1

ui_option my_radio_button_1 option2
file_copy "VINYLS_1024.BIN" CARS\FXXEVO\VINYLS.BIN
ui_option my_radio_button_1 option2

# creates and updates new vlt
add_node pvehicle racers fxxevo
add_field pvehicle fxxevo brakes 1
add_field pvehicle fxxevo chassis 1
add_field pvehicle fxxevo engine 1
add_field pvehicle fxxevo engineaudio 1
add_field pvehicle fxxevo frontend 1
add_field pvehicle fxxevo HandlingRating 2
add_field pvehicle fxxevo induction 1
add_field pvehicle fxxevo RandomOpponent
add_field pvehicle fxxevo ShiftSND 1
add_field pvehicle fxxevo tires 1
add_field pvehicle fxxevo transmission 1
add_field pvehicle fxxevo TurboSND 1
update_field pvehicle fxxevo brakes_upgrades 0
update_field pvehicle fxxevo chassis_upgrades 0
update_field pvehicle fxxevo CollectionName fxxevo
update_field pvehicle fxxevo DefaultPresetRide ""
update_field pvehicle fxxevo engine_upgrades 0
update_field pvehicle fxxevo HornType 5
update_field pvehicle fxxevo induction_upgrades 0
update_field pvehicle fxxevo MASS 1185
update_field pvehicle fxxevo MODEL Collision64 FXXEVO
update_field pvehicle fxxevo MODEL Collision FXXEVO
update_field pvehicle fxxevo MODEL Visual FXXEVO
update_field pvehicle fxxevo nos_upgrades 3
update_field pvehicle fxxevo TENSOR_SCALE X 1
update_field pvehicle fxxevo TENSOR_SCALE Y 1.975
update_field pvehicle fxxevo TENSOR_SCALE Z 1
update_field pvehicle fxxevo TENSOR_SCALE W 0
update_field pvehicle fxxevo tires_upgrades 0
update_field pvehicle fxxevo TrafficEngType 0
update_field pvehicle fxxevo transmission_upgrades 0
update_field pvehicle fxxevo VerbalType 0x80000000
update_field pvehicle fxxevo brakes[0] Class brakes
update_field pvehicle fxxevo brakes[0] Collection fxxevo
update_field pvehicle fxxevo chassis[0] Class chassis
update_field pvehicle fxxevo chassis[0] Collection fxxevo
update_field pvehicle fxxevo engine[0] Class engine
update_field pvehicle fxxevo engine[0] Collection fxxevo
update_field pvehicle fxxevo engineaudio[0] Class engineaudio
update_field pvehicle fxxevo engineaudio[0] Collection lam_murc
update_field pvehicle fxxevo frontend Class frontend
update_field pvehicle fxxevo frontend Collection fxxevo
update_field pvehicle fxxevo HandlingRating[0] 96
update_field pvehicle fxxevo HandlingRating[1] 100
update_field pvehicle fxxevo induction[0] Class induction
update_field pvehicle fxxevo induction[0] Collection fxxevo
update_field pvehicle fxxevo RandomOpponent True
update_field pvehicle fxxevo ShiftSND[0] Class shiftpattern
update_field pvehicle fxxevo ShiftSND[0] Collection 0x085b1b33
update_field pvehicle fxxevo ShiftSND[0] Level 0
update_field pvehicle fxxevo tires[0] Class tires
update_field pvehicle fxxevo tires[0] Collection fxxevo
update_field pvehicle fxxevo transmission[0] Class transmission
update_field pvehicle fxxevo transmission[0] Collection fxxevo
update_field pvehicle fxxevo TurboSND[0] Class turbosfx
update_field pvehicle fxxevo TurboSND[0] Collection 0x572af7ce
update_field pvehicle fxxevo TurboSND[0] Level 0
add_node ecar racers fxxevo
add_field ecar fxxevo 0xd74c1435
add_field ecar fxxevo FECompressions 2
update_field ecar fxxevo BodyDive DegPerG 0
update_field ecar fxxevo BodyDive DegPerSec 1
update_field ecar fxxevo BodyDive MaxG 8
update_field ecar fxxevo BodyRoll DegPerG 1.05
update_field ecar fxxevo BodyRoll DegPerSec 1
update_field ecar fxxevo BodyRoll MaxG 6
update_field ecar fxxevo BodySquat DegPerG 0
update_field ecar fxxevo BodySquat DegPerSec 1
update_field ecar fxxevo BodySquat MaxG 8
update_field ecar fxxevo CamberFront 0.25
update_field ecar fxxevo CamberRear 0.25
update_field ecar fxxevo KitWheelOffsetFront[0] 0
update_field ecar fxxevo KitWheelOffsetFront[1] 0
update_field ecar fxxevo KitWheelOffsetFront[2] 0
update_field ecar fxxevo KitWheelOffsetFront[3] 0
update_field ecar fxxevo KitWheelOffsetFront[4] 0
update_field ecar fxxevo KitWheelOffsetFront[5] 0
update_field ecar fxxevo KitWheelOffsetRear[0] 0
update_field ecar fxxevo KitWheelOffsetRear[1] 0
update_field ecar fxxevo KitWheelOffsetRear[2] 0
update_field ecar fxxevo KitWheelOffsetRear[3] 0
update_field ecar fxxevo KitWheelOffsetRear[4] 0
update_field ecar fxxevo KitWheelOffsetRear[5] 0
update_field ecar fxxevo ReflectionOffset 0
update_field ecar fxxevo RideHeight -2
update_field ecar fxxevo SkidFX[0] 0.1
update_field ecar fxxevo SkidFX[1] 1
update_field ecar fxxevo SlipFX[0] 1
update_field ecar fxxevo SlipFX[1] 1
update_field ecar fxxevo TireOffsets[0] X 1.11539
update_field ecar fxxevo TireOffsets[0] Y 0.96431
update_field ecar fxxevo TireOffsets[0] Z 0
update_field ecar fxxevo TireOffsets[0] W 0.31635
update_field ecar fxxevo TireOffsets[1] X 1.11539
update_field ecar fxxevo TireOffsets[1] Y -0.96431
update_field ecar fxxevo TireOffsets[1] Z 0
update_field ecar fxxevo TireOffsets[1] W 0.31635
update_field ecar fxxevo TireOffsets[2] X -1.47292
update_field ecar fxxevo TireOffsets[2] Y -1.01402
update_field ecar fxxevo TireOffsets[2] Z 0
update_field ecar fxxevo TireOffsets[2] W 0.3496
update_field ecar fxxevo TireOffsets[3] X -1.47292
update_field ecar fxxevo TireOffsets[3] Y 1.01402
update_field ecar fxxevo TireOffsets[3] Z 0
update_field ecar fxxevo TireOffsets[3] W 0.3496
update_field ecar fxxevo TireSkidWidth[0] 0.245
update_field ecar fxxevo TireSkidWidth[1] 0.245
update_field ecar fxxevo TireSkidWidth[2] 0.335
update_field ecar fxxevo TireSkidWidth[3] 0.335
update_field ecar fxxevo TireSkidWidthKitScale[0] X 1
update_field ecar fxxevo TireSkidWidthKitScale[0] Y 1
update_field ecar fxxevo TireSkidWidthKitScale[1] X 1
update_field ecar fxxevo TireSkidWidthKitScale[1] Y 1
update_field ecar fxxevo TireSkidWidthKitScale[2] X 1
update_field ecar fxxevo TireSkidWidthKitScale[2] Y 1
update_field ecar fxxevo TireSkidWidthKitScale[3] X 1
update_field ecar fxxevo TireSkidWidthKitScale[3] Y 1
update_field ecar fxxevo TireSkidWidthKitScale[4] X 1
update_field ecar fxxevo TireSkidWidthKitScale[4] Y 1
update_field ecar fxxevo TireSkidWidthKitScale[5] X 1
update_field ecar fxxevo TireSkidWidthKitScale[5] Y 1
update_field ecar fxxevo TireSkidWidthKitScale[6] X 1
update_field ecar fxxevo TireSkidWidthKitScale[6] Y 1
update_field ecar fxxevo WheelSpokeCount 5
update_field ecar fxxevo 0xd74c1435 Class camerainfo
update_field ecar fxxevo 0xd74c1435 Collection sl65_hood
update_field ecar fxxevo FECompressions[0] 0.22
update_field ecar fxxevo FECompressions[1] 0.22
add_node frontend europe ferrari
update_field frontend ferrari default_car Class 0x00000000
update_field frontend ferrari default_car Collection 0x00000000
update_field frontend ferrari IsCustomizable True
update_field frontend ferrari manufacturer 32
update_field frontend ferrari region 1
update_field frontend ferrari UnlockedAt 15
add_node frontend ferrari fxxevo
update_field frontend fxxevo Cost 375000
update_field frontend fxxevo default_car Class 0x00000000
update_field frontend fxxevo default_car Collection 0x00000000
update_field frontend fxxevo IsCustomizable True
update_field frontend fxxevo manufacturer 32
update_field frontend fxxevo region 1
update_field frontend fxxevo UnlockedAt 3
add_node brakes default fxxevo
update_field brakes fxxevo BRAKE_LOCK Front 0.625
update_field brakes fxxevo BRAKE_LOCK Rear 1.175
update_field brakes fxxevo BRAKES Front 255
update_field brakes fxxevo BRAKES Rear 290
update_field brakes fxxevo EBRAKE 245
add_node chassis default fxxevo
update_field chassis fxxevo AERO_CG 47.45
update_field chassis fxxevo AERO_COEFFICIENT 0.305
update_field chassis fxxevo DRAG_COEFFICIENT 0.45
update_field chassis fxxevo FRONT_AXLE 1.2975
update_field chassis fxxevo FRONT_WEIGHT_BIAS 48.65
update_field chassis fxxevo RENDER_MOTION 0.8
update_field chassis fxxevo RIDE_HEIGHT Front 6.75
update_field chassis fxxevo RIDE_HEIGHT Rear 6.75
update_field chassis fxxevo ROLL_CENTER 8.85
update_field chassis fxxevo SHOCK_BLOWOUT 6
update_field chassis fxxevo SHOCK_DIGRESSION Front 0.135
update_field chassis fxxevo SHOCK_DIGRESSION Rear 0.135
update_field chassis fxxevo SHOCK_EXT_STIFFNESS Front 55
update_field chassis fxxevo SHOCK_EXT_STIFFNESS Rear 55
update_field chassis fxxevo SHOCK_STIFFNESS Front 50
update_field chassis fxxevo SHOCK_STIFFNESS Rear 50
update_field chassis fxxevo SHOCK_VALVING Front 28
update_field chassis fxxevo SHOCK_VALVING Rear 28
update_field chassis fxxevo SPRING_PROGRESSION Front 7.85
update_field chassis fxxevo SPRING_PROGRESSION Rear 8
update_field chassis fxxevo SPRING_STIFFNESS Front 540
update_field chassis fxxevo SPRING_STIFFNESS Rear 535
update_field chassis fxxevo SWAYBAR_STIFFNESS Front 225
update_field chassis fxxevo SWAYBAR_STIFFNESS Rear 225
update_field chassis fxxevo TRACK_WIDTH Front 1.66
update_field chassis fxxevo TRACK_WIDTH Rear 1.65
update_field chassis fxxevo TRAVEL Front 7.15
update_field chassis fxxevo TRAVEL Rear 7.2
update_field chassis fxxevo WHEEL_BASE 2.65
add_node engine default fxxevo
resize_field engine fxxevo ENGINE_BRAKING 3
update_field engine fxxevo ENGINE_BRAKING[0] 0.83
update_field engine fxxevo ENGINE_BRAKING[1] 0.87
update_field engine fxxevo ENGINE_BRAKING[2] 0.92
update_field engine fxxevo FLYWHEEL_MASS 11.25
update_field engine fxxevo IDLE 975
update_field engine fxxevo MAX_RPM 10000
update_field engine fxxevo RED_LINE 9500
resize_field engine fxxevo TORQUE 9
update_field engine fxxevo TORQUE[0] 140
update_field engine fxxevo TORQUE[1] 180
update_field engine fxxevo TORQUE[2] 249
update_field engine fxxevo TORQUE[3] 347
update_field engine fxxevo TORQUE[4] 509
update_field engine fxxevo TORQUE[5] 431
update_field engine fxxevo TORQUE[6] 384
update_field engine fxxevo TORQUE[7] 349
update_field engine fxxevo TORQUE[8] 322
add_node induction default fxxevo_base
update_field induction fxxevo_base HIGH_BOOST 0.175
update_field induction fxxevo_base LOW_BOOST 0.15
update_field induction fxxevo_base PSI 24
update_field induction fxxevo_base SPOOL 0
update_field induction fxxevo_base SPOOL_TIME_DOWN 0.6
update_field induction fxxevo_base SPOOL_TIME_UP 1.425
update_field induction fxxevo_base VACUUM -0.125
add_node tires default fxxevo
update_field tires fxxevo ASPECT_RATIO Front 30
update_field tires fxxevo ASPECT_RATIO Rear 35
update_field tires fxxevo DYNAMIC_GRIP Front 1.4
update_field tires fxxevo DYNAMIC_GRIP Rear 1.38
update_field tires fxxevo GRIP_SCALE Rear 1.0425
update_field tires fxxevo RIM_SIZE Front 19
update_field tires fxxevo RIM_SIZE Rear 19
update_field tires fxxevo SECTION_WIDTH Rear 335
update_field tires fxxevo STATIC_GRIP Front 1.52
update_field tires fxxevo STATIC_GRIP Rear 1.51
update_field tires fxxevo STEERING 0.955
resize_field tires fxxevo YAW_CONTROL 4
update_field tires fxxevo YAW_CONTROL[0] 0.385
update_field tires fxxevo YAW_CONTROL[1] 0.385
update_field tires fxxevo YAW_CONTROL[2] 0.37
update_field tires fxxevo YAW_CONTROL[3] 0.37
update_field tires fxxevo YAW_SPEED 0.2935
add_node transmission default fxxevo
update_field transmission fxxevo CLUTCH_SLIP 0.915
update_field transmission fxxevo DIFFERENTIAL[0] 0.815
update_field transmission fxxevo DIFFERENTIAL[1] 0.815
update_field transmission fxxevo DIFFERENTIAL[2] 0
update_field transmission fxxevo FINAL_GEAR 3.71
update_field transmission fxxevo GEAR_EFFICIENCY[0] 0.75
update_field transmission fxxevo GEAR_EFFICIENCY[1] 1
update_field transmission fxxevo GEAR_EFFICIENCY[2] 1
update_field transmission fxxevo GEAR_EFFICIENCY[3] 1
update_field transmission fxxevo GEAR_EFFICIENCY[4] 1
update_field transmission fxxevo GEAR_EFFICIENCY[5] 1
update_field transmission fxxevo GEAR_EFFICIENCY[6] 1
update_field transmission fxxevo GEAR_EFFICIENCY[7] 1
update_field transmission fxxevo GEAR_EFFICIENCY[8] 1
resize_field transmission fxxevo GEAR_RATIO 8
update_field transmission fxxevo GEAR_RATIO[0] 4
update_field transmission fxxevo GEAR_RATIO[1] 0
update_field transmission fxxevo GEAR_RATIO[2] 3.08
update_field transmission fxxevo GEAR_RATIO[3] 1.885
update_field transmission fxxevo GEAR_RATIO[4] 1.398
update_field transmission fxxevo GEAR_RATIO[5] 1.133
update_field transmission fxxevo GEAR_RATIO[6] 0.988
update_field transmission fxxevo GEAR_RATIO[7] 0.83
update_field transmission fxxevo OPTIMAL_SHIFT 500
update_field transmission fxxevo SHIFT_SPEED 0.225
update_field transmission fxxevo TORQUE_CONVERTER 0.355
update_field transmission fxxevo TORQUE_SPLIT 0
