# Why is my custom Bottom Bar splitting when NPC targets me? I used this in the past and it worked well. I would like to update the XML file's code if anyone can help

**URL:** <https://forums.funcom.com/t/why-is-my-custom-bottom-bar-splitting-when-npc-targets-me-i-used-this-in-the-past-and-it-worked-well-i-would-like-to-update-the-xml-files-code-if-anyone-can-help/128521>\
**Category:** Community Corner\
**Created:** [July 2, 2020, 5:31am UTC](https://forums.funcom.com/t/why-is-my-custom-bottom-bar-splitting-when-npc-targets-me-i-used-this-in-the-past-and-it-worked-well-i-would-like-to-update-the-xml-files-code-if-anyone-can-help/128521 "2020-07-02T05:31:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BladeParker](https://sea1.discourse-cdn.com/funcom/user_avatar/forums.funcom.com/bladeparker/32/54052_2.png) [@BladeParker](https://forums.funcom.com/u/BladeParker)\
**Post date:** [July 2, 2020, 5:31am UTC](https://forums.funcom.com/t/why-is-my-custom-bottom-bar-splitting-when-npc-targets-me-i-used-this-in-the-past-and-it-worked-well-i-would-like-to-update-the-xml-files-code-if-anyone-can-help/128521/1 "2020-07-02T05:31:36Z")

</div>

After a long time away, (3+ years), I decided to give AoC another go. I customized beeUI’s bottombar back in the day and it still works except now the bar splits when an NPC targets me. The only custom files I require are …/customized/Views/HUD

- BottomBar.xml
- CharPortraitLeft.xml
- CharPortraitRight.xml

I would post a screenshot but I am a new user and not yet permitted. If anyone can help me out, you can check out a screenshot and the XML files in my shared dropbox folder: /sh/g1gn9ck63r5o5iu/AABRRssQlslgPa5J9fKsOb3ma?dl=0

 ![](https://global.discourse-cdn.com/funcom/original/3X/6/0/60367451feeaadd44999981e6b72dc72e4d3a99d.png)  
_Added picture /Sunstar_

Thanks.

---

<div class="post-metadata">

**Author:** ![Subi](https://sea1.discourse-cdn.com/funcom/user_avatar/forums.funcom.com/subi/32/47482_2.png) [@Subi](https://forums.funcom.com/u/Subi)\
**Post date:** [July 2, 2020, 2:56pm UTC](https://forums.funcom.com/t/why-is-my-custom-bottom-bar-splitting-when-npc-targets-me-i-used-this-in-the-past-and-it-worked-well-i-would-like-to-update-the-xml-files-code-if-anyone-can-help/128521/2 "2020-07-02T14:56:44Z")

</div>

I’m no expert by any means, but I suspect the Target’s Target health bar is positioned in such a way that it’s causing the split. Make a backup and try playing with the location in the CharPortraitRight.xml.

---

<div class="post-metadata">

**Author:** ![BladeParker](https://sea1.discourse-cdn.com/funcom/user_avatar/forums.funcom.com/bladeparker/32/54052_2.png) [@BladeParker](https://forums.funcom.com/u/BladeParker)\
**Post date:** [July 3, 2020, 12:03am UTC](https://forums.funcom.com/t/why-is-my-custom-bottom-bar-splitting-when-npc-targets-me-i-used-this-in-the-past-and-it-worked-well-i-would-like-to-update-the-xml-files-code-if-anyone-can-help/128521/3 "2020-07-03T00:03:04Z")

</div>

Thanks Subi! The code was in that file. For the “TargetContainerView” it was the layout borders

I will play with that file some more. I built it so long ago that I can’t remember all the aspects of the code. You are correct though, it is the target’s target that causes the issue.

Thanks for adding the screenshot Sunstar! 👍
