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

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

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


==[AudioVisual]==
[[Category:Kratos说明书]]
'''[TechnoType] (Boolean)'''
=== 特殊数据 ===


覆盖全局设置,'''默认no'''
* X表示四种单位类型分别是'''Building'''\'''Infantry'''\'''Unit'''\'''Aircraft''',不写则是全局设置


'''HealthText.Hidden=(Boolean)'''
'''例:'''
 
HealthText.Hidden=yes,不论何种状态全部隐藏
 
HealthText.Infantry.Hidden=yes,隐藏步兵血量
 
* Y表示三种颜色状态,分别是'''Green'''\'''Yellow'''\'''Red''',不写则是全局设置
 
'''例:'''


停用该功能'''默认no'''
HealthText.Infantry.Hidden=yes步兵不论何种状态全部隐藏


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


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


'''(Boolean)'''
'''HealthText.Hidden=(Boolean)'''


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


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


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


数显类型,FULL\SHORT\PERCENT,'''默认no'''
锚点向右和向下偏移位置,'''默认0,0'''


'''HealthText.Building.Y.HoverStyle=SHORT (Boolean)'''
'''HealthText.X.Y.Align=(Special)'''


鼠标悬停时数显的类型,FULL\SHORT\PERCENT,'''默认no'''
对齐方式,LEFT\CENTER\RIGHT,建筑恒定为左对齐,'''默认LEFT'''


'''HealthText.Infantry.Y.Style=SHORT (Boolean)'''
'''HealthText.Building.Y.Style=(Special)'''


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


'''HealthText.Infantry.Y.HoverStyle=SHORT (Boolean)'''
'''HealthText.Building.Y.HoverStyle=(Special)'''


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


'''HealthText.Unit.Y.Style=FULL (Boolean)'''
'''HealthText.Infantry.Y.Style=(Special)'''


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


'''HealthText.Unit.Y.HoverStyle=SHORT (Boolean)'''
'''HealthText.Infantry.Y.HoverStyle=(Special)'''


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


'''HealthText.Aircraft.Y.Style=FULL (Boolean)'''
'''HealthText.Unit.Y.Style=(Special)'''


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


'''HealthText.Aircraft.Y.HoverStyle=SHORT (Boolean)'''
'''HealthText.Unit.Y.HoverStyle=(Special)'''


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


'''(Boolean)'''
'''HealthText.Aircraft.Y.Style=(Special)'''


字体设置,'''默认no'''
数显的类型,FULL\SHORT\PERCENT,'''默认FULL'''  


'''HealthText.X.Green.Color=0,252,0 (Boolean)'''
'''HealthText.Aircraft.Y.HoverStyle=(Special)'''


绿血字体颜色,'''默认no'''
鼠标悬停数显的类型,FULL\SHORT\PERCENT,'''默认SHORT'''


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


'''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年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