[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_MINITRAV SECONDARY_LOGO_MINITRAV "TravParts\SECONDARY_LOGO_MINITRAV.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CARSELECT_MANUFACTURER_MORRIS CARSELECT_MANUFACTURER_MORRIS "TravParts\CARSELECT_MANUFACTURER_MORRIS.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_MINITRAV SECONDARY_LOGO_MINITRAV "TravParts\SECONDARY_LOGO_MINITRAV.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_MORRIS CARSELECT_MANUFACTURER_MORRIS "TravParts\CARSELECT_MANUFACTURER_MORRIS.dds"
end

move_file override relative absolute TravParts\MINITRAV.ini scripts\UnlimiterData\MINITRAV.ini

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_MORRIS_MINITRAV "1965 Morris Mini Traveller"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MINTRV_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MINTRV_2 "Rally Roof Scoop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MINTRV_3 "Carbon Rally Scoop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MINTRV_4 "Spare Tire"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MINTRV_5 "Carbon with Spare Tire"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MINTRV_6 "Scoop and Tire"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_MINTRV_7 "Carbon Scoop and Tire"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MINTRV_1 "Flyte"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MINTRV_2 "Drag"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_MINTRV_3 "Touring"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MINTRV_1 "Racing Tape"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MINTRV_2 "Closed Extra Lights"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MINTRV_3 "Tape and C. E. Lights"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MINTRV_4 "Quad Lights"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_MINTRV_5 "Tape and Quad Lights"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MINTRV_1 "Side Pipe 1"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MINTRV_2 "Side Pipe 2"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MINTRV_3 "Ace"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MINTRV_4 "Frenzy"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MINTRV_5 "Blast"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MINTRV_6 "Rocket"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_MINTRV_7 "Sonic"
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_GRILLE_MINTRV_1 "Custom"
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"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_DRIVER_MINTRV_1 "Animal Crossing Rosie"

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

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

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

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