Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 23:49

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

Advertisement



[Release]Seonu2 Inventar Design + Buttons + Quests

Discussion on [Release]Seonu2 Inventar Design + Buttons + Quests within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 03/21/2015, 21:46   #31
 
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
vllt und irgendwie gehn die quests nicht
thespeedyy is offline  
Old 03/21/2015, 23:28   #32
 
Fydes's Avatar
 
elite*gold: 534
Join Date: Mar 2014
Posts: 1,614
Received Thanks: 983
Quote:
Originally Posted by thespeedyy View Post
vllt und irgendwie gehn die quests nicht
Was genau klappt den nicht?
Fydes is offline  
Old 03/22/2015, 13:43   #33
 
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
wenn ich einen der buttens (warp, lager oder exp) drücke werden die quests nicht ausgeführt oder durcheinander
thespeedyy is offline  
Old 03/23/2015, 17:00   #34
 
OoKaMi_'s Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 269
Received Thanks: 96
Würdest du die PSD für die Icons noch Releasen bitte ?

Hier sind die Scrips für 40k Client !

inventorywindow.py:

Code:
import uiScriptLocale
import item
 
EQUIPMENT_START_INDEX = 90
 
window = {
	"name" : "InventoryWindow",
 
	## 600 - (width + ????? ?? ??? 24 px)
	"x" : SCREEN_WIDTH - 340,
	"y" : SCREEN_HEIGHT - 37 - 350,
 
	"style" : ("movable", "float",),
 
	"width" : 340,
	"height" : 350,
 
	"children" :
	(
		## Inventory, Equipment Slots
		{
			"name" : "board",
			"type" : "board",
			"style" : ("attach",),
 
			"x" : 0,
			"y" : 0,
 
			"width" : 340,
			"height" : 350,
 
			"children" :
			(
				## Title
				{
					"name" : "TitleBar",
					"type" : "titlebar",
					"style" : ("attach",),
 
					"x" : 8,
					"y" : 7,
 
					"width" : 325,
					"color" : "yellow",
 
					"children" :
					(
						{ "name":"TitleName", "type":"text", "x":155, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
					),
				},
					## LagerButton
				{
					"name" : "LagerButton",
					"type" : "button",
							
					"x" : 10,
					"y" : 265,
							
					"tooltip_text" : "Lager",
							
					"default_image" : "d:/ymir work/ui/seonu2/lager_button.tga",
					"over_image" : "d:/ymir work/ui/seonu2/lager_button_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/lager_button_hover.tga",
				},
					## Yang Anzeige
				{
					"name" : "YangAnzeige",
					"type" : "button",
					
					"x" : 50,
					"y" : 265,
					
					"tooltip_text" : "Yang-Anzeige",
					
					"default_image" : "d:/ymir work/ui/seonu2/y_anzeige.tga",
					"over_image" : "d:/ymir work/ui/seonu2/y_anzeige_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/y_anzeige_hover.tga",					
				},
					## Anti Exp
				{
					"name" : "AntiEXP",
					"type" : "button",
					
					"x" : 90,
					"y" : 265,
					
					"tooltip_text" : "Anti-EXP",
					
					"default_image" : "d:/ymir work/ui/seonu2/antiexp.tga",
					"over_image" : "d:/ymir work/ui/seonu2/antiexp_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/antiexp_hover.tga",					
				},
					## Portring
				{
					"name" : "Portring",
					"type" : "button",
					
					"x" : 130,
					"y" : 265,
					
					"tooltip_text" : "Warp-Ring",
					
					"default_image" : "d:/ymir work/ui/seonu2/warpring.tga",
					"over_image" : "d:/ymir work/ui/seonu2/warpring_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/warpring_hover.tga",					
				},
					## Equipment Slot
				{
					"name" : "Equipment_Base",
					"type" : "image",
 
					"x" : 10,
					"y" : 33,
 
					"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",
 
					"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":67, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
										## »õ ¹ÝÁö1
										##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
										## »õ ¹ÝÁö2
										##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
										## »õ º§Æ®
										{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
									),
						},
						## Dragon Soul Button
						
						## MallButton
						{
							"name" : "MallButton",
							"type" : "button",
 
							"x" : 118,
							"y" : 148,
 
							"tooltip_text" : uiScriptLocale.MALL_TITLE,
 
							"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
							"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
							"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
						},
							## CostumeButton
						{
							"name" : "CostumeButton",
							"type" : "button",
 
							"x" : 78,
							"y" : 5,
 
							"tooltip_text" : uiScriptLocale.COSTUME_TITLE,
 
							"default_image" : "d:/ymir work/ui/game/taskbar/costume_Button_01.tga",
							"over_image" : "d:/ymir work/ui/game/taskbar/costume_Button_02.tga",
							"down_image" : "d:/ymir work/ui/game/taskbar/costume_Button_03.tga",
						},                      
						{
							"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 + 189,
 
					"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" : "Inventar I",
 
					"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 + 189,
 
					"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" : "Inventar II",
 
					"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" : 170,
					"y" : 33,
 
					"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":30,
					"y":28,
 
					"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":2,
 
							"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",
						},
					),
				},
				{
					"name":"Mds_Slot",
					"type":"button",
 
					"x":30,
					"y":45,
 
					"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":"Mds_Icon",
							"type":"image",
 
							"x":-18,
							"y":2,
 
							"image":"d:/ymir work/ui/game/windows/money_icon.sub",
						},
 
						{
							"name" : "Mds",
							"type" : "text",
		
							"x" : 5,
							"y" : 3,
 
							"horizontal_align" : "right",
							"text_horizontal_align" : "right",
 
							"text" : "0 Taler",
						},
					),
				},
 
			),
		},
	),
}
uiscript.eix/epk --> beltinventorywindow.py

