Ra2md已经添加
[Phobos]
DigitalDisplay.Enable=yes
动画文件也已经指定Shape=trength.shp,无论打包进ra2md.mix还是放进目录都不行,另一个血条样式的动画倒是更改了
配置信息我写到rulesmd最底下了
;关键代码
;数字血量显示
[DigitalDisplayTypes]
+=HEALTHINF ;步兵血量显示
+=HEALTHVEH ;载具血量显示
+=HEALTHBUI ;建筑血量显示
+=SHIELDINF ;步兵盾值显示
+=SHIELDVEH ;载具盾值显示
+=SHIELDBUI ;建筑盾值显示
[AudioVisual]
;开启建筑预览
PlacementPreview=yes
PlacementPreview.Translucency=75
PlacementGrid.Translucency=75
Pips.Shield=17,17,17
Pips.Shield.Building=5,5,5
Pips.Shield.Background=pipbrd.shp
Pips.Shield.Building.Empty=0
;[全局代码]
Infantry.DefaultDigitalDisplayTypes=HEALTHINF,SHIELDINF
Vehicles.DefaultDigitalDisplayTypes=HEALTHVEH,SHIELDVEH
Aircraft.DefaultDigitalDisplayTypes=HEALTHVEH,SHIELDVEH
Buildings.DefaultDigitalDisplayTypes=HEALTHBUI,SHIELDBUI
;数值显示项
[HEALTHINF]
InfoType=Health
Offset=-1,0
Offset.ShieldDelta=0,-5
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=true
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[HEALTHVEH]
InfoType=Health
Offset=-1,0
Offset.ShieldDelta=0,-5
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=false
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[HEALTHBUI]
InfoType=Health
Align=right
Anchor.Horizontal=right
Anchor.Vertical=top
Anchor.Building=top
Percentage=false
HideMaxValue=false
Border=lefttop
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[SHIELDINF]
InfoType=shield
Offset=0,-2
Offset.ShieldDelta=0,2
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=true
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[SHIELDVEH]
InfoType=shield
Offset=0,-2
Offset.ShieldDelta=0,2
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=false
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[SHIELDBUI]
InfoType=shield
Offset=0,0
Offset.ShieldDelta=0,-1
Align=right
Anchor.Horizontal=right
Anchor.Vertical=top
Anchor.Building=top
Percentage=false
HideMaxValue=false
Border=lefttop
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[Phobos]
DigitalDisplay.Enable=yes
动画文件也已经指定Shape=trength.shp,无论打包进ra2md.mix还是放进目录都不行,另一个血条样式的动画倒是更改了
配置信息我写到rulesmd最底下了
;关键代码
;数字血量显示
[DigitalDisplayTypes]
+=HEALTHINF ;步兵血量显示
+=HEALTHVEH ;载具血量显示
+=HEALTHBUI ;建筑血量显示
+=SHIELDINF ;步兵盾值显示
+=SHIELDVEH ;载具盾值显示
+=SHIELDBUI ;建筑盾值显示
[AudioVisual]
;开启建筑预览
PlacementPreview=yes
PlacementPreview.Translucency=75
PlacementGrid.Translucency=75
Pips.Shield=17,17,17
Pips.Shield.Building=5,5,5
Pips.Shield.Background=pipbrd.shp
Pips.Shield.Building.Empty=0
;[全局代码]
Infantry.DefaultDigitalDisplayTypes=HEALTHINF,SHIELDINF
Vehicles.DefaultDigitalDisplayTypes=HEALTHVEH,SHIELDVEH
Aircraft.DefaultDigitalDisplayTypes=HEALTHVEH,SHIELDVEH
Buildings.DefaultDigitalDisplayTypes=HEALTHBUI,SHIELDBUI
;数值显示项
[HEALTHINF]
InfoType=Health
Offset=-1,0
Offset.ShieldDelta=0,-5
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=true
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[HEALTHVEH]
InfoType=Health
Offset=-1,0
Offset.ShieldDelta=0,-5
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=false
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[HEALTHBUI]
InfoType=Health
Align=right
Anchor.Horizontal=right
Anchor.Vertical=top
Anchor.Building=top
Percentage=false
HideMaxValue=false
Border=lefttop
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[SHIELDINF]
InfoType=shield
Offset=0,-2
Offset.ShieldDelta=0,2
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=true
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[SHIELDVEH]
InfoType=shield
Offset=0,-2
Offset.ShieldDelta=0,2
Align=center
Anchor.Horizontal=center
Anchor.Vertical=top
Percentage=false
HideMaxValue=false
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp
[SHIELDBUI]
InfoType=shield
Offset=0,0
Offset.ShieldDelta=0,-1
Align=right
Anchor.Horizontal=right
Anchor.Vertical=top
Anchor.Building=top
Percentage=false
HideMaxValue=false
Border=lefttop
VisibleToHouses=all
VisibleToHouses.Observer=true
Text.Color=0,255,0
Text.Color.ConditionYellow=255,255,0
Text.Color.ConditionRed=255,0,0
Text.Background=false
Shape=trength.shp









