Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

spacer.png

 

This guide outlines how to improve the in-game patchnotes window, ensuring that players can easily access relevant game updates. Below, we will detail the necessary modifications step-by-step, thanks to a fix contributed by a community member.

Steps to Update In-Game Patchnote Window

1. Modify uiscript/patchnotes.py

First, you will need to replace the existing code in the patchnotes.py file with the following structure:

 
This is the hidden content, please

Note: This modification changes the type from "border_b" to "thinboard", streamlining the appearance of the patchnotes window.

2. Update the ui.py File

Next, search for the function definition def MakeImageBox(parent, name, x, y): and add the following code snippet right after it:

 
This is the hidden content, please

3. Adjust the Y Position in systemdialog.py

If you encounter issues related to the "Y_Start" parameter in the systemdialog.py file, update it by changing the Y coordinate as follows:

Example code modification:

 
This is the hidden content, please

4. Fix the Font Issue

To resolve any issues regarding the UI_DEF_FONT_SLARGE, navigate to locales/xx/locale_game.txt and insert the following line to define the patchnotes font:

 
This is the hidden content, please

 

By implementing these modifications, you will significantly enhance the user experience regarding patch notes within your game. The player interface will be more intuitive and visually appealing.

 

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

 

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...