赛博朋克2077v2.2.112026年10月12日 更新

虚拟汽车经销商

在公寓电脑中新增虚拟商店,检测已安装的兼容车辆模组并将车辆列为可购买项目;本身不添加车辆。需要 ArchiveXL、Codeware、RED4ext、TweakXL 和 redscript 0.5.31+;Browser Extension 为可选前置。提供车辆模组制作者添加车辆与颜色变体的配置说明。

简介

虚拟汽车经销商会在公寓的电脑中添加一家游戏内商店,使用方式类似 Virtual Atelier。它会检测已安装的受支持车辆模组,并将检测到的车辆记录显示为可购买车辆。本模组本身不添加车辆,需另外安装车辆模组。

前置

必需:

  • ArchiveXL
  • Codeware
  • RED4ext
  • TweakXL
  • redscript 0.5.31 或更高版本

可选:

  • Browser Extension

模组制作者:添加新车

车辆必须使用 TweakXL 定义。Virtual Car Dealer 会查找车辆记录上的以下字段,找到后便添加对应的可购买项目:

  • dealerPrice:车辆售价,整数。
  • dealerCred:解锁购买所需的街头信誉,整数。
  • dealerAtlasPath:完整车辆预览图的 inkatlas 资源路径,字符串。
  • dealerPartName:inkatlas 中的纹理部件名称,字符串。
  • dealerVariants:基础车辆记录的额外颜色变体,字符串数组。

例如,创建 ID 为 Vehicle.my.custom_vehicle 的车辆并将其加入 Vehicle.vehicle_list.list 后,可以添加以下字段:

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"

如果制作颜色变体,应在基础记录上定义 dealerPrice、dealerCred 和 dealerVariants,并为每个颜色变体分别定义 dealerAtlasPath 与 dealerPartName。然后将颜色变体记录加入 Vehicle.vehicle_list,而不是加入基础记录。例如:

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"

# 在 tweak 文件中的某处
Vehicle.vehicle_list.list:
  - !append t"Vehicle.my.custom_vehicle.blue"
  - !append t"Vehicle.my.custom_vehicle.green"

作者的示例车辆使用了 Codex 预览图,尺寸为 1860×609;建议制作类似尺寸的图片,也可以复用 Codex 图片。车辆召唤界面的预览图宽度应为 470 像素。

安装

  • 下载并安装所有必需文件。
  • 下载模组压缩包并解压到游戏目录。

卸载

  1. 打开 CET 控制台并运行:ClearSoldVehicles()
  2. 删除 Cyberpunk 2077\\r6\\scripts\\VirtualCarDealer 文件夹。
  3. 删除 Cyberpunk 2077\\r6\\tweaks\\VirtualCarDealer 文件夹。
  4. 从 Cyberpunk 2077\\archive\\pc\\mod 文件夹中删除 VirtualCarDealer.archive 和 VirtualCarDealer.archive.xl。

翻译

如需翻译,下载 Translation sources 压缩包,用文本编辑器打开 vdealer.json,只翻译带有 femaleVariant 键的行。之后可在作者提供的 cp2077-archive-xl 页面查找对应语言代码,并将翻译文件发回作者。

当前支持的语言与致谢

  • 英语
  • 俄语
  • 法语:Unseen Unit
  • 繁体中文:hansdofer
  • 波兰语:george173
  • 西班牙语:iguruspain
  • 意大利语:NarakuITA
  • 土耳其语:CalvinQuantine
  • 巴西葡萄牙语:F4xUu
  • 日语:onepkvn1
  • 简体中文:HarryGu
  • 捷克语:Starfis
  • 德语:Somerov
  • 韩语:MoookGwak

署名

  • jekky:redscript 编译器
  • WopsS:RED4ext
  • psiberx:Codeware 等
  • e256:纹理、测试与支持
  • Alien:inkatlas-utils Photoshop 插件

来源

来源与文件

  • 原作者:DJ_Kovrik
  • 原项目:Virtual Car Dealer
  • 文件:Virtual Car Dealer(ID:154385)
  • 来源上传者:djkovrik

文件说明

Does not add any vehicles by itself, you will need additionally installed car mods as well

来源列出的依赖与关系

  • 作者列出的前置:ArchiveXL — Required
  • 作者列出的前置:Browser Extension — Optional
  • 作者列出的前置:Codeware — Required
  • 作者列出的前置:RED4ext — Required
  • 作者列出的前置:redscript — Required version 0.5.31+
  • 作者列出的前置:TweakXL — Required

前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。

<!-- aoe-mods-source:nexusmods:cyberpunk2077:4454 -->

下载模块

共 1 个来源
立即下载推荐来源
前往下载