Jump to content
  • 0

Questions Regarding Adding Slots...


Bloodfist

Question

I want a total of 14 slots. 2 on each side of the character, and a two rows of 5, below the character...

 

What I've done...

 

"EquipmentItem0": {
        "Bounds": "29,32,36,36",
        "Padding": "0,0,0,0",
        "AlignmentEdgeDistances": "0,0,0,0",
        "AlignmentTransform": "0,0",
        "Margin": "0,0,0,0",
        "RenderColor": "255,255,255,255",
        "Alignments": "",
        "DrawBackground": true,
        "MinimumSize": "1,1",
        "MaximumSize": "4096,4096",
        "Disabled": false,
        "Hidden": false,
        "RestrictToParent": false,
        "MouseInputEnabled": true,
        "HideToolTip": false,
        "ToolTipBackground": "tooltip.png",
        "ToolTipFont": "sourcesansproblack,10",
        "ToolTipTextColor": "255,255,255,255",
        "Texture": "equipmentitem.png",
        "HoverSound": null,
        "LeftMouseClickSound": null,
        "RightMouseClickSound": null,
        "Children": {
          "EquipmentIcon": {
            "Bounds": "2,2,32,32",
            "Padding": "0,0,0,0",
            "AlignmentEdgeDistances": "0,0,0,0",
            "AlignmentTransform": "0,0",
            "Margin": "0,0,0,0",
            "RenderColor": "255,255,255,255",
            "Alignments": "",
            "DrawBackground": true,
            "MinimumSize": "1,1",
            "MaximumSize": "4096,4096",
            "Disabled": false,
            "Hidden": false,
            "RestrictToParent": false,
            "MouseInputEnabled": false,
            "HideToolTip": false,
            "ToolTipBackground": null,
            "ToolTipFont": null,
            "ToolTipTextColor": "",
            "Texture": null,
            "HoverSound": null,
            "LeftMouseClickSound": null,
            "RightMouseClickSound": null
          }
        }
      },
      "EquipmentItem1": {
        "Bounds": "29,69,36,36",
        "Padding": "0,0,0,0",
        "AlignmentEdgeDistances": "0,0,0,0",
        "AlignmentTransform": "0,0",
        "Margin": "0,0,0,0",
        "RenderColor": "255,255,255,255",
        "Alignments": "",
        "DrawBackground": true,
        "MinimumSize": "1,1",
        "MaximumSize": "4096,4096",
        "Disabled": false,
        "Hidden": false,
        "RestrictToParent": false,
        "MouseInputEnabled": true,
        "HideToolTip": false,
        "ToolTipBackground": "tooltip.png",
        "ToolTipFont": "sourcesansproblack,10",
        "ToolTipTextColor": "255,255,255,255",
        "Texture": "equipmentitem.png",
        "HoverSound": null,
        "LeftMouseClickSound": null,
        "RightMouseClickSound": null,
        "Children": {
          "EquipmentIcon": {
            "Bounds": "2,2,32,32",
            "Padding": "0,0,0,0",
            "AlignmentEdgeDistances": "0,0,0,0",
            "AlignmentTransform": "0,0",
            "Margin": "0,0,0,0",
            "RenderColor": "255,255,255,255",
            "Alignments": "",
            "DrawBackground": true,
            "MinimumSize": "1,1",
            "MaximumSize": "4096,4096",
            "Disabled": false,
            "Hidden": false,
            "RestrictToParent": false,
            "MouseInputEnabled": false,
            "HideToolTip": false,
            "ToolTipBackground": null,
            "ToolTipFont": null,
            "ToolTipTextColor": "",
            "Texture": null,
            "HoverSound": null,
            "LeftMouseClickSound": null,
            "RightMouseClickSound": null
          }
        }
      },
      "EquipmentItem2": {
        "Bounds": "155,32,36,36",
        "Padding": "0,0,0,0",
        "AlignmentEdgeDistances": "0,0,0,0",
        "AlignmentTransform": "0,0",
        "Margin": "0,0,0,0",
        "RenderColor": "255,255,255,255",
        "Alignments": "",
        "DrawBackground": true,
        "MinimumSize": "1,1",
        "MaximumSize": "4096,4096",
        "Disabled": false,
        "Hidden": false,
        "RestrictToParent": false,
        "MouseInputEnabled": true,
        "HideToolTip": false,
        "ToolTipBackground": "tooltip.png",
        "ToolTipFont": "sourcesansproblack,10",
        "ToolTipTextColor": "255,255,255,255",
        "Texture": "equipmentitem.png",
        "HoverSound": null,
        "LeftMouseClickSound": null,
        "RightMouseClickSound": null,
        "Children": {
          "EquipmentIcon": {
            "Bounds": "2,2,32,32",
            "Padding": "0,0,0,0",
            "AlignmentEdgeDistances": "0,0,0,0",
            "AlignmentTransform": "0,0",
            "Margin": "0,0,0,0",
            "RenderColor": "255,255,255,255",
            "Alignments": "",
            "DrawBackground": true,
            "MinimumSize": "1,1",
            "MaximumSize": "4096,4096",
            "Disabled": false,
            "Hidden": false,
            "RestrictToParent": false,
            "MouseInputEnabled": false,
            "HideToolTip": false,
            "ToolTipBackground": null,
            "ToolTipFont": null,
            "ToolTipTextColor": "",
            "Texture": null,
            "HoverSound": null,
            "LeftMouseClickSound": null,
            "RightMouseClickSound": null
          }
        }
      },
      "EquipmentItem3": {
        "Bounds": "155,69,36,36",
        "Padding": "0,0,0,0",
        "AlignmentEdgeDistances": "0,0,0,0",
        "AlignmentTransform": "0,0",
        "Margin": "0,0,0,0",
        "RenderColor": "255,255,255,255",
        "Alignments": "",
        "DrawBackground": true,
        "MinimumSize": "1,1",
        "MaximumSize": "4096,4096",
        "Disabled": false,
        "Hidden": false,
        "RestrictToParent": false,
        "MouseInputEnabled": true,
        "HideToolTip": false,
        "ToolTipBackground": "tooltip.png",
        "ToolTipFont": "sourcesansproblack,10",
        "ToolTipTextColor": "255,255,255,255",
        "Texture": "equipmentitem.png",
        "HoverSound": null,
        "LeftMouseClickSound": null,
        "RightMouseClickSound": null,
        "Children": {
          "EquipmentIcon": {
            "Bounds": "2,2,32,32",
            "Padding": "0,0,0,0",
            "AlignmentEdgeDistances": "0,0,0,0",
            "AlignmentTransform": "0,0",
            "Margin": "0,0,0,0",
            "RenderColor": "255,255,255,255",
            "Alignments": "",
            "DrawBackground": true,
            "MinimumSize": "1,1",
            "MaximumSize": "4096,4096",
            "Disabled": false,
            "Hidden": false,
            "RestrictToParent": false,
            "MouseInputEnabled": false,
            "HideToolTip": false,
            "ToolTipBackground": null,
            "ToolTipFont": null,
            "ToolTipTextColor": "",
            "Texture": null,
            "HoverSound": null,
            "LeftMouseClickSound": null,
            "RightMouseClickSound": null
          }
        }
      },
      "EquipmentItem4": {
        "Bounds": "8,139,36,36",
        "Padding": "0,0,0,0",
        "AlignmentEdgeDistances": "0,0,0,0",
        "AlignmentTransform": "0,0",
        "Margin": "0,0,0,0",
        "RenderColor": "255,255,255,255",
        "Alignments": "",
        "DrawBackground": true,
        "MinimumSize": "1,1",
        "MaximumSize": "4096,4096",
        "Disabled": false,
        "Hidden": false,
        "RestrictToParent": false,
        "MouseInputEnabled": true,
        "HideToolTip": false,
        "ToolTipBackground": "tooltip.png",
        "ToolTipFont": "sourcesansproblack,10",
        "ToolTipTextColor": "255,255,255,255",
        "Texture": "equipmentitem.png",
        "HoverSound": null,
        "LeftMouseClickSound": null,
        "RightMouseClickSound": null,
        "Children": {
          "EquipmentIcon": {
            "Bounds": "2,2,32,32",
            "Padding": "0,0,0,0",
            "AlignmentEdgeDistances": "0,0,0,0",
            "AlignmentTransform": "0,0",
            "Margin": "0,0,0,0",
            "RenderColor": "255,255,255,255",
            "Alignments": "",
            "DrawBackground": true,
            "MinimumSize": "1,1",
            "MaximumSize": "4096,4096",
            "Disabled": false,
            "Hidden": false,
            "RestrictToParent": false,
            "MouseInputEnabled": false,
            "HideToolTip": false,
            "ToolTipBackground": null,
            "ToolTipFont": null,
            "ToolTipTextColor": "",
            "Texture": null,
            "HoverSound": null,
            "LeftMouseClickSound": null,
            "RightMouseClickSound": null
          }
        }
      },
      "EquipmentItem5": {
        "Bounds": "28,139,36,36",
        "Padding": "0,0,0,0",
        "AlignmentEdgeDistances": "0,0,0,0",
        "AlignmentTransform": "0,0",
        "Margin": "0,0,0,0",
        "RenderColor": "255,255,255,255",
        "Alignments": "",
        "DrawBackground": true,
        "MinimumSize": "1,1",
        "MaximumSize": "4096,4096",
        "Disabled": false,
        "Hidden": false,
        "RestrictToParent": false,
        "MouseInputEnabled": true,
        "HideToolTip": false,
        "ToolTipBackground": "tooltip.png",
        "ToolTipFont": "sourcesansproblack,10",
        "ToolTipTextColor": "255,255,255,255",
        "Texture": "equipmentitem.png",
        "HoverSound": null,
        "LeftMouseClickSound": null,
        "RightMouseClickSound": null,
        "Children": {
          "EquipmentIcon": {
            "Bounds": "2,2,32,32",
            "Padding": "0,0,0,0",
            "AlignmentEdgeDistances": "0,0,0,0",
            "AlignmentTransform": "0,0",
            "Margin": "0,0,0,0",
            "RenderColor": "255,255,255,255",
            "Alignments": "",
            "DrawBackground": true,
            "MinimumSize": "1,1",
            "MaximumSize": "4096,4096",
            "Disabled": false,
            "Hidden": false,
            "RestrictToParent": false,
            "MouseInputEnabled": false,
            "HideToolTip": false,
            "ToolTipBackground": null,
            "ToolTipFont": null,
            "ToolTipTextColor": "",
            "Texture": null,
            "HoverSound": null,
            "LeftMouseClickSound": null,
            "RightMouseClickSound": null
          }
        }
      },
      "EquipmentItem6": {
        "Bounds": "176,144,36,36",
        "Padding": "0,0,0,0",
        "AlignmentEdgeDistances": "0,0,0,0",
        "AlignmentTransform": "0,0",
        "Margin": "0,0,0,0",
        "RenderColor": "255,255,255,255",
        "Alignments": "",
        "DrawBackground": true,
        "MinimumSize": "1,1",
        "MaximumSize": "4096,4096",
        "Disabled": false,
        "Hidden": false,
        "RestrictToParent": false,
        "MouseInputEnabled": true,
        "HideToolTip": false,
        "ToolTipBackground": "tooltip.png",
        "ToolTipFont": "sourcesansproblack,10",
        "ToolTipTextColor": "255,255,255,255",
        "Texture": "equipmentitem.png",
        "HoverSound": null,
        "LeftMouseClickSound": null,
        "RightMouseClickSound": null,
        "Children": {
          "EquipmentIcon": {
            "Bounds": "2,2,32,32",
            "Padding": "0,0,0,0",
            "AlignmentEdgeDistances": "0,0,0,0",
            "AlignmentTransform": "0,0",
            "Margin": "0,0,0,0",
            "RenderColor": "255,255,255,255",
            "Alignments": "",
            "DrawBackground": true,
            "MinimumSize": "1,1",
            "MaximumSize": "4096,4096",
            "Disabled": false,
            "Hidden": false,
            "RestrictToParent": false,
            "MouseInputEnabled": false,
            "HideToolTip": false,
            "ToolTipBackground": null,
            "ToolTipFont": null,
            "ToolTipTextColor": "",
            "Texture": null,
            "HoverSound": null,
            "LeftMouseClickSound": null,
            "RightMouseClickSound": null

 

What displays (using the Intersect GUI Editor)...

 

08710c3302b75db1530ca0d42b01d16d.png

 

Now, I realize, in my code, I've only written 7 equipment slots. I understand there's more to add. However, why aren't slots 6 and 7 showing?

 

Also, saving in IGE is not copying to my server. My server is still showing only the 5 original equipment slots...

 

24019dd4a845779b74b72c159d38a34c.png

 

And, finally, my CONFIG file...

 

"Equipment": {
    "Paperdoll": {
      "Down": [
        "Player",
        "Head",
        "Chest",
        "Weapon",
        "Shield/Ammo",
        "Arms",
        "Hands",
        "Legs",
        "Feet",
        "Aura",
        "Ring-1",
        "Ring-2",
        "Ring-3",
        "Ring-4",
        "Bracelet"
      ],
      "Left": [
        "Player",
        "Head",
        "Chest",
        "Weapon",
        "Shield/Ammo",
        "Arms",
        "Hands",
        "Legs",
        "Feet",
        "Aura",
        "Ring-1",
        "Ring-2",
        "Ring-3",
        "Ring-4",
        "Bracelet"
      ],
      "Right": [
        "Player",
        "Head",
        "Chest",
        "Weapon",
        "Shield/Ammo",
        "Arms",
        "Hands",
        "Legs",
        "Feet",
        "Aura",
        "Ring-1",
        "Ring-2",
        "Ring-3",
        "Ring-4",
        "Bracelet"
      ],
      "Up": [
        "Player",
        "Head",
        "Chest",
        "Weapon",
        "Shield/Ammo",
        "Arms",
        "Hands",
        "Legs",
        "Feet",
        "Aura",
        "Ring-1",
        "Ring-2",
        "Ring-3",
        "Ring-4",
        "Bracelet"
      ]
    },
    "ShieldSlot": 3,
    "Slots": [
      "Head",
      "Chest",
      "Weapon",
      "Shield/Ammo",
      "Aura",
      "Arms",
      "Hands",
      "Legs",
      "Feet",
      "Ring-1",
      "Ring-2",
      "Ring-3",
      "Ring-4",
      "Bracelet"
    ],
    "ToolTypes": [
      "Axe",
      "Pickaxe",
      "Shovel",
      "Fishing Rod",
      "Spear",
      "Lock Pick",
      "Mortar and Pestle",
      "Hammer"
    ],
    "WeaponSlot": 2
  },

Not really concerned about the paperdoll display order, currently. My major concern is getting these 14 slots visible, usable, and functioning as designed. Any help would be great. I have read multiple tutorials, and guides, on adding slots. I've been tinkering for days, and rather than give up, I'm asking for help. No need to direct me to a guide or tutorial, I've alredy done that, and am still stuck. Please, and thank you, folks. :D

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
2 hours ago, relentlesspoetry said:

You'll need to change the bounds and sizes, honestly just play around with those till you get the size you want and the location you want.

 

3653b2a78739c1042ca9e6501bea221e.png

Definitely trying. Thanks for the feedback. :)

Link to comment
Share on other sites

  • 0
3 hours ago, Bloodfist said:
Spoiler

I want a total of 14 slots. 2 on each side of the character, and a two rows of 5, below the character...

 

What I've done...

 

 

What displays (using the Intersect GUI Editor)...

 

 

 

Now, I realize, in my code, I've only written 7 equipment slots. I understand there's more to add. However, why aren't slots 6 and 7 showing?

 

Also, saving in IGE is not copying to my server. My server is still showing only the 5 original equipment slots...

 

 

 

And, finally, my CONFIG file...

 

Not really concerned about the paperdoll display order, currently. My major concern is getting these 14 slots visible, usable, and functioning as designed. Any help would be great. I have read multiple tutorials, and guides, on adding slots. I've been tinkering for days, and rather than give up, I'm asking for help. No need to direct me to a guide or tutorial, I've alredy done that, and am still stuck. Please, and thank you, folks. :D

 

For the love of god, use code snippets for all of the JSON files to debloat the post, makes it very hard to read.
But you're for sure on the right track.

Link to comment
Share on other sites

  • 0
1 minute ago, AisenArvalis said:

For the love of god, use code snippets for all of the JSON files to debloat the post, makes it very hard to read.
But you're for sure on the right track.

Sorry about that. Trying to figure things out, including the forums. :)

Link to comment
Share on other sites

  • 0
"Bracelet"
      ]
    },
    "ShieldSlot": 3,
	"WeaponSlot": 2,
    "Slots": [
      "Head",
      "Chest",
      "Weapon",
      "Shield/Ammo",
      "Aura",
      "Arms",
      "Hands",
      "Legs",
      "Feet",
      "Ring1",
      "Ring2",
      "Ring3",
      "Ring4",
      "Bracelet"
    ],
    "ToolTypes": [
      "Axe",
      "Pickaxe",
      "Shovel",
      "Fishing Rod",
      "Spear",
      "Lock Pick",
      "Mortar and Pestle",
      "Hammer"
    ],
 },
  "EventWatchdogKillThreshold": 5000,

Is my error some where, in the above code? It's my CONFIG file, but I'm sure you knew that. :D

Link to comment
Share on other sites

  • 0

489d4ba611783632e87c4a42bf0b520e.png

 

Using the GUI Editor, this is where I'm stuck. I have 5 of 9 inventory boxes displaying, but I can't get slot 6 to show up. My code for slot number 6 is on the left, on this screenshot. Is it my config file I need to be worrying about, or am I just doing something wrong with the actual GUI bounds, etc.? Any help would be great. Been struggling with this for over a week. It's getting very discouraging. Any help would be appreciated.

Link to comment
Share on other sites

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
×
×
  • Create New...