Jump to content
  • 1

Layering issue


Ravenborn

Question

Having a small problem with layering. The cloak is supposed to appear OVER the armor.  Here's an image of the issue.

76a4c348dfe077cef862b115e22002da.png

 

    <Up>
      <!--Paperdoll is rendered in the following order when facing up. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Boots</Slot0>
      <Slot1>Pants</Slot1>
      <Slot2>Weapon</Slot2>
      <Slot3>Shield</Slot3>
      <Slot4>Gloves</Slot4>
	  <Slot5>Armor</Slot5>
	  <Slot6>Cloak</Slot6>
	  <Slot7>Amulet</Slot7>
	  <Slot8>Helmet</Slot8>
	  </Up>
    <Down>
      <!--Paperdoll is rendered in the following order when facing down. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Boots</Slot0>
      <Slot1>Pants</Slot1>
      <Slot2>Armor</Slot2>
      <Slot3>Gloves</Slot3>
      <Slot4>Weapon</Slot4>
	  <Slot5>Shield</Slot5>
	  <Slot6>Cloak</Slot6>
	  <Slot7>Amulet</Slot7>
	  <Slot8>Helmet</Slot8>
    </Down>

Now, I have switched the cloak and armor back and forth in the draw order (and reset the server every time to make sure it was loading the new config), but it STILL draws the armor over the cloak on facing up. Not sure what's happening here. Any ideas?

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
11 hours ago, Ravenborn said:

Also, along the same lines of the previous question,
Is there a way to display an equiped item in a layer BENEATH the player themselves?
I'm wondering if a negative value will work...

 

 

11 hours ago, jcsnider said:

B5 :) 

I added this myself personally for you all in B5 via the server config file

Link to comment
Share on other sites

  • 0

Absolutely, one moment...
bcdb22d9fe49bb0771d852a2dc2c70b2.png

37128b5d4ae93e0c8cf74f6de10f3228.png

 

<?xml version="1.0" encoding="utf-8"?>

