Jump to content
Korean Random
Sign in to follow this  
GrappoSoda

z-order of "Battle interface text fields" and other elements?

Recommended Posts

Hi!

I've added a custom "Battle interface text field" by defining it in battleLabelsTemplates.xc and then adding it to the list of "formats" in battleLabels.xc.

 

So far so good. However, this field is drawn on top of some other elements, eg the battle countdown and capping bars.

I would prefer if it was drawn on top of OTM etc, but below the counter/bar elements for better readability.

How do I do this?

 

Share this post


Link to post

Short link
Share on other sites

How do I do this?

try to use "layer": Edited by Kapany3uk

Share this post


Link to post

Short link
Share on other sites

IIRC the layer parameter doesn't work in battle labels.

 

According to the docs (extra-field.txt) that is correct. It seems the battle labels are always drawn on top of the rest of the UI.

You can effectively change the z-order of a battle label relative to the others though, by simply reordering the definitions in the config file.

Edited by GrappoSoda

Share this post


Link to post

Short link
Share on other sites

added in the latest nightly build: "layer" parameter can be used in the battleLabels

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...