Telazorn Posted March 5, 2018 Share Posted March 5, 2018 I am trying to create the spot on my players list to display available commands like the image below. if anyone could help point me in the right direction i would be thankful. Link to comment Share on other sites More sharing options...
Telazorn Posted March 7, 2018 Author Share Posted March 7, 2018 ??? Guess no one else has tried this??? Link to comment Share on other sites More sharing options...
Sirillion Posted March 7, 2018 Share Posted March 7, 2018 ??? Guess no one else has tried this??? I would make a new window, add the information you want as a picture via texture with panel left and then add it to the correct windows group in xui.xml Link to comment Share on other sites More sharing options...
Telazorn Posted March 8, 2018 Author Share Posted March 8, 2018 I would make a new window, add the information you want as a picture via texture with panel left and then add it to the correct windows group in xui.xml Is it possible to add in a image via URL i have a solid host for it just don't want players to need to down load a package to view and play on my server Link to comment Share on other sites More sharing options...
ChocolateDough Posted March 8, 2018 Share Posted March 8, 2018 It is possible to use images stored online. Inside of whatever window you are using in windows.xml do something like this...you'll obviously have to change the size, position, url, etc. <texture name="Commands" pos="-250,-50" size="100,350" depth="0" material="Materials/Transparent Colored" texture="@http://whateversite/file.png" /> Link to comment Share on other sites More sharing options...
Telazorn Posted March 9, 2018 Author Share Posted March 9, 2018 Now i am a little lost i what .xml should i add this new window to there are a few window.xml's Link to comment Share on other sites More sharing options...
ChocolateDough Posted March 9, 2018 Share Posted March 9, 2018 Now i am a little lost i what .xml should i add this new window to there are a few window.xml's /Data/Config/XUi/windows.xml is where you make a new window Then you need to add the window to a group in /Data/Config/xui.xml depending one where you want it to be Link to comment Share on other sites More sharing options...
Telazorn Posted March 9, 2018 Author Share Posted March 9, 2018 /Data/Config/XUi/windows.xml is where you make a new window Then you need to add the window to a group in /Data/Config/xui.xml depending one where you want it to be Thank you for all the help everyone got it working should be online soon lol. Link to comment Share on other sites More sharing options...
Blight Posted March 9, 2018 Share Posted March 9, 2018 Can you share the finished code? would be nice Link to comment Share on other sites More sharing options...
Telazorn Posted March 10, 2018 Author Share Posted March 10, 2018 Can you share the finished code? would be nice Player Tab Group from xui.xml around line 195 If not edited. <window_group name="players"> <window name="NAMEOFWINDOW" /> <window name="players" /> </window_group> New Window In wnidows.xml <window name="NAMEOFWINDOW" width="250" height="746" panel="Left" cursor_area="false" > <texture name="Commands" size="250,740" depth="0" material="Materials/Transparent Colored" texture="@http://YOURIMAGEURL" /> </window> Image size i created is 250x740 Finished Image Link to dropbox file PSD of the image https://www.dropbox.com/s/ihpfi7xp48cl37a/playerCOMTab.psd?dl=0 Thank You Everyone Link to comment Share on other sites More sharing options...
Blight Posted March 10, 2018 Share Posted March 10, 2018 thank you =) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.