Jump to content
  • 0

GUI Modification Help


Lyim

Question

Heyo,

 

I'd like to make some (hopefully) easy and minor adjustments to my GUI however I am kind-of lost when it comes to managing the .json files.
When trying to manage these bars on my own, they move to the position I need them to be in but don't properly move when the user changes their resolution.

As for the zone title text I cant manage to get it to move outside of the player box in the top left, I'm guessing its constrained to the bounds.

I would also like to increase the font size on the zone text if possible.

3c58ad090cfcc1961d36f62e34747cca.png

 

 

If you'd be willing to help me out setting this up, please let me know what .json file I need to edit and which properties need to be changed.

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

I don't know for the zone title.

 

But for the bar,

It's "HotbarWindow" and what you want to change is the "Alignments" 

In my case i putted :  Center Bottom,

 

  "Bounds": "595,858,409,42",
  "Padding": "0,0,0,0",
  "AlignmentEdgeDistances": "0,4,4,0",
  "AlignmentTransform": "0,0",
  "Margin": "0,0,0,0",
  "RenderColor": "255,255,255,255",
  "Alignments": "Center,Bottom",
  "DrawBackground": true,
  "MinimumSize": "1,1",

 

You will have to put "Right,Bottom",

 

 

And for the other one it's "MenuContainer" i think

 

  "Bounds": "1307,854,289,42",
  "Padding": "0,0,0,0",
  "AlignmentEdgeDistances": "0,0,4,4",
  "AlignmentTransform": "0,0",
  "Margin": "0,0,0,0",
  "RenderColor": "255,255,255,255",
  "Alignments": "Right,Bottom",

 

For this one it must be "Right,Top" or something like that.

Link to comment
Share on other sites

  • 0
21 minutes ago, Beast Realm said:

I don't know for the zone title.

 

But for the bar,

It's "HotbarWindow" and what you want to change is the "Alignments" 

In my case i putted :  Center Bottom,

 

  "Bounds": "595,858,409,42",
  "Padding": "0,0,0,0",
  "AlignmentEdgeDistances": "0,4,4,0",
  "AlignmentTransform": "0,0",
  "Margin": "0,0,0,0",
  "RenderColor": "255,255,255,255",
  "Alignments": "Center,Bottom",
  "DrawBackground": true,
  "MinimumSize": "1,1",

 

You will have to put "Right,Bottom",

 

 

And for the other one it's "MenuContainer" i think

 

  "Bounds": "1307,854,289,42",
  "Padding": "0,0,0,0",
  "AlignmentEdgeDistances": "0,0,4,4",
  "AlignmentTransform": "0,0",
  "Margin": "0,0,0,0",
  "RenderColor": "255,255,255,255",
  "Alignments": "Right,Bottom",

 

For this one it must be "Right,Top" or something like that.

 

 

I REALLY appreciate this, I'll give it a try now and set your reply as the answer!
Edit: Worked, I had originally tried that and it didn't worked so I had thought maybe AlignmentTransform would be the solution. Turns out my VisualStudio crashed as I was saving the .json and I didn't notice.

Edited by Lyim
Edit Message
Link to comment
Share on other sites

  • 0
2 minutes ago, Cheshire said:

This gets asked fairly often. Most recently answered here https://www.ascensiongamedev.com/topic/5593-change-map-name-location/?do=getLastComment

 

Quote

If I'd do that it would definitely not go into 6.2 as it would break existing GUI layouts.

 

Could I make a feature request on the github page? Or do you think I should just wait?

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