Jump to content

Recommended Posts

Hello, today I will show you how to add questboard for quests displaying in game.

It's looking like this

 

Spoiler

145753Capture1dbce.png

 

Ok, let's start the tutorial.

1. Unpack uiscript.eix/epk from your client.

2. Open questdialog.py and replace the hole code with this:

Spoiler


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

window = {
    "name" : "QuestDialog",
    "style" : ("float",),#"movable",

    "x" : 0,
    "y" : 0,

    "width" : 800,
    "height" : 450,

    "children" :
    (
        {
            "name" : "board",
            "type" : "image",
            "style" : ("attach", "ignore_size",),

            "x" : 0,
            "y" : 0,

            "horizontal_align" : "center",
            "vertical_align" : "center",

            "image" : "locale/ro/ui/clowd_work/quest.tga",
          
            "width" : 350,
            "height" : 300,
        },
    ),
}

We have ther "locale/ro/ui/clowd_work/quest.tga", this is the location of the .tga file and you have to change it with yours.

3. Repack uiscript.eix/epk and that's it.

Hope you enjoy this tut :)

  • Metin2 Dev 1
  • kekw 1
  • Good 1
  • Love 3
Link to comment
https://metin2.dev/topic/9877-how-to-create-a-questboard/
Share on other sites

  • 2 weeks later...
  • 6 years later...
  • 2 years later...
  • Active Member
26 minutes ago, KolenMG said:

The image is streched by the dimensions set in the uiscript's file?

 

No, as I can see it is not expanded_image with scale, it's just normal image so the width and height doesn't affect it.

  • Love 1
Link to comment
https://metin2.dev/topic/9877-how-to-create-a-questboard/#findComment-168251
Share on other sites

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.