心灵终结3ini吧 关注:13,110贴子:223,510
  • 1回复贴,共1

有木有让心灵终结单位显示血量的数据包

只看楼主收藏回复



IP属地:重庆来自Android客户端1楼2024-12-20 12:50回复
    ----------------------
    “rulesmo.ini”
    ----------------------
    [DigitalDisplayTypes];数值显示的类型需要新增一个注册表[DigitalDisplayTypes]并在里面注册。
    0=lnfantryHealthwdyt
    1=VehicleHealthwdyt
    2=BuildingHealthwdyt
    [AudioVisual];全局设置
    Buildings.DefaultDigitalDisplayTypes=BuildingHealthwdyt;建筑使用的默认数值显示类型
    Infantry.DefaultDigitalDisplayTypes=lnfantryHealthwdyt;步兵使用的默认数值显示类型
    Vehicles.DefaultDigitalDisplayTypes=VehicleHealthwdyt;载具使用的默认数值显示类型
    Aircraft.DefaultDigitalDisplayTypes=VehicleHealthwdyt;飞机使用的默认数值显示类型
    [lnfantryHealthwdyt]
    InfoType=Health;数值显示的内容,如果没有相应的内容即使设置也不会显示。
    Offset=0,0;调整数值显示的位置。正数左/上,负数右/下。默认0,0。
    Align=right;生命值数值的对齐方式,默认right。
    Anchor.Horizontal=right;生命值数值绘制位置在血条上水平位置的锚点,默认right。
    Anchor.Vertical=top;生命值数值绘制位置在血条上竖直位置的锚点,默认top。
    Anchor.Building=top;建筑生命值数值绘制位置在血条上位置的锚点,默认top。
    Percentage=false;是否显示生命值的百分比而不是具体数值,默认no。
    HideMaxValue=false;是否隐藏最大值,步兵默认yes,其他默认no。
    VisibleToHouses=owner;数显的可见所属方,默认owner。
    VisibleToHouses.Observer=true;数显是否观察者可见,默认yes。
    Text.Color=0,255,0;数值显示在百分比高于ConditionYellow时显示的颜色。默认0,255,0。
    Text.Color.ConditionYellow=255,255,0;数值显示在百分比低于ConditionYellow但高于ConditionRed时显示的颜色。默认255,255,0。
    Text.Color.ConditionRed=255,0,0;数值显示在百分比低于ConditionRed时显示的颜色。默认255,0,0。
    Text.Background=false;数值显示后是否有黑色背景,默认否。
    Shape=digits.shp;shp数值显示使用的文件。
    Palette=palette.pal;shp数值显示使用的色盘。默认palette.pal。
    Shape.Spacing=4,0;shp数值显示的数字水平和竖直间隔。
    [VehicleHealthwdyt]
    Offset=0,-4
    InfoType=Health
    Align=centre
    Anchor.Horizontal=centre
    Anchor.Vertical=top
    Anchor.Building=top
    Percentage=false
    HideMaxValue=false
    VisibleToHouses=team
    VisibleToHouses.Observer=true
    Shape=digits.s h p
    Palette=palette.p a l
    Shape.Spacing=4,0
    [BuildingHealthwdyt]
    InfoType=Health
    Align=right
    Anchor.Horizontal=right
    Anchor.Vertical=top
    Anchor.Building=top
    Percentage=false
    VisibleToHouses=team
    VisibleToHouses.Observer=true
    Shape=digits.s h p
    Palette=palette.p a l
    Shape.Spacing=4,-2
    ----------------------
    “RA2MO.ini”
    ----------------------
    [Phobos]
    DigitalDisplay.Enable=true


    IP属地:江苏来自Android客户端5楼2024-12-20 13:26
    回复