Code:
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" : -45,

			"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"
						},
					),
				},
			)
		},

	),
}
OoKaMi_ is offline  
Old 03/23/2015, 19:23   #35
 
Fydes's Avatar
 
elite*gold: 534
Join Date: Mar 2014
Posts: 1,614
Received Thanks: 983
Quote:
Originally Posted by OoKaMi_ View Post
Würdest du die PSD für die Icons noch Releasen bitte ?

Hier sind die Scrips für 40k Client !

inventorywindow.py:

Code:
import uiScriptLocale
import item
 
EQUIPMENT_START_INDEX = 90
 
window = {
	"name" : "InventoryWindow",
 
	## 600 - (width + ????? ?? ??? 24 px)
	"x" : SCREEN_WIDTH - 340,
	"y" : SCREEN_HEIGHT - 37 - 350,
 
	"style" : ("movable", "float",),
 
	"width" : 340,
	"height" : 350,
 
	"children" :
	(
		## Inventory, Equipment Slots
		{
			"name" : "board",
			"type" : "board",
			"style" : ("attach",),
 
			"x" : 0,
			"y" : 0,
 
			"width" : 340,
			"height" : 350,
 
			"children" :
			(
				## Title
				{
					"name" : "TitleBar",
					"type" : "titlebar",
					"style" : ("attach",),
 
					"x" : 8,
					"y" : 7,
 
					"width" : 325,
					"color" : "yellow",
 
					"children" :
					(
						{ "name":"TitleName", "type":"text", "x":155, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
					),
				},
					## LagerButton
				{
					"name" : "LagerButton",
					"type" : "button",
							
					"x" : 10,
					"y" : 265,
							
					"tooltip_text" : "Lager",
							
					"default_image" : "d:/ymir work/ui/seonu2/lager_button.tga",
					"over_image" : "d:/ymir work/ui/seonu2/lager_button_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/lager_button_hover.tga",
				},
					## Yang Anzeige
				{
					"name" : "YangAnzeige",
					"type" : "button",
					
					"x" : 50,
					"y" : 265,
					
					"tooltip_text" : "Yang-Anzeige",
					
					"default_image" : "d:/ymir work/ui/seonu2/y_anzeige.tga",
					"over_image" : "d:/ymir work/ui/seonu2/y_anzeige_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/y_anzeige_hover.tga",					
				},
					## Anti Exp
				{
					"name" : "AntiEXP",
					"type" : "button",
					
					"x" : 90,
					"y" : 265,
					
					"tooltip_text" : "Anti-EXP",
					
					"default_image" : "d:/ymir work/ui/seonu2/antiexp.tga",
					"over_image" : "d:/ymir work/ui/seonu2/antiexp_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/antiexp_hover.tga",					
				},
					## Portring
				{
					"name" : "Portring",
					"type" : "button",
					
					"x" : 130,
					"y" : 265,
					
					"tooltip_text" : "Warp-Ring",
					
					"default_image" : "d:/ymir work/ui/seonu2/warpring.tga",
					"over_image" : "d:/ymir work/ui/seonu2/warpring_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/warpring_hover.tga",					
				},
					## Equipment Slot
				{
					"name" : "Equipment_Base",
					"type" : "image",
 
					"x" : 10,
					"y" : 33,
 
					"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",
 
					"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":67, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
										## »õ ¹ÝÁö1
										##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
										## »õ ¹ÝÁö2
										##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
										## »õ º§Æ®
										{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
									),
						},
						## Dragon Soul Button
						
						## MallButton
						{
							"name" : "MallButton",
							"type" : "button",
 
							"x" : 118,
							"y" : 148,
 
							"tooltip_text" : uiScriptLocale.MALL_TITLE,
 
							"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
							"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
							"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
						},
							## CostumeButton
						{
							"name" : "CostumeButton",
							"type" : "button",
 
							"x" : 78,
							"y" : 5,
 
							"tooltip_text" : uiScriptLocale.COSTUME_TITLE,
 
							"default_image" : "d:/ymir work/ui/game/taskbar/costume_Button_01.tga",
							"over_image" : "d:/ymir work/ui/game/taskbar/costume_Button_02.tga",
							"down_image" : "d:/ymir work/ui/game/taskbar/costume_Button_03.tga",
						},                      
						{
							"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 + 189,
 
					"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" : "Inventar I",
 
					"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 + 189,
 
					"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" : "Inventar II",
 
					"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" : 170,
					"y" : 33,
 
					"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":30,
					"y":28,
 
					"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":2,
 
							"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",
						},
					),
				},
				{
					"name":"Mds_Slot",
					"type":"button",
 
					"x":30,
					"y":45,
 
					"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":"Mds_Icon",
							"type":"image",
 
							"x":-18,
							"y":2,
 
							"image":"d:/ymir work/ui/game/windows/money_icon.sub",
						},
 
						{
							"name" : "Mds",
							"type" : "text",
		
							"x" : 5,
							"y" : 3,
 
							"horizontal_align" : "right",
							"text_horizontal_align" : "right",
 
							"text" : "0 Taler",
						},
					),
				},
 
			),
		},
	),
}
uiscript.eix/epk --> beltinventorywindow.py