<!--Config.xml generated automatically by Intersect Server.-->
<Config>
  <Language>English</Language>
  <GameName>Realm of Shadows</GameName>
  <ServerPort>5400</ServerPort>
  <GameObjects>
    <!--You can increase these if you want, but you shouldn't unless you need to.-->
    <MaxNpcDrops>10</MaxNpcDrops>
  </GameObjects>
  <Player>
    <MaxStat>255</MaxStat>
    <MaxLevel>100</MaxLevel>
    <MaxInventory>35</MaxInventory>
    <MaxSpells>35</MaxSpells>
    <MaxBank>100</MaxBank>
    <MaxCharacters>10</MaxCharacters>
    <!--Percentage chance of each item being dropped on player death. e.g. 50 = 50% drop chance per item.-->
    <ItemDropChance>0</ItemDropChance>
  </Player>
  <!--Trigger player passability based on map moralites. True = Passable, False = Blocked-->
  <Passability>
    <Normal>False</Normal>
    <Safe>True</Safe>
    <Arena>False</Arena>
  </Passability>
  <Equipment>
    <WeaponSlot>2</WeaponSlot>
    <ShieldSlot>3</ShieldSlot>
    <Slot0>Helmet</Slot0>
    <Slot1>Armor</Slot1>
    <Slot2>Weapon</Slot2>
    <Slot3>Shield</Slot3>
    <Slot4>Pants</Slot4>
    <Slot5>Boots</Slot5>
	<Slot6>Amulet</Slot6>
	<Slot7>Gloves</Slot7>
	<Slot8>Cloak</Slot8>
	<Slot9>Ring1</Slot9>
	<Slot10>Ring2</Slot10>
	<Slot11>Relic</Slot11>

  </Equipment>
  <Paperdoll>
    <Up>
      <!--Paperdoll is rendered in the following order when facing up. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Boots</Slot0>
      <Slot1>Pants</Slot1>
      <Slot2>Weapon</Slot2>
      <Slot3>Shield</Slot3>
      <Slot4>Gloves</Slot4>
	  <Slot5>Armor</Slot5>
	  <Slot6>Cloak</Slot6>
	  <Slot7>Amulet</Slot7>
	  <Slot8>Helmet</Slot8>
	  </Up>
    <Down>
      <!--Paperdoll is rendered in the following order when facing down. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Boots</Slot0>
      <Slot1>Pants</Slot1>
      <Slot2>Armor</Slot2>
      <Slot3>Gloves</Slot3>
      <Slot4>Weapon</Slot4>
	  <Slot5>Shield</Slot5>
	  <Slot6>Cloak</Slot6>
	  <Slot7>Amulet</Slot7>
	  <Slot8>Helmet</Slot8>
    </Down>
    <Left>
      <!--Paperdoll is rendered in the following order when facing left. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Weapon</Slot0>
      <Slot1>Boots</Slot1>
      <Slot2>Pants</Slot2>
      <Slot3>Armor</Slot3>
      <Slot4>Gloves</Slot4>
	  <Slot5>Shield</Slot5>
	  <Slot6>Cloak</Slot6>
	  <Slot7>Amulet</Slot7>
	  <Slot8>Helmet</Slot8>
    </Left>
    <Right>
      <!--Paperdoll is rendered in the following order when facing right. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Boots</Slot0>
      <Slot1>Pants</Slot1>
      <Slot2>Shield</Slot2>
      <Slot3>Armor</Slot3>
      <Slot4>Gloves</Slot4>
	  <Slot5>Cloak</Slot5>
	  <Slot6>Amulet</Slot6>
	  <Slot7>Helmet</Slot7>
	  <Slot8>Weapon</Slot8>
    </Right>
  </Paperdoll>
  <ToolTypes>
    <Slot0>Axe</Slot0>
    <Slot1>Pickaxe</Slot1>
    <Slot2>Shovel</Slot2>
    <Slot3>Fishing Rod</Slot3>
  </ToolTypes>
  <Misc>
    <ItemDespawnTime>15000</ItemDespawnTime>
    <ItemSpawnTime>15000</ItemSpawnTime>
    <AnimatedSprites></AnimatedSprites>
  </Misc>
  <Combat>
    <RegenTime>3000</RegenTime>
    <MinAttackRate>1000</MinAttackRate>
    <MaxAttackRate>200</MaxAttackRate>
    <BlockingSlow>30</BlockingSlow>
    <CritChance>20</CritChance>
    <CritMultiplier>150</CritMultiplier>
    <MaxDashSpeed>200</MaxDashSpeed>
  </Combat>
  <Map>
    <!--MapBorder Override. 0 for seamless with scrolling that stops on world edges. 1 for non-seamless, and 2 for seamless where the camera knows no boundaries. (Black borders where the world ends)-->
    <BorderStyle>0</BorderStyle>
    <!--DO NOT TOUCH! These values will resize the maps in the engine and will CORRUPT existing maps. In MOST cases this value should not be changed. It would be wise to consult us before doing so!-->
    <MapWidth>32</MapWidth>
    <MapHeight>26</MapHeight>
    <TileWidth>32</TileWidth>
    <TileHeight>32</TileHeight>
  </Map>
</Config>

 

Link to comment
Share on other sites

  • 0

The armor is set to the Armor slot. This has me baffled. I'm also having the same issue with the Shield when turning right... :/
EDIT: After several server restarts it seems to be working properly. >.> Still not sure what could have happened. I'll share a final copy of the working config.xml in case something changed.

671d3ee03d7b6434fcb463ab785ca83a.png

Link to comment
Share on other sites

  • 0

Aaaaand the working XML
 

<?xml version="1.0" encoding="utf-8"?>

<!--Config.xml generated automatically by Intersect Server.-->
<Config>
  <Language>English</Language>
  <GameName>Realm of Shadows</GameName>
  <ServerPort>5400</ServerPort>
  <GameObjects>
    <!--You can increase these if you want, but you shouldn't unless you need to.-->
    <MaxNpcDrops>10</MaxNpcDrops>
  </GameObjects>
  <Player>
    <MaxStat>255</MaxStat>
    <MaxLevel>100</MaxLevel>
    <MaxInventory>35</MaxInventory>
    <MaxSpells>35</MaxSpells>
    <MaxBank>100</MaxBank>
    <MaxCharacters>10</MaxCharacters>
    <!--Percentage chance of each item being dropped on player death. e.g. 50 = 50% drop chance per item.-->
    <ItemDropChance>0</ItemDropChance>
  </Player>
  <!--Trigger player passability based on map moralites. True = Passable, False = Blocked-->
  <Passability>
    <Normal>False</Normal>
    <Safe>True</Safe>
    <Arena>False</Arena>
  </Passability>
  <Equipment>
    <WeaponSlot>2</WeaponSlot>
    <ShieldSlot>3</ShieldSlot>
    <Slot0>Helmet</Slot0>
    <Slot1>Armor</Slot1>
    <Slot2>Weapon</Slot2>
    <Slot3>Shield</Slot3>
    <Slot4>Pants</Slot4>
    <Slot5>Boots</Slot5>
	<Slot6>Amulet</Slot6>
	<Slot7>Gloves</Slot7>
	<Slot8>Cloak</Slot8>
	<Slot9>Ring1</Slot9>
	<Slot10>Ring2</Slot10>
	<Slot11>Relic</Slot11>

  </Equipment>
  <Paperdoll>
    <Up>
      <!--Paperdoll is rendered in the following order when facing up. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Pants</Slot0>
      <Slot1>Boots</Slot1>
      <Slot2>Weapon</Slot2>
      <Slot3>Shield</Slot3>
      <Slot4>Gloves</Slot4>
	  <Slot5>Armor</Slot5>
	  <Slot6>Cloak</Slot6>
	  <Slot7>Amulet</Slot7>
	  <Slot8>Helmet</Slot8>
	  </Up>
    <Down>
      <!--Paperdoll is rendered in the following order when facing down. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Pants</Slot0>
      <Slot1>Boots</Slot1>
      <Slot2>Armor</Slot2>
      <Slot3>Gloves</Slot3>
      <Slot4>Cloak</Slot4>
	  <Slot5>Weapon</Slot5>
	  <Slot6>Amulet</Slot6>
	  <Slot7>Shield</Slot7>
	  <Slot8>Helmet</Slot8>
    </Down>
    <Left>
      <!--Paperdoll is rendered in the following order when facing left. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Weapon</Slot0>
      <Slot1>Pants</Slot1>
      <Slot2>Boots</Slot2>
      <Slot3>Armor</Slot3>
      <Slot4>Gloves</Slot4>
	  <Slot5>Cloak</Slot5>
	  <Slot6>Amulet</Slot6>
	  <Slot7>Helmet</Slot7>
	  <Slot8>Shield</Slot8>
    </Left>
    <Right>
      <!--Paperdoll is rendered in the following order when facing right. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Shield</Slot0>
      <Slot1>Pants</Slot1>
      <Slot2>Boots</Slot2>
      <Slot3>Armor</Slot3>
      <Slot4>Gloves</Slot4>
	  <Slot5>Cloak</Slot5>
	  <Slot6>Amulet</Slot6>
	  <Slot7>Helmet</Slot7>
	  <Slot8>Weapon</Slot8>
    </Right>
  </Paperdoll>
  <ToolTypes>
    <Slot0>Axe</Slot0>
    <Slot1>Pickaxe</Slot1>
    <Slot2>Shovel</Slot2>
    <Slot3>Fishing Rod</Slot3>
  </ToolTypes>
  <Misc>
    <ItemDespawnTime>15000</ItemDespawnTime>
    <ItemSpawnTime>15000</ItemSpawnTime>
    <AnimatedSprites></AnimatedSprites>
  </Misc>
  <Combat>
    <RegenTime>3000</RegenTime>
    <MinAttackRate>1000</MinAttackRate>
    <MaxAttackRate>200</MaxAttackRate>
    <BlockingSlow>30</BlockingSlow>
    <CritChance>20</CritChance>
    <CritMultiplier>150</CritMultiplier>
    <MaxDashSpeed>200</MaxDashSpeed>
  </Combat>
  <Map>
    <!--MapBorder Override. 0 for seamless with scrolling that stops on world edges. 1 for non-seamless, and 2 for seamless where the camera knows no boundaries. (Black borders where the world ends)-->
    <BorderStyle>0</BorderStyle>
    <!--DO NOT TOUCH! These values will resize the maps in the engine and will CORRUPT existing maps. In MOST cases this value should not be changed. It would be wise to consult us before doing so!-->
    <MapWidth>32</MapWidth>
    <MapHeight>26</MapHeight>
    <TileWidth>32</TileWidth>
    <TileHeight>32</TileHeight>
  </Map>
</Config>

 

Link to comment
Share on other sites

×
×
  • Create New...