Virtual Car Dealer

cyberpunk-2077 — Mods & Enhancements

Virtual Car Dealer

Virtual Car Dealer is a lightweight framework built on TweakXL that adds a fully functional in-game vehicle shop, allowing modders to create a 'dealership' UI where players can purchase any vehicle—vanilla or modded—using eurodollars. It replaces the need to use console commands or spawn vehicles via Cyber Engine Tweaks, giving a lore-friendly way to buy cars, motorcycles, and even the Basilisk tank. Players install it to expand their garage without cheating, and modders use it to bundle custom vehicles with a proper purchase interface that respects the game's economy.

📦 Full mod page on discovermods

Downloads, ratings, compatibility info, installation guides, and user reviews.

View on discovermods →

Syntax

Gameplay

Example

Downloads: 4,497,619 | Endorsements: 36,955

💡 Notes

By DJ_Kovrik | v2.2.11 | 36,955 endorsements

🎯 Tips & Tricks

Add a custom vehicle to the dealer via YAML

Create a new .yaml file in 'r6/tweaks/VirtualCarDealer/' (e.g., 'mycars.yaml'). Use this structure: 'Vehicles: MyCar: entity: 'Vehicle.v_mycar' price: 50000 displayName: 'My Custom Car'\n description: 'A fast ride'\n category: 'Sports'. Then reload the save with TweakXL's hot-reload (press Ctrl+R in game) to see it in the shop.

Make the dealer appear in a specific location

Open the mod's main .lua file (found in 'mods/VirtualCarDealer/init.lua') and change the 'spawnPosition' variable to a Vector3 of your choice, e.g., Vector3.new(-1758.0, 45.0, 2125.0) for near the Afterlife. Use the in-game console command 'player.teleport' to find coordinates, then paste them.

Set a discount or sale via game events

In the same init.lua, hook into the 'OnPurchase' event to apply a discount. For example, add a check if the player has a specific perk (e.g., 'Perk_Cool_Head') and multiply the price by 0.9. This requires basic Lua knowledge but is documented in the mod's README.

🔧 Troubleshooting

Vehicles from 'Vehicle Combat' mod or 'Car Modification Shop' don't appear in the dealer

Virtual Car Dealer only recognizes vehicles that have a valid 'entity' field in TweakDB. You must manually add those vehicles to your YAML file with their exact entity path (e.g., 'Vehicle.v_sport2_quadra_turbo'). Check the mod's wiki for a list of compatible vehicle entities from other mods, or use TweakXL's 'debug' mode to find the entity ID.

Purchasing a vehicle crashes the game if the vehicle has custom mods (e.g., 'Vehicle Customizer' or 'Wasteland Vehicles')

This is a known conflict with the 'Vehicle Customizer' mod's extra attachment nodes. Use a patch from the Nexus page 'Virtual Car Dealer Compatibility Patch' that adds a 'safePurchase' flag to the YAML, which strips custom attachments on purchase. Or, in your YAML, set 'allowMods: false' for that vehicle.

⚠️ Common Mistakes

  • [object Object]
  • [object Object]

👍 Pros

  • 36,955 endorsements
  • 4,497,619 downloads
  • Category: Gameplay

👎 Cons

  • Requires mod manager installation
  • May conflict with similar mods
🔍 Search Wiki
Type a command, item, or cheat to search across 60+ games.