Code:
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" : -45,

			"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"
						},
					),
				},
			)
		},

	),
}
Das war für den 40k Client. Nein bekommt ihr nicht, seid mir bissi zu undankbar.
Fydes is offline  
Old 03/24/2015, 00:00   #36
 
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
Allein undankbar... mein thx hast du, dann nur den blanken butten ohne icon drinne.
thespeedyy is offline  
Old 03/24/2015, 11:20   #37
 
OoKaMi_'s Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 269
Received Thanks: 96
Wieso undankbar ? Ich habe mich doch schon bedankt ! :P
OoKaMi_ is offline  
Old 03/30/2015, 00:16   #38
 
.Padde's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 152
Received Thanks: 158
Schönes RLS!

InventoryWindow.LoadWindow.BindObject - exceptions.KeyError:Inventory_Tab_03

Jemand ne Ahnung was das fürn Fehler sein könnte?
.Padde is offline  
Old 03/30/2015, 00:37   #39
 
Fydes's Avatar
 
elite*gold: 534
Join Date: Mar 2014
Posts: 1,614
Received Thanks: 983
Quote:
Originally Posted by -Nuex- View Post
Schönes RLS!

InventoryWindow.LoadWindow.BindObject - exceptions.KeyError:Inventory_Tab_03

Jemand ne Ahnung was das fürn Fehler sein könnte?
Hast du 4. Inventar Seiten eingefügt?
Fydes is offline  
Old 03/30/2015, 00:40   #40
 
.Padde's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 152
Received Thanks: 158
Ja hatte ich davor auch schon drinnen, funktioniert hats auch
.Padde is offline  
Old 03/30/2015, 01:10   #41
 
OoKaMi_'s Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 269
Received Thanks: 96
Nuex hast du die Scripts von mir genommen ?
Fals ja, liegt es daran, das ich bei mir die 3&4 Inventar seite raus habe.
OoKaMi_ is offline  
Old 03/30/2015, 01:19   #42
 
.Padde's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 152
Received Thanks: 158
Ja die habe ich von dir genommen.
Wäre dir dankbar wenn du mir die Scripts mit 4 Inventarseiten schickst/postest.
Lg
.Padde is offline  
Old 03/30/2015, 01:49   #43
 
OoKaMi_'s Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 269
Received Thanks: 96
Hier ist der Script mit 4 Inventars + Dragon Soul Button... Lager Fix ist auch dabei !

HTML Code:
import uiScriptLocale
import item
 
EQUIPMENT_START_INDEX = 90
 
