[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 EunosRParts\MIATAJDM.ini scripts\UnlimiterData\MIATAJDM.ini

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT SECONDARY_LOGO_MIATAJDM SECONDARY_LOGO_MIATAJDM "EunosRParts\SECONDARY_LOGO_MIATAJDM.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CARSELECT_MANUFACTURER_EUNOS CARSELECT_MANUFACTURER_EUNOS "EunosRParts\CARSELECT_MANUFACTURER_EUNOS.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_MIATAJDM SECONDARY_LOGO_MIATAJDM "EunosRParts\SECONDARY_LOGO_MIATAJDM.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_EUNOS CARSELECT_MANUFACTURER_EUNOS "EunosRParts\CARSELECT_MANUFACTURER_EUNOS.dds"
end

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_EUNOS_MIATAJDM "1989 Eunos Roadster"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MX5JPN_0 "Soft top"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MX5JPN_1 "Hardtop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MX5JPN_2 "Hardtop Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MX5JPN_1 "Lex 42"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MX5JPN_2 "Gravedigger"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MX5JPN_3 "Grifter"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MX5JPN_1 "Stock Open"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MX5JPN_2 "Lunar"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MX5JPN_3 "Hyde"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_MX5JPN_0 "No Roll Cage"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_MX5JPN_1 "Painted"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_MX5JPN_2 "Chrome"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_TRUNK_MX5JPN_1 "Carbon"

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

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

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