找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 10245|回复: 14

请问phobos让血条显示具体数额的功能在哪

[复制链接]
发表于 2022-4-24 16:19:16 | 显示全部楼层 |阅读模式
phobos中文说明书网页里没有找到呀,查了好久也没有
发表于 2022-4-24 18:18:16 来自手机 | 显示全部楼层
wenrui124 发表于 2022-4-24 17:01
DynamicPatcher文件夹里面有个叫Kratos食用说明书的ini文件,里面有详细的介绍,请自行研究。 ...

人家问的是福布斯的不是奎托斯的
回复

使用道具 举报

发表于 2022-4-24 19:30:59 | 显示全部楼层
本帖最后由 ghost114514 于 2022-4-24 19:32 编辑

Phobos测试版功能。从Github下载最新构建,正式版没有这功能。
数字显示生命值
现在可以设置在血条上显示单位的血量。所有全局相关内容需要写在新建的项[ShowValue]中。
[ShowValue]>Buildings.ShowHP= (boolean)
是否显示建筑的血量。默认否。
[ShowValue]>Buildings.ShowShield= (boolean)
是否显示建筑护盾的血量。默认否。
[ShowValue]>Buildings.ShowColorHPHigh= (R,G,B)
建筑血量高于66%时显示的颜色。默认0,255,0。
[ShowValue]>Buildings.ShowColorHPMid= (R,G,B)
建筑血量高于33%低于66%时显示的颜色。默认255,255,0。
[ShowValue]>Buildings.ShowColorHPLow= (R,G,B)
建筑血量低于33%时显示的颜色。默认255,0,0。
[ShowValue]>Buildings.ShowColorShieldHigh= (R,G,B)
建筑护盾血量高于66%时显示的颜色。默认0,0,255。
[ShowValue]>Buildings.ShowColorShieldMid= (R,G,B)
建筑护盾血量高于33%低于66%时显示的颜色。默认0,0,255。
[ShowValue]>Buildings.ShowColorShieldLow= (R,G,B)
建筑护盾血量低于33%时显示的颜色。默认0,0,255。
[ShowValue]>Buildings.ShowHPOffset= (X,Y)
调整建筑血量位置。负数左/上,正数右/下。默认0,0。
[ShowValue]>Buildings.ShowShieldOffset= (X,Y)
调整建筑护盾血量位置。负数左/上,正数右/下。默认0,0。
[ShowValue]>Buildings.ShowBackground= (boolean)
是否在建筑和建筑护盾的血量后显示黑色背景。默认否。
[ShowValue]>Buildings.UseSHPShowHP= (boolean)
是否使用shp文件作为建筑血量的数字。默认否。
[ShowValue]>Buildings.UseSHPShowShield= (boolean)
是否使用shp文件作为建筑护盾血量的数字。默认否。
[ShowValue]>Buildings.HPNumberSHP= (filename, *including*the .shp extension)
建筑血量使用的shp。默认number.shp。
[ShowValue]>Buildings.HPNumberPAL= (filename, *including*the .pal extension)
建筑血量使用的色盘。默认动画色盘。
[ShowValue]>Buildings.ShieldNumberSHP= (filename, *including*the .shp extension)
建筑护盾血量使用的shp。默认number.shp。
[ShowValue]>Buildings.ShieldNumberPAL= (filename, *including*the .pal extension)
建筑护盾血量使用的色盘。默认动画色盘。
[ShowValue]>Buildings.HPNumberInterval= (integer)
建筑血量的数字间隔。默认8。
[ShowValue]>Buildings.ShieldNumberInterval= (integer)
建筑护盾血量的数字间隔。默认8。

以下用于单位,具体内容和默认值同上。
[ShowValue]>Units.ShowHP= (boolean)
[ShowValue]>Units.ShowShield= (boolean)
[ShowValue]>Units.ShowColorHPHigh= (R,G,B)
[ShowValue]>Units.ShowColorHPMid= (R,G,B)
[ShowValue]>Units.ShowColorHPLow= (R,G,B)
[ShowValue]>Units.ShowColorShieldHigh= (R,G,B)
[ShowValue]>Units.ShowColorShieldMid= (R,G,B)
[ShowValue]>Units.ShowColorShieldLow= (R,G,B)
[ShowValue]>Units.ShowHPOffset= (X,Y)
[ShowValue]>Units.ShowShieldOffset= (X,Y)
[ShowValue]>Units.ShowBackground= (boolean)
[ShowValue]>Units.UseSHPShowHP= (boolean)
[ShowValue]>Units.UseSHPShowShield= (boolean)
[ShowValue]>Units.HPNumberSHP= (filename, *including*the .shp extension)
[ShowValue]>Units.HPNumberPAL= (filename, *including*the .pal extension)
[ShowValue]>Units.ShieldNumberSHP= (filename, *including*the .shp extension)
[ShowValue]>Units.ShieldNumberPAL= (filename, *including*the .pal extension)
[ShowValue]>Units.HPNumberInterval= (integer)
[ShowValue]>Units.ShieldNumberInterval= (integer)

