• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Laleci - Adding an Image to the Quest Background

Member
Feb
Threads
0
31
0
6

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Hello ,

I Will Show You How To Add Image To Mission Background.

Firstly:

questlib.lua Open the file and add at the bottom:


Code:
function setbgimage(src) raw_script("[BGIMAGE src;") raw_script(src) raw_script("]") end

function addimage(x,y,src) raw_script("[IMAGE x;"..x.."|y;"..y) raw_script("|src;") raw_script(src) raw_script("]") end

quest_functions open it and add it at the bottom:

Code:
addimage
setbgimage



etc eix epk open ymir work/ui/game/questboard In the section, we throw a picture of approximately 300x300 size,
the picture we will make the background of.
If we want to give a picture to the back of the quest later, we do it like this:
Code:
quest lalecinewquest begin
    state start begin
        when 20092.chat."Laleci"  begin
            setbgimage('Here we write the name of the picture that we have uploaded to etc picture.tga')
          
          
            just be careful setbgimage always comes before numbers

othpxfp.png


thx
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock