MioHotkeyMod

版本 v0.1.2·更新於 2024-02-04

more hotkeys

模組介紹 作者原文

MioHotkeyMod 貓貓的快捷鍵

功能

快捷鍵 道路對齊:​

  • shift+1: 無碎格造路
  • shift+2: 曲線擴大路口

快捷鍵 Home界面分類選擇:​

  • shift+小鍵盤1: 地表/地面
  • shift+小鍵盤2: 橋樑與道路
  • shift+小鍵盤3: 標誌性建築
  • shift+小鍵盤4: 水源,位置,動物
  • shift+小鍵盤5: 燈
  • shift+小鍵盤6: 站牌
  • shift+小鍵盤7: 道路符號與信號燈
  • shift+小鍵盤8: 道路升級
  • shift+小鍵盤9: 小物件

快捷鍵 交通燈改善 模組 - 車道保存載入:

  • shift+1~9: 保存車道設置
  • 1~9: 加載車道設置

快捷鍵 調試

  • alt+shift: 高亮元素
  • shift + alt + z:輸出鼠標指向的DOM元素
  • shift + alt + Num1: 輸出資產信息
  • shift + alt + Num2: 輸出懸浮框
  • shift + alt + Num3: 輸出設置詳情
  • shift + alt + Num4: 輸出鼠標懸浮框

滾輪 - 資產翻頁

  • 資產標籤欄左右翻頁
  • 資產內容上下翻頁

全局快捷鍵

  • 雙擊左鍵: 智能保存/關閉面板
  • 左鍵: 如果打開公交交通視圖,且選擇了工具欄的交通資產,則只顯示對應公交元素

其他

  • 使用快捷鍵時將在右上角提示快捷鍵

更新日誌

  • 0.1.2

長按shift將在右上角顯示快捷鍵(需要顯示fps)

新增調試快捷鍵:

  • shift + alt + z:輸出鼠標指向的DOM元素
  • shift + alt + Num1: 輸出資產信息
  • shift + alt + Num2: 輸出懸浮框
  • shift + alt + Num3: 輸出設置詳情
  • shift + alt + Num4: 輸出鼠標懸浮框
  • 0.1.1

修復公交面板Bug

修復雙擊bug

  • 0.1.0

新增鼠標懸浮檢測

新增滾輪快捷鍵: (RICO MOD)

  • 資產標籤欄左右翻頁
  • 資產內容上下翻頁

新增調試快捷鍵: alt+shift 高亮並console.log選中元素

重構代碼,更易閱讀和維護

  • 0.0.8 hotfix

修復雙擊左鍵報錯

  • 0.0.7 hotfix

修復重複加載js導致的無法開啓交通燈車道問題

修復雙擊左鍵關閉菜單的多語言支持問題

  • 0.0.6 hotfix

修復全局左鍵導致的交通面板重複勾選,太吵了!

  • 0.0.5 hotfix

修復雙擊左鍵判定問題

  • 0.0.4

新增 交通燈改善 的快捷鍵:

  • shift + 1~9 保存車道設置
  • 1~9 載入車道設置

新增 全局 快捷鍵:

  • 雙擊左鍵智能關閉面板
  • 左鍵時,如果打開了交通視圖,將試圖把顯示元素與選擇的工具對齊 (選擇公交就只顯示公交)

MioHotkeyMod

Features

Shortcut: Road Alignment

  • Shift+1: Build roads without grid
  • Shift+2: Expand intersection with curves

Shortcut: Home Menu Categorization

  • Shift+Num1: Terrain/Surface
  • Shift+Num2: Bridges and Roads
  • Shift+Num3: signature building
  • Shift+Num4: Water Sources, Locations, Animals
  • Shift+Num5: Lights
  • Shift+Num6: Signs
  • Shift+Num7: Road Symbols and Traffic Lights
  • Shift+Num8: Road Upgrades
  • Shift+Num9: Small Objects

Shortcut: Traffic Lights Enhancement Mod - Lane Save/Load

  • Shift + 1~9: Save lane configurations
  • 1~9: Load lane configurations

Shortcut Keys for Debugging

  • alt+shift: Highlight Element
  • shift + alt + z: Output the DOM element under the mouse cursor
  • shift + alt + Num1: Output Asset Information
  • shift + alt + Num2: Output Tooltip
  • shift + alt + Num3: Output Settings Details
  • shift + alt + Num4: Output Mouse Hover Box

Scroll Wheel - Asset Pagination

  • Scroll left and right in the asset tab bar
  • Scroll up and down in the asset content

Global Shortcut Keys

  • Double-click left mouse button: Smart save/close panel
  • Left mouse button: If the public transport view is open and a traffic asset is selected in the toolbar, only the corresponding public transport elements are displayed.

Others

  • When using shortcuts, the shortcuts will be displayed in the upper right corner as a reminder.

Update Log

  • 0.1.2

Press and hold Shift to display shortcuts in the upper right corner (fps display required).

Added debugging shortcuts:

  • shift + alt + z: Output the DOM element under the mouse cursor
  • shift + alt + Num1: Output Asset Information
  • shift + alt + Num2: Output Tooltip
  • shift + alt + Num3: Output Settings Details
  • shift + alt + Num4: Output Mouse Hover Box
  • 0.1.1

Fixed a bug in the info panel.

Resolved an issue with double-clicking.

  • 0.1.0

Added mouse hover detection.

Added wheel shortcuts (RICO MOD):

  • Asset tab scrolling (left and right).
  • Asset content scrolling (up and down).

Added debug shortcut: alt+shift to highlight and console.log the selected element.

Refactored code for improved readability and maintainability.

  • 0.0.8 Hotfix

Fix the error caused by double-clicking the left mouse button.

  • 0.0.7 Hotfix

Fixed an issue with the inability to enable Traffic Lights Enhancement Mod lanes due to the repeated loading of JavaScript.

Addressed a multilingual support problem related to double-clicking the left mouse button to close the menu.

  • 0.0.6 Hotfix

Fixed the issue of repeated selection in the traffic panel caused by the global left-click. (Too noisy!!!)

  • 0.0.5 Hotfix

Fixed the double-click left-click judgment issue.

  • 0.0.4

Added shortcuts for Traffic Light Improvement:

  • Shift + 1~9: Save lane settings
  • 1~9

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。 程式碼模組需要放進遊戲目錄的 Mods 資料夾,並在遊戲內的 Mods 選單中啟用。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackCities2Modding-HookUI

檔案與校驗

檔案名稱
MioHotkeyMod-0.1.2.zip
檔案大小
182.2 KiB