以下用于微观设定血量。
[TechnoType]>HP.Show= (boolean)
[TechnoType]>HP.ShowColorHigh= (R,G,B)
[TechnoType]>HP.ShowColorMid= (R,G,B)
[TechnoType]>HP.ShowColorLow= (R,G,B)
[TechnoType]>HP.ShowOffset= (X,Y)
[TechnoType]>HP.ShowBackground= (boolean)
[TechnoType]>HP.UseSHPShow= (boolean)
[TechnoType]>HP.ShowSHP= (filename, *including*the .shp extension)
[TechnoType]>HP.ShowPAL= (filename, *including*the .pal extension)
[TechnoType]>HP.ShowInterval= (integer)

以下用于微观设定护盾血量。
[ShieldType]>ShieldValue.Show= (boolean)
[ShieldType]>ShieldValue.ShowColorHigh= (R,G,B)
[ShieldType]>ShieldValue.ShowColorMid= (R,G,B)
[ShieldType]>ShieldValue.ShowColorLow= (R,G,B)
[ShieldType]>ShieldValue.ShowOffset= (X,Y)
[ShieldType]>ShieldValue.ShowBackground= (boolean)
[ShieldType]>ShieldValue.UseSHPShow= (boolean)
[ShieldType]>ShieldValue.ShowSHP= (filename, *including*the .shp extension)
[ShieldType]>ShieldValue.ShowPAL= (filename, *including*the .pal extension)
[ShieldType]>ShieldValue.ShowInterval= (integer)


