Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

This is the hidden content, please

 

This guide will walk you through the steps to integrate a custom logo into the sub minimap of your game client. By modifying the minimap.py script, you can enhance the visual appeal of your interface.

Instructions

1. Extract the UI Script

Begin by extracting the uiscript from the game client. Locate the minimap.py file, which is essential for the minimap functionalities.

2. Modify the minimap.py File

Open the minimap.py file and search for the OpenWindow function. Once you find it, add the following code snippet directly underneath:

 
{
    "name": "custom_logo",
    "type": "image",

    "text_horizontal_align": "center",

    "outline": 1,

    "x": 5,
    "y": 212,

    "image": "logo.tga",
},
    

Explanation of the Code

  • "name": This property defines the unique name for your logo element in the minimap.
  • "type": Indicates that the element is of image type.
  • "text_horizontal_align": Aligns the text horizontally at the center if there is any.
  • "outline": This sets the outline thickness around the image.
  • "x" and "y": These properties position the logo on the minimap, where x represents the horizontal position and y the vertical position.
  • "image": Specifies the file name of the logo image you want to display.

Conclusion

After making these changes, save the minimap.py file and run your game client. You should now see your custom logo displayed on the sub minimap, enhancing the overall look and feel of your interface.

 

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