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

Ragnarok Screen Images

For some reason it won't let me do the dimensions as 603, 346.

And when I use the closest set dimensions it allows me to make the image, when I join the game it shows an error message "IndexOutOfRangeException: Index was outside the bounds of the array."

 
Just made 2 images, the welcome screen and the crafting screen.  Set them to be equal to the size listed in the xml.  Uploaded the images to my website, configured the xml, installed the mod, changed the line in serverconfig, will report success or failure by editing this post.

EDIT: Somehow in adding this one minor mod, my loading screen is stuck on Creating Player. I followed the steps exactly, left the @ symbol in, put the . in the serverconfig, and I am stuck. Cannot load. I don't know if this is localized to just me or if all my players will be having this issue.  Before anyone asks, yes I restarted the server after the changes were made.

 
Last edited by a moderator:
Where does this modlet go? Does the XUI go in the lower case config folder? Does it go in the mods folder?

EDIT: yeah, my bad, I totally put the windows.xml in the wrong folder and it screwed the server all up. I ended up wiping the server before I realized my mistake and corrected it.  The mod works beautifully after I put in the proper URL's to the images.

welcomescreenpic.jpg

 
Last edited by a moderator:
Anyone can help with that? 

Where do I add the line in the Xui/windows.xml? 

A bit of explanation would be great. I did in the past but I don,t remember, also I'm using the mod DF.

Thanks

 
Hello all,

I have 2 questions about this mod:

1. must the images necessarily refer to an HTTP(s)-URL or is a path on the server also possible?

i.e.

Code:
@/home/user/images/MyServerImage.png
@/home/user/images/MyCraftingImage.png
2. does this mod also work with the current Alpha 19?

 
I seemed to have done everything right but nothing is showing up on the login screen. Does this work for A19?

windows.xml file

<configs>




<!-- CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE)

<insertAfter xpath="/windows/window[@name='emptyInfoPanel']/rect[@name='contentCraftingInfo']">
<texture name="ItemBackground" size="603,346" depth="10" pos="0,-46" material="Materials/Transparent Colored" texture="@YOURIMGHERE"/>
</insertAfter>

CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE-->



<append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']">
<texture name="ItemBackground" depth="10" size="900,500" texture="@https://i.ibb.co/wcDwqtB/insomnia.jpg" material="Materials/Transparent Colored" pos="0,0" />
</append>






<!--
IF USING LOGIN SCREEN CHANGE BELOW LINE IN SERVERCONFIG.XML SO THAT IT POPS UP

<property name="ServerLoginConfirmationText" value="." />
-->



</configs>




serverconfig.xml

<property name="ServerLoginConfirmationText" value="." />


Thank you.

 
Last edited by a moderator:
I seemed to have done everything right but nothing is showing up on the login screen. Does this work for A19?

windows.xml file

<configs>




<!-- CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE)

<insertAfter xpath="/windows/window[@name='emptyInfoPanel']/rect[@name='contentCraftingInfo']">
<texture name="ItemBackground" size="603,346" depth="10" pos="0,-46" material="Materials/Transparent Colored" texture="@YOURIMGHERE"/>
</insertAfter>

CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE-->



<append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']">
<texture name="ItemBackground" depth="10" size="900,500" texture="@https://i.ibb.co/wcDwqtB/insomnia.jpg" material="Materials/Transparent Colored" pos="0,0" />
</append>






<!--
IF USING LOGIN SCREEN CHANGE BELOW LINE IN SERVERCONFIG.XML SO THAT IT POPS UP

<property name="ServerLoginConfirmationText" value="." />
-->



</configs>




serverconfig.xml

<property name="ServerLoginConfirmationText" value="." />


Thank you.
It's weird. I went and added some text into server login confirmation text because I didn't think the mod was working and rebooted server and logged in the game and boom mod is working now.

 
Hello all,

I have 2 questions about this mod:

1. must the images necessarily refer to an HTTP(s)-URL or is a path on the server also possible?

i.e.

Code:
@/home/user/images/MyServerImage.png
@/home/user/images/MyCraftingImage.png
2. does this mod also work with the current Alpha 19?
The image needs to be accessible by the end users game client, so that probably won't work at all.

 
Hi @SylenThunder,

I have, as probably already expected, found out for myself how it works.
But thanks for your feedback. 😇
 

... and you are of course right, that it makes no sense, as I have constructed the paths. 🙃
 

 
I was able to make this work with some trial and effort. The sizes do have to be exact!! 900 x 500 for the login splash screen and 603 x 346 for the main menu.

Anyone know yet if this works in A20?

 
Back
Top