Jump to content

Dumb question, change name minimap


Go to solution Solved by SnowFake,

Recommended Posts

Hy boys, i use zeryon serverfiles , i try to change name under the minimap, but i don't find where, i try serverinfo logininfo and all the files from there, i see nothing abour "zeryon" can you advice me from where it can be?

 

even in "minimap.py" is nothing about that name 

Spoiler

import uiscriptlocale

ROOT = "d:/ymir work/ui/minimap/"

window = {
    "name" : "MiniMap",
    "x" : SCREEN_WIDTH - 148,
    "y" : 0,
    "width" : 148,
    "height" : 160,
    "children" :
    (
        {
            "name" : "OpenWindow",
            "type" : "window",
            "x" : 0,
            "y" : 0,
            "width" : 148,
            "height" : 160,
            "children" :
            (
                {
                    "name" : "OpenWindowBGI",
                    "type" : "image",
                    "x" : 12,
                    "y" : 13,
                    "image" : ROOT + "minimap.sub",
                },
                {
                    "name" : "MiniMapWindow",
                    "type" : "window",
                    "x" : 4,
                    "y" : 5 + 13,
                    "width" : 128,
                    "height" : 128,
                },
                {
                    "name" : "BUTTON_DUNGEON_INFO",
                    "type" : "button",
                    "x" : 13,
                    "y" : 106,
                    "default_image" : "d:/ymir work/ui/dungeon_minimap_button.png",
                    "over_image" : "d:/ymir work/ui/dungeon_minimap_button_over_in.png",
                    "down_image" :"d:/ymir work/ui/dungeon_minimap_button_over_out.png",
                },
                {
                    "name" : "AtlasShowButton",
                    "type" : "button",
                    "x" : 24,
                    "y" : 25,
                    "default_image" : ROOT + "atlas_open_default.sub",
                    "over_image" : ROOT + "atlas_open_over.sub",
                    "down_image" : ROOT + "atlas_open_down.sub",
                },
                {
                    "name" : "BUTTON_DAILY",
                    "type" : "button",
                    "x" : 4,
                    "y" : 45,
                    "default_image" : ROOT + "chest.png",
                    "over_image" : ROOT + "chest_over.png",
                    "down_image" : ROOT + "chest_down.png",
                },
                {
                    "name" : "BUTTON_BIOLOGO",
                    "type" : "button",
                    "x" : 0,
                    "y" : 72,
                    "default_image" : ROOT + "biologo.png",
                    "over_image" : ROOT + "biologo_over.png",
                    "down_image" : ROOT + "biologo_down.png",
                },
                {
                    "name" : "BUTTON_WIKI_WONDER",
                    "type" : "button",
                    "x" : 67,
                    "y" : 138,
                    "default_image" : "d:/ymir work/ui/wiki_btn_01.png",
                    "over_image" : "d:/ymir work/ui/wiki_btn_02.png",
                    "down_image" :"d:/ymir work/ui/wiki_btn_03.png",
                },
                {
                    "name" : "ScaleUpButton",
                    "type" : "button",
                    "x" : 113,
                    "y" : 129,
                    "default_image" : ROOT + "minimap_scaleup_default.sub",
                    "over_image" : ROOT + "minimap_scaleup_over.sub",
                    "down_image" : ROOT + "minimap_scaleup_down.sub",
                },
                {
                    "name" : "ScaleDownButton",
                    "type" : "button",
                    "x" : 127,
                    "y" : 116,
                    "default_image" : ROOT + "minimap_scaledown_default.sub",
                    "over_image" : ROOT + "minimap_scaledown_over.sub",
                    "down_image" : ROOT + "minimap_scaledown_down.sub",
                },
                {
                    "name" : "MiniMapHideButton",
                    "type" : "button",
                    "x" : 123,
                    "y" : 19,
                    "default_image" : ROOT + "minimap_close_default.sub",
                    "over_image" : ROOT + "minimap_close_over.sub",
                    "down_image" : ROOT + "minimap_close_down.sub",
                },
                {
                    "name" : "textInfoBar",
                    "type" : "bar",
                    "x" : 8,
                    "y" : 163,
                    "color" : 0x64000000,
                    "width" : 132,
                    "height" : 28,
                    "children" : 
                    (
                        {
                            "name" : "textInfoValue1",
                            "type" : "text",
                            "x" : 0,
                            "y" : 1,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                        {
                            "name" : "textInfoValue2",
                            "type" : "text",
                            "x" : 0,
                            "y" : 12,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                    ),
                },
                {
                    "name" : "textInfoBar2",
                    "type" : "bar",
                    "x" : 8,
                    "y" : 163 + 26,
                    "color" : 0x00000000,
                    "width" : 132,
                    "height" : 28,
                    "children" : 
                    (
                        {
                            "name" : "ServerInfo",
                            "type" : "text",
                            "x" : 0,
                            "y" : 1,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                        {
                            "name" : "MiniMapClock",
                            "type" : "text",
                            "x" : 0,
                            "y" : 12,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                        {
                            "name" : "TimeInfo",
                            "type" : "text",
                            "x" : 0,
                            "y" : 12,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                    ),
                },
                {
                    "name" : "ObserverCount",
                    "type" : "text",
                    "text_horizontal_align" : "center",
                    "outline" : 1,
                    "x" : 82,
                    "y" : 213,
                    "text" : "",
                },
            ),
        },
        {
            "name" : "CloseWindow",
            "type" : "window",
            "x" : 10,
            "y" : 0,
            "width" : 132,
            "height" : 48,
            "children" :
            (
                {
                    "name" : "MiniMapShowButton",
                    "type" : "button",

                    "x" : 100,
                    "y" : 4,

                    "default_image" : ROOT + "minimap_open_default.sub",
                    "over_image" : ROOT + "minimap_open_default.sub",
                    "down_image" : ROOT + "minimap_open_default.sub",
                },
            ),
        },
        {
            "name" : "MastWindow",
            "type" : "thinboard",

            "x" : -18,
            "y" : 215,

            "width" : 165,
            "height" : 66,
            "children" :
            (
                {
                    "name" : "MastText",
                    "type" : "text",

                    "text_horizontal_align" : "center",

                    "x" : 85,
                    "y" : 8,

                    "text" : uiscriptlocale.DEFANCE_WAWE_MAST_TEXT,
                },
                {
                    "name" : "MastHp",
                    "type" : "gauge",

                    "x" : 42,
                    "y" : 23,

                    "width" : 85,
                    "color" : "red",
                            
                    "tooltip_text" : uiscriptlocale.DEFANCE_WAWE_GAUGE_TOOLTIP,
                },
                {
                    "name" : "ActualMastText",
                    "type" : "text",

                    "text_horizontal_align" : "center",

                    "x" : 84,
                    "y" : 31,

                    "text" : uiscriptlocale.MASK_HP_DEFAULT,
                },
                {
                    "name" : "MastTimerText",
                    "type" : "text",

                    "text_horizontal_align" : "center",

                    "x" : 85,
                    "y" : 42,

                    "text" : "-:-",
                },
            ),
        },
    ),
}

 

Edited by SnowFake
Link to comment
https://metin2.dev/topic/32610-dumb-question-change-name-minimap/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium
6 hours ago, SnowFake said:

Hy boys, i use zeryon serverfiles , i try to change name under the minimap, but i don't find where, i try serverinfo logininfo and all the files from there, i see nothing abour "zeryon" can you advice me from where it can be?

 

even in "minimap.py" is nothing about that name 

  Reveal hidden contents

import uiscriptlocale

ROOT = "d:/ymir work/ui/minimap/"

window = {
    "name" : "MiniMap",
    "x" : SCREEN_WIDTH - 148,
    "y" : 0,
    "width" : 148,
    "height" : 160,
    "children" :
    (
        {
            "name" : "OpenWindow",
            "type" : "window",
            "x" : 0,
            "y" : 0,
            "width" : 148,
            "height" : 160,
            "children" :
            (
                {
                    "name" : "OpenWindowBGI",
                    "type" : "image",
                    "x" : 12,
                    "y" : 13,
                    "image" : ROOT + "minimap.sub",
                },
                {
                    "name" : "MiniMapWindow",
                    "type" : "window",
                    "x" : 4,
                    "y" : 5 + 13,
                    "width" : 128,
                    "height" : 128,
                },
                {
                    "name" : "BUTTON_DUNGEON_INFO",
                    "type" : "button",
                    "x" : 13,
                    "y" : 106,
                    "default_image" : "d:/ymir work/ui/dungeon_minimap_button.png",
                    "over_image" : "d:/ymir work/ui/dungeon_minimap_button_over_in.png",
                    "down_image" :"d:/ymir work/ui/dungeon_minimap_button_over_out.png",
                },
                {
                    "name" : "AtlasShowButton",
                    "type" : "button",
                    "x" : 24,
                    "y" : 25,
                    "default_image" : ROOT + "atlas_open_default.sub",
                    "over_image" : ROOT + "atlas_open_over.sub",
                    "down_image" : ROOT + "atlas_open_down.sub",
                },
                {
                    "name" : "BUTTON_DAILY",
                    "type" : "button",
                    "x" : 4,
                    "y" : 45,
                    "default_image" : ROOT + "chest.png",
                    "over_image" : ROOT + "chest_over.png",
                    "down_image" : ROOT + "chest_down.png",
                },
                {
                    "name" : "BUTTON_BIOLOGO",
                    "type" : "button",
                    "x" : 0,
                    "y" : 72,
                    "default_image" : ROOT + "biologo.png",
                    "over_image" : ROOT + "biologo_over.png",
                    "down_image" : ROOT + "biologo_down.png",
                },
                {
                    "name" : "BUTTON_WIKI_WONDER",
                    "type" : "button",
                    "x" : 67,
                    "y" : 138,
                    "default_image" : "d:/ymir work/ui/wiki_btn_01.png",
                    "over_image" : "d:/ymir work/ui/wiki_btn_02.png",
                    "down_image" :"d:/ymir work/ui/wiki_btn_03.png",
                },
                {
                    "name" : "ScaleUpButton",
                    "type" : "button",
                    "x" : 113,
                    "y" : 129,
                    "default_image" : ROOT + "minimap_scaleup_default.sub",
                    "over_image" : ROOT + "minimap_scaleup_over.sub",
                    "down_image" : ROOT + "minimap_scaleup_down.sub",
                },
                {
                    "name" : "ScaleDownButton",
                    "type" : "button",
                    "x" : 127,
                    "y" : 116,
                    "default_image" : ROOT + "minimap_scaledown_default.sub",
                    "over_image" : ROOT + "minimap_scaledown_over.sub",
                    "down_image" : ROOT + "minimap_scaledown_down.sub",
                },
                {
                    "name" : "MiniMapHideButton",
                    "type" : "button",
                    "x" : 123,
                    "y" : 19,
                    "default_image" : ROOT + "minimap_close_default.sub",
                    "over_image" : ROOT + "minimap_close_over.sub",
                    "down_image" : ROOT + "minimap_close_down.sub",
                },
                {
                    "name" : "textInfoBar",
                    "type" : "bar",
                    "x" : 8,
                    "y" : 163,
                    "color" : 0x64000000,
                    "width" : 132,
                    "height" : 28,
                    "children" : 
                    (
                        {
                            "name" : "textInfoValue1",
                            "type" : "text",
                            "x" : 0,
                            "y" : 1,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                        {
                            "name" : "textInfoValue2",
                            "type" : "text",
                            "x" : 0,
                            "y" : 12,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                    ),
                },
                {
                    "name" : "textInfoBar2",
                    "type" : "bar",
                    "x" : 8,
                    "y" : 163 + 26,
                    "color" : 0x00000000,
                    "width" : 132,
                    "height" : 28,
                    "children" : 
                    (
                        {
                            "name" : "ServerInfo",
                            "type" : "text",
                            "x" : 0,
                            "y" : 1,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                        {
                            "name" : "MiniMapClock",
                            "type" : "text",
                            "x" : 0,
                            "y" : 12,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                        {
                            "name" : "TimeInfo",
                            "type" : "text",
                            "x" : 0,
                            "y" : 12,
                            "text" : "",
                            "outline" : 1,
                            "horizontal_align" : "center",
                            "text_horizontal_align" : "center"
                        },
                    ),
                },
                {
                    "name" : "ObserverCount",
                    "type" : "text",
                    "text_horizontal_align" : "center",
                    "outline" : 1,
                    "x" : 82,
                    "y" : 213,
                    "text" : "",
                },
            ),
        },
        {
            "name" : "CloseWindow",
            "type" : "window",
            "x" : 10,
            "y" : 0,
            "width" : 132,
            "height" : 48,
            "children" :
            (
                {
                    "name" : "MiniMapShowButton",
                    "type" : "button",

                    "x" : 100,
                    "y" : 4,

                    "default_image" : ROOT + "minimap_open_default.sub",
                    "over_image" : ROOT + "minimap_open_default.sub",
                    "down_image" : ROOT + "minimap_open_default.sub",
                },
            ),
        },
        {
            "name" : "MastWindow",
            "type" : "thinboard",

            "x" : -18,
            "y" : 215,

            "width" : 165,
            "height" : 66,
            "children" :
            (
                {
                    "name" : "MastText",
                    "type" : "text",

                    "text_horizontal_align" : "center",

                    "x" : 85,
                    "y" : 8,

                    "text" : uiscriptlocale.DEFANCE_WAWE_MAST_TEXT,
                },
                {
                    "name" : "MastHp",
                    "type" : "gauge",

                    "x" : 42,
                    "y" : 23,

                    "width" : 85,
                    "color" : "red",
                            
                    "tooltip_text" : uiscriptlocale.DEFANCE_WAWE_GAUGE_TOOLTIP,
                },
                {
                    "name" : "ActualMastText",
                    "type" : "text",

                    "text_horizontal_align" : "center",

                    "x" : 84,
                    "y" : 31,

                    "text" : uiscriptlocale.MASK_HP_DEFAULT,
                },
                {
                    "name" : "MastTimerText",
                    "type" : "text",

                    "text_horizontal_align" : "center",

                    "x" : 85,
                    "y" : 42,

                    "text" : "-:-",
                },
            ),
        },
    ),
}

 

I answered on discord sorry didn't notice serverinfo.py, localeinfo.py or game.py

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.