window = {
	"name" : "InventoryWindow",
 
	## 600 - (width + ????? ?? ??? 24 px)
	"x" : SCREEN_WIDTH - 340,
	"y" : SCREEN_HEIGHT - 37 - 350,
 
	"style" : ("movable", "float",),
 
	"width" : 340,
	"height" : 350,
 
	"children" :
	(
		## Inventory, Equipment Slots
		{
			"name" : "board",
			"type" : "board",
			"style" : ("attach",),
 
			"x" : 0,
			"y" : 0,
 
			"width" : 340,
			"height" : 350,
 
			"children" :
			(
				## Title
				{
					"name" : "TitleBar",
					"type" : "titlebar",
					"style" : ("attach",),
 
					"x" : 8,
					"y" : 7,
 
					"width" : 325,
					"color" : "yellow",
 
					"children" :
					(
						{ "name":"TitleName", "type":"text", "x":155, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
					),
				},
					## LagerButton
				{
					"name" : "LagerButton",
					"type" : "button",
							
					"x" : 10,
					"y" : 265,
							
					"tooltip_text" : "Lager",
							
					"default_image" : "d:/ymir work/ui/seonu2/lager_button.tga",
					"over_image" : "d:/ymir work/ui/seonu2/lager_button_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/lager_button_hover.tga",
				},
					## Yang Anzeige
				{
					"name" : "YangAnzeige",
					"type" : "button",
					
					"x" : 50,
					"y" : 265,
					
					"tooltip_text" : "Yang-Anzeige",
					
					"default_image" : "d:/ymir work/ui/seonu2/y_anzeige.tga",
					"over_image" : "d:/ymir work/ui/seonu2/y_anzeige_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/y_anzeige_hover.tga",					
				},
					## Anti Exp
				{
					"name" : "AntiEXP",
					"type" : "button",
					
					"x" : 90,
					"y" : 265,
					
					"tooltip_text" : "Anti-EXP",
					
					"default_image" : "d:/ymir work/ui/seonu2/antiexp.tga",
					"over_image" : "d:/ymir work/ui/seonu2/antiexp_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/antiexp_hover.tga",					
				},
					## Portring
				{
					"name" : "Portring",
					"type" : "button",
					
					"x" : 130,
					"y" : 265,
					
					"tooltip_text" : "Warp-Ring",
					
					"default_image" : "d:/ymir work/ui/seonu2/warpring.tga",
					"over_image" : "d:/ymir work/ui/seonu2/warpring_hover.tga",
					"down_image" : "d:/ymir work/ui/seonu2/warpring_hover.tga",					
				},
					## Equipment Slot
				{
					"name" : "Equipment_Base",
					"type" : "image",
 
					"x" : 10,
					"y" : 33,
 
					"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",
 
					"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":67, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
										{"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
										## »õ ¹ÝÁö1
										##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
										## »õ ¹ÝÁö2
										##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
										## »õ º§Æ®
										{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
									),
						},
						## Dragon Soul Button
						{
							"name" : "DSSButton",
							"type" : "button",

							"x" : 114,
							"y" : 107,

							"tooltip_text" : uiScriptLocale.TASKBAR_DRAGON_SOUL,

							"default_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_01.tga",
							"over_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_02.tga",
							"down_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_03.tga",
						},						
						## MallButton
						{
							"name" : "MallButton",
							"type" : "button",
 
							"x" : 118,
							"y" : 148,
 
							"tooltip_text" : uiScriptLocale.MALL_TITLE,
 
							"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
							"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
							"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
						},
							## CostumeButton
						{
							"name" : "CostumeButton",
							"type" : "button",
 
							"x" : 78,
							"y" : 5,
 
							"tooltip_text" : uiScriptLocale.COSTUME_TITLE,
 
							"default_image" : "d:/ymir work/ui/game/taskbar/costume_Button_01.tga",
							"over_image" : "d:/ymir work/ui/game/taskbar/costume_Button_02.tga",
							"down_image" : "d:/ymir work/ui/game/taskbar/costume_Button_03.tga",
						},                      
						{
							"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 + 189,
 
					"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" : "Inventar I",
 
					"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 + 189,
 
					"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" : "Inventar II",
 
					"children" :
					(
						{
							"name" : "Inventory_Tab_02_Print",
							"type" : "text",
 
							"x" : 0,
							"y" : 0,
 
							"all_align" : "center",
 
							"text" : "II",
						},
					),
				},
				{
					"name" : "Inventory_Tab_03",
					"type" : "radio_button",
 
					"x" : 10,
					"y" : 33 + 210,
 
					"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" : "Inventar III",
 
					"children" :
					(
						{
							"name" : "Inventory_Tab_03_Print",
							"type" : "text",
 
							"x" : 0,
							"y" : 0,
 
							"all_align" : "center",
 
							"text" : "III",
						},
					),
				},
				{
					"name" : "Inventory_Tab_04",
					"type" : "radio_button",
 
					"x" : 10 + 78,
					"y" : 33 + 210,
 
					"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" : "Inventar IV",
 
					"children" :
					(
						{
							"name" : "Inventory_Tab_04_Print",
							"type" : "text",
 
							"x" : 0,
							"y" : 0,
 
							"all_align" : "center",
 
							"text" : "IV",
						},
					),
				},              
 
				## Item Slot
				{
					"name" : "ItemSlot",
					"type" : "grid_table",
 
					"x" : 170,
					"y" : 33,
 
					"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":30,
					"y":28,
 
					"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":2,
 
							"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",
						},
					),
				},
				{
					"name":"Mds_Slot",
					"type":"button",
 
					"x":30,
					"y":45,
 
					"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":"Mds_Icon",
							"type":"image",
 
							"x":-18,
							"y":2,
 
							"image":"d:/ymir work/ui/game/windows/money_icon.sub",
						},
 
						{
							"name" : "Mds",
							"type" : "text",
		
							"x" : 5,
							"y" : 3,
 
							"horizontal_align" : "right",
							"text_horizontal_align" : "right",
 
							"text" : "123456789 S2-Taler",
						},
					),
				},
 
			),
		},
	),
}
OoKaMi_ is offline  
Thanks
1 User
Old 03/30/2015, 13:16   #44
 
