跳转到内容
RA2DIY-WIKI 当前处于维护模式:页面上的内容随时可能发生更改且不会事先告知。

Kratos:说明书/显示血量数字:修订间差异

来自RA2DIY
CCC1478留言 | 贡献
无编辑摘要
无编辑摘要
 
(未显示1个用户的2个中间版本)
第1行: 第1行:


[[Category:Kratos说明书]]
=== 特殊数据 ===
=== 特殊数据 ===
X表示四种单位类型,分别是'''Building'''\'''Infantry'''\'''Unit'''\'''Aircraft''',不写则是全局设置
 
* X表示四种单位类型,分别是'''Building'''\'''Infantry'''\'''Unit'''\'''Aircraft''',不写则是全局设置


'''例:'''
'''例:'''
第9行: 第11行:
HealthText.Infantry.Hidden=yes,隐藏步兵血量
HealthText.Infantry.Hidden=yes,隐藏步兵血量


Y表示三种颜色状态,分别是'''Green'''\'''Yellow'''\'''Red''',不写则是全局设置
* Y表示三种颜色状态,分别是'''Green'''\'''Yellow'''\'''Red''',不写则是全局设置


'''例:'''
'''例:'''
第17行: 第19行:
HealthText.Infantry.Green.Hidden=yes,则步兵在绿血时隐藏
HealthText.Infantry.Green.Hidden=yes,则步兵在绿血时隐藏


== [AudioVisual] ==
== [AudioVisual]&[TechnoType] ==
'''位于TechnoType'''为微观设置


== [TechnoType]覆盖全局设置 ==
'''HealthText.Hidden=(Boolean)'''
'''HealthText.Hidden=(Boolean)'''


第36行: 第38行:
鼠标悬停时是否显示,'''默认no'''
鼠标悬停时是否显示,'''默认no'''


'''HealthText.X.Y.Offset=0,0'''
'''HealthText.X.Y.Offset=(Integer),(Integer)'''


锚点向右和向下的偏移位置
锚点向右和向下的偏移位置,'''默认0,0'''


'''HealthText.X.Y.Align=(Special)'''
'''HealthText.X.Y.Align=(Special)'''
第76行: 第78行:
鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''
鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''


字体设置,
'''HealthText.X.Green.Color=(Integer),(Integer),(Integer)'''  
 
'''HealthText.X.Green.Color=0,252,0'''  


绿血时字体颜色
绿血时字体颜色,'''默认0,252,0'''


'''HealthText.X.Yellow.Color=252,212,0'''  
'''HealthText.X.Yellow.Color=(Integer)'''  


黄血时字体颜色
黄血时字体颜色,'''默认252,212,0'''


'''HealthText.X.Red.Color=252,0,0'''
'''HealthText.X.Red.Color=(Integer)'''


红血时字体颜色
红血时字体颜色,'''默认252,0,0'''


'''HealthText.X.Y.ShadowOffset=1,1'''
'''HealthText.X.Y.ShadowOffset=(Integer),(Integer)'''


阴影的偏移量
阴影的偏移量,'''默认1,1'''


'''HealthText.X.Y.ShadowColor=82,85,82'''
'''HealthText.X.Y.ShadowColor=(Integer),Integer),(Integer)'''


阴影的颜色,使用shp而不是font显示血量数字
阴影的颜色,使用shp而不是font显示血量数字,'''默认82,85,82'''


'''HealthText.X.Y.UseSHP=(Boolean)'''
'''HealthText.X.Y.UseSHP=(Boolean)'''
第102行: 第102行:
使用shp而不是文字,默认使用pipsnum.shp,每个颜色15帧,每字一帧,顺序“0123456789+-*/%”,图像中心即锚点,'''默认no'''
使用shp而不是文字,默认使用pipsnum.shp,每个颜色15帧,每字一帧,顺序“0123456789+-*/%”,图像中心即锚点,'''默认no'''


'''HealthText.X.Y.SHP=pipsnum.shp'''
'''HealthText.X.Y.SHP='''


血量的shp文件
血量的shp文件,默认'''pipsnum.shp'''


