[VERSN2]
watermark "Mod made by YochiThMaster333"

// This is required for custom addon generic parts (wheels or spoilers; all NFS games) and/or custom addon vector vinyls (Carbon, ProStreet, Undercover). Without it, custom wheels and vector vinyls might cause many issues to your game (most notably the game crash)
speedreflect auto

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT SECONDARY_LOGO_SKYLINEZT SECONDARY_LOGO_SKYLINEZT "SkyZTParts\SECONDARY_LOGO_SKYLINEZT.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CARSELECT_MANUFACTURER_NISSAN CARSELECT_MANUFACTURER_NISSAN "SkyZTParts\CARSELECT_MANUFACTURER_NISSAN.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_SKYLINEZT SECONDARY_LOGO_SKYLINEZT "SkyZTParts\SECONDARY_LOGO_SKYLINEZT.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_NISSAN CARSELECT_MANUFACTURER_NISSAN "SkyZTParts\CARSELECT_MANUFACTURER_NISSAN.dds"
end

move_file override relative absolute SkyZTParts\SKYLINEZT.ini scripts\UnlimiterData\SKYLINEZT.ini

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_NISSAN_SKYLINEZT "2005 Nissan Skyline GT-R Nismo Z-Tune"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MIRRORS_MAZFAM_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_INTER_NSKYZT_1 "V-Spec (World)"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_INTER_NSKYZT_2 "V-Spec (Carbon)"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BODYKIT_NSKYZT_1 "C-West"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_HSVGTR_0 "None"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_NSKYZT_1 "Drag"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_NSKYZT_2 "Evo"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_NSKYZT_3 "Supernova"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_NSKYZT_4 "Carbon X"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_NSKYZT_5 "C-West GT Wing I"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_NSKYZT_6 "Flyte"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_NSKYZT_7 "Hammerhead"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HOOD_NSKYZT_1 "Flat Hood"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HOOD_NSKYZT_2 "Copperhead"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HOOD_NSKYZT_3 "Formula-Style"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HOOD_NSKYZT_4 "Synchromax"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HOOD_NSKYZT_5 "Duo Max"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HOOD_NSKYZT_6 "Velocity"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_NSKYZT_1 "Vortex Generators"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_NSKYZT_2 "Safety Car Lights"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_NSKYZT_3 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_NSKYZT_4 "Carbon Vortex G."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_NSKYZT_1 "Eyelids"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_NSKYZT_2 "Topaz"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_NSKYZT_3 "Projector"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_NSKYZT_4 "Topix"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_NSKYZT_1 "Masked NFSU2"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_NSKYZT_2 "Masked NFSU1"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_NSKYZT_3 "Streetray"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_NSKYZT_4 "V-Spec"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_NSKYZT_5 "V-Spec Tinted"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_NSKYZT_6 "Tinted"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MIRRORS_NSKYZT_1 "Echo"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MIRRORS_NSKYZT_2 "Ricocchet"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_LD2111_1 "UNP Classic"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_LD2111_2 "UNP Extreme Brand"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_LD2111_3 "UNP Racer Jr"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_LD2111_4 "UNP Sport"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_LD2111_5 "Sparco Modena"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_MAZFAM_2 "Sparco Roadster"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_BMWTUR_1 "Sparco Milano 2"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_BMWTUR_2 "Sparco Milano 3"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_BMWTUR_3 "Sparco Torino"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_NSKYZT_0 "No Roll Cage"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_NSKYZT_1 "Type 1 Chrome"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_NSKYZT_2 "Type 1 Painted"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_NSKYZT_3 "Type 2 Chrome"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_NSKYZT_4 "Type 2 Painted"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_REARTRK_NSKYZT_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_REARTRK_NSKYZT_2 "Debadged"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_REARTRK_NSKYZT_3 "Debadged Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_REARTRK_NSKYZT_4 "Racing"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_REARTRK_NSKYZT_5 "Racing Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_DRIVER_RKSPYD_1 "NFS UC/World Male"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_DRIVER_RKSPYD_2 "NFS UC Female"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_DRIVER_RKSPYD_3 "NFS World Female"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_DRIVER_RKSPYD_4 "NFS PS Driver"

// YTM's Rim Pack compatibility for stock rims
if collection_exists GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES
do
else
add_collection GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES
end

bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES "TireTexture"
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA024 AlphaBlendType TEXBLEND_SRCCOPY
update_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA024 AlphaUsageType TEXUSAGE_NONE

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

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

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

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos PUNTO SKYLINEZT
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers01 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers02 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers03 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers04 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers05 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers06 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers07 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers08 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers09 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT AvailableSkinNumbers10 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT ConvertibleFlag 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint METAL_L1_COLOR61
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultSkinNumber 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DriverRenderingOffsetW 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DriverRenderingOffsetX -0.24200001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DriverRenderingOffsetY 0.40500003
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DriverRenderingOffsetZ -0.040000007
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT HeadlightFOV 1.9200001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT HeadlightPositionW 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT HeadlightPositionX 1.28
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT HeadlightPositionY 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT HeadlightPositionZ 0.32000002
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT IsSkinnable True
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT KeepLoaded1 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT KeepLoaded2 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT KeepLoaded3 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT KeepLoaded4 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT KeepLoaded5 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT ManufacturerName NISSAN
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MaxInstances1 5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MaxInstances2 2
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MaxInstances3 2
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MaxInstances4 2
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MaxInstances5 2
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MemoryType Racing
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MinTimeBetweenUses1 5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MinTimeBetweenUses2 5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MinTimeBetweenUses3 5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MinTimeBetweenUses4 5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT MinTimeBetweenUses5 5
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT NumAvailableSkinNumbers 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT PadHighPerformance 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT SteeringWheelRenderingW 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT SteeringWheelRenderingX 0.5030001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT SteeringWheelRenderingY 0
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT SteeringWheelRenderingZ 0.6050001
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT UsageType Racer
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT WhatGame 1
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT WheelInnerRadiusMax 20
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT WheelInnerRadiusMin 17
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT WheelOuterRadius 26
copy_collection GLOBAL\GLOBALB.LZC Collisions PUNTO SKYLINEZT
import override GLOBAL\GLOBALB.LZC DBModelParts SkyZTParts\SKYLINEZT.bin
