profenix Posted November 29, 2018 Share Posted November 29, 2018 could you tell me which file and which line I should touch to see the resources you collect, the experience you gain and the state of the vehicle to be able to move it to the left side of the game interface? Link to comment Share on other sites More sharing options...
Kubikus Posted November 29, 2018 Share Posted November 29, 2018 Interface is in the XUi-folder, windows.xml in particular. Link to comment Share on other sites More sharing options...
n2n1 Posted November 29, 2018 Share Posted November 29, 2018 search key is: "HUDRightStatBars" xui.xml <window_group name="toolbelt" actionSet="false"> <window name="windowToolbelt" anchor="CenterBottom" /> <window name="HUDLeftStatBars" anchor="LeftBottom" /> [color="#00FF00"]<window name="HUDRightStatBars" anchor="RightBottom" />[/color] <window name="windowQuestTracker" anchor="RightTop" /> <window name="windowGroupBars" anchor="LeftTop" /> </window_group> windows.xml <window name="HUDRightStatBars"> <rect name="hud" pos="-90,31" side="right" controller="CollectedItemList" pivot="BottomLeft"> <panel width="168" height="43" name="item" visible="false" pivot="right" disableautobackground="true" pos="70, 0" > ................................ - - - Updated - - - but what do you want to do ? there is already taken place from the left (HUDLeftStatBars)...how to combine this? ************** windows can be specified using pos="x,y" (it is not necessary to use "anchors") Link to comment Share on other sites More sharing options...
profenix Posted November 29, 2018 Author Share Posted November 29, 2018 thank you for the help and managed to move what I said but I have a couple of problems, when you collect materials you see that I have already managed to move but has a movement to the right and I can not find out which line makes it move so that it does not move so much because it hides behind the belt. and the other problem is the fuel of the drill that also is not located by the vehicle if I came to identify it and moved but the drill not. Any suggestion ? Link to comment Share on other sites More sharing options...
DUST2DEATH Posted November 29, 2018 Share Posted November 29, 2018 Collected items, active item and vehicle items are all a part of the HUDrightstatbar window. You either need to flip them around so they behave like the left stat bars or, decide how you would like them to appear and make it happen. There is no easy cut and paste out of it. You will need to learn positioning and how the sprites/labels work. Link to comment Share on other sites More sharing options...
n2n1 Posted November 30, 2018 Share Posted November 30, 2018 1. It looks like a grid...but I don't see its parameters anywhere....In order to avoid such overlays, you may need to reduce the height of these elements...(so they fit into a single column) 2. this section of code is responsible for the ammo and fuel, move it also : (windows.xml) <grid name="hud" pos="-177,52" rows="2" cols="1" width="168" cell_width="168" cell_height="46" repeat_content="false" side="right"> <rect width="168" height="43" controller="HUDStatBar" stat_type="ActiveItem" visible="{statvisible}"> <sprite depth="3" pos="3,0" name="BarContent" sprite="{statimage|once}" height="43" width="162" /> <sprite depth="4" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon}" size="36,32" pos="130,-6" color="{staticoncolor}" foregroundlayer="true" /> <label depth="6" name="TextContent" pos="15,-8" font_size="28" color="[white]" justify="center" text="{statcurrentwithmax}" height="30"/> </rect> </grid> Link to comment Share on other sites More sharing options...
DUST2DEATH Posted November 30, 2018 Share Posted November 30, 2018 The collected items vertical position self adjusts based on the active item being visible or not, when its a part of the same group. If seperated, you would position the active item first. Then position the collected items vertically higher. Link to comment Share on other sites More sharing options...
profenix Posted December 2, 2018 Author Share Posted December 2, 2018 When I get back from work I look at what you tell me, thank you very much. Link to comment Share on other sites More sharing options...
profenix Posted December 2, 2018 Author Share Posted December 2, 2018 what I don't get is that the collection of resources remains static, it moves to the right automatically I don't know how to do it so that this doesn't happen and it stays still. a video for you to see it more clearly https://www.youtube.com/watch?v=TeUTponc5wI&feature=youtu.be Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.