[VERSN2]
stop_errors false
speedreflect auto
unlock_memory all

#Binary Stuff Installation
import override GLOBAL\GLOBALB.LZC CarTypeInfos CarParts\CarTypeInfos\COPCHARGER06.bin
import override GLOBAL\GLOBALB.LZC CarTypeInfos CarParts\CarTypeInfos\COPCHRGRGHST.bin
import override GLOBAL\GLOBALB.LZC Collisions CarParts\Collisions\COPCHARGER06.bin
import override GLOBAL\GLOBALB.LZC Collisions CarParts\Collisions\COPCHRGRGHST.bin
import override GLOBAL\GLOBALB.LZC DBModelParts CarParts\DBModelParts\COPCHARGER06.bin
import override GLOBAL\GLOBALB.LZC DBModelParts CarParts\DBModelParts\COPCHRGRGHST.bin

add_or_update_string LANGUAGES\ENGLISH_GLOBAL.BIN STRBlocks Global AUTO CARNAME_FORD_COPCHARGER06 "Dodge Charger SRT-8 Pursuit Unit"
add_or_update_string LANGUAGES\ENGLISH_GLOBAL.BIN STRBlocks Global AUTO CARNAME_FORD_COPCHRGRGHST "Dodge Charger SRT-8 Undercover Unit"
add_or_update_string LANGUAGES\LABELS_INGAME.BIN STRBlocks InGame AUTO HUD_COPDESTROYED_COPCHARGER06 "HUD_COPDESTROYED_COPCHARGER06"
add_or_update_string LANGUAGES\LABELS_INGAME.BIN STRBlocks InGame AUTO HUD_COPDESTROYED_COPCHRGRGHST "HUD_COPDESTROYED_COPCHRGRGHST"
add_or_update_string LANGUAGES\ENGLISH_INGAME.BIN STRBlocks InGame AUTO HUD_COPDESTROYED_COPCHARGER06 "DODGE CHARGER SRT-8 (PPV)^COMBO BOUNTY: %$d"
add_or_update_string LANGUAGES\ENGLISH_INGAME.BIN STRBlocks InGame AUTO HUD_COPDESTROYED_COPCHRGRGHST "DODGE CHARGER SRT-8 (UCV)^COMBO BOUNTY: %$d"

#Car Files Installation
if directory_exists absolute CARS\COPCHARGER06
do // do nothing
else
create_folder absolute CARS\COPCHARGER06
end

if directory_exists absolute CARS\COPCHRGRGHST
do // do nothing
else
create_folder absolute CARS\COPCHRGRGHST
end

move_file override relative absolute Files\COPCHRGRGHST\GEOMETRY.BIN CARS\COPCHRGRGHST\GEOMETRY.BIN
move_file override relative absolute Files\COPCHRGRGHST\TEXTURES.BIN CARS\COPCHRGRGHST\TEXTURES.BIN

checkbox "Welcome to Choose Your Flavour! Press OK to Continue."
enabled
disabled
end

combobox "Modern Lightbars (NFS World/Original)" "Classic Lights (NFS Most Wanted/Carbon)" "Choose Your Flavour: Modern Lightbars or Classic Lights"
"Modern Lightbars (NFS World/Original)"
move_file override relative absolute Files\COPCHARGER06REGULAR\GEOMETRY.BIN CARS\COPCHARGER06\GEOMETRY.BIN
move_file override relative absolute Files\COPCHARGER06REGULAR\TEXTURES.BIN CARS\COPCHARGER06\TEXTURES.BIN

"Classic Lights (NFS Most Wanted/Carbon)"
move_file override relative absolute Files\COPCHARGER06CARBONSTYLE\GEOMETRY.BIN CARS\COPCHARGER06\GEOMETRY.BIN
move_file override relative absolute Files\COPCHARGER06CARBONSTYLE\TEXTURES.BIN CARS\COPCHARGER06\TEXTURES.BIN
end

checkbox "Now finish the install using OGVI or VltEd."
enabled
disabled
end
