You are viewing a potentially older version of this package. View all versions.
starfi5h-StatsUITweaks-1.6.11 icon

StatsUITweaks

Adds QoL features to statistics panel. Extra ui scale options. 统计面板UI增强: 以星系名排序,过滤星球名称,热键切换,导航按钮,字体大小

Date uploaded 6 months ago
Version 1.6.11
Download link starfi5h-StatsUITweaks-1.6.11.zip
Downloads 1916
Dependency string starfi5h-StatsUITweaks-1.6.11

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

StatsUITweaks

Adds QoL features to the statistics panel.
mainWindow

  • Toggle to display production/consumption rate in per second.
  • Toggle to extend the histogram to 2.5x width.
  • Slider to change the time interval.
  • Set production/consumption rate and reference rate text font size larger.
  • Preserve product filter when switching time range or closing the window.

astroBox

  • Add local planetary system.
  • Sort the astro list by system names.
  • Type in the input field to filter the astro list.
  • Custom prefix/postfix for planet/system names in the astro list. Use Unity rich text to change text.
  • PageUp/PageDown to go to the next item on the list. Ctrl + PageUp/PageDown to go to the next system.
  • Left-click the navigate button to navigate to the select planet. Right-click to show it in starmap. Show astroId and index of factory in the button tip.

controlPanel

  • Support astro list rich text and hotkey in Logistics Control Panel (I) too.
  • Prevent windows from closing when opening dashboard.
  • Prevent control panel from closing when pressing E key.

Others

  • Add more layout reference height options (500~800) so it can go lower than 900 to scale the overall UI larger.

Configuration

Run the game one time to generate BepInEx\config\starfi5h.plugin.StatsUITweaks.cfg file.
Check Unity - KeyCode for available hotkey names.

Default Description
AstroBox
OrderByName true Order the list by system name
DropDownCount 15 Number of items shown in drop-down list
SystemPrefix <color=yellow> Prefix string of star system in the list
SystemPostfix </color> Postfix string of star system in the list
PlanetPrefix Prefix string of planet in the list
PlanetPostfix Postfix string of planet in the list
HotkeyListUp PageUp Move to previous item in astro list
HotkeyListDown PageDown Move to next item in astro list
Dashboard
TabSizeSwitch true When hovering on an item, Tab to switch size, Ctrl+Tab to swtich title.
MainWindow
TimeSliderSlice 20 The number of divisions of the time range slider
ListWidthOffeset 70 Increase width of the list
RateFontSize 26 Adjust the font size of production rate. (Vanilla=18)
RefRateTweak false The reference rate (maximum theoretical value) is always applied proliferator settings, regardless the material
RefRateMinerLimit 14400 Set reference rate max limit for pump and oil extractor
ExcludeTrafficPeak false When calculating the height of a histogram, exclude peak values ​​from input and output
Other
FoldButton true Add a button in perforamnce test panel to fold pie chart
NumericPlanetNo false Convert planet no. from Roman numerals to numbers
HideLitterNotification false Don't show trash notification (still visable in Z mode)
HideSoilNotification false Don't show soil notification

增加统计面板UI的便利性

- 打开仪表板时不再关闭现有视窗
- 在物流总控面板开启时,按E键不再关闭面板

  • Display /s
    将生产/消耗速率以秒显示

  • Extend Graph
    延伸直条图的宽度至2.5倍

  • 字体大小
    将生产/消耗速率和参考速率的字体放大(18->26)

  • 保存过滤条件
    在切换时间范围或关闭视窗时保存产物的过滤条件,再开启时不会重置

  • 统计当前星系
    在下拉清单列表中加入本地星系项目

  • 以星系名称排序列表
    原本游戏是以到达的先后顺序排列下拉清单列表中的星系。启用后会改以星系名称来排序

  • 过滤星球名称
    在输入框中输入字串, 将会过滤列表中的星系和星球

  • 自定义星球/星系名称前缀后缀
    使用者可以用Unity富文本自由配置字体样式

  • 导航按钮
    左键点击会导航至选取的星球。右键点击会开启星图模式显示该星球位置。按钮提示astroId和factory.index(idx)方便除错

  • 热键切换
    PageUp/PageDown可以切换至列表的上/下一个项目。压住Ctrl时, 会切换至上/下一个星系。

  • 更多UI布局选项
    添加更多布局参考高度选项(500~800),使它可以被设置低于900来放大整体UI。

配置

配置文件(.cfg)需要先运行过游戏一次才会出现。修改后需重启游戏才会生效。
管理器安装: 左边选项Config editor -> 找到starfi5h.plugin.StatsUITweaks -> Edit Config
热键名称请参考Unity手册的KeyCode

