[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

move_file override relative absolute GTRLMParts\SKYLINELM.ini scripts\UnlimiterData\SKYLINELM.ini

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

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_NISSAN_SKYLINELM "1995 Nismo GT-R LM"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_SKLM95_1 "Flyte"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_SKLM95_2 "Grifter"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_SKLM95_1 "Eyelids"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_SKLM95_1 "Crimson"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_SKLM95_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_SKLM95_2 "Vortex Generators"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_SKLM95_3 "Carbon with Vortex Gen."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_SKLM95_4 "J2 Scoop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_SKLM95_5 "Carbon J2 Scoop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_SKLM95_6 "Mixed"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_SKLM95_7 "Mixed Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SKLM95_1 "Ace"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SKLM95_2 "Frenzy"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SKLM95_3 "Blast"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SKLM95_4 "Rocket"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SKLM95_5 "Sonic"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MIRRORS_SKLM95_1 "Carbon"
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_SKLM95_1 "Bride Black"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SKLM95_2 "Bride Red"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SKLM95_3 "Bride Tan"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SKLM95_4 "J2 Style 1"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SKLM95_5 "J2 Style 2"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SKLM95_6 "J2 Style 3"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRAKES_SKLM95_1 "Brembo"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRAKES_SKLM95_2 "Wilwood"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRAKES_SKLM95_3 "Baer"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_SKLM95_0 "No Roll Cage"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_SKLM95_1 "Type 1"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_SKLM95_2 "Type 2"

// 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 SKYLINELM
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINELM
else
end

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

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