Copendub Posted September 16, 2019 Share Posted September 16, 2019 Hello, anyone that can help me would be greatly appreciated. Im trying to add an image to the empty info panel so i can display a server logo and rules. I did it a long time ago, but i cant remember what i did. Can anyone help me out? Link to comment Share on other sites More sharing options...
Prisma501 Posted September 16, 2019 Share Posted September 16, 2019 Hello, anyone that can help me would be greatly appreciated. Im trying to add an image to the empty info panel so i can display a server logo and rules. I did it a long time ago, but i cant remember what i did. Can anyone help me out? <configs> <remove xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']" /> <insertAfter xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='header']"> <panel name="content" pos="0,-46" height="500" depth="1" pivot="center" disableautobackground="true" > <sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" /> <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="496" width="896" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" /> <label name="labelConfirmationText" pos="10,-10" width="880" height="480" depth="2" /> <texture pos="" depth="3" name="name" material="Materials/Transparent Colored" texture="@REPLACETHISWITHIMAGEURL" size="900,500"/> </panel> </insertAfter> </configs> texture="@REPLACETHISWITHIMAGEURL" -> point it to your image Cheers -edit- this is for the player confirmation login screen. I dunno if you meant that one. Link to comment Share on other sites More sharing options...
n2n1 Posted September 16, 2019 Share Posted September 16, 2019 All right, you've got your answer. Just for such questions it is better to use a thread in the mods section. Here i would never have found your question Link to comment Share on other sites More sharing options...
Copendub Posted October 12, 2019 Author Share Posted October 12, 2019 thank you i appreciate it Link to comment Share on other sites More sharing options...
Aodha Posted October 28, 2019 Share Posted October 28, 2019 I have done the above but dont get the window coming up. What do I set serverconfig.xml to? <property name="ServerLoginConfirmationText" value="" /> <!-- If set the user will see the message during joining the server and has to confirm it before continuing. For more complex changes to this window you can change the "serverjoinrulesdialog" window in XUi --> Link to comment Share on other sites More sharing options...
Edward01 Posted September 6, 2020 Share Posted September 6, 2020 On 10/12/2019 at 11:28 AM, Copendub said: thank you i appreciate it how did you do that could you explain ? Link to comment Share on other sites More sharing options...
Edward01 Posted September 6, 2020 Share Posted September 6, 2020 On 9/16/2019 at 3:51 PM, Prisma501 said: <configs> <remove xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']" /> <insertAfter xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='header']"> <panel name="content" pos="0,-46" height="500" depth="1" pivot="center" disableautobackground="true" > <sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" /> <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="496" width="896" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" /> <label name="labelConfirmationText" pos="10,-10" width="880" height="480" depth="2" /> <texture pos="" depth="3" name="name" material="Materials/Transparent Colored" texture="@REPLACETHISWITHIMAGEURL" size="900,500"/> </panel> </insertAfter> </configs> texture="@REPLACETHISWITHIMAGEURL" -> point it to your image Cheers -edit- this is for the player confirmation login screen. I dunno if you meant that one. where this block have to be added to ? could you explain please? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.