Permit to sell almost any vehicle in the game at the export garage in the docks (south-east of the map).
I made it for myself, because I didn’t find any mod that provide simply this functionality and without any bugs.
– How it works
A blip will appear on the garage, just drive any car there, and it will gives you a proposal to sell it. Get out of the vehicle if you accept the deal.
I also added a small function that allows you to see estimation of a vehicle you’re in front of. Push right DPAD button or E to see the estimation.
The price is calculated as this example :
Let’s say a new vehicle cost 5000 dollars.
The base price is 5000/2, so 2500 dollars.
If the body or the engine of the vehicle is damaged, the average amount of those damage are removed from the base price.
50 percent body damages, 20 percent engine damages.
Body damages amount = 2500 by 50 / 100 = 1250 dollars.
Engine damages amount = 2500 by 20 / 100 = 200 dollars.
Average of damages = (1250 plus 200) / 2 = 725 dollars.
Final price = 2500 – 725 = 1750 dollars.
So take care of your car, and drive safely !
Some vehicles can’t enter the garage (big vehicles).
Some vehicle are not on the vehicle list, so there considered as impossible to sell.
I put it here as it for the moment, with may be improvement when I want to do it.
Do not hesitate to propose enhancements.
Needs ScriptHookV.NET 3.6.0 (and above when released I suppose)
Copy dll and ini to scripts folder.
Code clean up.
Settings file added to manage vehicle price list.
New location to sell on the north of the map, near Paleto Bay.
Settings file enhancement :
In the section [UnknownVehicleList] will be added automatically vehicle that the mod doesn’t know and that player try to estimate or sell.
Enhance selling to avoid auto impound : Vehicle now stay in the garage but is not accessible after sale.
Translation support : just edit new ini file and translate all entries in the Messages section.
Max price mechanic introduced : allowing to limit the max “real price” of all vehicles, before sale price calculation.
See settings file to customize it, set 0 to get the real “real price” :D.
Divider mechanic introduced : allowing to define the divisor when calculating the sale price.
For example, it is possible to limit yourself to a commission on the sale, by setting the divisor to 10
(you will then only get 10% of the price of the “real price” of a vehicle).
See settings file to customize it, if set equals or below 0, it will be set by default to 2.
To have a more diversified experience, the “real price” is now always modified within plus or minus 10% of the “real price” define on the settings file.
New custom locations can now be added with their coordinates in the configuration file. Just add the value of the coordinates (X,Y,Z) to a new POSITION key in the [SHOPS] section.
POSITION1 = 1204.48,-3118.86,4.75
POSITION2 = 429.92,6468.04,28.33
POSITION3 = 150.65,-864.89,82.79
POSITION4 = etc…
No limit has been set, but please stay reasonable to keep the game stable.
This is a major release (2.0), you need to update all my mods if you have more than one (Utils file is common).
Standardization of code and settings files of Waldhari Corp mods.
Warning: some sections and keys of the settings file have been modified for the purpose of homogenizing mods, please update accordingly.
Bug that removed blips from other mods fixed.
Added a possible minimum value for the actual price of vehicles.
Added lore-friendly positions for vehicle export, courtesy of loginos.
Added optional more positions file, courtesy of loginos : positions have to be pasted in main settings file. The position numbers must follow each other.
Feel free to use vehicle keys that you want to add as supported in the section [VehicleList] with a value representing a new vehicle price.
The WaldhariSellCars.ini should be like this, when opened :
-list of all known vehicles here-
ZTYPE = (name to find value=)Z-Type
-list of all other unknown vehicles here-
The vehicle should be deleted from [UnknownVehicleList],
and should be added to [VehicleList].
The file should be like this, after modification :
-list of all other known vehicles here-
ZTYPE = 10000000
-list of all unknown vehicles here-