reaksiyon Posted September 8, 2018 Posted September 8, 2018 is there any way to change red dot resource when equipped item?
1 OniSensei Posted September 9, 2018 Posted September 9, 2018 Ok so I did some testing. <Bounds>0,0,2,2</Bounds> This puts it in the top left corner, now i know im editing the correct thing. Â Changing render color <RenderColor>255,255,255,255</RenderColor> Â as you can see, now they are white and in the top left corner. Â Now i made a 16x16px icon with an E Â Next is to tell the xml file how to use our image. See my inventory item equipped icon section below. <InventoryItemEquippedIcon> <Bounds>0,0,16,16</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>True</MouseInputEnabled> <HideToolTip>False</HideToolTip> <Texture>itemequiped.png</Texture> <TextureSourceRect>0,0,0,0</TextureSourceRect> </InventoryItemEquippedIcon> Â And final resutl: Bradley, reaksiyon and Kyrise 2 1
1 OniSensei Posted September 9, 2018 Posted September 9, 2018 Â This is in the GUI folder, under InGame.xml, open it with a text editor, i prefer notepad++. CTRL+F and type InventoryItemEquippedIcon Render color is the ARBG (alpha, red, blue, green) color (in this case red) To assign an icon i believe you can add a <Texture>YourImage.png</Texture> and <TextureSourceRect>0,0,0,0</TextureSourceRec>Â (thats padding coord, x and y, then width height) I have not tested the icon as a picture but in threory it should work? Â Zetasis, reaksiyon, jcsnider and 1 other 4
1 reaksiyon Posted September 9, 2018 Author Posted September 9, 2018 3 hours ago, defaultx said: Â This is in the GUI folder, under InGame.xml, open it with a text editor, i prefer notepad++. CTRL+F and type InventoryItemEquippedIcon Render color is the ARBG (alpha, red, blue, green) color (in this case red) To assign an icon i believe you can add a <Texture>YourImage.png</Texture> and <TextureSourceRect>0,0,0,0</TextureSourceRec>Â (thats padding coord, x and y, then width height) I have not tested the icon as a picture but in threory it should work? Â Â Â Â ARBG is not working. Only red color is showing. i changed to 255,0,255,0 and that dot is gone. Â i cant see textures too
0 reaksiyon Posted September 9, 2018 Author Posted September 9, 2018 2 hours ago, Cashplant said: Yeah it's in the GUI config How can i change that red dot icon ? or text.
0 Zetasis Posted September 9, 2018 Posted September 9, 2018 3 hours ago, defaultx said: To assign an icon i believe you can add a <Texture>YourImage.png</Texture> and <TextureSourceRect>0,0,0,0</TextureSourceRec> (thats padding coord, x and y, then width height) Â
Question
reaksiyon
is there any way to change red dot resource when equipped item?
6 answers to this question
Recommended Posts