.Padde's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 152
Received Thanks: 158
Habe noch einen kleinen Fehler und zwar aktuallisieren sich die Coins nicht >.<
Und die 2 Buttons Rechts funktionieren auch nicht.
Die Quest für die Coins habe ich normal eingefügt.
.Padde is offline  
Old 03/30/2015, 13:27   #45
 
Fydes's Avatar
 
elite*gold: 534
Join Date: Mar 2014
Posts: 1,614
Received Thanks: 983
Quote:
Originally Posted by -Nuex- View Post
Habe noch einen kleinen Fehler und zwar aktuallisieren sich die Coins nicht >.<
Und die 2 Buttons Rechts funktionieren auch nicht.
Die Quest für die Coins habe ich normal eingefügt.
Hast du die Quest für die Coins eingefügt?
Fydes is offline  
Reply


Similar Threads Similar Threads
[Release]Seonu2 Clientdesign
05/03/2015 - Metin2 PServer Designs, Websites & Scripts - 16 Replies
Hi, da schon die ersten Gauner mein Clientdesign gerippt haben, mache ich es für alle anderen auch public. Das Design wurde komplett von mir erstellt und wurde ein wenig an unsere Homepage angepasst. Ingame Screenshot: http://i.epvpimg.com/GDxXd.jpg Heutzutage sollte klar sein, wie man den ganzen Kram einfügt!
[Metin2]Buttons im Inventar nicht anklickbar & Frage zur Questrolle
07/27/2014 - Metin2 Private Server - 4 Replies
Hallo, wollte mal ein paar Buttons in das Inventar einfügen, damit man nicht alle Quests wie Warpring usw über ein Item machen muss. Eingefügt bekomme ich es, verbunden mit der Quest auch. Nur, wenn ich das Inventar größer mache, dann kann ich die Buttons nicht anklicken. Hier mal Screens: http://i.epvpimg.com/YTrRg.jpg http://i.epvpimg.com/CEtBg.jpg Man sieht beim ersten Screen, dass es geht, wenn ich es unter den normalen Itemshop-Button mache, jedoch beim 2. bin ich mit der...
[HELP]In Quests Buttons einfügen
07/18/2014 - Metin2 Private Server - 3 Replies
Also ich komm mal gleich zum Thema: Wie fügt man in einer Quest einen Zurück- oder einen Schlißen-Button ein? (Aber nicht mit dem befehl local s denn ich will ein bisschen text und nur einen button im Questfenster haben) gibt es da genauso einen befehl wie zb. wait()? Danke im Vorraus:D
[RELEASE] NEUES INVENTAR² - DESIGN
09/17/2013 - Metin2 PServer Guides & Strategies - 32 Replies
Shalom CHOOOOS, da mein Bruder NyBu sich mal wieder so viel Mühe gemacht hat, aber zu schüchtern ist, werde ich das mal releasen. AN DIESER STELLE MAL EIN FETTES DANKE AN NYBU, DER DAS DESIGNED HAT! Also es handelt sich hier um ein Inventardesign, den Code dafür könnt ihr euch TEILWEISE hier raus suchen: http://www.elitepvpers.com/forum/metin2-pserver-g uides-strategies/2851724-relase-neues-inventar.htm l EIN FETTES DANKE AN NYBU FÜR DAS DESIGN



All times are GMT +2. The time now is 23:49.


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

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