Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

In this guide, we will walk through the steps required to add a clock displaying the current time and date on the minimap in your game. We will be editing files from the root.eix/epk and uiscript.eix/epk packages to achieve this enhancement.

Step-by-Step Instructions

1. Editing constinfo.py

Start by extracting the root.eix and root.epk files. Open constinfo.py and locate the following line:

 
This is the hidden content, please

Under this line, insert the following code to enable the clock feature:

 
This is the hidden content, please

With these changes made, save and close constinfo.py.

2. Modifying uiminimap.py

Next, open uiminimap.py and look for this line:

 
This is the hidden content, please

Just below this import statement, add:

 
This is the hidden content, please

Now, look for the line:

 
This is the hidden content, please

Directly beneath it, insert:

 
This is the hidden content, please

Continue by finding this line:

 
This is the hidden content, please

Underneath it, add:

 
This is the hidden content, please

Next, locate the function that contains:

 
This is the hidden content, please

Add the following condition right after it:

 
This is the hidden content, please

Finally, search for this line:

 
This is the hidden content, please

Add the following code below it:

 
This is the hidden content, please

Once these changes are complete, save and close the uiminimap.py file.

3. Editing minimap.py

Now, extract the uiscript.eix and uiscript.epk files and open minimap.py. Find the section that contains:

 
This is the hidden content, please

Replace this section with the following configuration:

 
This is the hidden content, please

Above the "PositionInfo" section, add the following code to define "ClockTWIX":

 
This is the hidden content, please

Conclusion

By following these steps, you've successfully added a clock to the minimap that displays the current time and date. This enhancement can be a great feature for players, allowing them to keep track of time while exploring the game world.

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