巨型血条
现在可以设置在屏幕上持续存在一个巨型血条来显示一个单位或建筑的耐久。所有全局相关内容需要写在新建的项[HugeBar]中。
[HugeBar]>HugeHP.HighColor1= (R,G,B)
血条在血量高于66%时显示的主要颜色。默认0,255,0。
[HugeBar]>HugeHP.HighColor2= (R,G,B)
血条在血量高于66%时显示的次要颜色。默认0,216,0。
[HugeBar]>HugeHP.MidColor1= (R,G,B)
血条在血量高于33%低于66%时显示的主要颜色。默认255,255,0。
[HugeBar]>HugeHP.MidColor2= (R,G,B)
血条在血量高于33%低于66%时显示的次要颜色。默认252,180,0。
[HugeBar]>HugeHP.LowColor1= (R,G,B)
血条在血量低于33%时显示的主要颜色。默认255,0,0。
[HugeBar]>HugeHP.LowColor2= (R,G,B)
血条在血量低于33%时显示的次要颜色。默认216,0,0。
[HugeBar]>HugeHP.BorderWH= (integer,integer)
血条框宽度和高度。默认宽度为作战画面宽度*87/100/100*100+12,高度为60。
[HugeBar]>HugeHP.RectWH= (integer,integer)
血条中每一个格子宽度和高度。默认宽度为作战画面宽度*87/100/100*100,高度为50。
[HugeBar]>HugeHP.RectCount= (integer)
血条中的格子数量。默认100。
[HugeBar]>HugeHP.ShowOffset= (X,Y)
调整血条位置。负数左/上,正数右/下。默认0,0。
[HugeBar]>HugeHP.HighValueColor= (R,G,B)
血量高于66%时显示的颜色。默认0,255,0。
[HugeBar]>HugeHP.MidValueColor= (R,G,B)
血量高于33%低于66%时显示的颜色。默认255,255,0。
[HugeBar]>HugeHP.LowValueColor= (R,G,B)
血量低于33%时显示的颜色。默认255,0,0。
[HugeBar]>HugeHP.UseSHPShowValue= (boolean)
是否使用shp文件作为血量的数字。默认否。
[HugeBar]>HugeHP.ShowValueSHP= (filename, *including*the .shp extension)
血量使用的shp。默认number.shp。
[HugeBar]>HugeHP.ShowValuePAL= (filename, *including*the .pal extension)
血量使用的色盘。默认ra1色盘。
[HugeBar]>HugeHP.SHPNumberWidth= (integer)
血量的数字宽度。默认4。
[HugeBar]>HugeHP.SHPNumberInterval= (integer)
血量的数字间隔。默认4。
[HugeBar]>HugeHP.ShowValueOffset= (X,Y)
调整血量位置。负数左/上,正数右/下。默认0,0。
[HugeBar]>HugeSP.HighColor1= (R,G,B)
护盾血条在护盾血量高于66%时显示的主要颜色。默认0,0,255。
[HugeBar]>HugeSP.HighColor2= (R,G,B)
护盾血条在护盾血量高于66%时显示的次要颜色。默认0,0,216。
[HugeBar]>HugeSP.MidColor1= (R,G,B)
护盾血条在护盾血量高于33%低于66%时显示的主要颜色。默认0,0,255。
[HugeBar]>HugeSP.MidColor2= (R,G,B)
护盾血条在护盾血量高于33%低于66%时显示的次要颜色。默认0,0,216。
[HugeBar]>HugeSP.LowColor1= (R,G,B)
护盾血条在护盾血量低于33%时显示的主要颜色。默认0,0,255。
[HugeBar]>HugeSP.LowColor2= (R,G,B)
护盾血条在护盾血量低于33%时显示的次要颜色。默认0,0,216。
[HugeBar]>HugeSP.BorderWH= (integer,integer)
护盾血条框宽度和高度。默认宽度为作战画面宽度*87/100/100*100+12,高度为60。
[HugeBar]>HugeSP.RectWH= (integer,integer)
护盾血条中每一个格子宽度和高度。默认宽度为作战画面宽度*87/100/100*100,高度为25。
[HugeBar]>HugeSP.RectCount= (integer)
护盾血条中的格子数量。默认100。
[HugeBar]>HugeSP.ShowOffset= (X,Y)
调整护盾血条位置。负数左/上,正数右/下。默认0,0。
[HugeBar]>HugeSP.HighValueColor= (R,G,B)
护盾血量高于66%时显示的颜色。默认0,0,255。
[HugeBar]>HugeSP.MidValueColor= (R,G,B)
护盾血量高于33%低于66%时显示的颜色。默认0,0,255。
[HugeBar]>HugeSP.LowValueColor= (R,G,B)
护盾血量低于33%时显示的颜色。默认0,0,255。
[HugeBar]>HugeSP.UseSHPShowValue= (boolean)
是否使用shp文件作为护盾血量的数字。默认否。
[HugeBar]>HugeSP.ShowValueSHP= (filename, *including*the .shp extension)
护盾血量使用的shp。默认number.shp。
[HugeBar]>HugeSP.ShowValuePAL= (filename, *including*the .pal extension)
护盾血量使用的色盘。默认ra1色盘。
[HugeBar]>HugeSP.SHPNumberWidth= (integer)
护盾血量的数字宽度。默认4。
[HugeBar]>HugeSP.SHPNumberInterval= (integer)
护盾血量的数字间隔。默认4。
[HugeBar]>HugeSP.ShowValueOffset= (X,Y)
调整护盾血量位置。负数左/上,正数右/下。默认0,0。

[TechnoType]>HugeHP.Show= (boolean)
设置单位或建筑是否拥有巨型血条。默认no。
[TechnoType]>HugeHP.Priority= (integer)
巨型血条的优先级,优先级高的巨型血条会优先显示。默认-1。


回复

使用道具 举报

发表于 2022-4-24 20:43:50 | 显示全部楼层
ghost114514 发表于 2022-4-24 19:30
Phobos测试版功能。从Github下载最新构建,正式版没有这功能。
数字显示生命值
现在可以设置在血条上显示单 ...

Phobos官方的github上也有了?
回复

使用道具 举报

发表于 2022-4-24 21:02:43 | 显示全部楼层
双杀步枪 发表于 2022-4-24 18:18
人家问的是福布斯的不是奎托斯的

啊这,我眼神的问题(刚刚去做了1个多小时的图标了,眼睛有点酸)
回复

使用道具 举报

发表于 2022-4-24 23:05:24 | 显示全部楼层
Safari 发表于 2022-4-24 20:43
Phobos官方的github上也有了?