默认值 说明
AstroBox
OrderByName true 以星系名称排序列表
DropDownCount 15 下拉列表显示的个数
SystemPrefix <color=yellow> 星系名称前缀
SystemPostfix </color> 星系名称后缀
PlanetPrefix 星球名称前缀
PlanetPostfix 星球名称后缀
HotkeyListUp PageUp 切换至列表中上一个项目的热键
HotkeyListDown PageDown 切换至列表中下一个项目的热键
Dashboard
TabSizeSwitch true 鼠标悬停在某个统计项上时,Tab键切换尺寸,Ctrl+Tab键切换标题
MainWindow
ListWidthOffeset 70 增加列表栏位的宽度
TimeSliderSlice 20 时间范围滑杆的分割数
RateFontSize 26 生产速率和参考速率的字体大小(原版=18)
RefRateTweak false 参考速率(最大理论值)一律套用增产剂设定,无论原料是否已喷涂
RefRateMinerLimit 14400 為抽水機和油井的参考速率設定上限
ExcludeTrafficPeak false 计算柱状图高度时, 排除输入和输出的峰值
Other
FoldButton true 在性能面板加入一个折叠饼图的按钮
NumericPlanetNo false 将星球序号从罗马数字转为十进位数字
HideLitterNotification false 隐藏平常模式的垃圾提示(Z模式仍可见)
HideSoilNotification false 隐藏沙土数量变动的提示

demo3

extendPowerDetail

CHANGELOG

Changelog

v1.6.14 (DSP 0.10.34.28487)

  • 修正勾选框下有多余黄字的问题
  • Fixed the issue of extra yellow text under the checkbox

v1.6.13 (DSP 0.10.34.28326)

  • Adapt to game version 0.10.34.28326
  • 适配游戏版本0.10.34.28326
  • Remove config NumericPlanetNo (Move to mod UITweaks)
  • 移除配置NumericPlanetNo (移到mod UITweaks)

v1.6.12

  • Add production/consumption vs theoretical speed display to 1 * 1 and 2 * 1 dashboard layout (Credit to FyisFe)
  • 在 1 * 1 和 2 * 1 仪表盘布局中添加生产/消耗量与理论速度监控 (感谢FyisFe)

v1.6.11

  • Add config ExcludeTrafficPeak: When calculating the height of a histogram, exclude peak values ​​from input and output
  • 新增配置ExcludeTrafficPeak: 计算柱状图高度时, 排除输入和输出的峰值

v1.6.10 (DSP 0.10.33.26941)

  • Adapt to game version 0.10.33.26941.

v1.6.9

  • Add extra layout reference height options: 500 to 800
  • 新增更多UI布局高度选项: 500到800
  • Add new feature to config TabSizeSwitch: Ctrl+Tab to switch title
  • TabSizeSwitch新增功能: 鼠标悬停在某个统计项上时,按Ctrl+Tab键切换标题

v1.6.8

  • Add config HideLitterNotification, HideSoilNotification
  • 新增隐藏垃圾提示,隐藏沙土提示配置
  • Compatible to game version 0.10.33.26540 by disable fold button in 0.10.33 (Require ModFixerOne)
  • 通过在 0.10.33 中禁用折叠按钮,与游戏版本 0.10.33.26540 兼容 (需要ModFixerOne前置)

v1.6.7

  • Add config TabSizeSwitch
  • 新增鼠标悬停在某个统计项上时,按Tab键切换尺寸配置

v1.6.6

  • Add config RefRateMinerLimit
  • 新增抽水機和油井的参考速率上限配置

v1.6.5 (DSP 0.10.32.25682)

  • Adapt to new game version.

v1.6.4

  • Fix exception of String.IndexOf in Utils.UpdateAstroBox

v1.6.3 (DSP 0.10.32.25595)

  • Add extend consumption power detail button
  • Prevent windows from closing when opening dashboard
  • Prevent control panel from closing when pressing E key
  • 新增'扩展耗电设施'按钮
  • 打开仪表板时不再关闭现有视窗
  • 在物流总控面板开启时,按E键不再关闭面板

v1.6.2 (DSP 0.10.32.25552)

  • Add local planetary systemin astro list
  • Add RefRateTweak config option
  • 新增统计本地星系
  • 新增参考速率计算改动配置

v1.6.1 (DSP 0.10.31.24710)

  • Add TimeSliderSlice, RateFontSize config option
  • Add display per second, extend graph, preserve filter function
  • 新增时间范围滑杆, 速率字体大小配置
  • 新增以秒显示, 延长直方图, 保存过滤条件等功能

v1.6.0 (DSP 0.10.31.24646)

  • Remove TimeSliderSlice, SignificantDigits to adapt the new game version.
  • 适应游戏版本更新, 移除时间范围滑杆,产量数字精度功能
Previous Changelog

- v1.5.0: Move hotkey config to AstroBox category. Support Logistics Control Panel. (DSP 0.10.30.23350)
- v1.4.5: Add SignificantDigits config option (DSP 0.10.29.22015)
- v1.4.4: Add compat to Bottleneck's displayPerSecond. Support time slider in kill count (DSP 0.10.29.21950)
- v1.4.3: Fix right-click on navi button. Display astorId and factoryIdx on its tip (DSP 0.10.29.21904)
- v1.4.2: Fix star system duplicate in the filter with Bottleneck local system label (DSP 0.10.28.21172)
- v1.4.1: Fix error in OnLocateButtonRightClick
- v1.4.0: Add DropDownCount config option. Fix compat with Bottleneck 1.0.16
- v1.3.1: Support DSP 0.10.28.20779 (no changes in functions)
- v1.3.0: Add FoldButton config option.
- v1.2.1: Fix astro list in outersapce.
- v1.2.0: Add TimeSliderSlice config options. Fix error when opening dyson tab when there is only one system.
- v1.1.0: Add ListWidthOffeset, NumericPlanetNo, prefixes & postfixes config options. Stretch histogram.
- v1.0.0: Initial released. (DSP 0.9.27.15466)