Merge pull request 'nightly' (#1) from metin2/client:nightly into master
Reviewed-on: #1
|
@ -683,13 +683,6 @@ class GameWindow(ui.ScriptWindow):
|
|||
def RefreshGuildGradePage(self):
|
||||
self.interface.RefreshGuildGradePage()
|
||||
|
||||
def RefreshMobile(self):
|
||||
if self.interface:
|
||||
self.interface.RefreshMobile()
|
||||
|
||||
def OnMobileAuthority(self):
|
||||
self.interface.OnMobileAuthority()
|
||||
|
||||
def OnBlockMode(self, mode):
|
||||
self.interface.OnBlockMode(mode)
|
||||
|
||||
|
|
|
@ -610,12 +610,6 @@ class Interface(object):
|
|||
self.wndMessenger.ClearGuildMember()
|
||||
self.wndGuild.DeleteGuild()
|
||||
|
||||
def RefreshMobile(self):
|
||||
self.dlgSystem.RefreshMobile()
|
||||
|
||||
def OnMobileAuthority(self):
|
||||
self.dlgSystem.OnMobileAuthority()
|
||||
|
||||
def OnBlockMode(self, mode):
|
||||
self.dlgSystem.OnBlockMode(mode)
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
SERVER_NAME = "Metin2"
|
||||
SERVER_IP = "127.0.0.1"
|
||||
SERVER01_NAME = "Metin2 (homeserver)"
|
||||
SERVER01_IP = "homeserver.internal.tiberiud.ro"
|
||||
SERVER02_NAME = "Metin2 (localhost)"
|
||||
SERVER02_IP = "localhost"
|
||||
CH1_NAME = "CH1"
|
||||
CH2_NAME = "CH2"
|
||||
CH3_NAME = "CH3"
|
||||
|
@ -21,10 +23,17 @@ STATE_DICT = {
|
|||
}
|
||||
|
||||
SERVER01_CHANNEL_DICT = {
|
||||
1: {"key": 11, "name": CH1_NAME, "ip": SERVER_IP, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
|
||||
2: {"key": 12, "name": CH2_NAME, "ip": SERVER_IP, "tcp_port": PORT_2, "udp_port": PORT_2, "state": STATE_NONE},
|
||||
3: {"key": 13, "name": CH3_NAME, "ip": SERVER_IP, "tcp_port": PORT_3, "udp_port": PORT_3, "state": STATE_NONE},
|
||||
4: {"key": 14, "name": CH4_NAME, "ip": SERVER_IP, "tcp_port": PORT_4, "udp_port": PORT_4, "state": STATE_NONE},
|
||||
1: {"key": 11, "name": CH1_NAME, "ip": SERVER01_IP, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
|
||||
# 2: {"key": 12, "name": CH2_NAME, "ip": SERVER01_IP, "tcp_port": PORT_2, "udp_port": PORT_2, "state": STATE_NONE},
|
||||
# 3: {"key": 13, "name": CH3_NAME, "ip": SERVER01_IP, "tcp_port": PORT_3, "udp_port": PORT_3, "state": STATE_NONE},
|
||||
# 4: {"key": 14, "name": CH4_NAME, "ip": SERVER01_IP, "tcp_port": PORT_4, "udp_port": PORT_4, "state": STATE_NONE},
|
||||
}
|
||||
|
||||
SERVER02_CHANNEL_DICT = {
|
||||
1: {"key": 11, "name": CH1_NAME, "ip": SERVER02_IP, "tcp_port": PORT_1, "udp_port": PORT_1, "state": STATE_NONE},
|
||||
# 2: {"key": 12, "name": CH2_NAME, "ip": SERVER02_IP, "tcp_port": PORT_2, "udp_port": PORT_2, "state": STATE_NONE},
|
||||
# 3: {"key": 13, "name": CH3_NAME, "ip": SERVER02_IP, "tcp_port": PORT_3, "udp_port": PORT_3, "state": STATE_NONE},
|
||||
# 4: {"key": 14, "name": CH4_NAME, "ip": SERVER02_IP, "tcp_port": PORT_4, "udp_port": PORT_4, "state": STATE_NONE},
|
||||
}
|
||||
|
||||
REGION_NAME_DICT = {
|
||||
|
@ -33,16 +42,19 @@ REGION_NAME_DICT = {
|
|||
|
||||
REGION_AUTH_SERVER_DICT = {
|
||||
0: {
|
||||
1: {"ip": SERVER_IP, "port": PORT_AUTH},
|
||||
1: {"ip": SERVER01_IP, "port": PORT_AUTH},
|
||||
2: {"ip": SERVER02_IP, "port": PORT_AUTH},
|
||||
}
|
||||
}
|
||||
|
||||
REGION_DICT = {
|
||||
0: {
|
||||
1: {"name": SERVER_NAME, "channel": SERVER01_CHANNEL_DICT},
|
||||
1: {"name": SERVER01_NAME, "channel": SERVER01_CHANNEL_DICT},
|
||||
2: {"name": SERVER02_NAME, "channel": SERVER02_CHANNEL_DICT},
|
||||
},
|
||||
}
|
||||
|
||||
MARKADDR_DICT = {
|
||||
10: {"ip": SERVER_IP, "tcp_port": PORT_MARK, "mark": "10.tga", "symbol_path": "10"},
|
||||
10: {"ip": SERVER01_IP, "tcp_port": PORT_MARK, "mark": "10.tga", "symbol_path": "10"},
|
||||
20: {"ip": SERVER02_IP, "tcp_port": PORT_MARK, "mark": "20.tga", "symbol_path": "20"},
|
||||
}
|
|
@ -14,11 +14,6 @@ import interfaceModule #
|
|||
blockMode = 0
|
||||
viewChatMode = 0
|
||||
|
||||
MOBILE = False
|
||||
|
||||
if localeInfo.IsYMIR():
|
||||
MOBILE = True
|
||||
|
||||
|
||||
class OptionDialog(ui.ScriptWindow):
|
||||
|
||||
|
@ -87,22 +82,13 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.showsalesTextButtonList.append(GetObject("salestext_on_button"))
|
||||
self.showsalesTextButtonList.append(GetObject("salestext_off_button"))
|
||||
|
||||
global MOBILE
|
||||
if MOBILE:
|
||||
self.inputMobileButton = GetObject("input_mobile_button")
|
||||
self.deleteMobileButton = GetObject("delete_mobile_button")
|
||||
|
||||
|
||||
except:
|
||||
import exception
|
||||
exception.Abort("OptionDialog.__Load_BindObject")
|
||||
|
||||
def __Load(self):
|
||||
global MOBILE
|
||||
if MOBILE:
|
||||
self.__Load_LoadScript("uiscript/gameoptiondialog_formobile.py")
|
||||
else:
|
||||
self.__Load_LoadScript("uiscript/gameoptiondialog.py")
|
||||
self.__Load_LoadScript("uiscript/gameoptiondialog.py")
|
||||
|
||||
self.__Load_BindObject()
|
||||
|
||||
|
@ -151,11 +137,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.__ClickRadioButton(self.viewTargetBoardButtonList, constInfo.GET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOARD())
|
||||
self.__SetPeacePKMode()
|
||||
|
||||
#global MOBILE
|
||||
if MOBILE:
|
||||
self.inputMobileButton.SetEvent(ui.__mem_func__(self.__OnChangeMobilePhoneNumber))
|
||||
self.deleteMobileButton.SetEvent(ui.__mem_func__(self.__OnDeleteMobilePhoneNumber))
|
||||
|
||||
def __ClickRadioButton(self, buttonList, buttonIndex):
|
||||
try:
|
||||
selButton=buttonList[buttonIndex]
|
||||
|
@ -334,67 +315,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
def OnChangePKMode(self):
|
||||
self.__RefreshPVPButtonList()
|
||||
|
||||
def __OnChangeMobilePhoneNumber(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
import uiCommon
|
||||
inputDialog = uiCommon.InputDialog()
|
||||
inputDialog.SetTitle(localeInfo.MESSENGER_INPUT_MOBILE_PHONE_NUMBER_TITLE)
|
||||
inputDialog.SetMaxLength(13)
|
||||
inputDialog.SetAcceptEvent(ui.__mem_func__(self.OnInputMobilePhoneNumber))
|
||||
inputDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseInputDialog))
|
||||
inputDialog.Open()
|
||||
self.inputDialog = inputDialog
|
||||
|
||||
def __OnDeleteMobilePhoneNumber(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
import uiCommon
|
||||
questionDialog = uiCommon.QuestionDialog()
|
||||
questionDialog.SetText(localeInfo.MESSENGER_DO_YOU_DELETE_PHONE_NUMBER)
|
||||
questionDialog.SetAcceptEvent(ui.__mem_func__(self.OnDeleteMobile))
|
||||
questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
|
||||
questionDialog.Open()
|
||||
self.questionDialog = questionDialog
|
||||
|
||||
def OnInputMobilePhoneNumber(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
text = self.inputDialog.GetText()
|
||||
|
||||
if not text:
|
||||
return
|
||||
|
||||
text.replace('-', '')
|
||||
net.SendChatPacket("/mobile " + text)
|
||||
self.OnCloseInputDialog()
|
||||
return True
|
||||
|
||||
def OnInputMobileAuthorityCode(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
text = self.inputDialog.GetText()
|
||||
net.SendChatPacket("/mobile_auth " + text)
|
||||
self.OnCloseInputDialog()
|
||||
return True
|
||||
|
||||
def OnDeleteMobile(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
net.SendChatPacket("/mobile")
|
||||
self.OnCloseQuestionDialog()
|
||||
return True
|
||||
|
||||
def OnCloseInputDialog(self):
|
||||
self.inputDialog.Close()
|
||||
self.inputDialog = None
|
||||
|
@ -409,34 +329,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.Close()
|
||||
return True
|
||||
|
||||
def RefreshMobile(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
if player.HasMobilePhoneNumber():
|
||||
self.inputMobileButton.Hide()
|
||||
self.deleteMobileButton.Show()
|
||||
else:
|
||||
self.inputMobileButton.Show()
|
||||
self.deleteMobileButton.Hide()
|
||||
|
||||
def OnMobileAuthority(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
import uiCommon
|
||||
inputDialog = uiCommon.InputDialogWithDescription()
|
||||
inputDialog.SetTitle(localeInfo.MESSENGER_INPUT_MOBILE_AUTHORITY_TITLE)
|
||||
inputDialog.SetDescription(localeInfo.MESSENGER_INPUT_MOBILE_AUTHORITY_DESCRIPTION)
|
||||
inputDialog.SetAcceptEvent(ui.__mem_func__(self.OnInputMobileAuthorityCode))
|
||||
inputDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseInputDialog))
|
||||
inputDialog.SetMaxLength(4)
|
||||
inputDialog.SetBoardWidth(310)
|
||||
inputDialog.Open()
|
||||
self.inputDialog = inputDialog
|
||||
|
||||
def RefreshBlock(self):
|
||||
global blockMode
|
||||
for i in xrange(len(self.blockButtonList)):
|
||||
|
@ -483,7 +375,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.RefreshBlock()
|
||||
|
||||
def Show(self):
|
||||
self.RefreshMobile()
|
||||
self.RefreshBlock()
|
||||
ui.ScriptWindow.Show(self)
|
||||
|
||||
|
|
|
@ -71,15 +71,9 @@ class MessengerItem(ui.Window):
|
|||
def IsOnline(self):
|
||||
return False
|
||||
|
||||
def IsMobile(self):
|
||||
return False
|
||||
|
||||
def OnWhisper(self):
|
||||
pass
|
||||
|
||||
def OnMobileMessage(self):
|
||||
pass
|
||||
|
||||
# Remove
|
||||
def CanRemove(self):
|
||||
return False
|
||||
|
@ -123,17 +117,16 @@ class MessengerMemberItem(MessengerItem):
|
|||
|
||||
STATE_OFFLINE = 0
|
||||
STATE_ONLINE = 1
|
||||
STATE_MOBILE = 2
|
||||
|
||||
IMAGE_FILE_NAME = { "ONLINE" : "d:/ymir work/ui/game/windows/messenger_list_online.sub",
|
||||
"OFFLINE" : "d:/ymir work/ui/game/windows/messenger_list_offline.sub",
|
||||
"MOBILE" : "d:/ymir work/ui/game/windows/messenger_list_mobile.sub", }
|
||||
IMAGE_FILE_NAME = {
|
||||
"ONLINE" : "d:/ymir work/ui/game/windows/messenger_list_online.sub",
|
||||
"OFFLINE" : "d:/ymir work/ui/game/windows/messenger_list_offline.sub",
|
||||
}
|
||||
|
||||
def __init__(self, getParentEvent):
|
||||
MessengerItem.__init__(self, getParentEvent)
|
||||
self.key = None
|
||||
self.state = self.STATE_OFFLINE
|
||||
self.mobileFlag = False
|
||||
self.Offline()
|
||||
|
||||
def GetStepWidth(self):
|
||||
|
@ -151,30 +144,13 @@ class MessengerMemberItem(MessengerItem):
|
|||
|
||||
return False
|
||||
|
||||
def IsMobile(self):
|
||||
if self.STATE_MOBILE == self.state:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def Online(self):
|
||||
self.image.LoadImage(self.IMAGE_FILE_NAME["ONLINE"])
|
||||
self.state = self.STATE_ONLINE
|
||||
|
||||
def Offline(self):
|
||||
if self.mobileFlag:
|
||||
self.image.LoadImage(self.IMAGE_FILE_NAME["MOBILE"])
|
||||
self.state = self.STATE_MOBILE
|
||||
|
||||
else:
|
||||
self.image.LoadImage(self.IMAGE_FILE_NAME["OFFLINE"])
|
||||
self.state = self.STATE_OFFLINE
|
||||
|
||||
def SetMobile(self, flag):
|
||||
self.mobileFlag = flag
|
||||
|
||||
if not self.IsOnline():
|
||||
self.Offline()
|
||||
self.image.LoadImage(self.IMAGE_FILE_NAME["OFFLINE"])
|
||||
self.state = self.STATE_OFFLINE
|
||||
|
||||
def CanWhisper(self):
|
||||
if self.IsOnline():
|
||||
|
@ -186,15 +162,6 @@ class MessengerMemberItem(MessengerItem):
|
|||
if self.IsOnline():
|
||||
self.getParentEvent().whisperButtonEvent(self.GetName())
|
||||
|
||||
def OnMobileMessage(self):
|
||||
if not uiGameOption.MOBILE:
|
||||
return
|
||||
|
||||
if not self.IsMobile():
|
||||
return
|
||||
|
||||
self.getParentEvent().SendMobileMessage(self.GetName())
|
||||
|
||||
def Select(self):
|
||||
MessengerItem.Select(self)
|
||||
|
||||
|
@ -370,7 +337,6 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
|
||||
self.showingPageSize = 0
|
||||
self.startLine = 0
|
||||
self.hasMobilePhoneNumber = True
|
||||
|
||||
self.isLoaded = 0
|
||||
|
||||
|
@ -396,7 +362,6 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
self.board = self.GetChild("board")
|
||||
self.scrollBar = self.GetChild("ScrollBar")
|
||||
self.whisperButton = self.GetChild("WhisperButton")
|
||||
self.mobileButton = self.GetChild("MobileButton")
|
||||
self.removeButton = self.GetChild("RemoveButton")
|
||||
self.addFriendButton = self.GetChild("AddFriendButton")
|
||||
self.guildButton = self.GetChild("GuildButton")
|
||||
|
@ -407,22 +372,11 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
self.board.SetCloseEvent(ui.__mem_func__(self.Close))
|
||||
self.scrollBar.SetScrollEvent(ui.__mem_func__(self.OnScroll))
|
||||
self.whisperButton.SetEvent(ui.__mem_func__(self.OnPressWhisperButton))
|
||||
self.mobileButton.SetEvent(ui.__mem_func__(self.OnPressMobileButton))
|
||||
self.removeButton.SetEvent(ui.__mem_func__(self.OnPressRemoveButton))
|
||||
self.addFriendButton.SetEvent(ui.__mem_func__(self.OnPressAddFriendButton))
|
||||
self.guildButton.SetEvent(ui.__mem_func__(self.OnPressGuildButton))
|
||||
|
||||
if not uiGameOption.MOBILE: #constInfo.SEND_MOBILE_PHONE_MESSAGE_ENABLE:
|
||||
self.mobileButton.Hide()
|
||||
width = self.GetWidth()
|
||||
height = self.GetHeight()
|
||||
self.addFriendButton.SetPosition(-60, 30)
|
||||
self.whisperButton.SetPosition(-20, 30)
|
||||
self.removeButton.SetPosition(20, 30)
|
||||
self.guildButton.SetPosition(60, 30)
|
||||
|
||||
self.whisperButton.Disable()
|
||||
self.mobileButton.Disable()
|
||||
self.removeButton.Disable()
|
||||
|
||||
resizeButton = self.ResizeButton()
|
||||
|
@ -450,11 +404,9 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
self.friendNameBoard = None
|
||||
self.questionDialog = None
|
||||
self.popupDialog = None
|
||||
self.inputDialog = None
|
||||
self.familyGroup = None
|
||||
|
||||
self.whisperButton = None
|
||||
self.mobileButton = None
|
||||
self.removeButton = None
|
||||
|
||||
def OnCloseQuestionDialog(self):
|
||||
|
@ -543,84 +495,6 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
def SetGuildButtonEvent(self, event):
|
||||
self.guildButtonEvent=event
|
||||
|
||||
def SendMobileMessage(self, name):
|
||||
if not uiGameOption.MOBILE:
|
||||
return
|
||||
|
||||
if not self.hasMobilePhoneNumber:
|
||||
questionDialog = uiCommon.QuestionDialog2()
|
||||
questionDialog.SetText1(localeInfo.MESSENGER_INPUT_MOBILE_PHONE_NUMBER_1)
|
||||
questionDialog.SetText2(localeInfo.MESSENGER_INPUT_MOBILE_PHONE_NUMBER_2)
|
||||
questionDialog.SetAcceptEvent(ui.__mem_func__(self.OnAcceptInputMobilePhoneNumber))
|
||||
questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCancelInputMobilePhoneNumber))
|
||||
questionDialog.SetWidth(400)
|
||||
questionDialog.Open()
|
||||
self.questionDialog = questionDialog
|
||||
return
|
||||
|
||||
## Input Sending Mobile Message
|
||||
inputDialog = uiCommon.InputDialog()
|
||||
inputDialog.SetTitle(localeInfo.MESSENGER_SEND_MOBILE_MESSAGE_TITLE)
|
||||
inputDialog.SetMaxLength(50)
|
||||
inputDialog.SetAcceptEvent(ui.__mem_func__(self.OnInputMobileMessage))
|
||||
inputDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseInputDialog))
|
||||
inputDialog.name = name
|
||||
inputDialog.Open()
|
||||
self.inputDialog = inputDialog
|
||||
|
||||
def OnAcceptInputMobilePhoneNumber(self):
|
||||
if not uiGameOption.MOBILE:
|
||||
return
|
||||
|
||||
## Input Mobile Phone Number
|
||||
inputDialog = uiCommon.InputDialog()
|
||||
inputDialog.SetTitle(localeInfo.MESSENGER_INPUT_MOBILE_PHONE_NUMBER_TITLE)
|
||||
inputDialog.SetMaxLength(13)
|
||||
inputDialog.SetAcceptEvent(ui.__mem_func__(self.OnInputMobilePhoneNumber))
|
||||
inputDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseInputDialog))
|
||||
inputDialog.Open()
|
||||
self.inputDialog = inputDialog
|
||||
self.OnCancelInputMobilePhoneNumber()
|
||||
|
||||
def OnCancelInputMobilePhoneNumber(self):
|
||||
if not uiGameOption.MOBILE:
|
||||
return
|
||||
self.questionDialog.Close()
|
||||
self.questionDialog = None
|
||||
return True
|
||||
|
||||
def OnInputMobilePhoneNumber(self):
|
||||
if not uiGameOption.MOBILE:
|
||||
return
|
||||
|
||||
text = self.inputDialog.GetText()
|
||||
|
||||
if not text:
|
||||
return
|
||||
|
||||
text.replace('-', '')
|
||||
net.SendChatPacket("/mobile " + text)
|
||||
self.OnCloseInputDialog()
|
||||
return True
|
||||
|
||||
def OnInputMobileMessage(self):
|
||||
if not uiGameOption.MOBILE:
|
||||
return
|
||||
|
||||
text = self.inputDialog.GetText()
|
||||
|
||||
if not text:
|
||||
return
|
||||
|
||||
net.SendMobileMessagePacket(self.inputDialog.name, text)
|
||||
self.OnCloseInputDialog()
|
||||
return True
|
||||
|
||||
def OnCloseInputDialog(self):
|
||||
self.inputDialog.Close()
|
||||
self.inputDialog = None
|
||||
return True
|
||||
|
||||
def OnPressGuildButton(self):
|
||||
self.guildButtonEvent()
|
||||
|
||||
|
@ -649,10 +523,6 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
if self.selectedItem:
|
||||
self.selectedItem.OnWhisper()
|
||||
|
||||
def OnPressMobileButton(self):
|
||||
if self.selectedItem:
|
||||
self.selectedItem.OnMobileMessage()
|
||||
|
||||
def OnPressRemoveButton(self):
|
||||
if self.selectedItem:
|
||||
if self.selectedItem.CanRemove():
|
||||
|
@ -702,11 +572,6 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
else:
|
||||
self.whisperButton.Disable()
|
||||
|
||||
if self.selectedItem.IsMobile():
|
||||
self.mobileButton.Enable()
|
||||
else:
|
||||
self.mobileButton.Disable()
|
||||
|
||||
if self.selectedItem.CanRemove():
|
||||
self.removeButton.Enable()
|
||||
else:
|
||||
|
@ -720,9 +585,6 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
if self.selectedItem.IsOnline():
|
||||
self.OnPressWhisperButton()
|
||||
|
||||
elif self.selectedItem.IsMobile():
|
||||
self.OnPressMobileButton()
|
||||
|
||||
def GetSelf(self):
|
||||
return self
|
||||
|
||||
|
@ -796,14 +658,6 @@ class MessengerWindow(ui.ScriptWindow):
|
|||
member.Offline()
|
||||
self.OnRefreshList()
|
||||
|
||||
def OnMobile(self, groupIndex, key, mobileFlag):
|
||||
group = self.groupList[groupIndex]
|
||||
member = group.FindMember(key)
|
||||
if not member:
|
||||
return
|
||||
member.SetMobile(mobileFlag)
|
||||
self.OnRefreshList()
|
||||
|
||||
def OnAddLover(self, name, lovePoint):
|
||||
if not self.familyGroup:
|
||||
self.__AddFamilyGroup()
|
||||
|
|
|
@ -9,11 +9,6 @@ import constInfo
|
|||
import chrmgr
|
||||
import player
|
||||
|
||||
MOBILE = False
|
||||
|
||||
if localeInfo.IsYMIR():
|
||||
MOBILE = True
|
||||
|
||||
blockMode = 0
|
||||
|
||||
class OptionDialog(ui.ScriptWindow):
|
||||
|
@ -45,15 +40,9 @@ class OptionDialog(ui.ScriptWindow):
|
|||
print " -------------------------------------- DESTROY OPTION DIALOG"
|
||||
|
||||
def __LoadDialog(self):
|
||||
global NO_MOBILE
|
||||
|
||||
try:
|
||||
pyScriptLoader = ui.PythonScriptLoader()
|
||||
|
||||
if MOBILE:
|
||||
pyScriptLoader.LoadScriptFile(self, "uiscript/optiondialog_formobile.py")
|
||||
else:
|
||||
pyScriptLoader.LoadScriptFile(self, "uiscript/optiondialog.py")
|
||||
pyScriptLoader.LoadScriptFile(self, "uiscript/optiondialog.py")
|
||||
|
||||
except:
|
||||
import exception
|
||||
|
@ -82,10 +71,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.blockButtonList.append(GetObject("block_guild_button"))
|
||||
self.blockButtonList.append(GetObject("block_whisper_button"))
|
||||
self.blockButtonList.append(GetObject("block_friend_button"))
|
||||
|
||||
if MOBILE:
|
||||
self.inputMobileButton = GetObject("input_mobile_button")
|
||||
self.deleteMobileButton = GetObject("delete_mobile_button")
|
||||
|
||||
except:
|
||||
import exception
|
||||
|
@ -134,10 +119,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.__ClickRadioButton(self.viewTargetBoardButtonList, constInfo.GET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOARD())
|
||||
self.__SetPeacePKMode()
|
||||
|
||||
if MOBILE:
|
||||
self.inputMobileButton.SetEvent(ui.__mem_func__(self.__OnChangeMobilePhoneNumber))
|
||||
self.deleteMobileButton.SetEvent(ui.__mem_func__(self.__OnDeleteMobilePhoneNumber))
|
||||
|
||||
def __ClickRadioButton(self, buttonList, buttonIndex):
|
||||
try:
|
||||
selButton=buttonList[buttonIndex]
|
||||
|
@ -294,53 +275,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
snd.SetSoundVolumef(pos)
|
||||
systemSetting.SetSoundVolumef(pos)
|
||||
|
||||
def __OnChangeMobilePhoneNumber(self):
|
||||
|
||||
import uiCommon
|
||||
inputDialog = uiCommon.InputDialog()
|
||||
inputDialog.SetTitle(localeInfo.MESSENGER_INPUT_MOBILE_PHONE_NUMBER_TITLE)
|
||||
inputDialog.SetMaxLength(13)
|
||||
inputDialog.SetAcceptEvent(ui.__mem_func__(self.OnInputMobilePhoneNumber))
|
||||
inputDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseInputDialog))
|
||||
inputDialog.Open()
|
||||
self.inputDialog = inputDialog
|
||||
|
||||
def __OnDeleteMobilePhoneNumber(self):
|
||||
import uiCommon
|
||||
questionDialog = uiCommon.QuestionDialog()
|
||||
questionDialog.SetText(localeInfo.MESSENGER_DO_YOU_DELETE_PHONE_NUMBER)
|
||||
questionDialog.SetAcceptEvent(ui.__mem_func__(self.OnDeleteMobile))
|
||||
questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
|
||||
questionDialog.Open()
|
||||
self.questionDialog = questionDialog
|
||||
|
||||
def OnInputMobilePhoneNumber(self):
|
||||
text = self.inputDialog.GetText()
|
||||
|
||||
if not text:
|
||||
return
|
||||
|
||||
text.replace('-', '')
|
||||
net.SendChatPacket("/mobile " + text)
|
||||
self.OnCloseInputDialog()
|
||||
return True
|
||||
|
||||
def OnInputMobileAuthorityCode(self):
|
||||
text = self.inputDialog.GetText()
|
||||
net.SendChatPacket("/mobile_auth " + text)
|
||||
self.OnCloseInputDialog()
|
||||
return True
|
||||
|
||||
def OnDeleteMobile(self):
|
||||
net.SendChatPacket("/mobile")
|
||||
self.OnCloseQuestionDialog()
|
||||
return True
|
||||
|
||||
def OnCloseInputDialog(self):
|
||||
self.inputDialog.Close()
|
||||
self.inputDialog = None
|
||||
return True
|
||||
|
||||
def OnCloseQuestionDialog(self):
|
||||
self.questionDialog.Close()
|
||||
self.questionDialog = None
|
||||
|
@ -350,30 +284,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.Close()
|
||||
return True
|
||||
|
||||
def RefreshMobile(self):
|
||||
global MOBILE
|
||||
if not MOBILE:
|
||||
return
|
||||
|
||||
if player.HasMobilePhoneNumber():
|
||||
self.inputMobileButton.Hide()
|
||||
self.deleteMobileButton.Show()
|
||||
else:
|
||||
self.inputMobileButton.Show()
|
||||
self.deleteMobileButton.Hide()
|
||||
|
||||
def OnMobileAuthority(self):
|
||||
import uiCommon
|
||||
inputDialog = uiCommon.InputDialogWithDescription()
|
||||
inputDialog.SetTitle(localeInfo.MESSENGER_INPUT_MOBILE_AUTHORITY_TITLE)
|
||||
inputDialog.SetDescription(localeInfo.MESSENGER_INPUT_MOBILE_AUTHORITY_DESCRIPTION)
|
||||
inputDialog.SetAcceptEvent(ui.__mem_func__(self.OnInputMobileAuthorityCode))
|
||||
inputDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseInputDialog))
|
||||
inputDialog.SetMaxLength(4)
|
||||
inputDialog.SetBoardWidth(310)
|
||||
inputDialog.Open()
|
||||
self.inputDialog = inputDialog
|
||||
|
||||
def RefreshBlock(self):
|
||||
global blockMode
|
||||
for i in xrange(len(self.blockButtonList)):
|
||||
|
@ -388,7 +298,6 @@ class OptionDialog(ui.ScriptWindow):
|
|||
self.RefreshBlock()
|
||||
|
||||
def Show(self):
|
||||
self.RefreshMobile()
|
||||
self.RefreshBlock()
|
||||
ui.ScriptWindow.Show(self)
|
||||
|
||||
|
|
|
@ -136,16 +136,6 @@ class SystemDialog(ui.ScriptWindow):
|
|||
self.Hide()
|
||||
return True
|
||||
|
||||
def RefreshMobile(self):
|
||||
if self.gameOptionDlg:
|
||||
self.gameOptionDlg.RefreshMobile()
|
||||
#self.optionDialog.RefreshMobile()
|
||||
|
||||
def OnMobileAuthority(self):
|
||||
if self.gameOptionDlg:
|
||||
self.gameOptionDlg.OnMobileAuthority()
|
||||
#self.optionDialog.OnMobileAuthority()
|
||||
|
||||
def OnBlockMode(self, mode):
|
||||
uiGameOption.blockMode = mode
|
||||
if self.gameOptionDlg:
|
||||
|
|
|
@ -1,479 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
|
||||
TEMPORARY_X = +13
|
||||
BUTTON_TEMPORARY_X = 5
|
||||
PVP_X = -10
|
||||
|
||||
LINE_LABEL_X = 30
|
||||
LINE_DATA_X = 90
|
||||
LINE_STEP = 0
|
||||
SMALL_BUTTON_WIDTH = 45
|
||||
MIDDLE_BUTTON_WIDTH = 65
|
||||
|
||||
window = {
|
||||
"name" : "GameOptionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : (258+25),
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : 25*12+8,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 284,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"titlename", "type":"text", "x":0, "y":3,
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
"horizontal_align":"center", "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## À̸§»ö
|
||||
{
|
||||
"name" : "name_color",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 40+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR,
|
||||
},
|
||||
{
|
||||
"name" : "name_color_normal",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_NORMAL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_color_empire",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_EMPIRE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
## Ÿ°Ùâ
|
||||
{
|
||||
"name" : "target_board",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 65+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD,
|
||||
},
|
||||
{
|
||||
"name" : "target_board_no_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_NO_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "target_board_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
## PvP Mode
|
||||
{
|
||||
"name" : "pvp_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 90+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE,
|
||||
},
|
||||
{
|
||||
"name" : "pvp_peace",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*0,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_PEACE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_PEACE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_revenge",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*1,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_REVENGE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_REVENGE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_guild",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*2,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_GUILD,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_GUILD_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_free",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*3,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_FREE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_FREE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
|
||||
## Block
|
||||
{
|
||||
"name" : "block",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 115+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK,
|
||||
},
|
||||
{
|
||||
"name" : "block_exchange_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_EXCHANGE,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_party_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_guild_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_GUILD,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_whisper_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_WHISPER,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_friend_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_FRIEND,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_party_request_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY_REQUEST,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Chat
|
||||
{
|
||||
"name" : "chat",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 165+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Always Show Name
|
||||
{
|
||||
"name" : "always_show_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 190+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Mobile
|
||||
{
|
||||
"name" : "mobile",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 215+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_MOBILE,
|
||||
},
|
||||
{
|
||||
"name" : "input_mobile_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_INPUT_MOBILE_BUTTON,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_mobile_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 90,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_DELETE_MOBILE_BUTTON,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
## Effect On/Off
|
||||
{
|
||||
"name" : "effect_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 240+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_EFFECT,
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## ÆǸŹ®±¸
|
||||
|
||||
{
|
||||
"name" : "salestext_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 265+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT,
|
||||
},
|
||||
{
|
||||
"name" : "salestext_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 265,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "salestext_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 265,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
import uiScriptLocale
|
||||
|
||||
BUTTON_START_X_POS = -60
|
||||
BUTTON_X_STEP = 30
|
||||
BUTTON_X_STEP = 40
|
||||
|
||||
window = {
|
||||
"name" : "MessengerWindow",
|
||||
|
@ -73,28 +73,11 @@ window = {
|
|||
"down_image" : "d:/ymir work/ui/game/windows/messenger_whisper_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_whisper_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "MobileButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*2,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_MOBILE,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_mobile_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_mobile_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_mobile_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_mobile_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "RemoveButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*3,
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*2,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
@ -111,7 +94,7 @@ window = {
|
|||
"name" : "GuildButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*4,
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*3,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
|
|
@ -1,66 +0,0 @@
|
|||
1 WARRIOR 三连斩 快风斩 虎啸风声 以闪电般的速度连续攻击多次,对前方敌人造成巨大伤害 前方范围攻击三次 ATTACK_SKILL|NEED_TARGET|WEAPON_LIMITATION SWORD|TWO_HANDED samyeon 4 34 64 总攻击力 %.0f-%.0f (1.1*MinATK + (0.3*MinATK + 0.5*STR + MinWEP)*SkillPoint) * 3 (1.1*MaxATK + (0.3*MaxATK + 0.5*STR + MaxWEP)*SkillPoint) * 3
|
||||
2 WARRIOR 火焰旋 真炎斩 龙吟裂天 将力量贯注在剑身上,以旋转的方式攻击周围的敌人,产生伤害 前进范围攻击 ATTACK_SKILL|CAN_CHANGE_DIRECTION|WEAPON_LIMITATION SWORD|TWO_HANDED palbang 16 46 76 攻击力 %.0f-%.0f 3*MinATK + (0.8*MinATK + 2*STR + 2*DEX + 3*MinWEP) * SkillPoint 3*MaxATK + (0.8*MaxATK + 2*STR + 2*DEX + 3*MaxWEP) * SkillPoint
|
||||
3 WARRIOR 战魂 金刚怒 破釜沉舟 做为勇士将以牺牲防御为代价来提升可怕的攻击力 提高攻击速度 增加移动速度 受攻击伤害 STANDING_SKILL jeongwi 12 42 72 攻击速度 +%.0f%% 50 * SkillPoint 移动速度 +%.0f%% 20 * SkillPoint 受攻击伤害 %.0f%% 80 * SkillPoint
|
||||
4 WARRIOR 剑气 藏心剑 身剑合一 将真气灌注于武器之上发挥极致威力,产生可怕的伤害 只适用于近身攻击 STANDING_SKILL|WEAPON_LIMITATION SWORD|TWO_HANDED geomgyeong 7 37 67 攻击力 +%.0f (100 + STR) * SkillPoint
|
||||
5 WARRIOR 猛杀 岩碎 石破天惊 使用坚实的身体,快速靠近敌人并猛击对方,产生巨大伤害 突击范围攻击 ATTACK_SKILL|CHARGE_ATTACK|NEED_TARGET|WEAPON_LIMITATION SWORD|TWO_HANDED tanhwan 11 41 71 攻击力 %.0f-%.0f 2*MinATK + (MinATK + 2*DEX + 4*STR + 3*MinWEP)*SkillPoint 2*MaxATK + (MaxATK + 2*DEX + 4*STR + 3*MaxWEP)*SkillPoint
|
||||
16 WARRIOR 飘叶斩 断月波 八风夜雨 飘曳一般快速划出一道弧光,将敌人撕裂 前方范围攻击 ATTACK_SKILL|CAN_CHANGE_DIRECTION|NEED_TARGET|WEAPON_LIMITATION SWORD|TWO_HANDED gigongcham 5 35 65 攻击力 %.0f-%.0f 2.3*MinATK + (MinATK*4 + STR + 3*MinWEP + CON)*SkillPoint 2.3*MaxATK + (MaxATK*4 + STR + 3*MaxWEP + CON)*SkillPoint
|
||||
17 WARRIOR 跳斩 虎跃 龙翔九天 集全身之量于兵刃上,高高跃起,劈向前方,使敌人受到猛烈的攻击 直线范围攻击 ATTACK_SKILL|CAN_CHANGE_DIRECTION|WEAPON_LIMITATION SWORD|TWO_HANDED gyeoksan 3 33 63 攻击力 %.0f-%.0f 2.3*MinATK + (3*MinATK + 2*STR + 2*MinWEP + 3*CON)*SkillPoint 2.3*MaxATK + (3*MaxATK + 2*STR + 2*MaxWEP + 3*CON)*SkillPoint
|
||||
18 WARRIOR 震撼 狮吼 盘古镇天 运起周身真气,产生巨大气流,对周围敌人造成伤害的同时将他们震飞 原地范围攻击 一定概率产生击晕的效果 ATTACK_SKILL|STANDING_SKILL daejin 1 31 61 攻击力 %.0f-%.0f 2*MinATK + (2*MinATK + DEX + CON + 2*STR + 3*MinWEP)*SkillPoint 2*MaxATK + (2*MaxATK + DEX + CON + 2*STR + 3*MaxWEP)*SkillPoint 晕击概率 %.0f%% (100 + 1000*SkillPoint/6)/10
|
||||
19 WARRIOR 千斤坠 铁布衫 固若金汤 瞬间提升防御力,到达一定等级后将稳如泰山,任何猛烈的攻击都无法被打倒。 提升防御力 降低移动速度 STANDING_SKILL cheongeun 10 40 70 防御力 : +%.0f 7+(40 + 0.2*str + 0.5*con)*k 移动速度 : -%.0f 1 + 9*SkillPoint
|
||||
20 WARRIOR 剑风 斩气诀 剑气冲霄 快速挥动手中武器产生强大的气流,以迅雷不及掩耳之势打击敌人 远程攻击 周边范围攻击 击晕效果 击飞敌人 ATTACK_SKILL|CAN_CHANGE_DIRECTION|WEAPON_LIMITATION SWORD|TWO_HANDED geompung 17 47 77 攻击力 %.0f-%.0f 2*minatk + (minatk + 3*(dex + str + MinWEP))*k 2*maxatk + (maxatk + 3*(dex + str + MaxWEP))*k 晕击概率 %.0f (100+k*1000/6)/10
|
||||
31 ASSASSIN 暗袭 隐击 流光诛仙 隐藏自己的行踪,靠近敌人背后,给予致命一击,产生伤害 后方偷袭时提升攻击力 隐身时增加 ATTACK_SKILL|MELEE_ATTACK|NEED_TARGET|WEAPON_LIMITATION DAGGER|DOUBLE_SWORD|SWORD amseup 2 32 62 攻击力 : %.0f-%.0f minatk + (minatk + 500 + 2*(dex + str + 1.5*MinWEP))*k maxatk + (maxatk + 700 + 2*(dex + str + 1.5*MaxWEP))*k
|
||||
32 ASSASSIN 魅影 无影剑 乱影降魔 凭借灵敏的身手,快速接近敌人并给对方以致命一击,防不胜防 瞬间移动攻击 隐身时增加 ATTACK_SKILL|NEED_TARGET|WEAPON_LIMITATION DAGGER|DOUBLE_SWORD|SWORD gungsin 0 30 60 攻击力 %.0f-%.0f (minatk + (1.6*minatk + 200 + 3*(dex + str + 1.5*MinWEP))*k) (maxatk + (1.6*maxatk + 200 + 3*(dex + str + 1.5*MaxWEP))*k)
|
||||
33 ASSASSIN 乾坤旋 舞轮斩 覆雨翻云 倒转身形,以快速旋转的攻击方式攻击敌人,同时得以逃脱。 逃脱时范围攻击 持续毒攻击 ATTACK_SKILL|CAN_CHANGE_DIRECTION|WEAPON_LIMITATION DAGGER|DOUBLE_SWORD|SWORD charyun 6 36 66 攻击力 %.0f-%.0f 2*minatk + (0.5*minatk + dex*7 + str*5 + MinWEP*3)*k 2*maxatk + (0.5*maxatk + dex*7 + str*5 + MaxWEP*3)*k 中毒概率 %.0f%% 1 + 4*k
|
||||
34 ASSASSIN 隐身 千变术 遮天避日 隐藏自己的身形,令敌人无法察觉,更加发挥背后攻击的威力 攻击时解除 STANDING_SKILL eunhyeong 8 38 68 追加伤害值 : +%.0f%% 50 * SkillPoint
|
||||
35 ASSASSIN 毒雾 碧磷烟 含沙射影 在自己周围制造一片浓密的毒雾,任何靠近它的敌人都难免受到毒的侵袭 远程攻击 周边范围攻击 持续毒攻击 ATTACK_SKILL|NEED_TARGET sangong 13 43 73 攻击力 %.0f-%.0f lv*2+(2*minatk + str*3 + dex*14)*k lv*2+(2*maxatk + str*3 + dex*14)*k 中毒概率 %.0f%% 40*k 中毒时间 %.0f秒 5+25*k
|
||||
46 ASSASSIN 连射 贯日箭 气贯长虹 聚集自身的力量,对同一个敌人连续发出多支威力巨大的弩箭,持续造成伤害 远程攻击 多次攻击 ATTACK_SKILL|NEED_TARGET|WEAPON_LIMITATION BOW yeonsa 1 31 61 2 + floor(6 * SkillPoint) 总攻击力 %.0f-%.0f minatk + 0.2*minatk*floor(1+k*6)+ (0.8*minatk+(dex*4 + MinWEP)*ar) *k maxatk + 0.2*maxatk*floor(1+k*6)+ (0.8*maxatk+(dex*4 + MaxWEP)*ar) *k 射%.0f支箭 2 + floor(6 * SkillPoint)
|
||||
47 ASSASSIN 乱箭 雨针箭 千蜂锐刺 一次射出多支弩箭,对前方敌人产生多处伤害,令敌人无法躲避 远程攻击 同时攻击多个对象 ATTACK_SKILL|FAN_RANGE|NEED_TARGET|WEAPON_LIMITATION BOW gwangyeok 5 35 65 2 + floor(6 * SkillPoint) 攻击力 %.0f-%0.f minatk + (minatk + dex + str + 0.5*MinWEP)*k maxatk + (maxatk + dex + str + 0.5*MaxWEP)*k 最大可以攻击%.0f名 2 + floor(6 * SkillPoint)
|
||||
48 ASSASSIN 怒箭 武力箭 神武镇天 箭矢上带有火焰,并贯以强大的力量,灼烧敌人的同时给予伤害 远程攻击 周边范围攻击 火焰攻击 ATTACK_SKILL|NEED_TARGET|WEAPON_LIMITATION BOW hwajo 10 40 70 攻击力 %.0f-%.0f 1.5*minatk + (2.3*minatk)*k 1.5*maxatk + (2.3*maxatk + 100)*k
|
||||
49 ASSASSIN 轻功 神行 踏雪无痕 身轻如燕,可快速的行走,远离敌人的攻击。 提高移动速度 STANDING_SKILL|TOGGLE gyeonggong 3 33 63 移动速度 : +%.0f 60*SkillPoint
|
||||
50 ASSASSIN 毒箭 蚀骨箭 追魂夺命 箭矢上涂有剧毒,无人能解,使敌人中箭的同时受到毒的侵蚀 远程攻击 周边范围攻击 击飞敌人 持续毒攻击 ATTACK_SKILL|NEED_TARGET|WEAPON_LIMITATION BOW gigung 15 45 75 攻击力 %.0f-%.0f minatk + (1.2*minatk + dex*2 + str + MinWEP)*k maxatk + (1.2*maxatk + 100 + dex*2 + str + MaxWEP)*k 中毒概率 %.0f%% 80*k 中毒时间 %.0f秒 15+30*k
|
||||
61 SURA 碎灵指 裂仙爪 天崩地裂 发挥魔指的强大力量,有碎岩切山之力,引起强烈的爆炸,攻击敌人 前方范围攻击 无视对方防御效果 随智力增加伤害 ATTACK_SKILL|MELEE_ATTACK|NEED_TARGET swaeryeong 11 41 71 攻击力 %.0f-%.0f minatk + 2*lv + iq*2 + (2*minatk + str*3 + iq*9 + 5*MinWEP) * k maxatk + 2*lv + iq*2 + (2*maxatk + str*3 + iq*9 + 5*MaxWEP) * k 忽视对方防御概率 %.0f%% 1 + 9*SkillPoint
|
||||
62 SURA 龙卷波 旋风阵 狂神诛仙 借助魔王的力量,召唤猛烈的龙卷风,给周围造成巨大伤害 原地范围攻击 无视对方闪避效果 随智力增加伤害 ATTACK_SKILL|STANDING_SKILL yonggwon 16 46 76 攻击力 %.0f-%.0f 1.1*minatk + 2*lv + 2*iq + (1.5*minatk + 3*MinWEP + iq*6) * k 1.1*maxatk + 2*lv + 2*iq + (1.5*maxatk + 3*MaxWEP + iq*6) * k 忽视对方闪避概率 %.0f%% 1 + 9*SkillPoint
|
||||
63 SURA 剑魔 斩灵剑 屠龙在天 将黑暗的力量贯注于武器中,使它发挥灵气,以增强伤害 近身物理攻击发挥作用 随智力增加伤害 吸血攻击 STANDING_SKILL|TOGGLE|WEAPON_LIMITATION SWORD gwigeom 5 35 65 攻击力 +%.1f 7 + (5*iq+13) * k 把 %.0f%% 伤害值转换成吸收生命力 10*k
|
||||
64 SURA 恐惧 血祭 叱炼狂魔 让敌人感到极度的恐惧,丧失各项能力,变得更加脆弱 降低对方攻击力 对方攻击失败概率增加 受伤害的时候适用 STANDING_SKILL|TOGGLE gongpo 3 33 63 相对攻击力 -%.0f%% 1 + 29*SkillPoint 使对方攻击失败概率 %.0f%% 1 + 29*SkillPoint
|
||||
65 SURA 噬体 魂盾 天魔附体 呼唤魔王的黑暗盔甲,围绕周身保护自己不受侵害 受到伤害时反射一部分伤害 提高防御力 随智力增加伤害 STANDING_SKILL|TOGGLE jumagap 6 36 66 防御力 +%.0f (iq+30)*k 物理攻击反射概率 %.0f%% (iq/4+10)*k
|
||||
66 SURA 驱散 散元术 腐骨销魂 用邪恶的咒语来诅咒敌人,驱散敌人身上的辅助性魔法 远程攻击 周边范围攻击 驱除对方辅助法术 ATTACK_SKILL|NEED_TARGET pabeop 10 40 70 魔法攻击力 %.0f-%.0f 40 + 5*lv + 2*iq + (18*iq + 7*minmtk + 50)*ar*k 40 + 5*lv + 2*iq + (18*iq + 7*maxmtk + 100)*ar*k 消除辅助效果概率 %.0f%% 50*k
|
||||
76 SURA 魔灵 鬼怨 夺魂摄魄 从地狱中吸取怨气,集结成黑暗力量给对方造成伤害 远程攻击 对方周边攻击 ATTACK_SKILL|NEED_TARGET maryeong 1 31 61 魔法攻击力 : %.0f-%.0f 40 + 5*lv + 2*iq + (10*iq + 8*minmtk + 50)*ar*k 40 + 5*lv + 2*iq + (10*iq + 8*maxmtk + 100)*ar*k
|
||||
77 SURA 黑龙咒 狱龙魄 魔龙噬天 从邪恶守护者黑龙体内爆发强烈的火焰,焚烧周围的敌人 原地范围攻击 火焰攻击 ATTACK_SKILL|STANDING_SKILL hwayeom 17 47 77 魔法攻击力 : %.0f-%.0f 5*lv + 2*iq + (7*iq + 8*mtk + str*4 + con*2 + 180)*k 5*lv + 2*iq + (7*iq + 8*mtk + str*4 + con*2 + 200)*k
|
||||
78 SURA 魂灵 魔焰 狱火焚烧 忠诚而邪恶的魔灵,守护着主人,将攻击所有靠近主人的敌人 远程攻击 任意选择攻击对象 周边范围攻击 ATTACK_SKILL|STANDING_SKILL|TOGGLE muyeong 15 45 75 魔法攻击力 : %.0f-%.0f 30 + 2*lv + 2*iq + (9*iq + 7*minmtk + 200)*ar*k 30 + 2*lv + 2*iq + (9*iq + 7*maxmtk + 500)*ar*k
|
||||
79 SURA 黑魔咒 御魂术 天哭地泣 瞬间爆发黑暗力量,产生阻挡一切的气流,在消耗大量精力的同时保护自己 精力值代替生命值受到的伤害 提高防御力 STANDING_SKILL|TOGGLE heuksin 2 32 62 伤害值衰减率 %.0f%% (15 + iq*0.5)*k 防御力 +%.0f (0.5*iq+15)*k
|
||||
80 SURA 束缚 困身 寸步难行 运用恶魔的力量控制丛生的荆棘,对敌人造成影响,降低对方的移动速度 远程攻击 对方周边攻击 移动速度减慢 ATTACK_SKILL|NEED_TARGET tusok 9 39 69 魔法攻击力 : %.0f-%.0f 40 + 2*lv + 2*iq + (2*con + 2*dex + 10*iq + 8*minmtk+ 180)*ar*k 40 + 2 * lv + 2*iq + (2*con + 2*dex + 10*iq + 8*maxmtk + 200)*ar*k 缓慢概率 : %.1f%% (333 + (300 * k))/10 缓慢时间 : %.0f 10 + (10 * SkillPoint)
|
||||
81 SURA 旋魔 血玲珑 乾坤黯然 凌空跃起,将手中的邪恶力量聚集成一道黑色漩涡丢出,攻击远处的敌人 远程攻击 对方周边攻击 ATTACK_SKILL|NEED_TARGET geomhwan 7 37 67 魔法攻击力 %.0f-%.0f 120 + 6*lv + (5*con + 5*dex + 25*iq + 12*minmtk)*ar*k 120 + 6*lv + (5*con + 5*dex + 25*iq + 12*maxmtk)*ar*k
|
||||
91 SHAMAN 灵光 归元波 五彩云霞 聚集天地间的灵气形成五彩光球,给周围的敌人造成巨大的冲击 远程攻击 周边范围攻击 ATTACK_SKILL|FAN_RANGE|NEED_TARGET bipabu 0 30 60 魔法攻击力 : %.0f-%.0f 70 + 4*lv + (15*iq+5*minmtk+50)*ar*k 70 + 4*lv + (15*iq+5*maxmtk+50)*ar*k
|
||||
92 SHAMAN 龙影 龙吟 潜龙傲天 祈祷神龙的保护,在身边浮现出多只龙神的影子,保护自己的同时攻击敌人 直线范围攻击 持续火焰效果 ATTACK_SKILL|NEED_TARGET yongpa 5 35 65 魔法攻击力 : %.0f-%.0f 60 + 5*lv + (15*iq + 6*minmtk + 120)*ar*k 60 + 5*lv + (15*iq + 6*maxmtk + 120)*ar*k 持续火焰概率 %.0f%% iq*0.2*k 持续火焰攻击力 %.0f lv+5*iq *k
|
||||
93 SHAMAN 龙咒 龙啸 千龙摆尾 听到召唤的神龙,借助元神的强大力量,吞噬所有敌人 原地范围攻击 持续火焰效果 ATTACK_SKILL|STANDING_SKILL paeryong 6 36 66 魔法攻击力 %.0f-%.0f 70 + 2*lv + (10*iq+15*minmtk+100)*ar*k 70 + 2*lv + (10*iq+15*maxmtk+100)*ar*k 持续火焰概率 %.0f%% iq*0.2*k 持续火焰攻击力 %.0f lv+5*iq *k
|
||||
94 SHAMAN 结界 天壁 真龙护体 使用龙鳞组成的护甲带有极强的防御力,使得受护者更加安全 抵抗物理攻击 对同伴使用可能 CAN_USE_FOR_ME|NEED_TARGET|ONLY_FOR_ALLIANCE hosin 4 34 64 物理攻击抵抗 : %.1f%% (iq*0.3+5)*(2*k+0.5)/(k+1.5)
|
||||
95 SHAMAN 倒影阵 水镜阵 天罡正气 如镜一般的护盾保护着使用者,将反弹敌人的攻击,不受伤害 反射物理攻击 对同伴使用可能 CAN_USE_FOR_ME|NEED_TARGET|ONLY_FOR_ALLIANCE boho 14 44 74 物理攻击反射概率 %.1f%% 5+(iq*0.3 + 5)*k
|
||||
96 SHAMAN 凝神 天龙魂 龙神圣威 借助龙神的力量与斗志,增强自身的攻击力 致命攻击 对同伴使用可能 CAN_USE_FOR_ME|NEED_TARGET|ONLY_FOR_ALLIANCE gicheon 12 42 72 致命打击概率 : %.1f%% (iq*0.3+5)*(2*k+0.5)/(k+1.5)
|
||||
106 SHAMAN 落雷 惊天雷 电闪雷鸣 神女借助天神的威力,给予敌人强大的电击伤害 远程攻击 周边范围攻击 电属性伤害 ATTACK_SKILL|NEED_TARGET noejeon 23 53 83 魔法攻击力 : %.0f-%.0f 60 + 4*lv + (3*iq+8*minmtk+iq*5)*ar*k 60 + 4*lv + (3*iq+8*maxmtk+iq*15)*ar*k
|
||||
107 SHAMAN 劈雷 燎闪 晴天霹雳 雷神的守护给予神女强大的支配能力,使其具有强大的雷电攻击能力 远程攻击 周边范围攻击 电属性伤害 击晕效果 ATTACK_SKILL|NEED_TARGET byeorak 17 47 77 魔法攻击力 %.0f-%.0f 40 + 3*lv + (3*iq+12*mtk+iq*5)*ar*k 40 + 4*lv + (3*iq+12*maxmtk+iq*16)*ar*k 晕击概率 %.0f%% (50+1000*k/6)/10
|
||||
108 SHAMAN 暴雷 怒天雷 五雷轰顶 飞箭一般的雷电,不断穿梭于敌人之中,由此产生持久的的伤害 远程攻击 电属性 连续攻击周边敌人 ATTACK_SKILL|NEED_TARGET pokroe 7 37 67 魔法攻击力 : %.0f-%.0f (50 + 5*lv + (6*iq+6*minmtk+1)*ar*k) (50 + 5*lv + (6*iq+6*maxmtk+800)*ar*k)
|
||||
109 SHAMAN 光浴 光神 佛光普照 大地之母给予使用者更多的精力来帮助恢复生命,免除死亡的威胁 恢复生命力 恢复异常状态 对同伴使用可能 CAN_USE_FOR_ME|NEED_TARGET|ONLY_FOR_ALLIANCE jeongeop 2 32 62 生命力恢复 %.0f-%.0f 200+4*lv+(10*iq+6*minmtk+600)*k 200+4*lv+(10*iq+6*maxmtk+800)*k 恢复异常状态概率 %.0f%% 20+80*k
|
||||
110 SHAMAN 飘仙 轻衣 飘渺踏云 乘风而飘,如同仙履,增加移动速度 提高移动速度 减少诅咒时间 对同伴使用可能 CAN_USE_FOR_ME|NEED_TARGET|ONLY_FOR_ALLIANCE kwaesok 9 39 69 移动速度 +%.0f%% 5 + (35 * k) 释放速度 +%.0f%% 3+33*k
|
||||
111 SHAMAN 神曲 强魄术 魂雷圣体 犹如神韵,激发潜能,产生更大的爆发力,提高对敌人的伤害 提高基本攻击力 对同伴使用可能 CAN_USE_FOR_ME|NEED_TARGET|ONLY_FOR_ALLIANCE jeungryeok 29 59 89 攻击力 : +%.1f 5+(iq*0.2 + 15)*k
|
||||
121 SUPPORT 统帅 提升领导能力,提高组队效率 PASSIVE tongsol
|
||||
122 SUPPORT 招式 增加招式变化,增加攻击次数 CANNOT_LEVEL_UP|TOGGLE combo
|
||||
123 SUPPORT 钓鱼 提高钓鱼能力,更容易捕捉到鱼 CANNOT_LEVEL_UP fishing
|
||||
124 SUPPORT 采矿 提升采矿能力,更容易采集到高级矿石 CANNOT_LEVEL_UP|PASSIVE mining
|
||||
125 SUPPORT 锻造 提升锻造能力,制作更多的物品 CANNOT_LEVEL_UP|PASSIVE making
|
||||
126 SUPPORT 唐文宝典 提升盛唐国语言的理解力. CANNOT_LEVEL_UP|PASSIVE language1
|
||||
127 SUPPORT 秦文宝典 提升秦皇国语言的理解力. CANNOT_LEVEL_UP|PASSIVE language2
|
||||
128 SUPPORT 汉文宝典 提升汉武国语言的理解力. CANNOT_LEVEL_UP|PASSIVE language3
|
||||
129 SUPPORT 幻化 角色将随机变幻成怪物的形态,并拥有一些额外的属性. CANNOT_LEVEL_UP|PASSIVE polymorph
|
||||
130 SUPPORT 骑乘 骑马的能力 CANNOT_LEVEL_UP|PASSIVE riding
|
||||
131 SUPPORT 召唤 召唤马匹 summon 10
|
||||
137 HORSE 追风斩 骑马奔跑并攻击周围的敌人 马背技能 HORSE_SKILL|MOVING_SKILL|WEAPON_LIMITATION SWORD|TWO_HANDED|DAGGER|DOUBLE_SWORD|FAN|BELL wildattack 121 121 121 50
|
||||
138 HORSE 摧敌讨 击倒前方拦截的敌人 马背技能 HORSE_SKILL|SEARCH_TARGET|CHARGE_ATTACK charge 122 122 122 52
|
||||
139 HORSE 威陵破 攻击周围的敌人 马背技能 HORSE_SKILL|WEAPON_LIMITATION SWORD|TWO_HANDED|DAGGER|DOUBLE_SWORD|BOW|FAN|BELL splash 123 123 123 55
|
||||
140 HORSE 秋叶乱箭 射向拦截的前方敌人 马背技能 ATTACK_SKILL|FAN_RANGE|NEED_TARGET|HORSE_SKILL|WEAPON_LIMITATION BOW wildattack 121 121 121 5 50
|
||||
151 GUILD 龙魂 增加最大龙神力,能够更好的使用帮会技能 PASSIVE yongan 最大龙神力 +%.0f k * 1400
|
||||
152 GUILD 龙血 暂时提升帮会成员的最大生命值 帮会战专用 ONLY_FOR_GUILD_WAR gaho 101 最大生命值上升 +%.0f%% k * 20
|
||||
153 GUILD 龙神 暂时提升帮会成员的最大精力值 帮会战专用 ONLY_FOR_GUILD_WAR chukbok 102 最大精力值上升 +%.0f%% k * 20
|
||||
154 GUILD 龙铠 暂时提升帮会成员的防御力 帮会战专用 ONLY_FOR_GUILD_WAR seonghwi 103 防御力上升 +%.1f%% k * 10
|
||||
155 GUILD 龙腾 暂时提升帮会成员的攻击速度和移动速度 帮会战专用 ONLY_FOR_GUILD_WAR gasok 104 攻击,移动速度上升 +%.1f%% k * 15
|
||||
156 GUILD 龙怒 暂时提升帮会成员的双倍伤害的概率 帮会战专用 ONLY_FOR_GUILD_WAR bunno 105 双倍伤害概率 +%.0f%% k * 50
|
||||
157 GUILD 龙佑 暂时缩短帮会成员的技能释放时间 帮会战专用 ONLY_FOR_GUILD_WAR jumunsul 106 释放速度上升 +%.0f%% k * 50
|
|
@ -1,75 +0,0 @@
|
|||
1 삼연참 1 1 1 0 HP -(1.1*atk + (0.3*atk + 0.5 *str + wep)*k) 40+100*k 15 ATTACK,USE_MELEE_DAMAGE NONE 0 0 MELEE 5 1 0 0
|
||||
2 팔방풍우 1 1 1 0 HP -(3*atk + (0.8*atk + str*2 + dex*2 + wep*3)*k) 50+130*k 20 ATTACK,USE_MELEE_DAMAGE NONE 0 0 MELEE 12 0.8 0 0
|
||||
3 전귀혼 1 1 1 0 ATT_SPEED 50*k 50+140*k 60+90*k 60+20*k SELFONLY 14 MOV_SPEED 20*k 60+90*k 0 0 NORMAL 1 1 0 0
|
||||
4 검경 1 1 1 0 ATT_GRADE (100+str)*k 100+200*k 30+50*k 40+20*k SELFONLY 15 NONE 0 0 NORMAL 1 1 0 0
|
||||
16 기공참 1 1 1 0 HP -(2.3*atk + (4*atk + str + wep*3 + con)*k) 60+120*k 15 ATTACK,USE_MELEE_DAMAGE NONE 0 0 MELEE 4 0.8 0 0
|
||||
17 격산타우 1 1 1 0 HP -(2.3*atk + (3*atk + str*2 + wep*2 + con*3)*k) 60+150*k 15 ATTACK,USE_MELEE_DAMAGE NONE 0 0 MELEE 8 0.8 0 0
|
||||
18 대진각 1 1 1 0 HP -(2*atk + (2*atk + dex + con + str*2 + wep*3)*k) 50+140*k 25 ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,ATTACK_STUN NONE 100+k*1000/6 2 0 0 MELEE 10 0.8 0 400
|
||||
19 천근추 1 1 1 0 DEF_GRADE 7+(40 + str*0.2 + con*0.5) *k 80+220*k 60+90*k 40+40*k SELFONLY 16 MOV_SPEED -(1+9*k) 60+90*k 0 0 NORMAL 1 1 0 0
|
||||
47 관격술 2 1 1 0 HP -(atk + (atk + dex + str + 0.5*wep)*k) 30+130*k 12 ATTACK,USE_ARROW_DAMAGE NONE 0 0 RANGE 8 1 2500 0
|
||||
48 화조파 2 1 1 0 HP -(1.5*atk + (2.3*atk + number(0, 100))*k) 50+130*k 25 ATTACK,SPLASH,USE_ARROW_DAMAGE NONE 0 0 RANGE 12 0.6 2500 300
|
||||
46 연사 2 1 1 0 HP -(atk + 0.2*atk*floor(1+k*6) + (0.8*atk+(dex*4+wep)*ar) * k) 40+130*k 15 ATTACK,USE_ARROW_DAMAGE NONE 0 0 RANGE 1 1 2500 0
|
||||
49 경공술 2 1 1 0 MOV_SPEED 60*k 30+40*k 15+30*k 30+30*k SELFONLY 17 NONE 0 0 NORMAL 1 1 0 0
|
||||
31 암습 2 1 1 0 HP -(atk + (atk + number(500, 700) + 2*(dex + str + 1.5*wep))*k) 40+160*k 15 ATTACK,USE_MELEE_DAMAGE NONE 0 0 MELEE 6 0.8 0 0
|
||||
32 궁신탄영 2 1 1 0 HP -(atk + (1.6*atk + number(200,300) + 3*(dex + str + 1.5*wep))*k) 40+160*k 20 ATTACK,USE_MELEE_DAMAGE NONE 0 0 MELEE 6 0.8 800 0
|
||||
33 차륜살 2 1 1 0 HP -(2*atk + (0.5*atk + dex*7 + str*5 + wep*3)*k) 50+140*k 25 ATTACK,USE_MELEE_DAMAGE,ATTACK_POISON NONE 40*k 0 0 MELEE 12 0.8 0 0
|
||||
34 은형법 2 1 1 0 NONE 30+60*k 15+30*k 60 SELFONLY 18 NONE 0 0 NORMAL 1 1 0 0
|
||||
76 마령 3 1 1 0 HP -(40 +5*lv + 2*iq +(10*iq + 8*mtk + number(50,100))*ar*k) 30+140*k 7 ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH NONE 0 0 MAGIC 5 0.6 1500 200
|
||||
77 화염폭 3 1 1 0 HP -(5*lv + 2*iq+(7*iq + 8*mtk + str*4 + con*2 + number(180,200))*k) 60+140*k 12 ATTACK,SELFONLY,COMPUTE_MAGIC_DAMAGE,SPLASH NONE 0 0 MAGIC 15 0.8 0 500
|
||||
78 무영진 3 1 1 0 HP -(30 + 2*lv + iq + (3*iq + 8*mtk + number(iq*2,iq*6))*ar*k) 20+30*k 40+30*k 5+40*k 0 ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,TOGGLE NONE 0 0 MAGIC 1 1 800 0
|
||||
80 투속마령 3 1 1 0 HP -(40 + 2*lv + 2*iq + (2 * con + 2 * dex + 10*iq + 8*mtk + number(180, 200))*ar*k) 40+120*k 12 ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,ATTACK_SLOW NONE 333+300*k 10+10*k 0 0 MAGIC 9 0.8 1200 400
|
||||
61 쇄령지 3 1 1 0 HP -(atk + 2*lv + iq*2 + (2*atk + 3*str + 9*iq + 5*wep) * k) 30+140*k 10 ATTACK,USE_MELEE_DAMAGE,PENETRATE NONE 1+k*9 0 0 MELEE 4 1 0 0
|
||||
62 용권파 3 1 1 0 HP -(1.1 * atk + 2*lv + iq*2+(1.5*atk + 3*wep + iq*6) * k) 50+150*k 15 ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,IGNORE_TARGET_RATING NONE 1+k*9 0 0 MELEE 12 1 0 500
|
||||
63 귀검 3 1 1 0 ATT_GRADE 7+(5*iq+13) * k 20+220*k 50+100*k 2+23*k 0 SELFONLY,TOGGLE 19 HIT_HP_RECOVER 10*k 50+80*k 0 0 NORMAL 1 1 0 0
|
||||
64 공포 3 1 1 0 DODGE 1 + 29 * k 60+120*k 60+100*k 100 SELFONLY 20 NONE 0 0 NORMAL 1 1 0 0
|
||||
65 주마갑 3 1 1 0 DEF_GRADE (iq+30)*k 70+170*k 30+120*k 40+140*k SELFONLY 21 REFLECT_MELEE (iq/4+10)*k 30+120*k 0 0 NORMAL 1 1 0 0
|
||||
92 용파산 4 1 1 0 HP -(60 + 5*lv + (16*iq + 8*mtk + 120)*ar*k) 50+160*k 8 ATTACK,ATTACK_FIRE_CONT NONE lv+5*iq *k iq*0.2*k 0 0 MAGIC 10 0.8 0 0
|
||||
93 패룡폭 4 1 1 0 HP -(70 + 2*lv + (12*iq+20*mtk+100)*ar*k) 50+160*k 20 ATTACK,SELFONLY,SPLASH,ATTACK_FIRE_CONT NONE lv+5*iq *k iq*0.2*k 0 0 MAGIC 15 0.8 0 500
|
||||
94 호신 4 1 1 0 RESIST_NORMAL (iq*0.3+5)*(2*k+0.5)/(k+1.5) 40+160*k 60+200*k 10 22 NONE 0 0 NORMAL 1 1 800 0
|
||||
95 반사 4 1 1 0 REFLECT_MELEE 5+(iq*0.3 + 5)*k 40+160*k 60+200*k 10 23 NONE 0 0 NORMAL 1 1 0 0
|
||||
106 뇌전령 4 1 1 0 HP -(60 + 4*lv + (4*iq+11*mtk+number(iq*5,iq*15))*ar*k) 30+150*k 7 ATTACK,SPLASH NONE 0 0 MAGIC 5 0.6 1800 200
|
||||
107 벼락 4 1 1 0 HP -(40 + 4*lv + (6*iq+12*mtk+number(iq*5,iq*16))*ar*k) 50+150*k 15 ATTACK,SPLASH,ATTACK_STUN NONE 50+1000*k/6 5 0 0 MAGIC 15 0.8 1500 400
|
||||
108 폭뢰격 4 1 1 0 HP -(50 + 5*lv + (6*iq+6*mtk+number(1,800))*ar*k * (1-chain*0.2) * (1-sign(chain)*0.4)) 40+180*k 10 ATTACK NONE 0 0 MAGIC 7 0.8 2500 0
|
||||
109 정업인 4 1 1 0 HP 200+4*lv+(10*iq+6*mtk+number(600,800))*k 40+200*k 10 REMOVE_BAD_AFFECT NONE 20+80*k 0 0 0 NORMAL 1 1 1000 0
|
||||
110 쾌속 4 1 1 0 MOV_SPEED 5 + 35*k 60+120*k 60+100*k 10 24 CASTING_SPEED 3+33*k 60+100*k 0 0 NORMAL 1 1 1000 0
|
||||
79 흑신수호 3 1 1 0 DEF_GRADE (0.5*iq+15)*k 20+30*k 60+120*k 5+10*k 0 SELFONLY,TOGGLE 25 MANASHIELD 100-((iq*0.84)*k) 60+120*k 0 0 MAGIC 1 0.8 0 0
|
||||
151 용안 0 1 7 0 NONE NONE 0 0 NORMAL 0 1 0 0
|
||||
152 용신의피 0 1 7 0 MAX_HP maxhp*0.2*k 150+150*k 300 600 NONE 0 0 NORMAL 0 1 0 0
|
||||
153 용신의축복 0 1 7 0 MAX_SP maxsp*0.2*k 150+150*k 300 600 NONE 0 0 NORMAL 0 1 0 0
|
||||
154 성휘갑 0 1 7 0 DEF_GRADE odef*0.1*k 150+150*k 180 480 NONE 0 0 NORMAL 0 1 0 0
|
||||
155 가속화 0 1 7 0 MOV_SPEED 15*k 150+150*k 180 480 ATT_SPEED 15*k 180 0 0 NORMAL 0 1 0 0
|
||||
156 용신의분노 0 1 7 0 CRITICAL 50*k 150+150*k 180 480 SELFONLY NONE 0 0 NORMAL 0 1 0 0
|
||||
157 주문술 0 1 7 0 CASTING_SPEED 50*k 150+150*k 180 480 SELFONLY NONE 0 0 NORMAL 0 1 0 0
|
||||
158 길드이동 0 1 3 0 NONE SELFONLY NONE 0 0 NORMAL 0 1 0 0
|
||||
159 공간의문 0 1 5 0 NONE SELFONLY NONE 0 0 NORMAL 0 1 0 0
|
||||
160 가속화 0 1 5 0 NONE 3*k 80-12*k 300 SELFONLY NONE 0 0 NORMAL 0 1 0 0
|
||||
161 공간의문 0 1 2 0 NONE 50 NONE 0 0 NORMAL 0 1 0 0
|
||||
162 공간이동 0 1 2 0 NONE 20 NONE 0 0 NORMAL 0 1 0 0
|
||||
91 비파부 4 1 1 0 HP -(70 + 4*lv + (11*iq+12*mtk+50)*ar*k) 30+160*k 7 ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH NONE 0 0 MAGIC 5 0.5 1800 0
|
||||
5 탄환격 1 1 1 0 HP -(2*atk + (atk + dex*2 + str*4 + wep*3)*k) 60+120*k 20 ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH MOV_SPEED 150 3 0 0 MELEE 4 1 0 200
|
||||
20 검풍 1 1 1 0 HP -(2*atk + (atk + 3*(dex+str+wep))*k) 40+120*k 20 ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH NONE 0 0 MELEE 10 0.5 1200 200
|
||||
35 산공분 2 1 1 0 HP -(lv*2+(2*atk + str*3 + dex*14)*k) 40+130*k 25 ATTACK,USE_MELEE_DAMAGE,SPLASH,ATTACK_POISON NONE 60*k 5+25*k 0 0 MAGIC 0 0.5 800 200
|
||||
50 독기궁 2 1 1 0 HP -(atk + (1.2*atk + number(0, 100)+dex*2+str+wep)*k) 40+160*k 25 ATTACK,SPLASH,USE_ARROW_DAMAGE,CRUSH,ATTACK_POISON NONE 80*k 15+30*k 0 0 RANGE 12 0.5 2500 300
|
||||
66 파법술 3 1 1 0 HP -(40 +5*lv + 2*iq+(18*iq + 7*mtk + number(50,100) )*ar*k) 30+120*k 12 ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH,REMOVE_GOOD_AFFECT NONE 10+40*k 7+23*k 0 0 NORMAL 5 0.6 1800 200
|
||||
81 마환격 3 1 1 0 HP -(120 + 6*lv + (5*con + 5*dex + 25*iq + 12*mtk)*ar*k) 80+220*k 24 ATTACK,COMPUTE_MAGIC_DAMAGE,SPLASH NONE 0 0 MAGIC 9 0.4 1500 200
|
||||
96 기천대공 4 1 1 0 CRITICAL (iq*0.3+5)*(2*k+0.5)/(k+1.5) 40+160*k 60+100*k 10 29 NONE 0 0 NORMAL 1 1 1000 0
|
||||
111 증력술 4 1 1 0 ATT_GRADE 5+(iq*0.2 +15)*k 60+120*k 60+100*k 10 30 NONE 0 0 NORMAL 1 1 1000 0
|
||||
121 통솔력 0 1 40 0 NONE NONE 0 0 NORMAL 0 1 0 0
|
||||
122 연계기 0 1 2 0 NONE DISABLE_BY_POINT_UP NONE 0 0 NORMAL 0 1 0 0
|
||||
126 신수어 0 1 1 0 NONE DISABLE_BY_POINT_UP NONE 0 0 NORMAL 0 1 0 0
|
||||
127 천조어 0 1 1 0 NONE DISABLE_BY_POINT_UP NONE 0 0 NORMAL 0 1 0 0
|
||||
128 진노어 0 1 1 0 NONE DISABLE_BY_POINT_UP NONE 0 0 NORMAL 0 1 0 0
|
||||
125 변신 0 1 40 0 NONE 10+1000*k NONE 0 0 NORMAL 0 1 1000 0
|
||||
256 CRUSH200스킬 0 1 1 0 HP -5*k*atk 2 ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH NONE 0 0 MELEE 0 1 0 300
|
||||
257 일반범위350스킬 0 1 1 0 HP -5*k*atk 5 ATTACK,USE_MELEE_DAMAGE,SPLASH NONE 0 0 MELEE 0 1 0 525
|
||||
258 CRUSH300스킬 0 1 1 0 HP -5*k*atk 7 ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH NONE 0 0 MELEE 0 1 0 450
|
||||
259 일반범위200스킬 0 1 1 0 HP -5*k*atk 9 ATTACK,USE_MELEE_DAMAGE,SPLASH NONE 0 0 MELEE 0 1 0 300
|
||||
260 CURSH400스킬 0 1 1 0 HP -5*k*atk 10 ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH NONE 0 0 MELEE 0 1 0 600
|
||||
261 독250스킬 0 1 1 0 HP -5*k*atk 9 ATTACK,USE_MELEE_DAMAGE,SPLASH,ATTACK_POISON NONE 80 0 0 MELEE 0 1 0 375
|
||||
262 SLOW300스킬 0 1 1 0 HP -5*k*atk 12 ATTACK,USE_MELEE_DAMAGE,SPLASH MOV_SPEED -20 10 0 0 MELEE 0 1 0 450
|
||||
130 승마 0 1 1 0 NONE DISABLE_BY_POINT_UP NONE 0 0 NORMAL 0 1 0 0
|
||||
137 난무 5 1 1 50 HP -(3*atk) 60+80*k 5 ATTACK,USE_MELEE_DAMAGE,CRUSH NONE 0 0 MELEE 10 1 300 0
|
||||
138 돌격 5 1 1 52 HP -(3*atk) 60+80*k 5 ATTACK,USE_MELEE_DAMAGE,SPLASH MOV_SPEED 50 5 0 0 MELEE 6 1 400 100
|
||||
139 탈출 5 1 1 55 HP -(3*atk) 60+80*k 5 ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,CRUSH NONE 0 0 MELEE 12 1 400 250
|
||||
140 난무(활) 5 1 1 50 HP -(3*atk) 60+80*k 5 ATTACK,USE_ARROW_DAMAGE,CRUSH NONE 0 0 5 1 2500 0
|
||||
131 말소환 0 1 10 0 NONE NONE 0 0 NORMAL 0 1 0 0
|
|
@ -1,110 +0,0 @@
|
|||
map_a2 256000 665600 6 6
|
||||
map_b2 102400 51200 6 6
|
||||
map_c2 665600 281600 6 6
|
||||
map_n_snowm_01 358400 153600 6 6
|
||||
metin2_map_a1 409600 896000 4 5
|
||||
metin2_map_a3 307200 819200 4 4
|
||||
metin2_map_b1 0 102400 4 5
|
||||
metin2_map_b3 102400 204800 4 4
|
||||
metin2_map_c1 921600 204800 4 5
|
||||
metin2_map_c3 819200 204800 4 4
|
||||
metin2_map_deviltower1 128000 793600 3 3
|
||||
metin2_map_milgyo 537600 51200 4 4
|
||||
metin2_map_n_desert_01 204800 486400 6 6
|
||||
metin2_map_n_flame_01 588800 614400 6 6
|
||||
metin2_map_spiderdungeon 51200 486400 3 3
|
||||
metin2_map_spiderdungeon_02 665600 435200 4 4
|
||||
metin2_map_t1 0 25600 3 3
|
||||
metin2_map_t2 6400 0 1 1
|
||||
metin2_map_t3 32000 0 1 1
|
||||
metin2_map_t4 57600 0 1 1
|
||||
metin2_map_t5 793600 0 1 1
|
||||
metin2_map_monkeydungeon 819200 51200 3 3
|
||||
metin2_map_monkeydungeon 768000 435200 3 3
|
||||
metin2_map_monkeydungeon 844800 435200 3 3
|
||||
metin2_map_monkeydungeon 921600 435200 3 3
|
||||
metin2_map_monkeydungeon_02 128000 640000 3 3
|
||||
metin2_map_monkeydungeon_03 128000 716800 3 3
|
||||
metin2_map_wedding_01 819200 0 1 1
|
||||
metin2_map_guild_01 128000 0 2 2
|
||||
metin2_map_guild_02 179200 0 2 2
|
||||
metin2_map_guild_03 230400 0 2 2
|
||||
metin2_map_trent 281600 0 2 2
|
||||
metin2_map_trent02 1049600 0 4 4
|
||||
gm_guild_build 83200 0 1 1
|
||||
metin2_map_duel 844800 0 1 1
|
||||
season1/metin2_map_WL_01 1049600 716800 6 6
|
||||
season1/metin2_map_nusluck01 819200 716800 4 4
|
||||
season1/metin2_map_oxevent 870400 0 2 2
|
||||
season1/metin2_map_sungzi 921600 0 2 2
|
||||
metin2_map_bf 972800 0 2 2
|
||||
metin2_map_bf_02 921600 51200 2 2
|
||||
metin2_map_bf_03 972800 51200 2 2
|
||||
metin2_map_sungzi_flame_pass01 1024000 102400 4 4
|
||||
metin2_map_sungzi_flame_pass02 1024000 204800 4 4
|
||||
metin2_map_sungzi_flame_pass03 1024000 307200 4 4
|
||||
season1/metin2_map_sungzi_flame_hill_01 1126400 102400 2 4
|
||||
season1/metin2_map_sungzi_flame_hill_02 1126400 204800 2 4
|
||||
season1/metin2_map_sungzi_flame_hill_03 1126400 307200 2 4
|
||||
season1/metin2_map_sungzi_snow 1152000 0 3 3
|
||||
season1/metin2_map_sungzi_snow_pass01 1177600 102400 2 4
|
||||
season1/metin2_map_sungzi_snow_pass02 1177600 204800 2 4
|
||||
season1/metin2_map_sungzi_snow_pass03 1177600 307200 2 4
|
||||
season1/metin2_map_sungzi_desert_01 1228800 0 4 4
|
||||
season1/metin2_map_sungzi_desert_hill_01 1228800 102400 2 4
|
||||
season1/metin2_map_sungzi_desert_hill_02 1228800 204800 2 4
|
||||
season1/metin2_map_sungzi_desert_hill_03 1228800 307200 2 4
|
||||
season1/metin2_map_sungzi_milgyo 1331200 0 3 3
|
||||
season1/metin2_map_sungzi 1408000 0 3 3
|
||||
season1/metin2_map_sungzi_snow 1484800 0 3 3
|
||||
season1/metin2_map_sungzi_desert_01 1561600 0 3 3
|
||||
season1/metin2_map_sungzi_milgyo_pass01 1280000 102400 2 4
|
||||
season1/metin2_map_sungzi_milgyo_pass02 1280000 204800 2 4
|
||||
season1/metin2_map_sungzi_milgyo_pass03 1280000 307200 2 4
|
||||
season1/metin2_map_sungzi_flame_hill_01 1331200 102400 2 4
|
||||
season1/metin2_map_sungzi_flame_hill_02 1331200 204800 2 4
|
||||
season1/metin2_map_sungzi_flame_hill_03 1331200 307200 2 4
|
||||
season1/metin2_map_sungzi_snow_pass01 1382400 102400 2 4
|
||||
season1/metin2_map_sungzi_snow_pass02 1382400 204800 2 4
|
||||
season1/metin2_map_sungzi_snow_pass03 1382400 307200 2 4
|
||||
season1/metin2_map_sungzi_desert_hill_01 1433600 102400 2 4
|
||||
season1/metin2_map_sungzi_desert_hill_02 1433600 204800 2 4
|
||||
season1/metin2_map_sungzi_desert_hill_03 1433600 307200 2 4
|
||||
season1/metin2_map_ew02 256000 51200 4 4
|
||||
season2/metin2_map_empirewar01 972800 102400 2 2
|
||||
season2/metin2_map_empirewar02 921600 153600 2 2
|
||||
season2/metin2_map_empirewar03 972800 153600 2 2
|
||||
season2/map_n_snowm_02 0 1049600 6 6
|
||||
season2/metin2_map_milgyo_a 153600 1049600 4 4
|
||||
season2/metin2_map_n_desert_02 307200 1049600 6 6
|
||||
season2/metin2_map_n_flame_02 460800 1049600 6 6
|
||||
season2/metin2_map_a2_1 614400 1049600 6 6
|
||||
season2/metin2_map_trent_a 768000 1049600 2 2
|
||||
season2/metin2_map_trent02_a 921600 1049600 3 3
|
||||
season2/metin2_map_skipia_dungeon_01 0 1203200 6 6
|
||||
metin2_map_skipia_dungeon_02 153600 1203200 6 6
|
||||
season2/metin2_map_skipia_dungeon_01 0 1356800 6 6
|
||||
season2/metin2_map_skipia_dungeon_01 0 1510400 6 6
|
||||
season2/metin2_map_skipia_dungeon_01 0 1664000 6 6
|
||||
metin2_map_skipia_dungeon_02 153600 1356800 6 6
|
||||
metin2_map_skipia_dungeon_02 153600 1510400 6 6
|
||||
metin2_map_skipia_dungeon_02 153600 1664000 6 6
|
||||
season2/metin2_map_empirewar01 665600 230400 2 2
|
||||
season2/metin2_map_empirewar02 716800 230400 2 2
|
||||
season2/metin2_map_empirewar03 768000 230400 2 2
|
||||
season1/metin2_map_oxevent 742400 0 2 2
|
||||
metin2_map_skipia_dungeon_boss 819200 1049600 2 2
|
||||
metin2_map_skipia_dungeon_boss 819200 1100800 2 2
|
||||
metin2_map_skipia_dungeon_boss2 819200 1152000 2 2
|
||||
metin2_map_skipia_dungeon_boss 819200 1203200 2 2
|
||||
metin2_map_devilsCatacomb 307200 1203200 8 8
|
||||
metin2_map_spiderdungeon_03 51200 563200 3 3
|
||||
Metin2_map_CapeDragonHead 1024000 1664000 6 6
|
||||
metin2_map_Mt_Thunder 1126400 1510400 4 6
|
||||
metin2_map_dawnmistwood 1177600 1664000 7 4
|
||||
metin2_map_BayBlackSand 1049600 1510400 3 6
|
||||
metin2_guild_village_01 204800 204800 2 2
|
||||
metin2_guild_village_02 614400 384000 2 2
|
||||
metin2_guild_village_03 256000 819200 2 2
|
||||
metin2_map_n_flame_dungeon_01 742400 614400 3 3
|
||||
metin2_map_n_snow_dungeon_01 512000 153600 4 3
|
|
@ -1,107 +0,0 @@
|
|||
FolderName "pack"
|
||||
|
||||
List ExcludedFolderNameList
|
||||
{
|
||||
"CVS"
|
||||
}
|
||||
List ExcludedFileNameList
|
||||
{
|
||||
"vssver.scc"
|
||||
"syserr.txt"
|
||||
"soundscript.txt"
|
||||
"log.txt"
|
||||
"Test.py"
|
||||
"Prototype[OffLine].py"
|
||||
"loginInfo.py"
|
||||
"error_lookup.py"
|
||||
"errorlog.txt"
|
||||
"makepackscript.txt"
|
||||
"makepackscript_onlyroot.txt"
|
||||
"moviemakepackscript.txt"
|
||||
"build_mottable.py"
|
||||
"uitest.py"
|
||||
"packall.txt"
|
||||
"packitem.txt"
|
||||
"packpc.txt"
|
||||
"packroot.txt"
|
||||
"test.txt"
|
||||
"test2.txt"
|
||||
"quest_test.py"
|
||||
}
|
||||
List SecurityExtNameList
|
||||
{
|
||||
"txt"
|
||||
"msk"
|
||||
"msa"
|
||||
"msm"
|
||||
"py"
|
||||
}
|
||||
List CompressExtNameList
|
||||
{
|
||||
"txt"
|
||||
"msk"
|
||||
"mss"
|
||||
"mse"
|
||||
"msf"
|
||||
"msa"
|
||||
"spt"
|
||||
"atr"
|
||||
"dds"
|
||||
"raw"
|
||||
"wtr"
|
||||
"mde"
|
||||
"tga"
|
||||
}
|
||||
|
||||
Group RootPackItemList
|
||||
{
|
||||
Group ItemProto
|
||||
{
|
||||
FileName "*item_proto"
|
||||
Fixed TRUE
|
||||
}
|
||||
Group mob_proto
|
||||
{
|
||||
FileName "*mob_proto"
|
||||
Fixed TRUE
|
||||
}
|
||||
Group TextureSet
|
||||
{
|
||||
FileName "TextureSet/*.txt"
|
||||
Fixed TRUE
|
||||
}
|
||||
Group TextFiles
|
||||
{
|
||||
FileName "*.txt"
|
||||
Fixed TRUE
|
||||
}
|
||||
Group TextFiles
|
||||
{
|
||||
FileName "*.tbl"
|
||||
Fixed TRUE
|
||||
}
|
||||
Group PythonFiles
|
||||
{
|
||||
FileName "*.py"
|
||||
Fixed TRUE
|
||||
}
|
||||
Group KoreanFiles
|
||||
{
|
||||
FileName "*.cvt"
|
||||
Fixed TRUE
|
||||
}
|
||||
Group ModelFiles
|
||||
{
|
||||
FileName "*.msm"
|
||||
Fixed TRUE
|
||||
}
|
||||
}
|
||||
|
||||
Group PackList
|
||||
{
|
||||
Group UIScript
|
||||
{
|
||||
PathName "UIScript/*"
|
||||
Fixed TRUE
|
||||
}
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
del pack\root.* pack\uiscript.*
|
||||
MakePack.exe MakePackScript_OnlyRoot.txt
|
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.2 KiB |
|
@ -1,62 +0,0 @@
|
|||
import dbg
|
||||
import app
|
||||
import locale
|
||||
import wndMgr
|
||||
import systemSetting
|
||||
import mouseModule
|
||||
import networkModule
|
||||
import uiCandidate
|
||||
import constInfo
|
||||
import musicInfo
|
||||
import stringCommander
|
||||
|
||||
|
||||
|
||||
#bind_me(locals().values())
|
||||
|
||||
def RunApp():
|
||||
musicInfo.LoadLastPlayFieldMusic()
|
||||
|
||||
app.SetHairColorEnable(constInfo.HAIR_COLOR_ENABLE)
|
||||
app.SetArmorSpecularEnable(constInfo.ARMOR_SPECULAR_ENABLE)
|
||||
app.SetWeaponSpecularEnable(constInfo.WEAPON_SPECULAR_ENABLE)
|
||||
|
||||
app.SetMouseHandler(mouseModule.mouseController)
|
||||
wndMgr.SetMouseHandler(mouseModule.mouseController)
|
||||
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())
|
||||
|
||||
try:
|
||||
app.Create(locale.APP_TITLE, systemSetting.GetWidth(), systemSetting.GetHeight(), 1)
|
||||
except RuntimeError, msg:
|
||||
msg = str(msg)
|
||||
if "CREATE_DEVICE" == msg:
|
||||
dbg.LogBox("Sorry, Your system does not support 3D graphics,\r\nplease check your hardware and system configeration\r\nthen try again.")
|
||||
else:
|
||||
dbg.LogBox("Metin2.%s" % msg)
|
||||
return
|
||||
|
||||
app.SetCamera(1500.0, 30.0, 0.0, 180.0)
|
||||
|
||||
#Gets and sets the floating-point control word
|
||||
#app.SetControlFP()
|
||||
|
||||
if not mouseModule.mouseController.Create():
|
||||
return
|
||||
|
||||
mainStream = networkModule.MainStream()
|
||||
mainStream.Create()
|
||||
|
||||
#mainStream.SetLoadingPhase()
|
||||
mainStream.SetLogoPhase()
|
||||
|
||||
#mainStream.SetLoginPhase()
|
||||
#mainStream.SetSelectCharacterPhase()
|
||||
#mainStream.SetCreateCharacterPhase()
|
||||
#mainStream.SetSelectEmpirePhase()
|
||||
#mainStream.SetGamePhase()
|
||||
app.Loop()
|
||||
|
||||
mainStream.Destroy()
|
||||
|
||||
RunApp()
|
||||
|
|
@ -1,586 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (215) / 600
|
||||
|
||||
PLUS_BUTTON_WIDTH = 20
|
||||
TEMPORARY_HEIGHT = 5
|
||||
|
||||
window = {
|
||||
"name" : "CreateCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGroundPattern",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 100.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
|
||||
"x_origin" : 0.0,
|
||||
"y_origin" : 0.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## BackGround
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
"mode" : "MODULATE",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (440 - 22*3) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/dragon_left_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/dragon_left_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/dragon_left_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (570 - 22) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/dragon_right_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/dragon_right_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/dragon_right_button_03.sub",
|
||||
},
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "name_warrior",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 300 + TEMPORARY_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 10,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_PREV,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "next_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_NEXT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 189-1,
|
||||
"y" : -1,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "bottom_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 122-1,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "left_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122-1,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
{
|
||||
"name" : "top_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 138,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "red",
|
||||
},
|
||||
{
|
||||
"name" : "hth_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "int",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 157,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "pink",
|
||||
},
|
||||
{
|
||||
"name" : "int_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "str",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 176,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "purple",
|
||||
},
|
||||
{
|
||||
"name" : "str_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "dex",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 195,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "blue",
|
||||
},
|
||||
{
|
||||
"name" : "dex_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "hth_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 139,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "int_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 158,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "str_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 177,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "dex_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 196,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 217 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_NAME,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 40 - 1,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/parameter_slot_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 40 - 1 + 3,
|
||||
"y" : 0,
|
||||
|
||||
"input_limit" : 12,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 20,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 241 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SHAPE,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 79,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : "1",
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 139,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : "2",
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 11,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_CREATE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 109,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,504 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_login/"
|
||||
|
||||
window = {
|
||||
"name" : "LoginWindow",
|
||||
"sytle" : ("movable",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 128.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 96.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## BackGround
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
"mode" : "MODULATE",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
|
||||
},
|
||||
|
||||
## Metin2 Logo
|
||||
{
|
||||
"name" : "Metin2_Logo",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : float(SCREEN_WIDTH) / 800.0 * 20,
|
||||
"y" : float(SCREEN_HEIGHT) / 600.0 * 10,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/936_login/logo.sub",
|
||||
},
|
||||
|
||||
## Copyright
|
||||
{
|
||||
"name" : "Copyright",
|
||||
"type" : "image",
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 378/2,
|
||||
"y" : SCREEN_HEIGHT - 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/copyright.sub",
|
||||
},
|
||||
|
||||
## ConnectBoard
|
||||
{
|
||||
"name" : "ConnectBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH - 275,
|
||||
"y" : SCREEN_HEIGHT - 195,
|
||||
"width" : 208,
|
||||
"height" : 30,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ConnectName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 0,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_DEFAULT_SERVERADDR,
|
||||
},
|
||||
{
|
||||
"name" : "SelectConnectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 155,
|
||||
"y" : 0,
|
||||
"vertical_align" : "center",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_SELECT_BUTTON,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Alert
|
||||
{
|
||||
"name" : "AlertBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 67,
|
||||
"y" : SCREEN_HEIGHT - 169,
|
||||
"width" : 228,
|
||||
"height" : 111,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "936_AlertImage",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/936_login/alert.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LoginBoard
|
||||
{
|
||||
"name" : "LoginBoard",
|
||||
"type" : "image",
|
||||
|
||||
"x" : SCREEN_WIDTH - 275,
|
||||
"y" : SCREEN_HEIGHT - 155,
|
||||
|
||||
"image" : LOCALE_PATH+"loginwindow.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ID_EditLine",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 77,
|
||||
"y" : 16,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 16,
|
||||
"enable_codepage" : 0,
|
||||
|
||||
"r" : 1.0,
|
||||
"g" : 1.0,
|
||||
"b" : 1.0,
|
||||
"a" : 1.0,
|
||||
},
|
||||
{
|
||||
"name" : "Password_EditLine",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 77,
|
||||
"y" : 43,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 16,
|
||||
"secret_flag" : 1,
|
||||
"enable_codepage" : 0,
|
||||
|
||||
"r" : 1.0,
|
||||
"g" : 1.0,
|
||||
"b" : 1.0,
|
||||
"a" : 1.0,
|
||||
},
|
||||
{
|
||||
"name" : "LoginButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 65,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_CONNECT,
|
||||
},
|
||||
{
|
||||
"name" : "LoginExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 65,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_EXIT,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## ServerBoard
|
||||
{
|
||||
"name" : "ServerBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 308,
|
||||
"width" : 375,
|
||||
"height" : 220,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 12,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.LOGIN_SELECT_TITLE,
|
||||
},
|
||||
|
||||
## Horizontal
|
||||
{
|
||||
"name" : "HorizontalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 34,
|
||||
"width" : 354,
|
||||
"height" : 0,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "HorizontalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 35,
|
||||
"width" : 355,
|
||||
"height" : 0,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## Vertical
|
||||
{
|
||||
"name" : "VerticalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 246,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "VerticalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 247,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## ListBox
|
||||
{
|
||||
"name" : "ServerList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 40,
|
||||
"width" : 232,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "ChannelList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 255,
|
||||
"y" : 40,
|
||||
"width" : 109,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "ServerSelectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 170,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
},
|
||||
{
|
||||
"name" : "ServerExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 192,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_SELECT_EXIT,
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
## SettlementBoard
|
||||
{
|
||||
"name" : "RegionBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 308,
|
||||
"width" : 375,
|
||||
"height" : 220,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "RegionTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 12,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.LOGIN_REGION_TITLE,
|
||||
},
|
||||
|
||||
## Horizontal
|
||||
{
|
||||
"name" : "RegionHorizontalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 34,
|
||||
"width" : 354,
|
||||
"height" : 0,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "RegionHorizontalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 35,
|
||||
"width" : 355,
|
||||
"height" : 0,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## Vertical
|
||||
{
|
||||
"name" : "RegionVerticalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 246,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "RegionVerticalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 247,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## ListBox
|
||||
{
|
||||
"name" : "RegionGroupList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 40,
|
||||
"width" : 232,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "ServerListOnRegionBoard",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 255,
|
||||
"y" : 40,
|
||||
"width" : 109,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "RegionSelectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 170,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
},
|
||||
{
|
||||
"name" : "RegionExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 192,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_SELECT_EXIT,
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,580 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (220) / 600
|
||||
|
||||
BOARD_ITEM_ADD_POSITION = -40
|
||||
|
||||
window = {
|
||||
"name" : "SelectCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGroundPattern",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 100.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## BackGround
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
"mode" : "MODULATE",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
|
||||
},
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "name_warrior",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 363 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "EmpireNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 12,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EmpireName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EMPIRE_NAME,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NO_GUILD,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 124 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_level",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 50 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_LEVEL,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_level_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_level_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 76 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_TITLE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_play_time_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 102 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_hth",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "red",
|
||||
},
|
||||
{
|
||||
"name" : "character_hth_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_hth_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_int",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 128 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_int",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "pink",
|
||||
},
|
||||
{
|
||||
"name" : "character_int_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_int_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_str",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 154 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_str",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "purple",
|
||||
},
|
||||
{
|
||||
"name" : "character_str_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_str_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_dex",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 180 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_dex",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "blue",
|
||||
},
|
||||
{
|
||||
"name" : "character_dex_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_dex_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "start_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SELECT,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_CREATE,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DELETE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (450 - 22*3) / 800,
|
||||
"y" : SCREEN_HEIGHT * (505) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/dragon_left_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/dragon_left_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/dragon_left_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (580 - 22) / 800,
|
||||
"y" : SCREEN_HEIGHT * (505) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/dragon_right_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/dragon_right_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/dragon_right_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,362 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_empire/"
|
||||
|
||||
ATALS_X = SCREEN_WIDTH * (282) / 800
|
||||
ATALS_Y = SCREEN_HEIGHT * (170) / 600
|
||||
|
||||
window = {
|
||||
"name" : "SelectCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 100.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : SCREEN_WIDTH * (410 - 346/2) / 800,
|
||||
"y" : SCREEN_HEIGHT * (114 - 136/2) / 600,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : LOCALE_PATH+"title.sub"
|
||||
},
|
||||
|
||||
## Atlas
|
||||
{
|
||||
"name" : "Atlas",
|
||||
"type" : "image",
|
||||
|
||||
"x" : ATALS_X,
|
||||
"y" : ATALS_Y,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/atlas.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Image
|
||||
{
|
||||
"name" : "EmpireArea_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 201,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 16,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 314,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_c.sub"
|
||||
},
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireAreaFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 167,
|
||||
"y" : 235,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 357,
|
||||
"y" : 78,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_c.sub"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : ATALS_X + 80,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/dragon_left_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/dragon_left_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/dragon_left_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : ATALS_X + 160 + 110,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/dragon_right_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/dragon_right_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/dragon_right_button_03.sub",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "empire_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH * (40) / 800,
|
||||
"y" : SCREEN_HEIGHT * (211) / 600,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 314,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Bar
|
||||
{
|
||||
"name" : "flag_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 24,
|
||||
"y" : 17,
|
||||
"width" : 159,
|
||||
"height" : 119,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 146,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_PREV,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "next_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_NEXT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 189-1,
|
||||
"y" : -1,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "bottom_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 122-1,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "left_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122-1,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
{
|
||||
"name" : "top_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "select_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_SELECT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
[DELAY value;10]
|
||||
刺客是以短剑和弓箭为主的专业[ENTER]
|
||||
杀手。高水准的刺客要经过残酷[ENTER]
|
||||
的训练过程,所以其数量不是很[ENTER]
|
||||
多,但是只要具备某种特定条件[ENTER]
|
||||
,他们超强的战斗能力足可以扭[ENTER]
|
||||
[WAIT]
|
||||
转战争的进程,为了保证敏捷和[ENTER]
|
||||
速度,所以只能使用轻便的防御[ENTER]
|
||||
盔甲,这是他们唯一的弱点。[ENTER]
|
|
@ -1,15 +0,0 @@
|
|||
[DELAY value;10]
|
||||
盛唐国[ENTER]
|
||||
[ENTER]
|
||||
繁荣的国度,有着辉煌的经济[ENTER]
|
||||
文化成就。这里人们大都贤明[ENTER]
|
||||
且具有很高的智力,在一个[ENTER]
|
||||
[WAIT]
|
||||
崇高而神圣的目标指引下,他[ENTER]
|
||||
们团结在一起,相互配合,[ENTER]
|
||||
亲密无间。他们都尊崇圣人之道[ENTER]
|
||||
,严以律己,从不崇尚武力,但[ENTER]
|
||||
这并不表示软弱。当他们热爱的[ENTER]
|
||||
[WAIT]
|
||||
家园受到威胁时,也会毫不犹豫的[ENTER]
|
||||
给对手以致命的一击。[ENTER]
|
|
@ -1,11 +0,0 @@
|
|||
[DELAY value;10]
|
||||
秦皇国[ENTER]
|
||||
[ENTER]
|
||||
极具野心的帝国,整个国家有着[ENTER]
|
||||
森严的等级制度,由于多年战乱,[ENTER]
|
||||
这里的军队都经常长期的训练,纪[ENTER]
|
||||
[WAIT]
|
||||
律严明,作战灵活,具有非同一[ENTER]
|
||||
般的忍耐力,超强的凝聚力和战[ENTER]
|
||||
斗力。[ENTER]
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
[DELAY value;10]
|
||||
汉武国[ENTER]
|
||||
[ENTER]
|
||||
一个历经百年强盛的国度,有[ENTER]
|
||||
横扫八荒的野心。这里的人们[ENTER]
|
||||
都勇决果敢、爱憎分明,有胆识、[ENTER]
|
||||
[WAIT]
|
||||
有魄力,在激情背后始终保持一颗[ENTER]
|
||||
充满自信的心。他们注重自己的威[ENTER]
|
||||
严,虽然有时会显得刚愎自用,[ENTER]
|
||||
当这并不防碍他们成为万人敬[ENTER]
|
||||
仰的英雄。[ENTER]
|
|
@ -1,10 +0,0 @@
|
|||
[DELAY value;10]
|
||||
神女是领悟到自然流逝与阴阳照[ENTER]
|
||||
化的美丽化身。她们利用自然的[ENTER]
|
||||
力量发挥巨大的潜能,营造出绚[ENTER]
|
||||
丽的仙术世界。同时拥有渊源的[ENTER]
|
||||
知识,所以很想与别人沟通,[ENTER]
|
||||
[WAIT]
|
||||
但却很少有人能够见到她们真正[ENTER]
|
||||
的化身。精通仙术的神女将成为[ENTER]
|
||||
战场上至关重要的角色。
|
|
@ -1,9 +0,0 @@
|
|||
[DELAY value;10]
|
||||
修罗将恶魔的种子寄生在自己的[ENTER]
|
||||
手臂上,用来吸取魔法力量。他[ENTER]
|
||||
们与别人不同,更加不会相信别[ENTER]
|
||||
人,所以使得周围没有亲近的朋[ENTER]
|
||||
友。他们的目标只有一个,就是[ENTER]
|
||||
[WAIT]
|
||||
追求大陆上最强的力量,此外的[ENTER]
|
||||
事物都将视为阻碍。[ENTER]
|
|
@ -1,8 +0,0 @@
|
|||
[DELAY value;10]
|
||||
猛将拥有一把锋利的巨剑以及厚[ENTER]
|
||||
实的盔甲,从游戏一开始就成为[ENTER]
|
||||
关注的焦点,没有人敢蔑视他们[ENTER]
|
||||
他们追求钢铁般的肌肉和净水般[ENTER]
|
||||
宁静的精神世界。整个大陆上没[ENTER]
|
||||
[WAIT]
|
||||
有人能抵挡他们愤怒的脚步。[ENTER]
|
|
@ -1,586 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (215) / 600
|
||||
|
||||
PLUS_BUTTON_WIDTH = 20
|
||||
TEMPORARY_HEIGHT = 5
|
||||
|
||||
window = {
|
||||
"name" : "CreateCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGroundPattern",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 100.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
|
||||
"x_origin" : 0.0,
|
||||
"y_origin" : 0.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## BackGround
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
"mode" : "MODULATE",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (440) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/left_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/left_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/left_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (570) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/right_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/right_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/right_button_03.sub",
|
||||
},
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "name_warrior",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 300 + TEMPORARY_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 10,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_PREV,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "next_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_NEXT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 189-1,
|
||||
"y" : -1,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "bottom_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 122-1,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "left_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122-1,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
{
|
||||
"name" : "top_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 138,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "red",
|
||||
},
|
||||
{
|
||||
"name" : "hth_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "int",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 157,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "pink",
|
||||
},
|
||||
{
|
||||
"name" : "int_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "str",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 176,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "purple",
|
||||
},
|
||||
{
|
||||
"name" : "str_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "dex",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 195,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "blue",
|
||||
},
|
||||
{
|
||||
"name" : "dex_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "hth_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 139,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "int_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 158,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "str_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 177,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "dex_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 196,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 217 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_NAME,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 40 - 1,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/parameter_slot_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 40 - 1 + 3,
|
||||
"y" : 0,
|
||||
|
||||
"input_limit" : 12,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 20,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 241 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SHAPE,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 79,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : "1",
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 139,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : "2",
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 11,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_CREATE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 109,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,363 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_login/"
|
||||
|
||||
window = {
|
||||
"name" : "LoginWindow",
|
||||
"sytle" : ("movable",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 128.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 96.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## BackGround
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
"mode" : "MODULATE",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
|
||||
},
|
||||
|
||||
## Logo
|
||||
{
|
||||
"name" : "Metin2_Logo_1",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : float(SCREEN_WIDTH) / 27,
|
||||
"y" : float(SCREEN_HEIGHT) / 8,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/metin2_logo_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Metin2_Logo_2",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : float(SCREEN_WIDTH) / 27 + float(429 - 27) / 800 * SCREEN_WIDTH,
|
||||
"y" : float(SCREEN_HEIGHT) / 8,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/metin2_logo_2.sub",
|
||||
},
|
||||
|
||||
## Copyright
|
||||
{
|
||||
"name" : "Copyright",
|
||||
"type" : "image",
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 378/2,
|
||||
"y" : SCREEN_HEIGHT - 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/login/copyright.sub",
|
||||
},
|
||||
|
||||
## ConnectBoard
|
||||
{
|
||||
"name" : "ConnectBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH - 275,
|
||||
"y" : SCREEN_HEIGHT - 195,
|
||||
"width" : 208,
|
||||
"height" : 30,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ConnectName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 0,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_DEFAULT_SERVERADDR,
|
||||
},
|
||||
{
|
||||
"name" : "SelectConnectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 150,
|
||||
"y" : 0,
|
||||
"vertical_align" : "center",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_SELECT_BUTTON,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LoginBoard
|
||||
{
|
||||
"name" : "LoginBoard",
|
||||
"type" : "image",
|
||||
|
||||
"x" : SCREEN_WIDTH - 275,
|
||||
"y" : SCREEN_HEIGHT - 155,
|
||||
|
||||
"image" : LOCALE_PATH+"loginwindow.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ID_EditLine",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 77,
|
||||
"y" : 16,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 16,
|
||||
"enable_codepage" : 0,
|
||||
|
||||
"r" : 1.0,
|
||||
"g" : 1.0,
|
||||
"b" : 1.0,
|
||||
"a" : 1.0,
|
||||
},
|
||||
{
|
||||
"name" : "Password_EditLine",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 77,
|
||||
"y" : 43,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 16,
|
||||
"secret_flag" : 1,
|
||||
"enable_codepage" : 0,
|
||||
|
||||
"r" : 1.0,
|
||||
"g" : 1.0,
|
||||
"b" : 1.0,
|
||||
"a" : 1.0,
|
||||
},
|
||||
{
|
||||
"name" : "LoginButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 65,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_CONNECT,
|
||||
},
|
||||
{
|
||||
"name" : "LoginExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 65,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_EXIT,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## ServerBoard
|
||||
{
|
||||
"name" : "ServerBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 308,
|
||||
"width" : 375,
|
||||
"height" : 220,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 12,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text" : uiScriptLocale.LOGIN_SELECT_TITLE,
|
||||
},
|
||||
|
||||
## Horizontal
|
||||
{
|
||||
"name" : "HorizontalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 34,
|
||||
"width" : 354,
|
||||
"height" : 0,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "HorizontalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 35,
|
||||
"width" : 355,
|
||||
"height" : 0,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## Vertical
|
||||
{
|
||||
"name" : "VerticalLine1",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 246,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff777777,
|
||||
},
|
||||
{
|
||||
"name" : "VerticalLine2",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 247,
|
||||
"y" : 38,
|
||||
"width" : 0,
|
||||
"height" : 175,
|
||||
"color" : 0xff111111,
|
||||
},
|
||||
|
||||
## ListBox
|
||||
{
|
||||
"name" : "ServerList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 40,
|
||||
"width" : 232,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "ChannelList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 255,
|
||||
"y" : 40,
|
||||
"width" : 109,
|
||||
"height" : 171,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "ServerSelectButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 170,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
},
|
||||
{
|
||||
"name" : "ServerExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 267,
|
||||
"y" : 192,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_SELECT_EXIT,
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,580 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_select/"
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (220) / 600
|
||||
|
||||
BOARD_ITEM_ADD_POSITION = -40
|
||||
|
||||
window = {
|
||||
"name" : "SelectCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGroundPattern",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 100.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## BackGround
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
"mode" : "MODULATE",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
|
||||
},
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "name_warrior",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 363 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 12,
|
||||
"x_scale" : 0.5,
|
||||
"y_scale" : 0.5,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "EmpireNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 12,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EmpireName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EMPIRE_NAME,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NO_GUILD,
|
||||
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 124 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_level",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 50 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_LEVEL,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_level_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_level_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43 + 130/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 76 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_PLAYTIME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_play_time_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 83,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_play_time_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 83 + 91/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 102 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_hth",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "red",
|
||||
},
|
||||
{
|
||||
"name" : "character_hth_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_hth_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_int",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 128 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_int",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "pink",
|
||||
},
|
||||
{
|
||||
"name" : "character_int_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_int_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_str",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 154 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_str",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "purple",
|
||||
},
|
||||
{
|
||||
"name" : "character_str_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_str_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_dex",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 180 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gauge_dex",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100,
|
||||
"color" : "blue",
|
||||
},
|
||||
{
|
||||
"name" : "character_dex_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 134,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_00.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_dex_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 134 + 39/2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : "",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "start_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_SELECT,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 210 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_CREATE,
|
||||
"text_height" : 6,
|
||||
|
||||
"default_image" : ROOT_PATH + "XLarge_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "XLarge_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "XLarge_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 245 + 100 - 21 + BOARD_ITEM_ADD_POSITION,
|
||||
|
||||
"text" : uiScriptLocale.SELECT_DELETE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (450) / 800,
|
||||
"y" : SCREEN_HEIGHT * (505) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/left_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/left_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/left_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (580) / 800,
|
||||
"y" : SCREEN_HEIGHT * (505) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/right_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/right_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/right_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,362 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = "d:/ymir work/ui/intro/"+uiScriptLocale.CODEPAGE+"_empire/"
|
||||
|
||||
ATALS_X = SCREEN_WIDTH * (282) / 800
|
||||
ATALS_Y = SCREEN_HEIGHT * (170) / 600
|
||||
|
||||
window = {
|
||||
"name" : "SelectCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 100.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : SCREEN_WIDTH * (410 - 346/2) / 800,
|
||||
"y" : SCREEN_HEIGHT * (114 - 136/2) / 600,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
|
||||
"image" : LOCALE_PATH+"title.sub"
|
||||
},
|
||||
|
||||
## Atlas
|
||||
{
|
||||
"name" : "Atlas",
|
||||
"type" : "image",
|
||||
|
||||
"x" : ATALS_X,
|
||||
"y" : ATALS_Y,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/atlas.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Image
|
||||
{
|
||||
"name" : "EmpireArea_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 201,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 17,
|
||||
"y" : 16,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireArea_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 314,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empirearea_c.sub"
|
||||
},
|
||||
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireAreaFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 167,
|
||||
"y" : 235,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireAreaFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 357,
|
||||
"y" : 78,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireareaflag_c.sub"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : ATALS_X + 160,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/left_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/left_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/left_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : ATALS_X + 160 + 130,
|
||||
"y" : ATALS_Y + 340,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/right_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/right_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/right_button_03.sub",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "empire_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : SCREEN_WIDTH * (40) / 800,
|
||||
"y" : SCREEN_HEIGHT * (211) / 600,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 314,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Bar
|
||||
{
|
||||
"name" : "flag_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 24,
|
||||
"y" : 17,
|
||||
"width" : 159,
|
||||
"height" : 119,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Empire Flag
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub"
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 146,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_PREV,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "next_text_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_NEXT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 189-1,
|
||||
"y" : -1,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "bottom_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 122-1,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "left_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122-1,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
{
|
||||
"name" : "top_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "select_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_SELECT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "exit_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 105,
|
||||
"y" : 277,
|
||||
|
||||
"text" : uiScriptLocale.EMPIRE_EXIT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
[DELAY value;10]
|
||||
자객은 단검과 활을 주무기로[ENTER]
|
||||
하는 전문적인 암살자 입니다.[ENTER]
|
||||
이들은 일정 수준에 도달하기[ENTER]
|
||||
까지의 가혹한 훈련과정 덕분[ENTER]
|
||||
에 대륙 전체에 그리 많지는[ENTER]
|
||||
[WAIT]
|
||||
않지만, 특정한 조건만 갖추어[ENTER]
|
||||
진다면 전장의 흐름을 뒤바꿔[ENTER]
|
||||
놓을 수 있을 정도의 파괴력을[ENTER]
|
||||
가집니다. 민첩함과 속도를[ENTER]
|
||||
유지하기 위해 가벼운 방어구[ENTER]
|
||||
[WAIT]
|
||||
만을 착용 한다는 것이 어떻게[ENTER]
|
||||
보면 이들의 유일한 약점[ENTER]
|
||||
입니다.
|
|
@ -1,27 +0,0 @@
|
|||
[DELAY value;10]
|
||||
신수국[ENTER]
|
||||
[ENTER]
|
||||
동방과의 교역의 부활을 이루[ENTER]
|
||||
려는 거대 상업국가. 제국의[ENTER]
|
||||
분열 이후 방치되다시피 한[ENTER]
|
||||
[WAIT]
|
||||
서쪽의 광야 지역을 근본으로[ENTER]
|
||||
한 상인들이 건설한 국가이다.[ENTER]
|
||||
주로 서역과의 무역 통로로[ENTER]
|
||||
사용되던 지역이지만 성마석[ENTER]
|
||||
(Metin Stone)의 출현 이후[ENTER]
|
||||
[WAIT]
|
||||
무역로가 차단됨으로 인해 가장[ENTER]
|
||||
빨리 성마석의 위협을 깨달았던[ENTER]
|
||||
이들이기도 하다. 생업을 위협[ENTER]
|
||||
당한 이들은 그들이 가진 모든[ENTER]
|
||||
재산을 처분해 구 제국 전체에서[ENTER]
|
||||
[WAIT]
|
||||
전사들을 모아 들여 서쪽에서의[ENTER]
|
||||
위협을 방비 하려고 준비 중에[ENTER]
|
||||
있다. 이들이 원하는 것은[ENTER]
|
||||
통일된 하나의 국가의 힘으로[ENTER]
|
||||
있을지도 모르는 서역에서의[ENTER]
|
||||
[WAIT]
|
||||
침공을 막아내고 다시 무역로를[ENTER]
|
||||
개척하는 것이다.
|
|
@ -1,24 +0,0 @@
|
|||
[DELAY value;10]
|
||||
천조국[ENTER]
|
||||
[ENTER]
|
||||
성마석의 잔류사념의 존재를[ENTER]
|
||||
부르짖으며 이를 제거하려는[ENTER]
|
||||
성종교국가. 황제의 사촌동생[ENTER]
|
||||
[WAIT]
|
||||
절도사 윤영에 의해 세워진[ENTER]
|
||||
서방의 국가이다. 주술과 점에[ENTER]
|
||||
능한 아내를 통해 성마석(Metin[ENTER]
|
||||
Stone)의 위험을 직접적으로[ENTER]
|
||||
깨닫고 그에 대한 대비책을[ENTER]
|
||||
[WAIT]
|
||||
세울 것을 여러 차례에 걸쳐[ENTER]
|
||||
건의하였지만 이를 무시당하고[ENTER]
|
||||
일족을 이끌고 제국에 대해[ENTER]
|
||||
반기를 들었다. 현재 진노국과[ENTER]
|
||||
오랜 혈전을 거듭하고 있으며[ENTER]
|
||||
[WAIT]
|
||||
이들의 목적은 단지 하나, 전[ENTER]
|
||||
대륙을 통일해 서쪽에서부터[ENTER]
|
||||
조금씩 침식해 들어 오는 성마[ENTER]
|
||||
석의 힘을 차단 하는 것이다.[ENTER]
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
[DELAY value;10]
|
||||
진노국[ENTER]
|
||||
[ENTER]
|
||||
구 제국의 부활을 꿈꾸며 정통[ENTER]
|
||||
성을 주장하는 군사대국. 황제[ENTER]
|
||||
의 적자인 이륭이 이끌고 있는[ENTER]
|
||||
[WAIT]
|
||||
본국이다. 북방에 위치하고[ENTER]
|
||||
있기 때문에 신수국에 비해[ENTER]
|
||||
혹독한 자연환경을 가지고[ENTER]
|
||||
있으며 그 때문인지 상당히[ENTER]
|
||||
공격적이고 패도적인 문화를[ENTER]
|
||||
유지하고 있다. 신수국을[ENTER]
|
||||
[WAIT]
|
||||
건설한 윤영의 성마석에 대한[ENTER]
|
||||
주장에 대해서는 완전히 무시[ENTER]
|
||||
하는듯한 대외적인 태도를[ENTER]
|
||||
취하고 있지만 이미 황실의[ENTER]
|
||||
현자들을 동원해 그에 대한[ENTER]
|
||||
[WAIT]
|
||||
자세한 조사에 착수해 있는 듯[ENTER]
|
||||
하다. 이들이 표면적으로 성마[ENTER]
|
||||
석에 대해 무관심한 것은[ENTER]
|
||||
분열된 제국을 다시 통일하기[ENTER]
|
||||
위한 이륭의 야망이 바탕에[ENTER]
|
||||
[WAIT]
|
||||
깔려있기 때문이다.[ENTER]
|
|
@ -1,17 +0,0 @@
|
|||
[DELAY value;10]
|
||||
무당은 자연과 음양의 힘의[ENTER]
|
||||
흐름과 조화를 깨달은 현자들[ENTER]
|
||||
입니다. 그들은 이러한 법칙을[ENTER]
|
||||
특정한 매개체를 통해 구체화[ENTER]
|
||||
시킬 수 있는 방법 또한 알고[ENTER]
|
||||
[WAIT]
|
||||
있습니다. 이러한 그들만의[ENTER]
|
||||
매개체를 일반 사람들은 부적,[ENTER]
|
||||
혹은 진법이라고 부릅니다.[ENTER]
|
||||
너무나 방대한 지식을 가지고[ENTER]
|
||||
있기 때문에 끊임없이 다른[ENTER]
|
||||
[WAIT]
|
||||
사람과 대화 하기를 원하지만,[ENTER]
|
||||
그들의 심오하고 난해한 이야[ENTER]
|
||||
기들어줄 사람들은 그리 많지[ENTER]
|
||||
않습니다.
|
|
@ -1,17 +0,0 @@
|
|||
[DELAY value;10]
|
||||
수라는 자신의 팔에 악마의[ENTER]
|
||||
씨앗을 기생시켜 마법의 힘을[ENTER]
|
||||
흡수한 전사 입니다.[ENTER]
|
||||
이들은 다른 자들과는 달리 주[ENTER]
|
||||
변에 가까운 인간관계를 형성[ENTER]
|
||||
[WAIT]
|
||||
하지 않는 특징이 있습니다.[ENTER]
|
||||
이들의 목표는 지상 최강의 힘[ENTER]
|
||||
을 갖추는 것이며, 그 외의 것[ENTER]
|
||||
들은 단지 거추장스러운 방해[ENTER]
|
||||
물이라고 생각 합니다.[ENTER]
|
||||
[WAIT]
|
||||
자신의 힘을 과시하는 것 조차[ENTER]
|
||||
불필요하다고 여길 정도로 그[ENTER]
|
||||
들은 오직 순수한 힘 자체만[ENTER]
|
||||
갈망 합니다.
|
|
@ -1,17 +0,0 @@
|
|||
[DELAY value;10]
|
||||
무사는 한 자루 검과 튼튼한[ENTER]
|
||||
갑옷으로 무장하고 처음부터[ENTER]
|
||||
끝까지 전장의 주역으로 활약[ENTER]
|
||||
합니다. 잔재주와 사람을 현혹[ENTER]
|
||||
시키는 수단을 경멸하며 오직[ENTER]
|
||||
[WAIT]
|
||||
강철같이 수련된 자신의 근육[ENTER]
|
||||
과 맑은 물처럼 고요한 정신[ENTER]
|
||||
세계 만을 추구 합니다.[ENTER]
|
||||
분노한 이들을 막을 수 있는[ENTER]
|
||||
자들은 대륙 전체에 존재 하지[ENTER]
|
||||
[WAIT]
|
||||
않는 다고 생각 하는 것이[ENTER]
|
||||
옳을 것 입니다.
|
||||
|
||||
|
|
@ -1,144 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_WAR_ACCEPT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_ENEMY,
|
||||
},
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 80,
|
||||
"y" : 37,
|
||||
"width" : 130,
|
||||
"height" : 18,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
},
|
||||
),
|
||||
},
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "GameType", "x" : 15, "y" : 65, "width" : 65+45*4, "height" : 20,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 3, "text" : uiScriptLocale.GUILD_WAR_BATTLE_TYPE,},
|
||||
{
|
||||
"name" : "NormalButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_NORMAL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "WarpButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*1,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_WARP,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CTFButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_CTF,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/minimap/"
|
||||
|
||||
window = {
|
||||
"name" : "AtlasWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : SCREEN_WIDTH - 136 - 256 - 10,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 256 + 15,
|
||||
"height" : 256 + 38,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## BOARD
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 256 + 15,
|
||||
"height" : 256 + 38,
|
||||
|
||||
"title" : uiScriptLocale.ZONE_MAP,
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,124 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "AttachStoneDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 0,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleName",
|
||||
"type" : "text",
|
||||
"text" : uiScriptLocale.ATTACH_METIN_TITLE,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 3,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "AttachMetinArrow",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : -33,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
"image" : "d:/ymir work/ui/game/windows/attach_metin_arrow.sub",
|
||||
},
|
||||
{
|
||||
"name" : "MetinSlot",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : 5,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
"image" : "d:/ymir work/ui/game/windows/metin_slot_silver.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "MetinImage",
|
||||
"type" : "image",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
"horizontal_align" : "center",
|
||||
"image" : "d:/ymir work/ui/game/windows/metin_slot_silver.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Question",
|
||||
"type" : "text",
|
||||
"text" : uiScriptLocale.ATTACH_METIN_INFO,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 54,
|
||||
},
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : -35,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.YES,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/Middle_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/Middle_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 35,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.NO,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/Middle_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/Middle_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/Middle_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
ROOT_PATH = "d:/ymir work/ui/game/guild/"
|
||||
|
||||
window = {
|
||||
"name" : "AuctionWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 370,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 370,
|
||||
|
||||
"title" : "¸Å¸Å µî·Ï",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 37,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : ROOT_PATH+"tab_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : ROOT_PATH+"tab_2.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : ROOT_PATH+"tab_3.sub",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 6,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 53,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 61,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 67,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 130,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,121 +0,0 @@
|
|||
SEARCHING_AREA_X_POS = 15
|
||||
SEARCHING_AREA_Y_POS = 235
|
||||
|
||||
window = {
|
||||
"name" : "AuctionWindow_RegisterPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "NumberPrint",
|
||||
"type" : "text",
|
||||
"x" : 18,
|
||||
"y" : 7,
|
||||
"text" : "번호",
|
||||
},
|
||||
{
|
||||
"name" : "NamePrint",
|
||||
"type" : "text",
|
||||
"x" : 79,
|
||||
"y" : 7,
|
||||
"text" : "아이템 이름",
|
||||
},
|
||||
{
|
||||
"name" : "NamePrint",
|
||||
"type" : "text",
|
||||
"x" : 228,
|
||||
"y" : 7,
|
||||
"text" : "가격",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ItemSearchAreaBar",
|
||||
"type" : "horizontalbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 235,
|
||||
"width" : 330,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ItemSearchAreaBarPrint",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : "아이템 검색하기",
|
||||
"all_align" : "center",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingNamePrint",
|
||||
"type" : "text",
|
||||
"x" : SEARCHING_AREA_X_POS + 5,
|
||||
"y" : SEARCHING_AREA_Y_POS + 24,
|
||||
"text" : "아이템이름",
|
||||
},
|
||||
{
|
||||
"name" : "SearchingNameSlot",
|
||||
"type" : "image",
|
||||
"x" : SEARCHING_AREA_X_POS + 68,
|
||||
"y" : SEARCHING_AREA_Y_POS + 22,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingIDPrint",
|
||||
"type" : "text",
|
||||
"x" : SEARCHING_AREA_X_POS + 5,
|
||||
"y" : SEARCHING_AREA_Y_POS + 44,
|
||||
"text" : "번호로찾기",
|
||||
},
|
||||
{
|
||||
"name" : "SearchingIDSlot",
|
||||
"type" : "image",
|
||||
"x" : SEARCHING_AREA_X_POS + 68,
|
||||
"y" : SEARCHING_AREA_Y_POS + 42,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_04.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingIDPrint",
|
||||
"type" : "text",
|
||||
"x" : SEARCHING_AREA_X_POS + 205,
|
||||
"y" : SEARCHING_AREA_Y_POS + 24,
|
||||
"text" : "소켓여부",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SearchingButtonByName",
|
||||
"type" : "button",
|
||||
"x" : SEARCHING_AREA_X_POS + 295,
|
||||
"y" : SEARCHING_AREA_Y_POS + 20,
|
||||
"text" : "찾기",
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "SearchingButtonByID",
|
||||
"type" : "button",
|
||||
"x" : SEARCHING_AREA_X_POS + 295,
|
||||
"y" : SEARCHING_AREA_Y_POS + 40,
|
||||
"text" : "찾기",
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,134 +0,0 @@
|
|||
window = {
|
||||
"name" : "AuctionWindow_RegisterPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 0,
|
||||
"y" : 30,
|
||||
"width" : 97,
|
||||
"height" : 97,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TemporaryImage",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
"image" : "d:/ymir work/ui/items/weapon/03100.sub",
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ItemName",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 150,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text" : "아이템을 이곳에 드래그하여 넣어주세요",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "LowerSellingPriceName",
|
||||
"type" : "text",
|
||||
"x" : 70,
|
||||
"y" : 185,
|
||||
"text" : "매매 최저가",
|
||||
},
|
||||
{
|
||||
"name" : "LowerSellingPriceSlot",
|
||||
"type" : "image",
|
||||
"x" : 150,
|
||||
"y" : 185 - 3,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LowerSellingPriceValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : "123456789123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "AverageSellingPriceName",
|
||||
"type" : "text",
|
||||
"x" : 70,
|
||||
"y" : 205,
|
||||
"text" : "매매 평균가",
|
||||
},
|
||||
{
|
||||
"name" : "AverageSellingPriceSlot",
|
||||
"type" : "image",
|
||||
"x" : 150,
|
||||
"y" : 205 - 3,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "AverageSellingPriceValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : "123456789123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "InputPriceSlot",
|
||||
"type" : "image",
|
||||
"x" : 90,
|
||||
"y" : 250 - 3,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_05.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputPriceValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
"text" : "123456789123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "RegisterButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 230,
|
||||
"y" : 250 - 3,
|
||||
|
||||
"text" : "등록",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
window = {
|
||||
"name" : "AuctionWindow_UniqueAuctionPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
import uiScriptLocale
|
||||
import item
|
||||
|
||||
EQUIPMENT_START_INDEX = 90
|
||||
|
||||
window = {
|
||||
"name" : "BeltInventoryWindow",
|
||||
|
||||
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
|
||||
"x" : SCREEN_WIDTH - 176 - 148,
|
||||
"y" : SCREEN_HEIGHT - 37 - 565 + 209 + 32,
|
||||
# "x" : -148,
|
||||
# "y" : 241,
|
||||
"width" : 148,
|
||||
"height" : 139,
|
||||
|
||||
"type" : "image",
|
||||
"image" : "d:/ymir work/ui/game/belt_inventory/bg.tga",
|
||||
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Expand Buttons
|
||||
{
|
||||
"name" : "ExpandBtn",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 2,
|
||||
"y" : 15,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_normal.tga",
|
||||
"over_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_over.tga",
|
||||
"down_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_down.tga",
|
||||
"disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_disabled.tga",
|
||||
},
|
||||
|
||||
|
||||
## Belt Inventory Layer (include minimize button)
|
||||
{
|
||||
"name" : "BeltInventoryLayer",
|
||||
# "type" : "board",
|
||||
# "style" : ("attach", "float"),
|
||||
|
||||
"x" : 5,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 148,
|
||||
"height" : 139,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Minimize Button
|
||||
{
|
||||
"name" : "MinimizeBtn",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 2,
|
||||
"y" : 15,
|
||||
|
||||
"width" : 10,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_normal.tga",
|
||||
"over_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_over.tga",
|
||||
"down_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_down.tga",
|
||||
"disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_disabled.tga",
|
||||
},
|
||||
|
||||
## Real Belt Inventory Board
|
||||
{
|
||||
"name" : "BeltInventoryBoard",
|
||||
"type" : "board",
|
||||
"style" : ("attach", "float"),
|
||||
|
||||
"x" : 10,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 138,
|
||||
"height" : 139,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Belt Inventory Slots
|
||||
{
|
||||
"name" : "BeltInventorySlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 5,
|
||||
|
||||
"start_index" : item.BELT_INVENTORY_SLOT_START,
|
||||
"x_count" : 4,
|
||||
"y_count" : 4,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
),
|
||||
},
|
||||
)
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,343 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_02.sub"
|
||||
MIDDLE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
|
||||
TEMP_X = 110
|
||||
|
||||
window = {
|
||||
"name" : "BuildGuildBuildingWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 10,
|
||||
"y" : SCREEN_HEIGHT - 240 - 50,
|
||||
|
||||
"width" : 355+TEMP_X,
|
||||
"height" : 240,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 355+TEMP_X,
|
||||
"height" : 240,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_BUILDING_TITLE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "BuildingCategoryTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15 + 50,
|
||||
"y" : 33,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_CATEGORY_TITLE,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingCategoryBar",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 50,
|
||||
|
||||
"width" : 100,
|
||||
"height" : 80,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CategoryList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
|
||||
"width" : 100,
|
||||
"height" : 80,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingPriceTitle",
|
||||
"type" : "text", "x" : 30, "y" : 143, "text" : uiScriptLocale.GUILD_BUILDING_PRICE,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingPriceSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingPriceValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingMaterialStoneTitle",
|
||||
"type" : "text", "x" : 30, "y" : 163, "text" : uiScriptLocale.GUILD_BUILDING_STONE,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingMaterialStoneSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingMaterialStoneValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingMaterialLogTitle",
|
||||
"type" : "text", "x" : 30, "y" : 183, "text" : uiScriptLocale.GUILD_BUILDING_LOG,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingMaterialLogSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingMaterialLogValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingMaterialPlywoodTitle",
|
||||
"type" : "text", "x" : 30, "y" : 203, "text" : uiScriptLocale.GUILD_BUILDING_PLY,
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingMaterialPlywoodSlot",
|
||||
"type":"slotbar", "x":25, "y":-4, "width":60, "height":17,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingMaterialPlywoodValue", "type" : "text", "x" : 0, "y" : 1, "all_align" : "center", "text" : "50000000", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "temp_window",
|
||||
"type" : "window",
|
||||
"style" : ("not_pick",),
|
||||
|
||||
"x" : TEMP_X,
|
||||
"y" : 0,
|
||||
"width" : 355,
|
||||
"height" : 240,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
### START_TEMP
|
||||
{
|
||||
"name" : "BuildingListTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15 + 60,
|
||||
"y" : 33,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_LIST_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingListBar",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 50,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 172,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "BuildingList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
|
||||
"width" : 105,
|
||||
"height" : 172,
|
||||
},
|
||||
{
|
||||
"name" : "ListScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 2,
|
||||
"size" : 172-2,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingPositionTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 250,
|
||||
"y" : 33,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_POSITION,
|
||||
},
|
||||
{
|
||||
"name" : "PositionButton",
|
||||
"type" : "radio_button", "x" : 280, "y" : 50, "text" : uiScriptLocale.GUILD_BUILDING_CHANGE,
|
||||
"default_image" : ROOT_PATH + "Big_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Big_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Big_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingPositionXTitle",
|
||||
"type" : "text", "x" : 150, "y" : 53, "text" : "X",
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingPositionXSlot",
|
||||
"type":"image", "x":23, "y":-3, "image":MIDDLE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingPositionXValue", "type" : "text", "x" : 0, "y" : 0, "all_align" : "center", "text" : "999", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "BuildingPositionY",
|
||||
"type" : "text", "x" : 150, "y" : 73, "text" : "Y",
|
||||
"text_horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildingPositionYSlot",
|
||||
"type":"image", "x":23, "y":-3, "image":MIDDLE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "BuildingPositionYValue", "type" : "text", "x" : 0, "y" : 0, "all_align" : "center", "text" : "999", },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BuildingRotationTitle",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 250,
|
||||
"y" : 95,
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_DIRECTION,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationXTitle",
|
||||
"type" : "text", "x" : 150, "y" : 115, "text" : "X",
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationX",
|
||||
"type" : "sliderbar",
|
||||
"x" : 158, "y" : 115,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationYTitle",
|
||||
"type" : "text", "x" : 150, "y" : 135, "text" : "Y",
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationY",
|
||||
"type" : "sliderbar",
|
||||
"x" : 158, "y" : 135,
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationZTitle",
|
||||
"type" : "text", "x" : 150, "y" : 155, "text" : "Z",
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "BuildingRotationZ",
|
||||
"type" : "sliderbar",
|
||||
"x" : 158, "y" : 155,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "PreviewButton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 200,
|
||||
"y" : 60,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_PREVIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 200,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.ACCEPT,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 245,
|
||||
"y" : 35,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
### END_TEMP
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,89 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "ChangeGradeNameDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_GRADE_CHANGE_GRADE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## GradeName Slot
|
||||
{
|
||||
"name" : "GradeNameSlot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GradeNameValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 8,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 - 61 - 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 170/2 + 5,
|
||||
"y" : 58,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,193 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "ChangePasswordDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 220,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 220,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 204,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
|
||||
"name" : "TitleName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 3,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_TITLE,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Password Slot
|
||||
{
|
||||
"name" : "old_password_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 135,
|
||||
"y" : 34,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "old_password_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : -110,
|
||||
"y" : 3,
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_OLD,
|
||||
},
|
||||
{
|
||||
"name" : "old_password_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"secret_flag" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "new_password_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 135,
|
||||
"y" : 59,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "new_password_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : -110,
|
||||
"y" : 3,
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_NEW,
|
||||
},
|
||||
{
|
||||
"name" : "new_password_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"secret_flag" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "new_password_check_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 135,
|
||||
"y" : 79,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "new_password_check_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : -110,
|
||||
"y" : 3,
|
||||
"text" : uiScriptLocale.CHANGE_PASSWORD_CONFIRM,
|
||||
},
|
||||
{
|
||||
"name" : "new_password_check_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 6,
|
||||
"secret_flag" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "accept_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : -35,
|
||||
"y" : 103,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 35,
|
||||
"y" : 103,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,788 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
QUEST_ICON_BACKGROUND = 'd:/ymir work/ui/game/quest/slot_base.sub'
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_00.sub"
|
||||
MIDDLE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
ICON_SLOT_FILE = "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
FACE_SLOT_FILE = "d:/ymir work/ui/game/windows/box_face.sub"
|
||||
ROOT_PATH = "d:/ymir work/ui/game/windows/"
|
||||
|
||||
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH
|
||||
|
||||
window = {
|
||||
"name" : "CharacterWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 24,
|
||||
"y" : (SCREEN_HEIGHT - 37 - 361) / 2,
|
||||
|
||||
"width" : 253,
|
||||
"height" : 361,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 253,
|
||||
"height" : 361,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Skill_TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 238,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_SKILL, "all_align":"center" },
|
||||
#{ "name":"TitleName", "type":"image", "style" : ("attach",), "x":101, "y" : 1, "image" : LOCALE_PATH+"title_skill.sub", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Emoticon_TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 238,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_ACTION, "all_align":"center" },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Quest_TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 238,
|
||||
"color" : "red",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_QUEST, "all_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 328,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_2.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_3.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_04",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 31,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_4.sub",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 6,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 53,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 61,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 67,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 130,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_04",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 192,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 55,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Page Area
|
||||
{
|
||||
"name" : "Character_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Title Area
|
||||
{
|
||||
"name" : "Character_TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 61, "y" : 7, "width" : 185, "color" : "red",
|
||||
"children" :
|
||||
(
|
||||
#{ "name" : "TitleName", "type" : "image", "style" : ("attach",), "x" : 70, "y" : 1, "image" : LOCALE_PATH+"title_status.sub", },
|
||||
{ "name" : "TitleName", "type":"text", "x":0, "y":-1, "text":uiScriptLocale.CHARACTER_MAIN, "all_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Guild Name Slot
|
||||
{
|
||||
"name" : "Guild_Name_Slot",
|
||||
"type" : "image",
|
||||
"x" : 60,
|
||||
"y" :27+7,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Guild_Name",
|
||||
"type":"text",
|
||||
"text":"길드 이름",
|
||||
"x":0,
|
||||
"y":0,
|
||||
"r":1.0,
|
||||
"g":1.0,
|
||||
"b":1.0,
|
||||
"a":1.0,
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Character Name Slot
|
||||
{
|
||||
"name" : "Character_Name_Slot",
|
||||
"type" : "image",
|
||||
"x" : 153,
|
||||
"y" :27+7,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Character_Name",
|
||||
"type":"text",
|
||||
"text":"캐릭터 이름",
|
||||
"x":0,
|
||||
"y":0,
|
||||
"r":1.0,
|
||||
"g":1.0,
|
||||
"b":1.0,
|
||||
"a":1.0,
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Header
|
||||
{
|
||||
"name":"Status_Header", "type":"window", "x":3, "y":31, "width":0, "height":0,
|
||||
"children" :
|
||||
(
|
||||
## Lv
|
||||
{
|
||||
"name":"Status_Lv", "type":"window", "x":9, "y":30, "width":37, "height":42,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Level_Header", "type":"image", "x":0, "y":0, "image":LOCALE_PATH+"label_level.sub" },
|
||||
{ "name":"Level_Value", "type":"text", "x":19, "y":19, "fontsize":"LARGE", "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## EXP
|
||||
{
|
||||
"name":"Status_CurExp", "type":"window", "x":53, "y":30, "width":87, "height":42,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Exp_Slot", "type":"image", "x":0, "y":0, "image":LOCALE_PATH+"label_cur_exp.sub" },
|
||||
{ "name":"Exp_Value", "type":"text", "x":46, "y":19, "fontsize":"LARGE", "text":"12345678901", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" }, ),
|
||||
},
|
||||
|
||||
## REXP
|
||||
{
|
||||
"name":"Status_RestExp", "type":"window", "x":150, "y":30, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"RestExp_Slot", "type":"image", "x":0, "y":0, "image":LOCALE_PATH+"label_last_exp.sub" },
|
||||
{ "name":"RestExp_Value", "type":"text", "x":46, "y":19, "fontsize":"LARGE", "text":"12345678901", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Face Slot
|
||||
{ "name" : "Face_Image", "type" : "image", "x" : 11, "y" : 11, "image" : "d:/ymir work/ui/game/windows/face_warrior.sub" },
|
||||
{ "name" : "Face_Slot", "type" : "image", "x" : 7, "y" : 7, "image" : FACE_SLOT_FILE, },
|
||||
|
||||
## 기본 능력
|
||||
{
|
||||
"name":"Status_Standard", "type":"window", "x":3, "y":100, "width":200, "height":250,
|
||||
"children" :
|
||||
(
|
||||
## 기본 능력 제목
|
||||
{ "name":"Character_Bar_01", "type":"horizontalbar", "x":12, "y":8, "width":223, },
|
||||
{ "name":"Character_Bar_01_Text", "type" : "image", "x" : 13, "y" : 9, "image" : LOCALE_PATH+"label_std.sub", },
|
||||
|
||||
## 능력 수련 수치
|
||||
{
|
||||
"name":"Status_Plus_Label",
|
||||
"type":"image",
|
||||
"x":150, "y":11,
|
||||
"image":LOCALE_PATH+"label_uppt.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Status_Plus_Value", "type":"text", "x":62, "y":0, "text":"99", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## 기본 능력 아이템 리스트
|
||||
{"name":"Status_Standard_ItemList1", "type" : "image", "x":17, "y":31, "image" : LOCALE_PATH+"label_std_item1.sub", },
|
||||
{"name":"Status_Standard_ItemList2", "type" : "image", "x":100, "y":30, "image" : LOCALE_PATH+"label_std_item2.sub", },
|
||||
|
||||
## HTH
|
||||
{
|
||||
"name":"HTH_Label", "type":"window", "x":50, "y":32, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"HTH_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"HTH_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"HTH_Plus", "type" : "button", "x":41, "y":3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
),
|
||||
},
|
||||
## INT
|
||||
{
|
||||
"name":"INT_Label", "type":"window", "x":50, "y":32+23, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"INT_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"INT_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"INT_Plus", "type" : "button", "x" : 41, "y" : 3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
)
|
||||
},
|
||||
## STR
|
||||
{
|
||||
"name":"STR_Label", "type":"window", "x":50, "y":32+23*2, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"STR_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"STR_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"STR_Plus", "type" : "button", "x" : 41, "y" : 3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
)
|
||||
},
|
||||
## DEX
|
||||
{
|
||||
"name":"DEX_Label", "type":"window", "x":50, "y":32+23*3, "width":60, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"DEX_Slot", "type":"image", "x":0, "y":0, "image":SMALL_VALUE_FILE },
|
||||
{ "name":"DEX_Value", "type":"text", "x":20, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
{ "name":"DEX_Plus", "type" : "button", "x" : 41, "y" : 3, "default_image" : ROOT_PATH+"btn_plus_up.sub", "over_image" : ROOT_PATH+"btn_plus_over.sub", "down_image" : ROOT_PATH+"btn_plus_down.sub", },
|
||||
)
|
||||
},
|
||||
|
||||
{ "name":"HTH_Minus", "type" : "button", "x":9, "y":35, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
{ "name":"INT_Minus", "type" : "button", "x":9, "y":35+23, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
{ "name":"STR_Minus", "type" : "button", "x":9, "y":35+23*2, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
{ "name":"DEX_Minus", "type" : "button", "x":9, "y":35+23*3, "default_image" : ROOT_PATH+"btn_minus_up.sub", "over_image" : ROOT_PATH+"btn_minus_over.sub", "down_image" : ROOT_PATH+"btn_minus_down.sub", },
|
||||
|
||||
####
|
||||
|
||||
## HP
|
||||
{
|
||||
"name":"HEL_Label", "type":"window", "x":145, "y":32, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"HP_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"HP_Value", "type":"text", "x":45, "y":3, "text":"9999/9999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
## SP
|
||||
{
|
||||
"name":"SP_Label", "type":"window", "x":145, "y":32+23, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"SP_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"SP_Value", "type":"text", "x":45, "y":3, "text":"9999/9999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
## ATT
|
||||
{
|
||||
"name":"ATT_Label", "type":"window", "x":145, "y":32+23*2, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"ATT_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"ATT_Value", "type":"text", "x":45, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
## DEF
|
||||
{
|
||||
"name":"DEF_Label", "type":"window", "x":145, "y":32+23*3, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"DEF_Slot", "type":"image", "x":0, "y":0, "image":LARGE_VALUE_FILE },
|
||||
{ "name":"DEF_Value", "type":"text", "x":45, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## 부가 능력
|
||||
{
|
||||
"name":"Status_Extent", "type":"window", "x":3, "y":221, "width":200, "height":50,
|
||||
"children" :
|
||||
(
|
||||
|
||||
## 부가 능력 제목
|
||||
{ "name":"Status_Extent_Bar", "type":"horizontalbar", "x":12, "y":6, "width":223, },
|
||||
{ "name":"Status_Extent_Label", "type" : "image", "x" : 13, "y" : 8, "image" : LOCALE_PATH+"label_ext.sub", },
|
||||
|
||||
## 기본 능력 아이템 리스트
|
||||
{"name":"Status_Extent_ItemList1", "type" : "image", "x":11, "y":31, "image" : LOCALE_PATH+"label_ext_item1.sub", },
|
||||
{"name":"Status_Extent_ItemList2", "type" : "image", "x":128, "y":32, "image" : LOCALE_PATH+"label_ext_item2.sub", },
|
||||
|
||||
## MSPD - 이동 속도
|
||||
{
|
||||
"name":"MOV_Label", "type":"window", "x":66, "y":33, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"MSPD_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"MSPD_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## ASPD - 공격 속도
|
||||
{
|
||||
"name":"ASPD_Label", "type":"window", "x":66, "y":33+23, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"ASPD_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"ASPD_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## CSPD - 주문 속도
|
||||
{
|
||||
"name":"CSPD_Label", "type":"window", "x":66, "y":33+23*2, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"CSPD_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"CSPD_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## MATT - 마법 공격력
|
||||
{
|
||||
"name":"MATT_Label", "type":"window", "x":183, "y":33, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"MATT_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"MATT_Value", "type":"text", "x":26, "y":3, "text":"999-999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## MDEF - 마법 방어력
|
||||
{
|
||||
"name":"MDEF_Label", "type":"window", "x":183, "y":33+23, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"MDEF_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"MDEF_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
## 회피율
|
||||
{
|
||||
"name":"ER_Label", "type":"window", "x":183, "y":33+23*2, "width":50, "height":20,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"ER_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
|
||||
{ "name":"ER_Value", "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
)
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Skill_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 24,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Skill_Active_Title_Bar", "type":"horizontalbar", "x":15, "y":17, "width":223,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"Active_Skill_Point_Label", "type":"image", "x":145, "y":3, "image":LOCALE_PATH+"label_uppt.sub",
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Active_Skill_Point_Value", "type":"text", "x":62, "y":0, "text":"99", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Group Button
|
||||
{
|
||||
"name" : "Skill_Group_Button_1",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "Group1",
|
||||
"text_color" : 0xFFFFE3AD,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/skill_tab_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/skill_tab_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/skill_tab_button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Skill_Group_Button_2",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 50,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "Group2",
|
||||
"text_color" : 0xFFFFE3AD,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/skill_tab_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/skill_tab_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/skill_tab_button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Active_Skill_Group_Name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 7,
|
||||
"y" : 1,
|
||||
"text" : "Active",
|
||||
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"color" : 0xFFFFE3AD,
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Skill_ETC_Title_Bar", "type":"horizontalbar", "x":15, "y":200, "width":223,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Support_Skill_Group_Name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 7,
|
||||
"y" : 1,
|
||||
"text" : uiScriptLocale.SKILL_SUPPORT_TITLE,
|
||||
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"color" : 0xFFFFE3AD,
|
||||
},
|
||||
|
||||
{
|
||||
"name":"Support_Skill_Point_Label", "type":"image", "x":145, "y":3, "image":LOCALE_PATH+"label_uppt.sub",
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Support_Skill_Point_Value", "type":"text", "x":62, "y":0, "text":"99", "r":1.0, "g":1.0, "b":1.0, "a":1.0, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{ "name":"Skill_Board", "type":"image", "x":13, "y":38, "image":"d:/ymir work/ui/game/windows/skill_board.sub", },
|
||||
|
||||
## Active Slot
|
||||
{
|
||||
"name" : "Skill_Active_Slot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 0 + 16,
|
||||
"y" : 0 + 15 + 23,
|
||||
|
||||
"width" : 223,
|
||||
"height" : 223,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
|
||||
"slot" : (
|
||||
{"index": 1, "x": 1, "y": 4, "width":32, "height":32},
|
||||
{"index":21, "x":38, "y": 4, "width":32, "height":32},
|
||||
{"index":41, "x":75, "y": 4, "width":32, "height":32},
|
||||
|
||||
{"index": 3, "x": 1, "y": 40, "width":32, "height":32},
|
||||
{"index":23, "x":38, "y": 40, "width":32, "height":32},
|
||||
{"index":43, "x":75, "y": 40, "width":32, "height":32},
|
||||
|
||||
{"index": 5, "x": 1, "y": 76, "width":32, "height":32},
|
||||
{"index":25, "x":38, "y": 76, "width":32, "height":32},
|
||||
{"index":45, "x":75, "y": 76, "width":32, "height":32},
|
||||
|
||||
{"index": 7, "x": 1, "y":112, "width":32, "height":32},
|
||||
{"index":27, "x":38, "y":112, "width":32, "height":32},
|
||||
{"index":47, "x":75, "y":112, "width":32, "height":32},
|
||||
|
||||
####
|
||||
|
||||
{"index": 2, "x":113, "y": 4, "width":32, "height":32},
|
||||
{"index":22, "x":150, "y": 4, "width":32, "height":32},
|
||||
{"index":42, "x":187, "y": 4, "width":32, "height":32},
|
||||
|
||||
{"index": 4, "x":113, "y": 40, "width":32, "height":32},
|
||||
{"index":24, "x":150, "y": 40, "width":32, "height":32},
|
||||
{"index":44, "x":187, "y": 40, "width":32, "height":32},
|
||||
|
||||
{"index": 6, "x":113, "y": 76, "width":32, "height":32},
|
||||
{"index":26, "x":150, "y": 76, "width":32, "height":32},
|
||||
{"index":46, "x":187, "y": 76, "width":32, "height":32},
|
||||
|
||||
{"index": 8, "x":113, "y":112, "width":32, "height":32},
|
||||
{"index":28, "x":150, "y":112, "width":32, "height":32},
|
||||
{"index":48, "x":187, "y":112, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
|
||||
## ETC Slot
|
||||
{
|
||||
"name" : "Skill_ETC_Slot",
|
||||
"type" : "grid_table",
|
||||
"x" : 18,
|
||||
"y" : 221,
|
||||
"start_index" : 101,
|
||||
"x_count" : 6,
|
||||
"y_count" : 2,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 5,
|
||||
"y_blank" : 4,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Emoticon_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 24,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## 기본 액션 제목
|
||||
{ "name":"Action_Bar", "type":"horizontalbar", "x":12, "y":11, "width":223, },
|
||||
{ "name":"Action_Bar_Text", "type":"text", "x":15, "y":13, "text":uiScriptLocale.CHARACTER_NORMAL_ACTION },
|
||||
|
||||
## Basis Action Slot
|
||||
{
|
||||
"name" : "SoloEmotionSlot",
|
||||
"type" : "grid_table",
|
||||
"x" : 30,
|
||||
"y" : 33,
|
||||
"horizontal_align" : "center",
|
||||
"start_index" : 1,
|
||||
"x_count" : 6,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
},
|
||||
|
||||
## 상호 액션 제목
|
||||
{ "name":"Reaction_Bar", "type":"horizontalbar", "x":12, "y":8+150, "width":223, },
|
||||
{ "name":"Reaction_Bar_Text", "type":"text", "x":15, "y":10+150, "text":uiScriptLocale.CHARACTER_MUTUAL_ACTION },
|
||||
|
||||
## Reaction Slot
|
||||
{
|
||||
"name" : "DualEmotionSlot",
|
||||
"type" : "grid_table",
|
||||
"x" : 30,
|
||||
"y" : 180,
|
||||
"start_index" : 51,
|
||||
"x_count" : 6,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
"image" : ICON_SLOT_FILE,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Quest_Page",
|
||||
"type" : "window",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 24,
|
||||
|
||||
"width" : 250,
|
||||
"height" : 304,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Quest_Slot",
|
||||
"type" : "grid_table",
|
||||
"x" : 18,
|
||||
"y" : 20,
|
||||
"start_index" : 0,
|
||||
"x_count" : 1,
|
||||
"y_count" : 5,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"y_blank" : 28,
|
||||
"image" : QUEST_ICON_BACKGROUND,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Quest_ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 12,
|
||||
"size" : 290,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{ "name" : "Quest_Name_00", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 14 },
|
||||
{ "name" : "Quest_LastTime_00", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 30 },
|
||||
{ "name" : "Quest_LastCount_00", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 46 },
|
||||
|
||||
{ "name" : "Quest_Name_01", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 74 },
|
||||
{ "name" : "Quest_LastTime_01", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 90 },
|
||||
{ "name" : "Quest_LastCount_01", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 106 },
|
||||
|
||||
{ "name" : "Quest_Name_02", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 134 },
|
||||
{ "name" : "Quest_LastTime_02", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 150 },
|
||||
{ "name" : "Quest_LastCount_02", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 166 },
|
||||
|
||||
{ "name" : "Quest_Name_03", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 194 },
|
||||
{ "name" : "Quest_LastTime_03", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 210 },
|
||||
{ "name" : "Quest_LastCount_03", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 226 },
|
||||
|
||||
{ "name" : "Quest_Name_04", "type" : "text", "text" : "이름입니다", "x" : 60, "y" : 254 },
|
||||
{ "name" : "Quest_LastTime_04", "type" : "text", "text" : "남은 시간 입니다", "x" : 60, "y" : 270 },
|
||||
{ "name" : "Quest_LastCount_04", "type" : "text", "text" : "남은 개수 입니다", "x" : 60, "y" : 286 },
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,56 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "QuestionDialog",
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 125,
|
||||
"y" : SCREEN_HEIGHT/2 - 52,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 75,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 280,
|
||||
"height" : 75,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "message",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 25,
|
||||
|
||||
"text" : uiScriptLocale.LOGIN_CONNECTING,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "countdown_message",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 50,
|
||||
|
||||
"text" : uiScriptLocale.MESSAGE,
|
||||
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,85 +0,0 @@
|
|||
import uiScriptLocale
|
||||
import item
|
||||
|
||||
COSTUME_START_INDEX = item.COSTUME_SLOT_START
|
||||
|
||||
window = {
|
||||
"name" : "CostumeWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 175 - 140,
|
||||
"y" : SCREEN_HEIGHT - 37 - 565,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 140,
|
||||
"height" : 180,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 140,
|
||||
"height" : 180,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 6,
|
||||
"y" : 6,
|
||||
|
||||
"width" : 130,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":60, "y":3, "text":uiScriptLocale.COSTUME_WINDOW_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Equipment Slot
|
||||
{
|
||||
"name" : "Costume_Base",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 13,
|
||||
"y" : 38,
|
||||
|
||||
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "costume/costume_bg.jpg",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "CostumeSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 127,
|
||||
"height" : 145,
|
||||
|
||||
"slot" : (
|
||||
{"index":COSTUME_START_INDEX+0, "x":61, "y":45, "width":32, "height":64},
|
||||
{"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32},
|
||||
{"index":COSTUME_START_INDEX+2, "x":5, "y":145, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,586 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = uiScriptLocale.SELECT_PATH
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (65) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (215) / 600
|
||||
|
||||
PLUS_BUTTON_WIDTH = 20
|
||||
TEMPORARY_HEIGHT = 5
|
||||
|
||||
window = {
|
||||
"name" : "CreateCharacterWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGroundPattern",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/background_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 128) / 128.0, float(SCREEN_HEIGHT - 128 - 42*2) / 128.0),
|
||||
},
|
||||
|
||||
## Alpha
|
||||
{
|
||||
"name" : "Alpha",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/select/background_alpha.sub",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 100.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 69.0,
|
||||
"x_origin" : 0.0,
|
||||
"y_origin" : 0.0,
|
||||
},
|
||||
|
||||
## Top & Bottom Line
|
||||
{
|
||||
"name" : "Top_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
{
|
||||
"name" : "Bottom_Line",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 42,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/line_pattern.tga",
|
||||
|
||||
"rect" : (0.0, 0.0, float(SCREEN_WIDTH - 50) / 50.0, 0.0),
|
||||
},
|
||||
|
||||
## BackGround
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
"mode" : "MODULATE",
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/intro_background.dds",
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "left_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (440) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/left_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/left_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/left_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (570) / 800,
|
||||
"y" : SCREEN_HEIGHT * (510) / 600,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/intro/select/right_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/intro/select/right_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/intro/select/right_button_03.sub",
|
||||
},
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "name_warrior",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "image",
|
||||
|
||||
"x" : BOARD_X - 27,
|
||||
"y" : BOARD_Y - 174 + 25,
|
||||
|
||||
"image" : LOCALE_PATH+"name_shaman.sub",
|
||||
},
|
||||
|
||||
## Character Board
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
|
||||
"width" : 208,
|
||||
"height" : 300 + TEMPORARY_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "bar",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 10,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 122,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 95,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_PREV,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "next_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 140,
|
||||
"y" : 95,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_NEXT,
|
||||
|
||||
"default_image" : ROOT_PATH + "Small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "right_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 189-1,
|
||||
"y" : -1,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "bottom_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 122-1,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xffAAA6A1,
|
||||
},
|
||||
{
|
||||
"name" : "left_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 0,
|
||||
"height" : 122-1,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
{
|
||||
"name" : "top_line",
|
||||
"type" : "line",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 189,
|
||||
"height" : 0,
|
||||
|
||||
"color" : 0xff2A2521,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "hth",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 138,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_HP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "red",
|
||||
},
|
||||
{
|
||||
"name" : "hth_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "int",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 157,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SP,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "pink",
|
||||
},
|
||||
{
|
||||
"name" : "int_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "str",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 176,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_ATT_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "purple",
|
||||
},
|
||||
{
|
||||
"name" : "str_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "dex",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 195,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_DEX_GRADE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_gauge",
|
||||
"type" : "gauge",
|
||||
|
||||
"x" : 30,
|
||||
"y" : 4,
|
||||
|
||||
"width" : 100 + PLUS_BUTTON_WIDTH,
|
||||
"color" : "blue",
|
||||
},
|
||||
{
|
||||
"name" : "dex_slot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 137 + PLUS_BUTTON_WIDTH,
|
||||
"y" : -1,
|
||||
"width" : 24,
|
||||
"height" : 16,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "99",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "hth_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 139,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "int_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 158,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "str_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 177,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
{
|
||||
"name" : "dex_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 184,
|
||||
"y" : 196,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_plus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_plus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_plus_down.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 217 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_NAME,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 40 - 1,
|
||||
"y" : -2,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/parameter_slot_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 40 - 1 + 3,
|
||||
"y" : 0,
|
||||
|
||||
"input_limit" : 12,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 20,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 43,
|
||||
"y" : 241 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_SHAPE,
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 79,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : "1",
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 139,
|
||||
"y" : 239 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : "2",
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 11,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CREATE_CREATE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 109,
|
||||
"y" : 265 + TEMPORARY_HEIGHT,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "CubeWindow",
|
||||
|
||||
"x" : 430,
|
||||
"y" : 230,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 175,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 175,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 161,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":"합성 결과", "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Cube Slot
|
||||
{
|
||||
"name" : "CubeSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 176/2 - 32,
|
||||
"y" : 40 - 2,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 2,
|
||||
"y_count" : 2,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## Text
|
||||
{
|
||||
"name":"label",
|
||||
"type":"text",
|
||||
|
||||
"x":0,
|
||||
"y":60,
|
||||
|
||||
"vertical_align" : "bottom",
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text":"합성에 성공 했습니다",
|
||||
"text_horizontal_align":"center",
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "CloseButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 35,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,411 +0,0 @@
|
|||
import locale
|
||||
import uiScriptLocale
|
||||
|
||||
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH
|
||||
ICON_SLOT_FILE = "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
|
||||
window = {
|
||||
"name" : "CubeWindow",
|
||||
|
||||
# "x" : 430,
|
||||
# "y" : 130,
|
||||
"x" : SCREEN_WIDTH - 176 - 200 - 80,
|
||||
"y" : SCREEN_HEIGHT - 37 - 563,
|
||||
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 285,
|
||||
"height" : 521,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "expanded_image",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 285,
|
||||
"height" : 521,
|
||||
|
||||
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "new_cube_bg.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 5,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 273,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.CUBE_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Cube Slot
|
||||
{
|
||||
"name" : "CubeSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 14,
|
||||
"y" : 364,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 8,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
## Print
|
||||
{
|
||||
"name" : "NeedMoney",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 20,
|
||||
"y" : 468,
|
||||
|
||||
"width" : 200,
|
||||
|
||||
"horizontal_align" : "right",
|
||||
"text_horizontal_align" : "right",
|
||||
|
||||
"text" : locale.NumberToMoneyString(0),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "contentScrollbar",
|
||||
"type" : "thin_scrollbar",
|
||||
|
||||
"x" : 253,
|
||||
"y" : 38,
|
||||
|
||||
"size" : 315,
|
||||
},
|
||||
|
||||
# Cube Result List. 1 ~ 3
|
||||
{
|
||||
"name" : "result1board",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 41,
|
||||
|
||||
"width" : 216,
|
||||
"height" : 64,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "result1",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material11",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 57,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material12",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 90,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material13",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 123,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material14",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 156,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material15",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 189,
|
||||
"y" : 0,
|
||||
},
|
||||
),
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "result2board",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 147,
|
||||
|
||||
"width" : 216,
|
||||
"height" : 64,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "result2",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material21",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 57,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material22",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 90,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material23",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 123,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material24",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 156,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material25",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 189,
|
||||
"y" : 0,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "result3board",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 25,
|
||||
"y" : 253,
|
||||
|
||||
"width" : 216,
|
||||
"height" : 64,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "result3",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material31",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 57,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material32",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 90,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material33",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 123,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material34",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 156,
|
||||
"y" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "material35",
|
||||
"type" : "grid_table",
|
||||
"start_index" : 0,
|
||||
|
||||
"x_count" : 1,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"x" : 189,
|
||||
"y" : 0,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 148,
|
||||
"y" : 32,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 211,
|
||||
"y" : 32,
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,145 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 230,
|
||||
"height" : 130,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_WAR_DECLARE,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_ENEMY,
|
||||
},
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 80,
|
||||
"y" : 37,
|
||||
"width" : 130,
|
||||
"height" : 18,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "GameType", "x" : 15, "y" : 65, "width" : 65+45*4, "height" : 20,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 3, "text" : uiScriptLocale.GUILD_WAR_BATTLE_TYPE,},
|
||||
{
|
||||
"name" : "NormalButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_NORMAL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "WarpButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*1,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_WARP,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CTFButton",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 65+45*2,
|
||||
"y" : 0,
|
||||
|
||||
"text" : uiScriptLocale.GUILD_WAR_CTF,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 95,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,75 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "EquipmentDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 180,
|
||||
"height" : 230,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 180,
|
||||
"height" : 230,
|
||||
|
||||
"title" : "Character Name",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"EquipmentBaseImage",
|
||||
"type":"image",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 9,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "center",
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/equipment_base.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "EquipmentSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 150,
|
||||
"height" : 182,
|
||||
|
||||
"slot" : (
|
||||
{"index":0, "x":39, "y":37, "width":32, "height":64},
|
||||
{"index":1, "x":39, "y":2, "width":32, "height":32},
|
||||
{"index":2, "x":39, "y":145, "width":32, "height":32},
|
||||
{"index":3, "x":75, "y":67, "width":32, "height":32},
|
||||
{"index":4, "x":3, "y":3, "width":32, "height":96},
|
||||
{"index":5, "x":114, "y":84, "width":32, "height":32},
|
||||
{"index":6, "x":114, "y":52, "width":32, "height":32},
|
||||
{"index":7, "x":2, "y":113, "width":32, "height":32},
|
||||
{"index":8, "x":75, "y":113, "width":32, "height":32},
|
||||
{"index":9, "x":114, "y":1, "width":32, "height":32},
|
||||
{"index":10, "x":75, "y":35, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,217 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/"
|
||||
|
||||
window = {
|
||||
"name" : "ExchangeDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 282,
|
||||
"height" : 167,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 282,
|
||||
"height" : 167,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 266,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":133, "y":3, "text":uiScriptLocale.EXCHANGE_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## MiddleBar
|
||||
{
|
||||
"name" : "Middle_Bar",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 139,
|
||||
"y" : 31,
|
||||
|
||||
"image" : ROOT + "windows/middlebar.sub",
|
||||
},
|
||||
|
||||
## Owner
|
||||
{
|
||||
"name" : "Owner",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 144,
|
||||
"y" : 33,
|
||||
|
||||
"width" : 130,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Owner_Slot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"start_index" : 0,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"x_count" : 4,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/slot_base.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Owner_Money",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 102,
|
||||
|
||||
#"image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Owner_Money_Value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 59,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "1234567",
|
||||
|
||||
"text_horizontal_align" : "right",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Owner_Accept_Light",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 62,
|
||||
"y" : 101,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/accept_button_on.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Owner_Accept_Button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 85,
|
||||
"y" : 101,
|
||||
|
||||
"text" : uiScriptLocale.EXCHANGE_ACCEPT,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Target
|
||||
{
|
||||
"name" : "Target",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33,
|
||||
|
||||
"width" : 130,
|
||||
"height" : 130,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Target_Slot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"start_index" : 0,
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"x_count" : 4,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
"x_blank" : 0,
|
||||
"y_blank" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/slot_base.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Target_Money",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 102,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/parameter_slot_02.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Target_Money_Value",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 59,
|
||||
"y" : 2,
|
||||
|
||||
"text" : "1234567",
|
||||
|
||||
"text_horizontal_align" : "right",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Target_Accept_Light",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 62,
|
||||
"y" : 101,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/accept_button_off.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/accept_button_on.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,230 +0,0 @@
|
|||
FISHING_PATH = "d:/ymir work/ui/game/fishing/"
|
||||
|
||||
window = {
|
||||
"name" : "FishingWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 100,
|
||||
"y" : 100,
|
||||
|
||||
"width" : 150,
|
||||
"height" : 195,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 150,
|
||||
"height" : 195,
|
||||
"title" : "³¬½Ã",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "FishingBox1",
|
||||
"type" : "box",
|
||||
|
||||
"x" : 9,
|
||||
"y" : 31,
|
||||
"width" : 131,
|
||||
"height" : 131,
|
||||
|
||||
"color" : 0xFF6C6359,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "FishingBox2",
|
||||
"type" : "box",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 32,
|
||||
"width" : 129,
|
||||
"height" : 129,
|
||||
|
||||
"color" : 0xFF35302D,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Water",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 33,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 7,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "water/00.dds",
|
||||
FISHING_PATH + "water/01.dds",
|
||||
FISHING_PATH + "water/02.dds",
|
||||
FISHING_PATH + "water/03.dds",
|
||||
FISHING_PATH + "water/04.dds",
|
||||
FISHING_PATH + "water/05.dds",
|
||||
FISHING_PATH + "water/06.dds",
|
||||
),
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "FishName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 10,
|
||||
|
||||
"text" : "¹°°í±â À̸§",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_Wait",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 32,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_wait/fh_wait00.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait01.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait02.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait03.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait04.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait05.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait06.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait07.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait08.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait09.tga",
|
||||
FISHING_PATH + "float_wait/fh_wait10.tga",
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_Throw",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_throw/fh_fall00.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall01.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall02.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall03.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall04.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall05.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall06.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall07.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall08.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall09.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall10.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall11.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall12.tga",
|
||||
FISHING_PATH + "float_throw/fh_fall13.tga",
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_React",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 64,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_react/fh_bite00.tga",
|
||||
FISHING_PATH + "float_react/fh_bite01.tga",
|
||||
FISHING_PATH + "float_react/fh_bite02.tga",
|
||||
FISHING_PATH + "float_react/fh_bite03.tga",
|
||||
FISHING_PATH + "float_react/fh_bite04.tga",
|
||||
FISHING_PATH + "float_react/fh_bite05.tga",
|
||||
FISHING_PATH + "float_react/fh_bite06.tga",
|
||||
FISHING_PATH + "float_react/fh_bite07.tga",
|
||||
FISHING_PATH + "float_react/fh_bite08.tga",
|
||||
FISHING_PATH + "float_react/fh_bite09.tga",
|
||||
FISHING_PATH + "float_react/fh_bite10.tga",
|
||||
FISHING_PATH + "float_react/fh_bite11.tga",
|
||||
FISHING_PATH + "float_react/fh_bite12.tga",
|
||||
FISHING_PATH + "float_react/fh_bite13.tga",
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Float_Catch",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"delay" : 5,
|
||||
|
||||
"images" :
|
||||
(
|
||||
FISHING_PATH + "float_catch/fh_catch00.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch01.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch02.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch03.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch04.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch05.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch06.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch07.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch08.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch09.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch10.tga",
|
||||
FISHING_PATH + "float_catch/fh_catch11.tga",
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "FishingButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 30,
|
||||
|
||||
"text" : "³¬½Ã",
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/Large_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/Large_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/Large_Button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,440 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
|
||||
TEMPORARY_X = +13
|
||||
BUTTON_TEMPORARY_X = 5
|
||||
PVP_X = -10
|
||||
|
||||
LINE_LABEL_X = 30
|
||||
LINE_DATA_X = 90
|
||||
LINE_STEP = 0
|
||||
SMALL_BUTTON_WIDTH = 45
|
||||
MIDDLE_BUTTON_WIDTH = 65
|
||||
|
||||
window = {
|
||||
"name" : "GameOptionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : 25*11+8,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : 25*11+8,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 284,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"titlename", "type":"text", "x":0, "y":3,
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
"horizontal_align":"center", "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## À̸§»ö
|
||||
{
|
||||
"name" : "name_color",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 40+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR,
|
||||
},
|
||||
{
|
||||
"name" : "name_color_normal",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_NORMAL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_color_empire",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_EMPIRE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
## Ÿ°Ùâ
|
||||
{
|
||||
"name" : "target_board",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 65+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD,
|
||||
},
|
||||
{
|
||||
"name" : "target_board_no_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_NO_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "target_board_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
## PvP Mode
|
||||
{
|
||||
"name" : "pvp_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 90+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE,
|
||||
},
|
||||
{
|
||||
"name" : "pvp_peace",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*0,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_PEACE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_PEACE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_revenge",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*1,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_REVENGE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_REVENGE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_guild",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*2,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_GUILD,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_GUILD_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_free",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*3,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_FREE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_FREE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
|
||||
## Block
|
||||
{
|
||||
"name" : "block",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 115+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK,
|
||||
},
|
||||
{
|
||||
"name" : "block_exchange_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_EXCHANGE,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_party_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_guild_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_GUILD,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_whisper_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_WHISPER,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_friend_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_FRIEND,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_party_request_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY_REQUEST,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Chat
|
||||
{
|
||||
"name" : "chat",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 165+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Always Show Name
|
||||
{
|
||||
"name" : "always_show_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 190+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Effect On/Off
|
||||
{
|
||||
"name" : "effect_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 215+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_EFFECT,
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## ÆǸŹ®±¸
|
||||
{
|
||||
"name" : "salestext_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 240+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT,
|
||||
},
|
||||
{
|
||||
"name" : "salestext_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "salestext_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,479 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
|
||||
TEMPORARY_X = +13
|
||||
BUTTON_TEMPORARY_X = 5
|
||||
PVP_X = -10
|
||||
|
||||
LINE_LABEL_X = 30
|
||||
LINE_DATA_X = 90
|
||||
LINE_STEP = 0
|
||||
SMALL_BUTTON_WIDTH = 45
|
||||
MIDDLE_BUTTON_WIDTH = 65
|
||||
|
||||
window = {
|
||||
"name" : "GameOptionDialog",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : (258+25),
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 300,
|
||||
"height" : 25*12+8,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "titlebar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 8,
|
||||
|
||||
"width" : 284,
|
||||
"color" : "gray",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"titlename", "type":"text", "x":0, "y":3,
|
||||
"text" : uiScriptLocale.GAMEOPTION_TITLE,
|
||||
"horizontal_align":"center", "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## À̸§»ö
|
||||
{
|
||||
"name" : "name_color",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 40+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR,
|
||||
},
|
||||
{
|
||||
"name" : "name_color_normal",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_NORMAL,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_color_empire",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 40,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_NAME_COLOR_EMPIRE,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
## Ÿ°Ùâ
|
||||
{
|
||||
"name" : "target_board",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 65+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD,
|
||||
},
|
||||
{
|
||||
"name" : "target_board_no_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_NO_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "target_board_view",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 65,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_TARGET_BOARD_VIEW,
|
||||
|
||||
"default_image" : ROOT_PATH + "Middle_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Middle_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Middle_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
## PvP Mode
|
||||
{
|
||||
"name" : "pvp_mode",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 90+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE,
|
||||
},
|
||||
{
|
||||
"name" : "pvp_peace",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*0,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_PEACE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_PEACE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_revenge",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*1,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_REVENGE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_REVENGE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_guild",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*2,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_GUILD,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_GUILD_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "pvp_free",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+SMALL_BUTTON_WIDTH*3,
|
||||
"y" : 90,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_PVPMODE_FREE,
|
||||
"tooltip_text" : uiScriptLocale.OPTION_PVPMODE_FREE_TOOLTIP,
|
||||
|
||||
"default_image" : ROOT_PATH + "small_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "small_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "small_Button_03.sub",
|
||||
},
|
||||
|
||||
## Block
|
||||
{
|
||||
"name" : "block",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 115+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK,
|
||||
},
|
||||
{
|
||||
"name" : "block_exchange_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_EXCHANGE,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_party_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_guild_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 115,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_GUILD,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_whisper_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*0,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_WHISPER,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_friend_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*1,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_FRIEND,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "block_party_request_button",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH*2,
|
||||
"y" : 140,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_BLOCK_PARTY_REQUEST,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Chat
|
||||
{
|
||||
"name" : "chat",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 165+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "view_chat_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 165,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Always Show Name
|
||||
{
|
||||
"name" : "always_show_name",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 190+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "always_show_name_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 190,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_ALWAYS_SHOW_NAME_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## Mobile
|
||||
{
|
||||
"name" : "mobile",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 215+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_MOBILE,
|
||||
},
|
||||
{
|
||||
"name" : "input_mobile_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_INPUT_MOBILE_BUTTON,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "delete_mobile_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 90,
|
||||
"y" : 215,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_DELETE_MOBILE_BUTTON,
|
||||
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub",
|
||||
"over_image" : ROOT_PATH + "Large_Button_02.sub",
|
||||
"down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
## Effect On/Off
|
||||
{
|
||||
"name" : "effect_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 240+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_EFFECT,
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "show_damage_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 240,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_VIEW_CHAT_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
## ÆǸŹ®±¸
|
||||
|
||||
{
|
||||
"name" : "salestext_on_off",
|
||||
"type" : "text",
|
||||
|
||||
"x" : LINE_LABEL_X,
|
||||
"y" : 265+2,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT,
|
||||
},
|
||||
{
|
||||
"name" : "salestext_on_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X,
|
||||
"y" : 265,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_ON,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "salestext_off_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : LINE_DATA_X+MIDDLE_BUTTON_WIDTH,
|
||||
"y" : 265,
|
||||
|
||||
"text" : uiScriptLocale.OPTION_SALESTEXT_VIEW_OFF,
|
||||
|
||||
"default_image" : ROOT_PATH + "middle_button_01.sub",
|
||||
"over_image" : ROOT_PATH + "middle_button_02.sub",
|
||||
"down_image" : ROOT_PATH + "middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,148 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "GameWindow",
|
||||
"style" : ("not_pick",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"HelpButton",
|
||||
"type":"button",
|
||||
"x" : 50,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"HelpButtonLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_HELP,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"QuestButton",
|
||||
"type":"button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"QuestButtonLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_QUEST,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"StatusPlusButton",
|
||||
"type" : "button",
|
||||
"x" : 68,
|
||||
"y" : SCREEN_HEIGHT-100,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"StatusPlusLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_STAT_UP,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"SkillPlusButton",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-100,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"SkillPlusLabel",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text":uiScriptLocale.GAME_SKILL_UP,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"ExitObserver",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"ExitObserverButtonName",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text": uiScriptLocale.GAME_EXIT_OBSERVER,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name":"BuildGuildBuilding",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH-50-32,
|
||||
"y" : SCREEN_HEIGHT-170,
|
||||
"default_image" : "d:/ymir work/ui/game/windows/btn_bigplus_up.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/btn_bigplus_over.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/btn_bigplus_down.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"BuildGuildBuildingButtonName",
|
||||
"type":"text",
|
||||
"x": 16,
|
||||
"y": 40,
|
||||
"text": uiScriptLocale.GUILD_BUILDING_TITLE,
|
||||
"r":1.0, "g":1.0, "b":1.0, "a":1.0,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,185 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/game/guild/"
|
||||
LOCALE_PATH = uiScriptLocale.GUILD_PATH
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow",
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 356,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 356,
|
||||
|
||||
"title" : uiScriptLocale.GUILD_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 328,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_1.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_2.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_3.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_04",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_4.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_05",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_5.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_06",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 376,
|
||||
"height" : 37,
|
||||
|
||||
"image" : LOCALE_PATH+"tab_6.sub",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 6,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 53,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 61,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 67,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 130,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_04",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 192,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_05",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 254,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 60,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_06",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 316,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 55,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,190 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
RESOURCE_NAME_POS = 132
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_BaseInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Name
|
||||
{
|
||||
"name" : "BaseName",
|
||||
"type" : "text",
|
||||
"x" : 90,
|
||||
"y" : 10,
|
||||
"text" : uiScriptLocale.GUILD_BASENAME,
|
||||
},
|
||||
{
|
||||
"name" : "BaseNameSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 180,
|
||||
"y" : 3,
|
||||
"width" : 105,
|
||||
"height" : 24,
|
||||
"text" : uiScriptLocale.GUILD_BASENAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "BaseNameValue",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.GUILD_BASENAME,
|
||||
"fontsize" : "LARGE",
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Resource Information
|
||||
{
|
||||
"name" : "HorizontalBar1",
|
||||
"type" : "horizontalbar",
|
||||
"x" : 0,
|
||||
"y" : 32,
|
||||
"width" : 337,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ResourceInformationName",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.GUILD_RESOURCE_INFO,
|
||||
"all_align" : "center",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ResourceSlot1", "type" : "slotbar", "x" : 5 + 31*0, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName1", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_WATER_STONE, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue1", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot2", "type" : "slotbar", "x" : 5 + 31*1, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName2", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_METIN_STONE, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue2", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot3", "type" : "slotbar", "x" : 5 + 31*2, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName3", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_WATER, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue3", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot4", "type" : "slotbar", "x" : 5 + 31*3, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName4", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_CRYSTAL, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue4", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot5", "type" : "slotbar", "x" : 5 + 31*4, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName5", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_MINENAL, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue5", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ResourceSlot6", "type" : "slotbar", "x" : 5 + 31*5, "y" : 38, "width" : 27, "height" : 18,
|
||||
"children" :
|
||||
(
|
||||
{ "name" : "ResourceName6", "type" : "text", "x" : 0, "y" : -16, "text" : uiScriptLocale.GUILD_GEM, "horizontal_align" : "center", "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceValue6", "type" : "text", "x" : 0, "y" : 0, "text" : "999", "all_align" : "center", },
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ResourceBasket", "type" : "bar", "x" : 195, "y" : 21, "width" : 142, "height" : 39,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ResourceBasketDescription1", "type" : "text", "x" : 0, "y" : 5, "text" : uiScriptLocale.GUILD_DROP_RESOURCE1, "horizontal_align" : "center", "text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "ResourceBasketDescription2", "type" : "text", "x" : 0, "y" : 21, "text" : uiScriptLocale.GUILD_DROP_RESOURCE2, "horizontal_align" : "center", "text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## Resource Information
|
||||
{
|
||||
"name" : "HorizontalBar1",
|
||||
"type" : "horizontalbar",
|
||||
"x" : 0,
|
||||
"y" : 95,
|
||||
"width" : 337,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "ResourceInformationName",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.GUILD_BUILDING_INFO,
|
||||
"all_align" : "center",
|
||||
},
|
||||
|
||||
## BuildingName
|
||||
{
|
||||
"name" : "BuildingName", "type" : "text", "x" : 16, "y" : 20, "text" : uiScriptLocale.GUILD_BUILDING_NAME,
|
||||
},
|
||||
## Grade
|
||||
{
|
||||
"name" : "Grade", "type" : "text", "x" : 89, "y" : 20, "text" : uiScriptLocale.GUILD_BUILDING_GRADE,
|
||||
},
|
||||
|
||||
## Resources
|
||||
{ "name" : "ResourceName1", "type" : "text", "x" : RESOURCE_NAME_POS + 29*0, "y" : 20, "text" : uiScriptLocale.GUILD_WATER_STONE, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName2", "type" : "text", "x" : RESOURCE_NAME_POS + 29*1, "y" : 20, "text" : uiScriptLocale.GUILD_METIN_STONE, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName3", "type" : "text", "x" : RESOURCE_NAME_POS + 29*2, "y" : 20, "text" : uiScriptLocale.GUILD_WATER, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName4", "type" : "text", "x" : RESOURCE_NAME_POS + 29*3, "y" : 20, "text" : uiScriptLocale.GUILD_CRYSTAL, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName5", "type" : "text", "x" : RESOURCE_NAME_POS + 29*4, "y" : 20, "text" : uiScriptLocale.GUILD_MINENAL, "text_horizontal_align" : "center", },
|
||||
{ "name" : "ResourceName6", "type" : "text", "x" : RESOURCE_NAME_POS + 29*5, "y" : 20, "text" : uiScriptLocale.GUILD_GEM, "text_horizontal_align" : "center", },
|
||||
|
||||
## Power
|
||||
{
|
||||
"name" : "Power", "type" : "text", "x" : 303, "y" : 20, "text" : uiScriptLocale.GUILD_BUILDING_OPERATE,
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## Buttons
|
||||
{
|
||||
"name" : "RefreshButton",
|
||||
"type" : "button",
|
||||
"x" : 337,
|
||||
"y" : 5,
|
||||
"default_image" : "d:/ymir work/ui/game/guild/Refresh_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/guild/Refresh_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/guild/Refresh_Button_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.GUILD_BUILDING_REFRESH,
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,75 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
BOARD_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_06.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_BoardPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## ID
|
||||
{
|
||||
"name" : "IndexID", "type" : "text", "x" : 42, "y" : 8, "text" : uiScriptLocale.GUILD_BOARD_ID,
|
||||
},
|
||||
## Messages
|
||||
{
|
||||
"name" : "IndexMessages", "type" : "text", "x" : 212, "y" : 8, "text" : uiScriptLocale.GUILD_BOARD_TEXT,
|
||||
},
|
||||
|
||||
## Refresh Button
|
||||
{
|
||||
"name" : "RefreshButton",
|
||||
"type" : "button",
|
||||
"x" : 337,
|
||||
"y" : 5,
|
||||
"default_image" : "d:/ymir work/ui/game/guild/Refresh_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/guild/Refresh_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/guild/Refresh_Button_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.GUILD_BOARD_REFRESH,
|
||||
},
|
||||
|
||||
## Post Comment Button
|
||||
{
|
||||
"name" : "PostCommentButton",
|
||||
"type" : "button",
|
||||
"x" : 337,
|
||||
"y" : 273,
|
||||
"default_image" : "d:/ymir work/ui/game/taskbar/Send_Chat_Button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/taskbar/Send_Chat_Button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/taskbar/Send_Chat_Button_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.GUILD_GRADE_WRITE,
|
||||
},
|
||||
|
||||
## EditLine
|
||||
{
|
||||
"name" : "CommentSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 15,
|
||||
"y" : 272,
|
||||
"width" : 315,
|
||||
"height" : 18,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CommentValue",
|
||||
"type" : "editline",
|
||||
"x" : 2,
|
||||
"y" : 3,
|
||||
"width" : 317,
|
||||
"height" : 15,
|
||||
"input_limit" : 49,
|
||||
"text" : "",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_BoardPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## GradeNumber
|
||||
{
|
||||
"name" : "GradeNumber", "type" : "text", "x" : 21, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_NUM,
|
||||
},
|
||||
## GradeName
|
||||
{
|
||||
"name" : "GradeName", "type" : "text", "x" : 76, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_RANK,
|
||||
},
|
||||
## InviteAuthority
|
||||
{
|
||||
"name" : "InviteAuthority", "type" : "text", "x" : 126, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_JOIN,
|
||||
},
|
||||
## DriveOutAuthority
|
||||
{
|
||||
"name" : "DriveOutAuthority", "type" : "text", "x" : 183, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_DELETE,
|
||||
},
|
||||
## NoticeAuthority
|
||||
{
|
||||
"name" : "NoticeAuthority", "type" : "text", "x" : 240, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_NOTICE,
|
||||
},
|
||||
## GeneralAuthority
|
||||
{
|
||||
"name" : "SkillAuthority", "type" : "text", "x" : 297, "y" : 5, "text" : uiScriptLocale.GUILD_GRADE_PERMISSION_SKILL,
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,382 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
XLARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_04.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Guild Info Title
|
||||
{
|
||||
"name":"Guild_Info_Title_Bar", "type":"horizontalbar", "x":5, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Guild_Info_Point_Value", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO, },
|
||||
|
||||
## GuildName
|
||||
{
|
||||
"name" : "GuildName", "type" : "text", "x" : 3, "y" : 31, "text" : uiScriptLocale.GUILD_INFO_NAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_NAME_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMaster
|
||||
{
|
||||
"name" : "GuildMaster", "type" : "text", "x" : 3, "y" : 57, "text" : uiScriptLocale.GUILD_INFO_MASTER,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMasterNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMasterNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_MASTER_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildLevel
|
||||
{
|
||||
"name" : "GuildLevel", "type" : "text", "x" : 3, "y" : 93, "text" : uiScriptLocale.GUILD_INFO_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildLevelSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"width" : 45,
|
||||
"height" : 17,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildLevelValue", "type":"text", "text":"30", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## CurrentExperience
|
||||
{
|
||||
"name" : "CurrentExperience", "type" : "text", "x" : 3, "y" : 119, "text" : uiScriptLocale.GUILD_INFO_CUR_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CurrentExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "CurrentExperienceValue", "type":"text", "text":"10000000", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LastExperience
|
||||
{
|
||||
"name" : "LastExperience", "type" : "text", "x" : 3, "y" : 145, "text" : uiScriptLocale.GUILD_INFO_REST_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LastExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "LastExperienceValue", "type":"text", "text":"123123123123", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberCount
|
||||
{
|
||||
"name" : "GuildMemberCount", "type" : "text", "x" : 3, "y" : 171, "text" : uiScriptLocale.GUILD_INFO_MEMBER_NUM,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberCountSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberCountValue", "type":"text", "text":"30 / 32", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberLevelAverage
|
||||
{
|
||||
"name" : "GuildMemberLevelAverage", "type" : "text", "x" : 3, "y" : 197, "text" : uiScriptLocale.GUILD_INFO_MEMBER_AVG_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberLevelAverageSlot",
|
||||
"type" : "image",
|
||||
"x" : 108,
|
||||
"y" : -2,
|
||||
"image" : SMALL_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberLevelAverageValue", "type":"text", "text":"53", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "OfferButton",
|
||||
"type" : "button",
|
||||
"x" : 127,
|
||||
"y" : 100,
|
||||
"text" : uiScriptLocale.GUILD_INFO_OFFER_EXP,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
###############################################################################################################
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_MARK, },
|
||||
|
||||
## LargeGuildMark
|
||||
{
|
||||
"name" : "LargeGuildMarkSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 5,
|
||||
"y" : 24,
|
||||
"width" : 48+1,
|
||||
"height" : 36+1,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LargeGuildMark",
|
||||
"type" : "mark",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## UploadButton
|
||||
{
|
||||
"name" : "UploadGuildMarkButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_MARK,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "UploadGuildSymbolButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33 + 23,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_SYMBOL,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":85, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD, },
|
||||
|
||||
{
|
||||
"name" : "EnemyGuildSlot1",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*0,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName1", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot2",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*1,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName2", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot3",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*2,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName3", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot4",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*3,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName4", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot5",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*4,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName5", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot6",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*5,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName6", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## CancelButtons
|
||||
{
|
||||
"name" : "EnemyGuildCancel1",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*0,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel2",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*1,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel3",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*2,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel4",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*3,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel5",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*4,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel6",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*5,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
## DeclareWar
|
||||
{
|
||||
"name" : "DeclareWarButton",
|
||||
"type" : "button",
|
||||
"x" : 250 + 15,
|
||||
"y" : 264,
|
||||
"text" : uiScriptLocale.GUILD_INFO_DECALRE_WAR,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,400 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
XLARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_04.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Guild Info Title
|
||||
{
|
||||
"name":"Guild_Info_Title_Bar", "type":"horizontalbar", "x":5, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Guild_Info_Point_Value", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO, },
|
||||
|
||||
## GuildName
|
||||
{
|
||||
"name" : "GuildName", "type" : "text", "x" : 3, "y" : 31, "text" : uiScriptLocale.GUILD_INFO_NAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_NAME_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMaster
|
||||
{
|
||||
"name" : "GuildMaster", "type" : "text", "x" : 3, "y" : 57, "text" : uiScriptLocale.GUILD_INFO_MASTER,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMasterNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMasterNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_MASTER_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildLevel
|
||||
{
|
||||
"name" : "GuildLevel", "type" : "text", "x" : 3, "y" : 93, "text" : uiScriptLocale.GUILD_INFO_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildLevelSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"width" : 45,
|
||||
"height" : 17,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildLevelValue", "type":"text", "text":"30", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## CurrentExperience
|
||||
{
|
||||
"name" : "CurrentExperience", "type" : "text", "x" : 3, "y" : 119, "text" : uiScriptLocale.GUILD_INFO_CUR_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CurrentExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "CurrentExperienceValue", "type":"text", "text":"10000000", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LastExperience
|
||||
{
|
||||
"name" : "LastExperience", "type" : "text", "x" : 3, "y" : 145, "text" : uiScriptLocale.GUILD_INFO_REST_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LastExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "LastExperienceValue", "type":"text", "text":"123123123123", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberCount
|
||||
{
|
||||
"name" : "GuildMemberCount", "type" : "text", "x" : 3, "y" : 171, "text" : uiScriptLocale.GUILD_INFO_MEMBER_NUM,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberCountSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberCountValue", "type":"text", "text":"30 / 32", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberLevelAverage
|
||||
{
|
||||
"name" : "GuildMemberLevelAverage", "type" : "text", "x" : 3, "y" : 197, "text" : uiScriptLocale.GUILD_INFO_MEMBER_AVG_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberLevelAverageSlot",
|
||||
"type" : "image",
|
||||
"x" : 108,
|
||||
"y" : -2,
|
||||
"image" : SMALL_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberLevelAverageValue", "type":"text", "text":"53", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMoney
|
||||
{
|
||||
"name" : "GuildMoney", "type" : "text", "x" : 3, "y" : 233, "text" : uiScriptLocale.GUILD_MONEY,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMoneySlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMoneyValue", "type":"text", "text":"9999999", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "OfferButton",
|
||||
"type" : "button",
|
||||
"x" : 127,
|
||||
"y" : 100,
|
||||
"text" : uiScriptLocale.GUILD_INFO_OFFER_EXP,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
###############################################################################################################
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_MARK, },
|
||||
|
||||
## LargeGuildMark
|
||||
{
|
||||
"name" : "LargeGuildMarkSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 5,
|
||||
"y" : 24,
|
||||
"width" : 48+1,
|
||||
"height" : 36+1,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LargeGuildMark",
|
||||
"type" : "mark",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## UploadButton
|
||||
{
|
||||
"name" : "UploadGuildMarkButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_MARK,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "UploadGuildSymbolButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33 + 23,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_SYMBOL,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":85, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD, },
|
||||
|
||||
{
|
||||
"name" : "EnemyGuildSlot1",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*0,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName1", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot2",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*1,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName2", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot3",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*2,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName3", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot4",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*3,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName4", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot5",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*4,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName5", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot6",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*5,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName6", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## CancelButtons
|
||||
{
|
||||
"name" : "EnemyGuildCancel1",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*0,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel2",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*1,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel3",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*2,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel4",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*3,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel5",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*4,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel6",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*5,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
## DeclareWar
|
||||
{
|
||||
"name" : "DeclareWarButton",
|
||||
"type" : "button",
|
||||
"x" : 250 + 15,
|
||||
"y" : 264,
|
||||
"text" : uiScriptLocale.GUILD_INFO_DECALRE_WAR,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,420 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
|
||||
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
|
||||
XLARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_04.sub"
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildInfoPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Guild Info Title
|
||||
{
|
||||
"name":"Guild_Info_Title_Bar", "type":"horizontalbar", "x":5, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
{ "name":"Guild_Info_Point_Value", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO, },
|
||||
|
||||
## GuildName
|
||||
{
|
||||
"name" : "GuildName", "type" : "text", "x" : 3, "y" : 31, "text" : uiScriptLocale.GUILD_INFO_NAME,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_NAME_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMaster
|
||||
{
|
||||
"name" : "GuildMaster", "type" : "text", "x" : 3, "y" : 57, "text" : uiScriptLocale.GUILD_INFO_MASTER,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMasterNameSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMasterNameValue", "type":"text", "text":uiScriptLocale.GUILD_INFO_MASTER_VALUE, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildLevel
|
||||
{
|
||||
"name" : "GuildLevel", "type" : "text", "x" : 3, "y" : 93, "text" : uiScriptLocale.GUILD_INFO_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildLevelSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"width" : 45,
|
||||
"height" : 17,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildLevelValue", "type":"text", "text":"30", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## CurrentExperience
|
||||
{
|
||||
"name" : "CurrentExperience", "type" : "text", "x" : 3, "y" : 119, "text" : uiScriptLocale.GUILD_INFO_CUR_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CurrentExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "CurrentExperienceValue", "type":"text", "text":"10000000", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## LastExperience
|
||||
{
|
||||
"name" : "LastExperience", "type" : "text", "x" : 3, "y" : 145, "text" : uiScriptLocale.GUILD_INFO_REST_EXP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LastExperienceSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "LastExperienceValue", "type":"text", "text":"123123123123", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberCount
|
||||
{
|
||||
"name" : "GuildMemberCount", "type" : "text", "x" : 3, "y" : 171, "text" : uiScriptLocale.GUILD_INFO_MEMBER_NUM,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberCountSlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberCountValue", "type":"text", "text":"30 / 32", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMemberLevelAverage
|
||||
{
|
||||
"name" : "GuildMemberLevelAverage", "type" : "text", "x" : 3, "y" : 197, "text" : uiScriptLocale.GUILD_INFO_MEMBER_AVG_LEVEL,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMemberLevelAverageSlot",
|
||||
"type" : "image",
|
||||
"x" : 108,
|
||||
"y" : -2,
|
||||
"image" : SMALL_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMemberLevelAverageValue", "type":"text", "text":"53", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## GuildMoney
|
||||
{
|
||||
"name" : "GuildMoney", "type" : "text", "x" : 3, "y" : 233, "text" : uiScriptLocale.GUILD_MONEY,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GuildMoneySlot",
|
||||
"type" : "image",
|
||||
"x" : 70,
|
||||
"y" : -2,
|
||||
"image" : LARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "GuildMoneyValue", "type":"text", "text":"9999999", "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "OfferButton",
|
||||
"type" : "button",
|
||||
"x" : 127,
|
||||
"y" : 100,
|
||||
"text" : uiScriptLocale.GUILD_INFO_OFFER_EXP,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "DepositButton",
|
||||
"type" : "button",
|
||||
"x" : 78,
|
||||
"y" : 263,
|
||||
"text" : uiScriptLocale.GUILD_DEPOSIT,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "WithdrawButton",
|
||||
"type" : "button",
|
||||
"x" : 126,
|
||||
"y" : 263,
|
||||
"text" : uiScriptLocale.GUILD_WITHDRAW,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
###############################################################################################################
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":10, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_MARK, },
|
||||
|
||||
## LargeGuildMark
|
||||
{
|
||||
"name" : "LargeGuildMarkSlot",
|
||||
"type" : "slotbar",
|
||||
"x" : 5,
|
||||
"y" : 24,
|
||||
"width" : 48+1,
|
||||
"height" : 36+1,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "LargeGuildMark",
|
||||
"type" : "mark",
|
||||
"x" : 1,
|
||||
"y" : 1,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## UploadButton
|
||||
{
|
||||
"name" : "UploadGuildMarkButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_MARK,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "UploadGuildSymbolButton",
|
||||
"type" : "button",
|
||||
"x" : 260,
|
||||
"y" : 33 + 23,
|
||||
"text" : uiScriptLocale.GUILD_INFO_UPLOAD_SYMBOL,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
## Guild Mark Title
|
||||
{
|
||||
"name":"Guild_Mark_Title_Bar", "type":"horizontalbar", "x":188, "y":85, "width":167,
|
||||
"children" :
|
||||
(
|
||||
|
||||
{ "name":"Guild_Mark_Title", "type":"text", "x":8, "y":3, "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD, },
|
||||
|
||||
{
|
||||
"name" : "EnemyGuildSlot1",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*0,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName1", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot2",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*1,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName2", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot3",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*2,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName3", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot4",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*3,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName4", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot5",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*4,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName5", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildSlot6",
|
||||
"type" : "image",
|
||||
"x" : 4,
|
||||
"y" : 27 + 26*5,
|
||||
"image" : XLARGE_VALUE_FILE,
|
||||
"children" :
|
||||
(
|
||||
{"name" : "EnemyGuildName6", "type":"text", "text":uiScriptLocale.GUILD_INFO_ENEMY_GUILD_EMPTY, "x":0, "y":0, "all_align":"center"},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## CancelButtons
|
||||
{
|
||||
"name" : "EnemyGuildCancel1",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*0,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel2",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*1,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel3",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*2,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel4",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*3,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel5",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*4,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "EnemyGuildCancel6",
|
||||
"type" : "button",
|
||||
"x" : 310,
|
||||
"y" : 111 + 26*5,
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
## DeclareWar
|
||||
{
|
||||
"name" : "DeclareWarButton",
|
||||
"type" : "button",
|
||||
"x" : 250 + 15,
|
||||
"y" : 264,
|
||||
"text" : uiScriptLocale.GUILD_INFO_DECALRE_WAR,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,224 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ADD_HEIGHT = 17
|
||||
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_GuildSkillPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## PassiveSkill
|
||||
{
|
||||
"name":"Passive_Skill_Bar",
|
||||
"type":"horizontalbar",
|
||||
"x":0,
|
||||
"y":3 + ADD_HEIGHT,
|
||||
"width":320,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Passive_Skill_Title",
|
||||
"type":"text",
|
||||
"x" : 7,
|
||||
"y" : 2,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"text" : uiScriptLocale.GUILD_SKILL_PASSIVE,
|
||||
},
|
||||
{
|
||||
"name":"Passive_Skill_Plus_Label",
|
||||
"type":"image",
|
||||
"x":240,
|
||||
"y":2,
|
||||
"image":LOCALE_PATH+"label_uppt.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"Skill_Plus_Value",
|
||||
"type":"text",
|
||||
"x":61,
|
||||
"y":0,
|
||||
"text":"99",
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
}, ## end of PassiveSkill's horizontal bar
|
||||
|
||||
{
|
||||
"name" : "Passive_Skill_Slot_Table",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 20 + 16,
|
||||
"y" : 6 + 23 + ADD_HEIGHT,
|
||||
|
||||
"start_index" : 200,
|
||||
"x_count" : 9,
|
||||
"y_count" : 1,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## ActiveSkill
|
||||
{
|
||||
"name":"Active_Skill_Bar",
|
||||
"type":"horizontalbar",
|
||||
"x":0,
|
||||
"y":70 + ADD_HEIGHT,
|
||||
"width":320,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Active_Skill_Title",
|
||||
"type":"text",
|
||||
"x" : 7,
|
||||
"y" : 2,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
"text" : uiScriptLocale.GUILD_SKILL_ACTIVE,
|
||||
},
|
||||
|
||||
),
|
||||
}, ## end of PassiveSkill's horizontal bar
|
||||
|
||||
{
|
||||
"name" : "Active_Skill_Slot_Table",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 20 + 16,
|
||||
"y" : 73 + 23 + ADD_HEIGHT,
|
||||
|
||||
"start_index" : 210,
|
||||
"x_count" : 9,
|
||||
"y_count" : 1,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## Affect
|
||||
{
|
||||
"name":"Affect_Bar",
|
||||
"type":"horizontalbar",
|
||||
"x":0,
|
||||
"y":137 + ADD_HEIGHT,
|
||||
"width":320,
|
||||
"horizontal_align" : "center",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Affect_Title",
|
||||
"type":"text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : uiScriptLocale.GUILD_SKILL_STATE,
|
||||
},
|
||||
|
||||
),
|
||||
}, ## end of AffectedSkill's horizontal bar
|
||||
|
||||
{
|
||||
"name" : "Affect_Slot_Table",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 20 + 16,
|
||||
"y" : 137 + 30 + ADD_HEIGHT,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 9,
|
||||
"y_count" : 2,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
###########################################################################################
|
||||
|
||||
{
|
||||
"name":"Dragon_God_Power_Title",
|
||||
"type":"text",
|
||||
"x" : 20,
|
||||
"y" : 243 + ADD_HEIGHT + 5,
|
||||
"text" : uiScriptLocale.GUILD_SKILL_POWER,
|
||||
},
|
||||
{
|
||||
"name":"Dragon_God_Power_Gauge_Slot",
|
||||
"type":"image",
|
||||
"x" : 65,
|
||||
"y" : 243 + ADD_HEIGHT + 5,
|
||||
"image" : "d:/ymir work/ui/game/guild/gauge.sub",
|
||||
},
|
||||
{
|
||||
"name" : "Dragon_God_Power_Gauge",
|
||||
"type" : "ani_image",
|
||||
|
||||
"x" : 69,
|
||||
"y" : 243 + ADD_HEIGHT + 5,
|
||||
|
||||
"delay" : 6,
|
||||
|
||||
"images" :
|
||||
(
|
||||
"D:/Ymir Work/UI/Pattern/SPGauge/01.tga",
|
||||
"D:/Ymir Work/UI/Pattern/SPGauge/02.tga",
|
||||
"D:/Ymir Work/UI/Pattern/SPGauge/03.tga",
|
||||
"D:/Ymir Work/UI/Pattern/SPGauge/04.tga",
|
||||
"D:/Ymir Work/UI/Pattern/SPGauge/05.tga",
|
||||
"D:/Ymir Work/UI/Pattern/SPGauge/06.tga",
|
||||
"D:/Ymir Work/UI/Pattern/SPGauge/07.tga",
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Dragon_God_Power_Slot",
|
||||
"type" : "image",
|
||||
"x" : 255,
|
||||
"y" : 241 + ADD_HEIGHT - 4,
|
||||
"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name":"Dragon_God_Power_Value",
|
||||
"type":"text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : "3000 / 3000",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
## OfferButton
|
||||
{
|
||||
"name" : "Heal_GSP_Button",
|
||||
"type" : "button",
|
||||
"x" : 257,
|
||||
"y" : 241 + ADD_HEIGHT + 17,
|
||||
"text" : uiScriptLocale.GUILD_SKIlL_HEAL_GSP,
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "GuildWindow_MemberPage",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 30,
|
||||
|
||||
"width" : 360,
|
||||
"height" : 298,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## ScrollBar
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 341,
|
||||
"y" : 20,
|
||||
"scrollbar_type" : "normal",
|
||||
"size" : 270,
|
||||
},
|
||||
|
||||
## Grade
|
||||
{
|
||||
"name" : "IndexName", "type" : "text", "x" : 43, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "IndexGrade", "type" : "text", "x" : 119, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_RANK,
|
||||
},
|
||||
{
|
||||
"name" : "IndexJob", "type" : "text", "x" : 177, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_JOB,
|
||||
},
|
||||
{
|
||||
"name" : "IndexLevel", "type" : "text", "x" : 217, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_LEVEL,
|
||||
},
|
||||
{
|
||||
"name" : "IndexOffer", "type" : "text", "x" : 251, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_SPECIFIC_GRAVITY,
|
||||
},
|
||||
{
|
||||
"name" : "IndexGeneral", "type" : "text", "x" : 304, "y" : 8, "text" : uiScriptLocale.GUILD_MEMBER_KNIGHT,
|
||||
},
|
||||
|
||||
),
|
||||
}
|
|
@ -1,277 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
HELP_STICK_IMAGE_FILE_NAME = "d:/ymir work/ui/pattern/help_stick.tga"
|
||||
|
||||
START_HEIGHT = 50
|
||||
HEIGHT_STEP = 20
|
||||
|
||||
window = {
|
||||
"name" : "HelpWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Float Text
|
||||
{
|
||||
"name" : "help_01", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*0) / 600,
|
||||
"text" : uiScriptLocale.HELP_MOVE_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*1) / 600,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_RIGHTBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*2) / 600,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_MIDDLEBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_03", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*3) / 600,
|
||||
"text" : uiScriptLocale.HELP_SHOW_ALL_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "help_04", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*4) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "help_05", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*5) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_WHISPER,
|
||||
},
|
||||
{
|
||||
"name" : "help_06", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*6) / 600,
|
||||
"text" : uiScriptLocale.HELP_ATTACK_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_07", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*7) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHARACTER,
|
||||
},
|
||||
{
|
||||
"name" : "help_08", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*8) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_SKILL,
|
||||
},
|
||||
{
|
||||
"name" : "help_09", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*9) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_QUEST,
|
||||
},
|
||||
{
|
||||
"name" : "help_10", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*10) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_INVENTORY,
|
||||
},
|
||||
{
|
||||
"name" : "help_11", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*11) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_LOG,
|
||||
},
|
||||
{
|
||||
"name" : "help_12", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*12) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_ZONEMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_13", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*13) / 600,
|
||||
"text" : uiScriptLocale.HELP_OPEN_MINIMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_14", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*14) / 600,
|
||||
"text" : uiScriptLocale.HELP_CHANGE_PK_MODE,
|
||||
},
|
||||
{
|
||||
"name" : "help_15", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*15) / 600,
|
||||
"text" : uiScriptLocale.HELP_PICK_ITEM,
|
||||
},
|
||||
{
|
||||
"name" : "help_16", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*16) / 600,
|
||||
"text" : uiScriptLocale.HELP_SCREEN_CAPTURE,
|
||||
},
|
||||
{
|
||||
"name" : "help_17", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*17) / 600,
|
||||
"text" : uiScriptLocale.HELP_GUILD_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_18", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*18) / 600,
|
||||
"text" : uiScriptLocale.HELP_MESSENGER_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_19", "type" : "text", "outline" : 1,
|
||||
"x" : SCREEN_WIDTH * 150 / 800, "y" : SCREEN_HEIGHT * (START_HEIGHT+HEIGHT_STEP*19) / 600,
|
||||
"text" : uiScriptLocale.HELP_HELP,
|
||||
},
|
||||
|
||||
## TaskBar
|
||||
{
|
||||
"name" : "taskbar_help_stick_01", "type" : "expanded_image",
|
||||
"x" : 22, "y" : SCREEN_HEIGHT - 120,
|
||||
"rect" : (0.0, 0.0, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_01", "type" : "text",
|
||||
"x" : -20, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_FURY,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_02", "type" : "expanded_image",
|
||||
"x" : 80, "y" : SCREEN_HEIGHT - 122,
|
||||
"rect" : (0.0, -0.3, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_02", "type" : "text",
|
||||
"x" : 4, "y" : 12,
|
||||
"text" : uiScriptLocale.HELP_HP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_03", "type" : "expanded_image",
|
||||
"x" : 120, "y" : SCREEN_HEIGHT - 107,
|
||||
"rect" : (0.0, -0.4, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_03", "type" : "text",
|
||||
"x" : 4, "y" : 23,
|
||||
"text" : uiScriptLocale.HELP_SP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_04", "type" : "expanded_image",
|
||||
"x" : 206, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_04", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_EXP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_05", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 - 128 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_05", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_LEFT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_06", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 + 128 + 66 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_06", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_RIGHT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_07", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH * (400 - 4) / 800, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_07", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_QUICKSLOT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_08", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH - 77 - 4, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.28, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_08a", "type" : "text",
|
||||
"x" : 4, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_SYSTEM_BUTTON,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08b", "type" : "text",
|
||||
"x" : 4, "y" : -5,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON1,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08c", "type" : "text",
|
||||
"x" : 4, "y" : 10,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON2,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "close_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (55) / 600,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,342 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
HELP_STICK_IMAGE_FILE_NAME = "d:/ymir work/ui/pattern/help_stick.tga"
|
||||
|
||||
START_HEIGHT = 50
|
||||
HEIGHT_STEP = 20
|
||||
|
||||
window = {
|
||||
"name" : "HelpWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Float Text
|
||||
{
|
||||
"name" : "page_1",
|
||||
"type" : "window",
|
||||
|
||||
"x" : SCREEN_WIDTH * 150 / 800,
|
||||
"y" : SCREEN_HEIGHT * START_HEIGHT / 600,
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "help_01", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*0,
|
||||
"text" : uiScriptLocale.HELP_MOVE_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*1,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_RIGHTBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_02", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*2,
|
||||
"text" : uiScriptLocale.HELP_CONTROL_CAMERA_BY_MIDDLEBUTTON,
|
||||
},
|
||||
{
|
||||
"name" : "help_03", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*3,
|
||||
"text" : uiScriptLocale.HELP_SHOW_ALL_NAME,
|
||||
},
|
||||
{
|
||||
"name" : "help_04", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*4,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHAT,
|
||||
},
|
||||
{
|
||||
"name" : "help_05", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*5,
|
||||
"text" : uiScriptLocale.HELP_OPEN_WHISPER,
|
||||
},
|
||||
{
|
||||
"name" : "help_06", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*6,
|
||||
"text" : uiScriptLocale.HELP_ATTACK_KEY,
|
||||
},
|
||||
{
|
||||
"name" : "help_07", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*7,
|
||||
"text" : uiScriptLocale.HELP_OPEN_CHARACTER,
|
||||
},
|
||||
{
|
||||
"name" : "help_08", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*8,
|
||||
"text" : uiScriptLocale.HELP_OPEN_SKILL,
|
||||
},
|
||||
{
|
||||
"name" : "help_09", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*9,
|
||||
"text" : uiScriptLocale.HELP_OPEN_QUEST,
|
||||
},
|
||||
{
|
||||
"name" : "help_10", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*10,
|
||||
"text" : uiScriptLocale.HELP_OPEN_INVENTORY,
|
||||
},
|
||||
{
|
||||
"name" : "help_11", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*11,
|
||||
"text" : uiScriptLocale.HELP_OPEN_LOG,
|
||||
},
|
||||
{
|
||||
"name" : "help_12", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*12,
|
||||
"text" : uiScriptLocale.HELP_OPEN_ZONEMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_13", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*13,
|
||||
"text" : uiScriptLocale.HELP_OPEN_MINIMAP,
|
||||
},
|
||||
{
|
||||
"name" : "help_14", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*14,
|
||||
"text" : uiScriptLocale.HELP_CHANGE_PK_MODE,
|
||||
},
|
||||
{
|
||||
"name" : "help_15", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*15,
|
||||
"text" : uiScriptLocale.HELP_PICK_ITEM,
|
||||
},
|
||||
{
|
||||
"name" : "help_16", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*16,
|
||||
"text" : uiScriptLocale.HELP_SCREEN_CAPTURE,
|
||||
},
|
||||
{
|
||||
"name" : "help_17", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*17,
|
||||
"text" : uiScriptLocale.HELP_GUILD_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_18", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*18,
|
||||
"text" : uiScriptLocale.HELP_MESSENGER_WINDOW,
|
||||
},
|
||||
{
|
||||
"name" : "help_19", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*19,
|
||||
"text" : uiScriptLocale.HELP_HELP,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "page_2",
|
||||
"type" : "window",
|
||||
|
||||
"x" : SCREEN_WIDTH * 150 / 800,
|
||||
"y" : SCREEN_HEIGHT * START_HEIGHT / 600,
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "help_02_01", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : SCREEN_HEIGHT * HEIGHT_STEP*0,
|
||||
"text" : "- 가나다라마바사 01",
|
||||
},
|
||||
{
|
||||
"name" : "help_02_02", "type" : "text", "outline" : 1,
|
||||
"x" : 0, "y" : HEIGHT_STEP*1,
|
||||
"text" : "- 가나다라마바사 02",
|
||||
},
|
||||
|
||||
## 이 밑으로 텍스트를 추가 하시면 됩니다.
|
||||
),
|
||||
},
|
||||
|
||||
## TaskBar
|
||||
{
|
||||
"name" : "taskbar_help_stick_01", "type" : "expanded_image",
|
||||
"x" : 22, "y" : SCREEN_HEIGHT - 120,
|
||||
"rect" : (0.0, 0.0, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_01", "type" : "text",
|
||||
"x" : -20, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_FURY,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_02", "type" : "expanded_image",
|
||||
"x" : 80, "y" : SCREEN_HEIGHT - 122,
|
||||
"rect" : (0.0, -0.3, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_02", "type" : "text",
|
||||
"x" : 4, "y" : 12,
|
||||
"text" : uiScriptLocale.HELP_HP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_03", "type" : "expanded_image",
|
||||
"x" : 120, "y" : SCREEN_HEIGHT - 107,
|
||||
"rect" : (0.0, -0.4, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_03", "type" : "text",
|
||||
"x" : 4, "y" : 23,
|
||||
"text" : uiScriptLocale.HELP_SP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_04", "type" : "expanded_image",
|
||||
"x" : 206, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_04", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_EXP,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_05", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 - 128 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_05", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_LEFT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_06", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 + 128 + 66 + 12, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.5, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_06", "type" : "text",
|
||||
"x" : 4, "y" : 32,
|
||||
"text" : uiScriptLocale.HELP_MOUSE_RIGHT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_07", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH * (400 - 4) / 800, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.7, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_07", "type" : "text",
|
||||
"x" : 4, "y" : 51,
|
||||
"text" : uiScriptLocale.HELP_QUICKSLOT,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_stick_08", "type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH - 77 - 4, "y" : SCREEN_HEIGHT - 116,
|
||||
"rect" : (0.0, -0.28, 0.0, 0.0),
|
||||
"image" : HELP_STICK_IMAGE_FILE_NAME,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "taskbar_help_08a", "type" : "text",
|
||||
"x" : 4, "y" : -20,
|
||||
"text" : uiScriptLocale.HELP_SYSTEM_BUTTON,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08b", "type" : "text",
|
||||
"x" : 4, "y" : -5,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON1,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "taskbar_help_08c", "type" : "text",
|
||||
"x" : 4, "y" : 10,
|
||||
"text" : uiScriptLocale.HELP_CHARACTER_BUTTON2,
|
||||
"text_horizontal_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "page_1_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (50) / 600,
|
||||
|
||||
"text" : "1 Page",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "page_2_button",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (35 + 50) / 600,
|
||||
|
||||
"text" : "2 Page",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "close_button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : SCREEN_WIDTH * (55) / 800,
|
||||
"y" : SCREEN_HEIGHT * (100 + 50) / 600,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/xlarge_thin_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/xlarge_thin_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/xlarge_thin_button_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
ROOT = "d:/ymir work/ui/game/"
|
||||
|
||||
window = {
|
||||
"name" : "IME",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 300,
|
||||
|
||||
"width" : 155,
|
||||
"height" : 25,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "Base_Board_01",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/HorizontalCandidateBoard.sub"
|
||||
},
|
||||
{
|
||||
"name" : "CandidateList",
|
||||
"type" : "candidate_list",
|
||||
|
||||
"x" : 5 + 2,
|
||||
"y" : 10,
|
||||
|
||||
"item_xsize" : 16,
|
||||
"item_ysize" : 16,
|
||||
|
||||
"item_step" : 16,
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,94 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 90,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
#"type" : "image",
|
||||
#"image" : "d:/ymir work/ui/public/Parameter_Slot_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 58,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 58,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog_WithDescription",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Text
|
||||
{
|
||||
"name" : "Description",
|
||||
"type" : "text",
|
||||
"text" : "",
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
},
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 51,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 74,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 74,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,114 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
TEMPORARY_HEIGHT = 16
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog_WithDescription",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106 + TEMPORARY_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 106 + TEMPORARY_HEIGHT,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Text
|
||||
{
|
||||
"name" : "Description1",
|
||||
"type" : "text",
|
||||
"text" : "",
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
},
|
||||
{
|
||||
"name" : "Description2",
|
||||
"type" : "text",
|
||||
"text" : "",
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"x" : 0,
|
||||
"y" : 34 + TEMPORARY_HEIGHT,
|
||||
},
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 51 + TEMPORARY_HEIGHT,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 74 + TEMPORARY_HEIGHT,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 74 + TEMPORARY_HEIGHT,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,261 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
EQUIPMENT_START_INDEX = 90
|
||||
|
||||
window = {
|
||||
"name" : "InventoryWindow",
|
||||
|
||||
## 600 - (width + ¿À¸¥ÂÊÀ¸·Î ºÎÅÍ ¶ç¿ì±â 24 px)
|
||||
"x" : SCREEN_WIDTH - 176 - 200,
|
||||
"y" : SCREEN_HEIGHT - 37 - 565,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 565,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 565,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 161,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Equipment Slot
|
||||
{
|
||||
"name" : "Equipment_Base",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/game/windows/equipment_base.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "EquipmentSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 150,
|
||||
"height" : 182,
|
||||
|
||||
"slot" : (
|
||||
{"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
|
||||
{"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
|
||||
{"index":EQUIPMENT_START_INDEX+5, "x":114, "y":84, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":52, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":113, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":113, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":1, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Equipment_Tab_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 86,
|
||||
"y" : 161,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Equipment_Tab_01_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "I",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Equipment_Tab_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 86 + 32,
|
||||
"y" : 161,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Equipment_Tab_02_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "II",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Inventory_Tab_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33 + 191,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_01_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "I",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 10 + 78,
|
||||
"y" : 33 + 191,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_02_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "II",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 246,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 5,
|
||||
"y_count" : 9,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## Print
|
||||
{
|
||||
"name":"Money_Slot",
|
||||
"type":"button",
|
||||
|
||||
"x":8,
|
||||
"y":28,
|
||||
|
||||
"horizontal_align":"center",
|
||||
"vertical_align":"bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"Money_Icon",
|
||||
"type":"image",
|
||||
|
||||
"x":-18,
|
||||
"y":20,
|
||||
|
||||
"image":"d:/ymir work/ui/game/windows/money_icon.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Money",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"horizontal_align" : "right",
|
||||
"text_horizontal_align" : "right",
|
||||
|
||||
"text" : "123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "LoginWindow",
|
||||
"sytle" : ("movable",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
},
|
||||
{
|
||||
"name":"ErrorMessage",
|
||||
"type":"text", "x":10, "y":10,
|
||||
"text": uiScriptLocale.LOAD_ERROR,
|
||||
},
|
||||
{
|
||||
"name" : "GageBoard",
|
||||
"type" : "window",
|
||||
"x" : float(SCREEN_WIDTH) * 400 / 800.0 - 200,
|
||||
"y" : float(SCREEN_HEIGHT) * 500 / 600.0 ,
|
||||
"width" : 400,
|
||||
"height": 80,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "BackGage",
|
||||
"type" : "ani_image",
|
||||
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"delay" : 1,
|
||||
|
||||
"images" :
|
||||
(
|
||||
"d:/ymir work/ui/intro/loading/00.sub",
|
||||
"d:/ymir work/ui/intro/loading/01.sub",
|
||||
"d:/ymir work/ui/intro/loading/02.sub",
|
||||
"d:/ymir work/ui/intro/loading/03.sub",
|
||||
"d:/ymir work/ui/intro/loading/04.sub",
|
||||
"d:/ymir work/ui/intro/loading/05.sub",
|
||||
"d:/ymir work/ui/intro/loading/06.sub",
|
||||
"d:/ymir work/ui/intro/loading/07.sub",
|
||||
"d:/ymir work/ui/intro/loading/08.sub",
|
||||
"d:/ymir work/ui/intro/loading/09.sub",
|
||||
"d:/ymir work/ui/intro/loading/10.sub",
|
||||
"d:/ymir work/ui/intro/loading/11.sub",
|
||||
"d:/ymir work/ui/intro/loading/12.sub",
|
||||
"d:/ymir work/ui/intro/loading/13.sub",
|
||||
"d:/ymir work/ui/intro/loading/14.sub",
|
||||
"d:/ymir work/ui/intro/loading/15.sub",
|
||||
"d:/ymir work/ui/intro/loading/16.sub",
|
||||
"d:/ymir work/ui/intro/loading/17.sub",
|
||||
"d:/ymir work/ui/intro/loading/18.sub",
|
||||
"d:/ymir work/ui/intro/loading/19.sub",
|
||||
"d:/ymir work/ui/intro/loading/20.sub",
|
||||
"d:/ymir work/ui/intro/loading/21.sub",
|
||||
"d:/ymir work/ui/intro/loading/22.sub",
|
||||
"d:/ymir work/ui/intro/loading/23.sub",
|
||||
)
|
||||
},
|
||||
{
|
||||
"name" : "BackGage",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 25,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/loading/gauge_empty.sub",
|
||||
},
|
||||
{
|
||||
"name" : "FullGage",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 70,
|
||||
"y" : 25,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/loading/gauge_full.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "SafeboxWindow",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 20,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 327,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 327,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 161,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.MALL_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "ExitButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 37,
|
||||
|
||||
"text" : uiScriptLocale.CLOSE,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,89 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "MarkListWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 170,
|
||||
"y" : SCREEN_HEIGHT - 400 - 50,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
"title" : uiScriptLocale.MARKLIST_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 27,
|
||||
"y" : 40,
|
||||
"size" : 220,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ok",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 60,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "refresh",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 115,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.MARKLIST_REFRESH,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
)
|
||||
}
|
|
@ -1,129 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
BUTTON_START_X_POS = -60
|
||||
BUTTON_X_STEP = 30
|
||||
|
||||
window = {
|
||||
"name" : "MessengerWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 200,
|
||||
"y" : SCREEN_HEIGHT - 400 - 50,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
"title" : uiScriptLocale.MESSENGER_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 27,
|
||||
"y" : 40,
|
||||
"size" : 100,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "AddFriendButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*0,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_ADD_FRIEND,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_add_friend_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "WhisperButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*1,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_WHISPER,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_whisper_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_whisper_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_whisper_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_whisper_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "MobileButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*2,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_MOBILE,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_mobile_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_mobile_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_mobile_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_mobile_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "RemoveButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*3,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_DELETE_FRIEND,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_delete_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_delete_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_delete_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_delete_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "GuildButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : BUTTON_START_X_POS + BUTTON_X_STEP*4,
|
||||
"y" : 30,
|
||||
"horizontal_align" : "center",
|
||||
"vertical_align" : "bottom",
|
||||
"tooltip_text" : uiScriptLocale.MESSENGER_OPEN_GUILD,
|
||||
"tooltip_x" : 0,
|
||||
"tooltip_y" : 35,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/messenger_guild_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/messenger_guild_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/messenger_guild_03.sub",
|
||||
"disable_image" : "d:/ymir work/ui/game/windows/messenger_guild_04.sub",
|
||||
},
|
||||
|
||||
), ## end of main window
|
||||
}
|
|
@ -1,164 +0,0 @@
|
|||
ROOT = "d:/ymir work/ui/minimap/"
|
||||
|
||||
window = {
|
||||
"name" : "MiniMap",
|
||||
|
||||
"x" : SCREEN_WIDTH - 136,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 136,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## OpenWindow
|
||||
{
|
||||
"name" : "OpenWindow",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 136,
|
||||
"height" : 137,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "OpenWindowBGI",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"image" : ROOT + "minimap.sub",
|
||||
},
|
||||
## MiniMapWindow
|
||||
{
|
||||
"name" : "MiniMapWindow",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 4,
|
||||
"y" : 5,
|
||||
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
},
|
||||
## ScaleUpButton
|
||||
{
|
||||
"name" : "ScaleUpButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 101,
|
||||
"y" : 116,
|
||||
|
||||
"default_image" : ROOT + "minimap_scaleup_default.sub",
|
||||
"over_image" : ROOT + "minimap_scaleup_over.sub",
|
||||
"down_image" : ROOT + "minimap_scaleup_down.sub",
|
||||
},
|
||||
## ScaleDownButton
|
||||
{
|
||||
"name" : "ScaleDownButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 115,
|
||||
"y" : 103,
|
||||
|
||||
"default_image" : ROOT + "minimap_scaledown_default.sub",
|
||||
"over_image" : ROOT + "minimap_scaledown_over.sub",
|
||||
"down_image" : ROOT + "minimap_scaledown_down.sub",
|
||||
},
|
||||
## MiniMapHideButton
|
||||
{
|
||||
"name" : "MiniMapHideButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 111,
|
||||
"y" : 6,
|
||||
|
||||
"default_image" : ROOT + "minimap_close_default.sub",
|
||||
"over_image" : ROOT + "minimap_close_over.sub",
|
||||
"down_image" : ROOT + "minimap_close_down.sub",
|
||||
},
|
||||
## AtlasShowButton
|
||||
{
|
||||
"name" : "AtlasShowButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 12,
|
||||
"y" : 12,
|
||||
|
||||
"default_image" : ROOT + "atlas_open_default.sub",
|
||||
"over_image" : ROOT + "atlas_open_over.sub",
|
||||
"down_image" : ROOT + "atlas_open_down.sub",
|
||||
},
|
||||
## ServerInfo
|
||||
{
|
||||
"name" : "ServerInfo",
|
||||
"type" : "text",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"outline" : 1,
|
||||
|
||||
"x" : 70,
|
||||
"y" : 140,
|
||||
|
||||
"text" : "",
|
||||
},
|
||||
## PositionInfo
|
||||
{
|
||||
"name" : "PositionInfo",
|
||||
"type" : "text",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"outline" : 1,
|
||||
|
||||
"x" : 70,
|
||||
"y" : 160,
|
||||
|
||||
"text" : "",
|
||||
},
|
||||
## ObserverCount
|
||||
{
|
||||
"name" : "ObserverCount",
|
||||
"type" : "text",
|
||||
|
||||
"text_horizontal_align" : "center",
|
||||
|
||||
"outline" : 1,
|
||||
|
||||
"x" : 70,
|
||||
"y" : 180,
|
||||
|
||||
"text" : "",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "CloseWindow",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 132,
|
||||
"height" : 48,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## ShowButton
|
||||
{
|
||||
"name" : "MiniMapShowButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 100,
|
||||
"y" : 4,
|
||||
|
||||
"default_image" : ROOT + "minimap_open_default.sub",
|
||||
"over_image" : ROOT + "minimap_open_default.sub",
|
||||
"down_image" : ROOT + "minimap_open_default.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "InputDialog",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 200,
|
||||
"height" : 110,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 200,
|
||||
"height" : 110,
|
||||
|
||||
"title" : "",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "InputSlot",
|
||||
"type" : "slotbar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 34,
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "InputValue",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 90,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : 12,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Input Slot
|
||||
{
|
||||
"name" : "MoneyValue",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 59,
|
||||
"text" : "999999999",
|
||||
"text_horizontal_align" : "center",
|
||||
"horizontal_align" : "center",
|
||||
},
|
||||
|
||||
## Button
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : - 61 - 5 + 30,
|
||||
"y" : 78,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "CancelButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 5 + 30,
|
||||
"y" : 78,
|
||||
"horizontal_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,62 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/taskbar/"
|
||||
|
||||
window = {
|
||||
"name" : "ButtonWindow",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 32,
|
||||
"height" : 32 * 3,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "button_move_and_attack",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_ATTACK,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Attack_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Attack_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Attack_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "button_auto_attack",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 32,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_AUTO_ATTACK,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Auto_Attack_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Auto_Attack_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Auto_Attack_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "button_camera",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 64,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_CAMERA,
|
||||
"tooltip_x" : -40,
|
||||
"tooltip_y" : 9,
|
||||
|
||||
"default_image" : ROOT + "Mouse_Button_Camera_01.sub",
|
||||
"over_image" : ROOT + "Mouse_Button_Camera_02.sub",
|
||||
"down_image" : ROOT + "Mouse_Button_Camera_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
|
@ -1,89 +0,0 @@
|
|||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "MusicListWindow",
|
||||
|
||||
"x" : SCREEN_WIDTH - 170,
|
||||
"y" : SCREEN_HEIGHT - 400 - 50,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 170,
|
||||
"height" : 300,
|
||||
"title" : uiScriptLocale.MUSICLIST_TITLE,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ScrollBar",
|
||||
"type" : "scrollbar",
|
||||
|
||||
"x" : 27,
|
||||
"y" : 40,
|
||||
"size" : 220,
|
||||
"horizontal_align" : "right",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ok",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 61,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.OK,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 60,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.CANCEL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "refresh",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 115,
|
||||
"y" : 265,
|
||||
|
||||
"width" : 41,
|
||||
"height" : 21,
|
||||
|
||||
"text" : uiScriptLocale.MARKLIST_REFRESH,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/small_button_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/small_button_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/small_button_03.sub",
|
||||
},
|
||||
)
|
||||
}
|