[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_FAMILIAGTR SECONDARY_LOGO_FAMILIAGTR "FamParts\SECONDARY_LOGO_FAMILIAGTR.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_FAMILIAGTR SECONDARY_LOGO_FAMILIAGTR "FamParts\SECONDARY_LOGO_FAMILIAGTR.dds"
end

move_file override relative absolute FamParts\FAMILIAGTR.ini scripts\UnlimiterData\FAMILIAGTR.ini

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_MAZDA_FAMILIAGTR "1992 Mazda Familia GT-R"
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_ROOF_MAZFAM_1 "Rally Roof Scoop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MAZFAM_1 "Optional Spoiler"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MAZFAM_2 "Boomerang"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MAZFAM_3 "Grifter"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MAZFAM_4 "Carbon X"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MAZFAM_5 "M3 GTR"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MAZFAM_6 "IGN 7.8 out of 10"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MAZFAM_1 "Eyelids"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MAZFAM_2 "Voltage"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_MAZFAM_1 "Crimson"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_MAZFAM_2 "Chrome"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_MAZFAM_3 "Masked"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_MAZFAM_4 "Reaper"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MAZFAM_1 "Backlash"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MAZFAM_2 "Livia"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MAZFAM_3 "Ace"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MAZFAM_4 "Frenzy"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MAZFAM_5 "Blast"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MAZFAM_6 "Rocket"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MAZFAM_7 "Sonic"
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_TRUNK_MAZFAM_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_HONCRX_0 "No Roll Cage"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_HONCRX_1 "Chrome"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_HONCRX_2 "Painted"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SUPRAB_1 "Bride Black"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SUPRAB_2 "Bride Red"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SUPRAB_3 "Sparco Black"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_SUPRAB_4 "Sparco Blue"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SWHEEL_MAZFAM_1 "Momo Type 1 Red"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SWHEEL_MAZFAM_2 "Momo Type 1 Blue"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SWHEEL_MAZFAM_3 "Momo Type 2"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_GRILLE_MAZFAM_1 "Custom"

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

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

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides FAMILIAGTR_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides FAMILIAGTR_PART_SPOILER
else
end

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