[VERSN2]
watermark "Mod made by YochiThMaster333"

// Because this car needs to load custom vinyls, speedreflect is required
speedreflect auto

if directory_exists absolute CARS\COMMODORE96
do
else
create_folder absolute CARS\COMMODORE96
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\COMMODORE96\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\COMMODORE96\TEXTURES.BIN
move_file override relative absolute Main\VINYLS.BIN CARS\COMMODORE96\VINYLS.BIN

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CAR_MODEL_NAME_COMMODORE96 "HSV GTS-R"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO FULL_NAME_COMMODORE96 "1996 HSV GTS-R"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO EVENT_REWARD_CAR_COMMODORE96 "1996 HSV GTS-R"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO EVENT_77_REWARD_COMMODORE96 "Congratulations!  You've unlocked the 1996 HSV GTS-R"
update_collection FRONTEND\FRONTB.LZC GCareerRaces 77 NumberOfUnlocks 3
update_collection FRONTEND\FRONTB.LZC GCareerRaces 77 Unlocks UNLOCK3 UnlockType Car
update_collection FRONTEND\FRONTB.LZC GCareerRaces 77 Unlocks UNLOCK3 UnlockName COMMODORE96

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CARSELECT_MANUFACTURER_HSV CARSELECT_MANUFACTURER_HSV "HSVParts\CARSELECT_MANUFACTURER_HSV.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT SECONDARY_LOGO_COMMODORE96 SECONDARY_LOGO_COMMODORE96 "HSVParts\SECONDARY_LOGO_COMMODORE96.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_HSV CARSELECT_MANUFACTURER_HSV "HSVParts\CARSELECT_MANUFACTURER_HSV.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_COMMODORE96 SECONDARY_LOGO_COMMODORE96 "HSVParts\SECONDARY_LOGO_COMMODORE96.dds"
end


// Those files are actually unloaded to save RAM, so don't worry ^^
delete LANGUAGES\ENGLISH.BIN
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX
do
else
add_collection GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX
end

bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX "Textures"
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0xA04F4F0D AlphaBlendType TEXBLEND_SRCCOPY
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0xA04F4F0D AlphaUsageType TEXUSAGE_NONE
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0xEEB8B3EA AlphaBlendType TEXBLEND_SRCCOPY
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0xEEB8B3EA AlphaUsageType TEXUSAGE_NONE
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0xC51AFA5D AlphaBlendType TEXBLEND_SRCCOPY
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0xC51AFA5D AlphaUsageType TEXUSAGE_NONE
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0x027FF2DC AlphaBlendType TEXBLEND_SRCCOPY
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0x027FF2DC AlphaUsageType TEXUSAGE_NONE
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0x0000D99A AlphaBlendType TEXBLEND_SRCCOPY
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0x0000D99A AlphaUsageType TEXUSAGE_NONE
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0x03F9E820 AlphaBlendType TEXBLEND_SRCCOPY
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTEX 0x03F9E820 AlphaUsageType TEXUSAGE_NONE

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions COMMODORE96
do
remove_collection GLOBAL\GLOBALB.LZC Collisions COMMODORE96
else
end

