• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Player List HUD

Telazorn

New member
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. :fat:

player image copy.jpg

 
??? 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

 
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

 
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.

Code:
<texture name="Commands" pos="-250,-50" size="100,350" depth="0" material="Materials/Transparent Colored" texture="@http://whateversite/file.png" />
 
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

 
/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.

 
Can you share the finished code?
would be nice :fat:

Player Tab Group from xui.xml around line 195 If not edited.

Code:
	<window_group name="players">
		<window name="NAMEOFWINDOW" />
		<window name="players" />
	</window_group>
New Window In wnidows.xml

Code:
<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

finished.jpg

Link to dropbox file PSD of the image https://www.dropbox.com/s/ihpfi7xp48cl37a/playerCOMTab.psd?dl=0

Thank You Everyone

 
Last edited by a moderator:
Back
Top