banner
Rating
Voted0

Virtual car dealer

5
Mod version:2.1.3
Game version:all
The mod has been successfully tested for the absence of viruses
16049.39K354.12K

Report mod

  • image
  • image
  • image
  • image
  • image
  • image
modalImage

About This Mod

Virtual Car Dealer adds a new in-game store that can be accessed from a PC in any of your apartments (just like Virtual Atelier). It checks to see if supported car mods are installed, and simply displays all detected entries as cars that can be bought.



For modders - adding a new car


The only requirement here is the presence of a car defined in TweakXL. Virtual Car Dealer is looking for several apartments defined for car recording, and adds a new purchased item if records have been found:


dealerPrice - sale price of the car - Int

dealerCred - Street Cred Needed to Unlock Purchase - Int

dealerAtlasPath - path to inkatlas resource for full car preview image - String

dealerPartName - the name of the texture part in inkatlas - String

dealerVariants - additional color options for basic car recording - array of strings


For example, if you created a new car with the ID Vehicle.my.custom_vehicle (and added it to Vehicle.vehicle_list.list), the new lines might look like this:


Vehicle.my.custom_vehicle.dealerPrice: 123000

Vehicle.my.custom_vehicle.dealerCred: 20

Vehicle.my.custom_vehicle.dealerAtlasPath: "base/gameplay/gui/common/icons/codex/assets_fullscreen25.inkatlas"

Vehicle.my.custom_vehicle.dealerPartName: "v_makigai_maimai_basic_suburban_05_full"


And if you are making color variations, declare dealerPrice, dealerCred and dealerVariants for the base record and separate dealerAtlasPath and dealerPartName for each color variation, and then add the color variation records to Vehicle.vehicle_list (but not to the base record). Example:


Vehicle.my.custom_vehicle.blue.dealerAtlasPath: "your/path/to/inkatlas.inkatlas".

Vehicle.my.custom_vehicle.blue.dealerPartName: "your_blue_preview_icon"


Vehicle.my.custom_vehicle.green.dealerAtlasPath: "your/path/to/inkatlas.inkatlas".

Vehicle.my.custom_vehicle.green.dealerPartName: "your_green_preview_icon"


Vehicle.my.custom_vehicle.dealerPrice: 123000

Vehicle.my.custom_vehicle.dealerCred: 20

Vehicle.my.custom_vehicle.dealerVariants:

 - "Vehicle.my.custom_vehicle.blue"

 - "Vehicle.my.custom_vehicle.green"


# And somewhere in your tweet file

Vehicle.vehicle_list.list:

 - !append t "Vehicle.my.custom_vehicle.blue"

 - !append t "Vehicle.my.custom_vehicle.green"


For the example of a package of cars I used a previews from the code that have the size of 1860x609, so it's better to do something similar (or you can use images from the code). The previews for the vehicle call widget must be 470 px wide.



How to install


Download and install all the necessary files

Download the archives of mods and unpack them into the game folder



How to delete


Delete Cyberpunk folder 2077\r6\scripts\VirtualCarDealer

Delete Cyberpunk folder 2077\r6\tweaks\VirtualCarDealer

Remove VirtualCarDealer.archive and VirtualCarDealer.archive.xl from the Cyberpunk folder 2077\archive\pc\mod.

Similar Mods/Addons

Game Version *

all (Virtual Car Dealer-4454-2-1-3-1707122756.zip)