Jump to content
  • 0
Aldimun

change text color in ingame.xml

Question

Hello,

 

When i try to change de text color of an Entity Label in the InGame.xml, to black (255,0,0,0), the text desapear.

Anybody can help me?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Does't work... :(

For example... When i change the textcolor to 0,0,0,0 , desapear.

 

<HotbarLabel0>
              <Bounds>27,19,7,15</Bounds>
              <Padding>0,0,0,0</Padding>
              <AlignmentEdgeDistances>0,0,0,0</AlignmentEdgeDistances>
              <Margin>0,0,0,0</Margin>
              <RenderColor>255,255,255,255</RenderColor>
              <Alignments />
              <DrawBackground>True</DrawBackground>
              <MinimumSize>1,1</MinimumSize>
              <MaximumSize>4096,4096</MaximumSize>
              <Disabled>False</Disabled>
              <Hidden>False</Hidden>
              <RestrictToParent>False</RestrictToParent>
              <MouseInputEnabled>False</MouseInputEnabled>
              <HideToolTip>False</HideToolTip>
              <TextColor>0,0,0,0</TextColor>
              <TextAlign>Left, Top</TextAlign>
              <TextPadding>0,0,0,0</TextPadding>
              <AutosizeToContents>True</AutosizeToContents>
              <Font>notosansui,10</Font>

Share this post


Link to post
Share on other sites
  • 0

Pretty sure the color on the ingame.xml use the same format than the colors.xml in the server's files. So argb (alpha, red, green, blue)

 

Put 0 to alpha will make the color disapear. 255 will be full opacity.

Share this post


Link to post
Share on other sites

×