Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 07:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Questhintergrund festlegen - Clientside? (Nicht setbgimage()!)

Discussion on Questhintergrund festlegen - Clientside? (Nicht setbgimage()!) within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Questhintergrund festlegen - Clientside? (Nicht setbgimage()!)

Gibt es eine Möglichkeit den Hintergrund bei Quests komplett Clientside festzulegen? Ich möchte ungern bei jeder Quest das setbgimage() machen ...

Habe da auch einen Thread von -Lee- gefunden, aber da ging es um die Buttons



Hab jetzt mein questdialog.py so angepasst:

PHP Code:
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",),
            
"default_image" "d:/ymir work/ui/game/questboard/Background.dds",

            
"x" 0,
            
"y" 0,

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

            
"width" 217,
            
"height" 316,
        },
    ),

Und natürlich liegt die .dds Datei auch da ... jedoch kommt Ingame wenn ich das Questfenster öffne nur das:

rollback is offline  
Old 02/05/2015, 21:52   #2
 
DasSchwarzeT's Avatar
 
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,938
Versuchs mal mit einer .sub
DasSchwarzeT is offline  
Old 02/05/2015, 22:01   #3

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Wenn ich eine .sub benutze, was muss ich dann bei "type" eintragen?

EDIT:
So gehts auch net:
PHP Code:
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",),
            
"default_image" "d:/ymir work/ui/game/questboard/Background.sub",

            
"x" 0,
            
"y" 0,

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

            
"width" 217,
            
"height" 316,
        },
    ),

PHP Code:
title subImage
version 1.0
image 
"Background.dds"
left 64
top 32
right 96
bottom 64 
rollback is offline  
Reply


Similar Threads Similar Threads
[QUEST]setbgimage Problem
04/19/2013 - Metin2 Private Server - 0 Replies
Hallo All i add in map_warp.quest setbgimage("mrlibya.tga") And It's Show But The Word Go Out:) ------------------------------------------
[QUEST]setbgimage Problem
04/14/2013 - Metin2 Private Server - 2 Replies
Hallo All i add in map_warp.quest setbgimage("mrlibya.tga") And It's Show But The Word Go Out:)



All times are GMT +1. The time now is 07:57.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.