'''HealthText.X.Y.ImageSize=5,8'''
'''HealthText.X.Y.ImageSize=(Integer),(Integer)'''


血量的图案宽度和高度
血量的图案宽度和高度,'''默认5,8'''


'''HealthText.X.Green.ZeroFrameIndex=(Integer)'''
'''HealthText.X.Green.ZeroFrameIndex=(Integer)'''

2025年5月3日 (六) 10:00的最新版本

特殊数据

  • X表示四种单位类型,分别是Building\Infantry\Unit\Aircraft,不写则是全局设置

例:

HealthText.Hidden=yes,不论何种状态全部隐藏

HealthText.Infantry.Hidden=yes,隐藏步兵血量

  • Y表示三种颜色状态,分别是Green\Yellow\Red,不写则是全局设置

例:

HealthText.Infantry.Hidden=yes,步兵不论何种状态全部隐藏

HealthText.Infantry.Green.Hidden=yes,则步兵在绿血时隐藏

[AudioVisual]&[TechnoType]

位于TechnoType为微观设置

HealthText.Hidden=(Boolean)

停用该功能,默认no

HealthText.X.Y.Hidden=(Boolean)

隐藏显示,默认no

HealthText.X.Y.ShowEnemy=(Boolean)

显示给敌方,默认no

HealthText.X.Y.ShowHover=(Boolean)

鼠标悬停时是否显示,默认no

HealthText.X.Y.Offset=(Integer),(Integer)

锚点向右和向下的偏移位置,默认0,0

HealthText.X.Y.Align=(Special)

对齐方式,LEFT\CENTER\RIGHT,建筑恒定为左对齐,默认LEFT

HealthText.Building.Y.Style=(Special)

数显的类型,FULL\SHORT\PERCENT,默认FULL

HealthText.Building.Y.HoverStyle=(Special)

鼠标悬停时数显的类型,FULL\SHORT\PERCENT,默认SHORT

HealthText.Infantry.Y.Style=(Special)

数显的类型,FULL\SHORT\PERCENT,默认SHORT

HealthText.Infantry.Y.HoverStyle=(Special)

鼠标悬停时数显的类型,FULL\SHORT\PERCENT,默认SHORT

HealthText.Unit.Y.Style=(Special)

数显的类型,FULL\SHORT\PERCENT,默认FULL

HealthText.Unit.Y.HoverStyle=(Special)

鼠标悬停时数显的类型,FULL\SHORT\PERCENT,默认SHORT

HealthText.Aircraft.Y.Style=(Special)

数显的类型,FULL\SHORT\PERCENT,默认FULL

HealthText.Aircraft.Y.HoverStyle=(Special)

鼠标悬停时数显的类型,FULL\SHORT\PERCENT,默认SHORT

HealthText.X.Green.Color=(Integer),(Integer),(Integer)

绿血时字体颜色,默认0,252,0

HealthText.X.Yellow.Color=(Integer)

黄血时字体颜色,默认252,212,0

HealthText.X.Red.Color=(Integer)

红血时字体颜色,默认252,0,0

HealthText.X.Y.ShadowOffset=(Integer),(Integer)

阴影的偏移量,默认1,1

HealthText.X.Y.ShadowColor=(Integer),Integer),(Integer)

阴影的颜色,使用shp而不是font显示血量数字,默认82,85,82

HealthText.X.Y.UseSHP=(Boolean)

使用shp而不是文字,默认使用pipsnum.shp,每个颜色15帧,每字一帧,顺序“0123456789+-*/%”,图像中心即锚点,默认no

HealthText.X.Y.SHP=

血量的shp文件,默认pipsnum.shp

HealthText.X.Y.ImageSize=(Integer),(Integer)

血量的图案宽度和高度,默认5,8

HealthText.X.Green.ZeroFrameIndex=(Integer)

绿色血量的"0"帧所在序号,默认0

HealthText.X.Yellow.ZeroFrameIndex=(Integer)

黄色血量的"0"帧所在序号,默认15

HealthText.X.Red.ZeroFrameIndex=(Integer)

红色血量的"0"帧所在序号,默认30