if collection_exists GLOBAL\GLOBALB.LZC DBModelParts COMMODORE96
do
remove_collection GLOBAL\GLOBALB.LZC DBModelParts COMMODORE96
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINE COMMODORE96
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 DefaultBasePaint GLOSS_L1_COLOR04
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 ManufacturerName HSV
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_LEFT XValue 1.363
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_RIGHT XValue 1.363
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_RIGHT XValue -1.365
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_LEFT XValue -1.365
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_LEFT YValue 0.849
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_RIGHT YValue -0.849
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_RIGHT YValue -0.87
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_LEFT YValue 0.87
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_LEFT WideBodyYValue 0.915
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_RIGHT WideBodyYValue -0.915
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_RIGHT WideBodyYValue -0.915
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_LEFT WideBodyYValue 0.915
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_LEFT Diameter 0.33
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_RIGHT Diameter 0.33
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_RIGHT Diameter 0.33
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_LEFT Diameter 0.33
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 General ECAR Cost 30000
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 General PVEHICLE Massx1000Multiplier 1.629
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine BASE_ENGINE EngineTorque5 0.3028
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine BASE_ENGINE EngineTorque6 0.2793
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine BASE_ENGINE EngineTorque7 0.2596
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine TOP_ENGINE EngineTorque1 0.0675
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine TOP_ENGINE EngineTorque4 0.0703
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine TOP_ENGINE EngineTorque5 0.06845
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine TOP_ENGINE EngineTorque6 0.05675
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine TOP_ENGINE EngineTorque7 0.04515
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine TOP_ENGINE EngineTorque8 0.03485
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Engine TOP_ENGINE EngineTorque9 0.1294
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque7 0.08
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque8 0.14
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque9 0.09
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque6 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque5 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque4 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque3 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque2 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Turbo BASE_TURBO TurboTorque1 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 General PVEHICLE InitialHandlingRating 1.85
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION TorqueSplit 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION TorqueSplit 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION TorqueSplit 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION TorqueSplit 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearRatio1 2.66
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearRatio2 1.78
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearRatio3 1.3
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearRatio4 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearRatio5 0.74
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearRatio6 0.5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION FinalDriveRatio 3.45
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION FinalDriveRatio2 3.45
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearRatioR -2.9
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearRatio1 2.66
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearRatio2 1.78
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearRatio3 1.3
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearRatio4 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearRatio5 0.74
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearRatio6 0.5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearRatioR -2.9
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION GearRatio1 2.66
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION GearRatio2 1.78
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION GearRatio3 1.3
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION GearRatio4 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION GearRatio5 0.74
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION GearRatio6 0.5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION GearRatioR -2.9
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION GearRatio1 2.66
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION GearRatio2 1.78
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION GearRatio3 1.3
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION GearRatio4 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION GearRatio5 0.74
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION GearRatio6 0.5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION GearRatioR -2.9
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION FinalDriveRatio2 3.315
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION FinalDriveRatio 3.315
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION FinalDriveRatio 3.14
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission PRO_TRANSMISSION FinalDriveRatio2 3.14
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION FinalDriveRatio 3.01
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission TOP_TRANSMISSION FinalDriveRatio2 3.01
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Suspension STREET_SUSPENSION SuspFrontHeightReduce 0.001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Suspension STREET_SUSPENSION SuspRearHeightReduce 0.001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Suspension PRO_SUSPENSION SuspFrontHeightReduce 0.001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Suspension PRO_SUSPENSION SuspRearHeightReduce 0.001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Suspension TOP_SUSPENSION SuspFrontHeightReduce 0.001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Suspension TOP_SUSPENSION SuspRearHeightReduce 0.001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_LEFT RideHeight 0.07
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_FRONT_RIGHT RideHeight 0.07
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_RIGHT RideHeight 0.07
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Wheels WHEEL_REAR_LEFT RideHeight 0.07
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission BASE_TRANSMISSION GearEfficiency 3.995
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 Transmission STREET_TRANSMISSION GearEfficiency 5.5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 RPM BASE_RPM MaxRPMAdd 7000
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 RPM BASE_RPM RedLineRPMAdd 6000
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 WeightReduction TOP_WEIGHT_REDUCTION WeightReductionMassMultiplier 0.75
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 WeightReduction PRO_WEIGHT_REDUCTION WeightReductionMassMultiplier 0.851
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COMMODORE96 WeightReduction STREET_WEIGHT_REDUCTION WeightReductionMassMultiplier 0.93
import override GLOBAL\GLOBALB.LZC DBModelParts "HSVParts\COMMODORE96.bin"

if collection_exists GLOBAL\GLOBALB.LZC Materials YTMINTERIOR
do
else
copy_collection GLOBAL\GLOBALB.LZC Materials INTERIOR YTMINTERIOR
end

update_collection GLOBAL\GLOBALB.LZC Materials YTMINTERIOR DiffuseMaxBlue 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMINTERIOR DiffuseMaxGreen 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMINTERIOR DiffuseMaxRed 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMINTERIOR DiffuseMinBlue 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMINTERIOR DiffuseMinGreen 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMINTERIOR DiffuseMinRed 1

if collection_exists GLOBAL\GLOBALB.LZC Materials YTMDRIVER
do
else
copy_collection GLOBAL\GLOBALB.LZC Materials DRIVER YTMDRIVER
end

update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER DiffuseMaxBlue 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER DiffuseMaxGreen 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER DiffuseMaxRed 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER DiffuseMinBlue 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER DiffuseMinGreen 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER DiffuseMinRed 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMaxLevel 0
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMinLevel 0
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER EnvmapMaxGreen 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER EnvmapMaxBlue 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER EnvmapMaxRed 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER EnvmapMinBlue 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER EnvmapMinGreen 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER EnvmapMinRed 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMaxBlue 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMaxGreen 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMaxRed 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMinBlue 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMinGreen 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMDRIVER SpecularMinRed 0.5
