Jump to content

Player List HUD


Telazorn

Recommended Posts

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

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

/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

Can you share the finished code?

 

would be nice :fat:

 

 

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

finished.thumb.jpg.2c932267e586c8f1138c4503ef9991f0.jpg

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...