Aldimun Posted December 8, 2017 Share Posted December 8, 2017 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? Weylon Santana 1 Link to comment Share on other sites More sharing options...
0 jcsnider Posted December 9, 2017 Share Posted December 9, 2017 The last value is Alpha. If it's 0 then the color is invisible, if it's 255 then the color is fully opaque. Â Black is 0,0,0,255 Aldimun 1 Link to comment Share on other sites More sharing options...
0 Weylon Santana Posted December 9, 2017 Share Posted December 9, 2017 The last one is Alpha (Transparency) You Put 0. The config is (R,G,B,A) I believe. Link to comment Share on other sites More sharing options...
0 Aldimun Posted December 9, 2017 Author Share Posted December 9, 2017 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> Link to comment Share on other sites More sharing options...
0 Gibier Posted December 9, 2017 Share Posted December 9, 2017 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. Link to comment Share on other sites More sharing options...
0 Aldimun Posted December 10, 2017 Author Share Posted December 10, 2017 Thanks jcsnider! Link to comment Share on other sites More sharing options...
Question
Aldimun
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?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts