Jump to content
  • 0

equipment spritesheet draw order?


Vaiku

Question

I'm trying to understand how paperdolls come together on top of our player entity before I start working on paperdolls too much and, notably, add some additional slots (i.e. back slot for capes/backpacks/wings)

1. What order are items drawn in by default, and where would I edit/view that?

2.  I imagine draw order has to depend on direction your facing (so shields cover armor facing down, and armor covers shield facing up); where do I see/configure that?

 

 

Thank you all! I know this engine has been around a long time, but i'm new and really enjoying using it. Looking forward to sharing more about my project in a couple months :) 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

You can change that in your Server > Config file.

 

Spoiler

 "Equipment": {
    "Paperdoll": {
      "Down": [
        "Player",
        "Leggings",
        "Boots",
        "Armor",
        "Helmet",
        "Off-hand",
        "Weapon",
        "Belt",
        "Hands",
        "Necklace",
        "Ring",
        "Back",
        "Charm"
      ],
      "Left": [
        "Player",
        "Leggings",
        "Boots",
        "Helmet",
        "Armor",
        "Weapon",
        "Off-hand",
        "Belt",
        "Hands",
        "Necklace",
        "Ring",
        "Back",
        "Charm"
      ],
      "Right": [
        "Player",
        "Leggings",
        "Boots",
        "Helmet",
        "Armor",
        "Off-hand",
        "Weapon",
        "Belt",
        "Hands",
        "Necklace",
        "Ring",
        "Back",
        "Charm"
      ],
      "Up": [
        "Off-hand",
        "Weapon",
        "Player",
        "Leggings",
        "Boots",
        "Helmet",
        "Armor",
        "Belt",
        "Hands",
        "Necklace",
        "Ring",
        "Back",
        "Charm"
      ]
    },
    "ShieldSlot": 3,
    "Slots": [
      "Helmet",
      "Armor",
      "Weapon",
      "Off-hand",
      "Boots",
      "Leggings",
      "Belt",
      "Hands",
      "Necklace",
      "Ring",
      "Back",
      "Charm",
      "Special"
    ],
    "ToolTypes": [
      "Axe",
      "Pickaxe",
      "Shovel",
      "Fishing Rod",
      "Gloves",
      "Lock pick"
    ],
    "WeaponSlot": 2
  },

 

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...