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

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

来自RA2DIY
CCC1478留言 | 贡献
无编辑摘要
CCC1478留言 | 贡献
无编辑摘要
第1行: 第1行:


==[AudioVisual]==
=== 特殊数据 ===
'''[TechnoType] (Boolean)'''
X表示四种单位类型,分别是'''Building'''\'''Infantry'''\'''Unit'''\'''Aircraft''',不写则是全局设置


覆盖全局设置,'''默认no'''
'''例:'''HealthText.Hidden=yes,不论何种状态全部隐藏,HealthText.Infantry.Hidden=yes,隐藏步兵血量


'''HealthText.Hidden=(Boolean)'''
Y表示三种颜色状态,分别是'''Green'''\'''Yellow'''\'''Red''',不写则是全局设置


停用该功能,'''默认no'''
'''例:'''HealthText.Infantry.Hidden=yes,步兵不论何种状态全部隐藏,HealthText.Infantry.Green.Hidden=yes,则步兵在绿血时隐藏


'''(Boolean)'''
== [AudioVisual] ==


X表示四种单位类型,分别是Building\Infantry\Unit\Aircraft,不写则是全局设置,如HealthText.Hidden=yes,不论何种状态全部隐藏,HealthText.Infantry.Hidden=yes,步兵则隐藏。,'''默认no'''
== [TechnoType]覆盖全局设置,'''默认no''' ==
'''HealthText.Hidden=(Boolean)'''


'''(Boolean)'''
停用该功能,'''默认no'''
 
Y表示三种颜色状态,分别是Green\Yellow\Red,不写则是全局设置,如HealthText.Infantry.Hidden=yes,步兵不论何种状态全部隐藏,HealthText.Infantry.Green.Hidden=yes,则步兵在绿血时隐藏。,'''默认no'''


'''HealthText.X.Y.Hidden=(Boolean)'''
'''HealthText.X.Y.Hidden=(Boolean)'''
第29行: 第28行:
鼠标悬停时是否显示,'''默认no'''
鼠标悬停时是否显示,'''默认no'''


'''HealthText.X.Y.Offset=0,0 (Boolean)'''
'''HealthText.X.Y.Offset=0,0'''
 
锚点向右和向下的偏移位置,'''默认no'''
 
'''HealthText.X.Y.Align=LEFT (Boolean)'''
 
对齐方式,LEFT\CENTER\RIGHT,建筑恒定为左对齐,'''默认no'''
 
'''(Boolean)'''
 
数字格式,'''默认no'''


'''HealthText.Building.Y.Style=FULL (Boolean)'''
锚点向右和向下的偏移位置


数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.X.Y.Align=(Special)'''


'''HealthText.Building.Y.HoverStyle=SHORT (Boolean)'''
对齐方式,LEFT\CENTER\RIGHT,建筑恒定为左对齐,'''默认LEFT'''


鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.Building.Y.Style=(Special)'''


'''HealthText.Infantry.Y.Style=SHORT (Boolean)'''
数显的类型,FULL\SHORT\PERCENT,'''默认FULL'''


数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.Building.Y.HoverStyle=(Special)'''


'''HealthText.Infantry.Y.HoverStyle=SHORT (Boolean)'''
鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''


鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.Infantry.Y.Style=(Special)'''


'''HealthText.Unit.Y.Style=FULL (Boolean)'''
数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''


数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.Infantry.Y.HoverStyle=(Special)'''


'''HealthText.Unit.Y.HoverStyle=SHORT (Boolean)'''
鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''


鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.Unit.Y.Style=(Special)'''


'''HealthText.Aircraft.Y.Style=FULL (Boolean)'''
数显的类型,FULL\SHORT\PERCENT,'''默认FULL'''


数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.Unit.Y.HoverStyle=(Special)'''


'''HealthText.Aircraft.Y.HoverStyle=SHORT (Boolean)'''
鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''


鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认no'''
'''HealthText.Aircraft.Y.Style=(Special)'''


'''(Boolean)'''
数显的类型,FULL\SHORT\PERCENT,'''默认FULL'''  


字体设置,'''默认no'''
'''HealthText.Aircraft.Y.HoverStyle=(Special)'''


'''HealthText.X.Green.Color=0,252,0 (Boolean)'''
鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''


绿血时字体颜色'''默认no'''
字体设置


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


血时字体颜色,'''默认no'''
绿血时字体颜色


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


血时字体颜色,'''默认no'''
血时字体颜色


'''HealthText.X.Y.ShadowOffset=1,1 (Boolean)'''
'''HealthText.X.Red.Color=252,0,0'''


阴影的偏移量,'''默认no'''
红血时字体颜色


'''HealthText.X.Y.ShadowColor=82,85,82 (Boolean)'''
'''HealthText.X.Y.ShadowOffset=1,1'''


阴影的颜色,'''默认no'''
阴影的偏移量


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


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


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


'''HealthText.X.Y.SHP=pipsnum.shp (Boolean)'''
'''HealthText.X.Y.SHP=pipsnum.shp'''


血量的shp文件,'''默认no'''
血量的shp文件


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


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


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


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


'''HealthText.X.Yellow.ZeroFrameIndex=15 (Boolean)'''
'''HealthText.X.Yellow.ZeroFrameIndex=(Integer)'''


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


'''HealthText.X.Red.ZeroFrameIndex=30 (Boolean)'''
'''HealthText.X.Red.ZeroFrameIndex=(Integer)'''


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

2025年3月20日 (四) 21:01的版本

特殊数据

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]覆盖全局设置,默认no

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=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=0,252,0

绿血时字体颜色

HealthText.X.Yellow.Color=252,212,0

黄血时字体颜色

HealthText.X.Red.Color=252,0,0

红血时字体颜色

HealthText.X.Y.ShadowOffset=1,1

阴影的偏移量

HealthText.X.Y.ShadowColor=82,85,82

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

HealthText.X.Y.UseSHP=(Boolean)

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

HealthText.X.Y.SHP=pipsnum.shp

血量的shp文件

HealthText.X.Y.ImageSize=5,8

血量的图案宽度和高度

HealthText.X.Green.ZeroFrameIndex=(Integer)

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

HealthText.X.Yellow.ZeroFrameIndex=(Integer)

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

HealthText.X.Red.ZeroFrameIndex=(Integer)

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