Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!
Paylaşım için teşekkürler ecrina bey
rica ederim dostemPaylaşım için teşekkürler ecrina bey
I know the system works, i dont' say that, i mean, i don't have function "class ListBoxItems" i can't find it, i try to copy clase from uipatchnotes.py but don't work for me. i have the same problem.
ListBoxItems i ListBox olarak değiştir veya farklı fileslerden alabilirsin ListBox olarak yaptıgında fonksiyonlarıda eklemeyi unutma
edit:ListBoxItems zatn uipatchnotes.py dosyasının içinde var şimdi bakımda sende border_b eksik büyük ihtimal
edit:ListBoxItems zatn uipatchnotes.py dosyasının içinde var şimdi bakımda sende border_b eksik büyük ihtimal
1. Go to uiscript/patchnotes.py and replace for this:
1.1 New change is "border_b" to "thinboard"
2.Go to "ui.py" and now search : "def MakeImageBox(parent, name, x, y): " and after function add:
2.1 Like this:
3. If you have problem with "Y_Start" in "systemdialog.py" only change for Y : xx (add new cordenates)
3.1 For example this:
3.2 Note: remember add in systemwindow.py locale or uiscript (this depence your files.)
4.For the problem " UI_DEF_FONT_SLARGE " go to locale/xx/locale_game" and add on top:
5.Have fun
{
"name" : "container", "type" : "thinboard", "x" : 15, "y" : 35, "width" : WINDOW_WIDTH - 30, "height" : WINDOW_HEIGHT - 35 - 15,
"children" :
(
{ "name" : "line", "type" : "line", "x" : 636, "y" : 0, "color" : 0xff232323,"width" : 0, "height" : 498, },
{ "name" : "patch_scrollbar_area", "type" : "window", "x" : 639, "y" : 4, "width" : 7, "height" : 493, },
{ "name" : "patch_notes_area", "type" : "window", "x" : 6, "y" : 6, "width" : 627, "height" : 489, },
),
},
1.1 New change is "border_b" to "thinboard"
2.Go to "ui.py" and now search : "def MakeImageBox(parent, name, x, y): " and after function add:
def MakeExpandedImageBox(parent, name, x, y, flag = ""):
image = ExpandedImageBox()
image.SetParent(parent)
image.LoadImage(name)
image.SetPosition(x, y)
if flag != "":
image.AddFlag(flag)
image.Show()
return image
2.1 Like this:
def MakeImageBox(parent, name, x, y):
image = ImageBox()
image.SetParent(parent)
image.LoadImage(name)
image.SetPosition(x, y)
image.Show()
return image
def MakeExpandedImageBox(parent, name, x, y, flag = ""): #This is the new function
image = ExpandedImageBox()
image.SetParent(parent)
image.LoadImage(name)
image.SetPosition(x, y)
if flag != "":
image.AddFlag(flag)
image.Show()
return image
3. If you have problem with "Y_Start" in "systemdialog.py" only change for Y : xx (add new cordenates)
3.1 For example this:
"name" : "patchnotes_button",
"type" : "button",
"x" : 10,
"y" : 247+90, #New
"text_color" : 0xffF8BF24,
"text" : "Parches",
"default_image" : ROOT + "XLarge_Button_01.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
3.2 Note: remember add in systemwindow.py locale or uiscript (this depence your files.)
4.For the problem " UI_DEF_FONT_SLARGE " go to locale/xx/locale_game" and add on top:
UI_DEF_FONT_SLARGE Patchnotes
5.Have fun
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 4
- Görüntüleme
- 104
- Cevaplar
- 4
- Görüntüleme
- 410
- Cevaplar
- 9
- Görüntüleme
- 780
- Cevaplar
- 28
- Görüntüleme
- 8K