Jump to content
  • 0

[Question] Belt system and Dragon soul system


phayara

Question

  • Answers 17
  • Created
  • Last Reply

Top Posters For This Question

17 answers to this question

Recommended Posts

  • 0
  • VIP
				## 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",
						},

? :)

Link to comment
  • 0

Delete the Dragon Soul Button and Index of EQUIPMENT_BELT

Then , go to game.py and search "onPressKeyDict" and remove the one to Dragon Soul ( by default: 'O' )

If you want to complete remove them ( + functions ) you must recompile the binary, or you can do what i've said up there and 'voila' :D

Be sure to edit uiscript too.

 

## 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},
                        ## 새 벨트
                    ),
        },
Link to comment
  • 0
  • VIP

Belt System delete ; uiscript.py -. beltinventorywindow.py and locale -> 

## Equipment Slot ... error ;
 
0215 12:34:21512 :: Failed to load script file : locale/cz/ui/InventoryWindow.py
0215 12:34:21513 :: 
ui.py(line:2755) LoadScriptFile
system.py(line:239) execfile
system.py(line:208) Run
system.py(line:224) __LoadTextFile__

LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.IndentationError'>:unexpected indent (locale/cz/ui/InventoryWindow.py, line 430)

0215 12:34:21513 :: ============================================================================================================
0215 12:34:21513 :: Abort!!!!


0215 12:34:21514 :: 
uiInventory.py(line:293) __LoadWindow
ui.py(line:2772) LoadScriptFile
exception.py(line:36) Abort

InventoryWindow.LoadWindow.LoadObject - <type 'exceptions.SystemExit'>:

0215 12:34:21514 :: ============================================================================================================
0215 12:34:21514 :: Abort!!!!


 

Link to comment
  • 0
  • VIP

Error... 


uiInventory.py(line:137) __LoadWindow
 
InventoryWindow.LoadWindow.LoadObject - <type 'exceptions.NameError'>:global name 'uiScriptLocale' is not defined
 
0215 14:48:27664 :: ============================================================================================================
0215 14:48:27664 :: Abort!!!!
Edited by .iStark™
Link to comment
  • 0

 

uiInventory.py(line:137) __LoadWindow
 
InventoryWindow.LoadWindow.LoadObject - <type 'exceptions.NameError'>:global name 'uiScriptLocale' is not defined
 
0215 14:48:27664 :: ============================================================================================================
0215 14:48:27664 :: Abort!!!!

 

 

You are not import uiScriptLocale and python is not know how to handle it.

Translation: add import uiScriptLocale 

Link to comment
  • 0

Try This Beeter :

 

client source :

Locale_inc.h

 

just comment thos :

 

ENABLE_DRAGON_SOUL_SYSTEM

ENABLE_NEW_EQUIPMENT_SYSTEM

anyone can tell how can i remove that dragon soul system and items from source? so maybbe there shared for client codes

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Read our Rules
  • Activity

    1. 0

      Help with quest

    2. 0

      Will anyone modify the mount?Mounts need to be mounted to increase their stats.

    3. 11

      Lock Picking Skill + Missions

    4. 4

      Quest Deleter

    5. 1

      [SOLUTION IN TOPIC]Loading locale_game.txt raises KeyError

    6. 1

      Binary functions: "GetSlotLocalPosition" & "GetSlotGlobalPosition"

    7. 1

      Binary functions: "GetSlotLocalPosition" & "GetSlotGlobalPosition"

    8. 1

      [SOLUTION IN TOPIC]Loading locale_game.txt raises KeyError

    9. 6

      Skill Book Combination System

  • Recently Browsing

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.