CustomVehiclePathfind
Changing vehicle behaviors by configuring their pathfinding costs
模組介紹 作者原文
Disclaimer
- This mod is experimental. It may affect all vehicles in the city and even citizen's willingness to use vehicles in your city. Please use at your own risk.
CustomVehiclePathfind
- Configurable path-finding cost of unsafe behaviors (violating intersection rules and making unsafe u-turns) for vehicles. Higher cost restricts vehicles from making these moves.
- Recommended value: 0 for everybody breaking rules, 10000 or larger to forbid rule-breaking.
- Configurable path-finding cost of lane changing for vehicles. Higher cost makes vehicles more costly to change lanes during running.
- The effect is hardly observable under low lane changing cost, but devastating to your city if the lane changing cost is set to extremely high values.
- Configurable path-finding cost of simply driving for vehicles. Higher cost effectively reduces the usage of vehicles for citizens (cargo and service vehicles are not affected).
- Recommended value: 0.01 is the default value of the game, 1.0 results in significantly reduced vehicle traffic.
- All these function can be turned off.
Configuring the Setting
- First launch the game with this mod loaded, and close the game (to generate the configuration file).
- Open the configuration file (..\Cities Skylines II\BepInEx\config\CustomVehiclePathfind.cfg), modify each configuration entries and save the file.
- Now launch the game again with this mod loaded and enjoy it!
Requirements
- Game version equals or below 1.0.15f1.
- BepInEx 5
Planned Features
- In-game configuration.
- Configurable path-finding cost of more vehicle behaviors.
Credits
- Captain-Of-Coit: A Cities: Skylines 2 mod template.
- BepInEx: Unity / XNA game patcher and plugin framework.
- Harmony: A library for patching, replacing and decorating.NET and Mono methods during runtime.
- CSLBBS: A chinese Cities: Skylines 2 community, for extensive test and feedback efforts.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。 程式碼模組需要放進遊戲目錄的 Mods 資料夾,並在遊戲內的 Mods 選單中啟用。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
BepInEx-BepInExPack