|
You last visited: Today at 07:57
Advertisement
Questhintergrund festlegen - Clientside? (Nicht setbgimage()!)
Discussion on Questhintergrund festlegen - Clientside? (Nicht setbgimage()!) within the Metin2 Private Server forum part of the Metin2 category.
02/05/2015, 19:04
|
#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:
|
|
|
02/05/2015, 21:52
|
#2
|
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,938
|
Versuchs mal mit einer .sub
|
|
|
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
|
|
|
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.
|
|