Jump to content
  • 0

Face sprite size


Triangle

Question

Is there a way to change the maximum size for face sprites on the GUI? The bounds of the container doesn't seem to set the actual size of the sprite, and I don't see any way to modify the bounds of the sprite itself, and it gets squished back down to 64x64 if the image is larger than that.

 

Not sure if I'm just stupid and I should be looking somewhere else, or if it's just a hardcoded size limit. I can just change it later if it is, so it's no biggie, just wondering.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I'm not 100% on this as never changed it, but I believe it would be in .json files "EventDialogWindow_#Response.json" (# = 1,2,3,4) under "EventFacePanel":

 

Change bounds: "Bounds": "16,14,80,80",

 

Each part represents: "X,Y,WIDTH,HIEGHT"

 

Spoiler

    "EventFacePanel": {
      "Bounds": "16,14,80,80",
      "Padding": "0,0,0,0",
      "AlignmentEdgeDistances": "0,0,0,0",
      "AlignmentTransform": "0,0",
      "Margin": "0,0,0,0",
      "RenderColor": "255,255,255,255",
      "Alignments": "",
      "DrawBackground": true,
      "MinimumSize": "1,1",
      "MaximumSize": "4096,4096",
      "Disabled": false,
      "Hidden": true,
      "RestrictToParent": false,
      "MouseInputEnabled": true,
      "HideToolTip": false,
      "ToolTipBackground": null,
      "ToolTipFont": null,
      "ToolTipTextColor": "",
      "Texture": "",
      "HoverSound": null,
      "LeftMouseClickSound": null,
      "RightMouseClickSound": null
    },

 

Link to comment
Share on other sites

  • 0

Ah, yeah, I went and tried it and it works for the text boxes, huh...

 

I was trying to get it to fit properly in PlayerBox.json though, guess I should have been a little more specific. I can change the bounds of the container that holds the image, but it doesn't seem to change the size of the image itself, which stays firmly locked at 64x64 regardless of how small or large you make the container. I couldn't find a way to change the dimensions of the image itself.

Link to comment
Share on other sites

  • 0
23 hours ago, Triangle said:

Ah, yeah, I went and tried it and it works for the text boxes, huh...

 

I was trying to get it to fit properly in PlayerBox.json though, guess I should have been a little more specific. I can change the bounds of the container that holds the image, but it doesn't seem to change the size of the image itself, which stays firmly locked at 64x64 regardless of how small or large you make the container. I couldn't find a way to change the dimensions of the image itself.

 

Might be hardcoded then, in which you will have to wait for source

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