有。但是刚刚不注意说错了,不是最新构建,是拉取请求。缝合版其实就是把各个拉取请求的功能组合在一起。
回复

使用道具 举报

 楼主| 发表于 2022-4-25 15:41:51 | 显示全部楼层
各位大佬6666666666666666
回复

使用道具 举报

 楼主| 发表于 2022-4-25 16:10:37 | 显示全部楼层
双杀步枪 发表于 2022-4-24 18:18
人家问的是福布斯的不是奎托斯的

随便请教大佬(今天白天B站给您充电了嘿嘿嘿),为什么我用kratos的Build7,在[AudioVisual]下全局定义HealthText.Hidden=不管是等于yes还是no,进入游戏都会显示血条数值,是bug还是我忘记另外设置什么了。(但是我用DamageText.Hidden=yes就可以正常关闭伤害显示)
回复

使用道具 举报

 楼主| 发表于 2022-4-25 16:20:33 | 显示全部楼层
ghost114514 发表于 2022-4-24 19:30
Phobos测试版功能。从Github下载最新构建,正式版没有这功能。
数字显示生命值
现在可以设置在血条上显示单 ...

https://phobos.readthedocs.io/zh_CN/latest/index.html
大佬,我去phobos的拉取请求里面看了,为什么找到的代码和您提供的不一样,是后续又更新版本了吗?还是说您发的缝合版作者原创的
回复

使用道具 举报

 楼主| 发表于 2022-4-25 16:21:34 | 显示全部楼层
我找到的在phobos拉取请求类的官方文档中是这样的:
[DigitalDisplayTypes] ;New registry for registering digital display types

[AudioVisual]
DigitalDisplay.Enable=                  ; boolean, whether to enable digital display, all digital displays will not be displayed if no
Buildings.DefaultDigitalDisplayTypeHP=  ; DigitalDisplayType, The default digital display type used for building health
Buildings.DefaultDigitalDisplayTypeSP=  ; DigitalDisplayType, The default digital display type used for building shield
Infantrys.DefaultDigitalDisplayTypeHP=  ; DigitalDisplayType, The default digital display type used for infantry health
Infantrys.DefaultDigitalDisplayTypeSP=  ; DigitalDisplayType, The default digital display type used for infantry shield
Units.DefaultDigitalDisplayTypeHP=      ; DigitalDisplayType, The default digital display type used for other unit health
Units.DefaultDigitalDisplayTypeSP=      ; DigitalDisplayType, The default digital display type used for other unit shield
Aircrafts.DefaultDigitalDisplayTypeHP=  ; DigitalDisplayType, The default digital display type used for other aircraft health
Aircrafts.DefaultDigitalDisplayTypeSP=  ; DigitalDisplayType, The default digital display type used for other aircraft shield

[SomeDigitalDisplayType]
Text.ColorHigh=                         ; RGB, The color of the Text digital display when green HP, default 0,255,0
Text.ColorMid=                          ; RGB, The color of the Text digital display when yellow HP,  default 255,255,0
Text.ColorLow=                          ; RGB, The color of the Text digital display when red HP, default 255,0,0
Text.Background=                        ; boolean, Whether the Text display has a black background, default no
UseSHP=                                 ; boolean, whether to use SHP digital display, default no
SHP.SHPFile=                            ; filename, with extend name, the name of the SHP file used by the SHP number display, default number.shp
SHP.PALFile=                            ; filename, with extend name, the palette file used by SHP, default is ra1 palette
SHP.Interval=                           ; integer - x,y , horizontal and vertical spacing between two SHP digitals of techno expect building, default 8,0
SHP.Interval.Building=                  ; integer - x,y , horizontal and vertical spacing between two SHP digitals of buildings, default 8,4
Align=                                  ; Left/Right/Center/Default, Alignment mode, default Default

[SomeTechnoType]
DigitalDisplayType=                     ; DigitalDisplayType, The type of digital display used for this unit HP, the default [AudioVisual] in the corresponding type
DigitalDisplayType.Shield=              ; DigitalDisplayType, Override [ShieldType] > DigitalDisplayType, default don't override

[SomeShieldType]
DigitalDisplayType=                     ; DigitalDisplayType, The digital display type used for the shield, defaulted to the corresponding type in [AudioVisual] of the unit to which it is attached
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|管理员邮箱|红警DIY论坛 |网站地图

GMT+8, 2026-8-30 04:31 , Processed in 0.052968 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表