• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Terastallization [DBK Add-On] [v21.1]

Resource Terastallization [DBK Add-On] [v21.1] v1.1.5

Just gotta manually change the position in the battle UI code of the plugin.
Well obviously. That's what I said I'm trying to do lol. My question is where is that code?

jrj3XM5.png


I found this code but the circled numbers don't actually move it and idk anything else here that looks like coordinates.

By default these numbers are "4, 0". I set the "0" to "20" and the icon seemed to move to the left but was immediately cut off (you could only see the right half of it). So I tried changing it to "-100" to move it way to the right but then a giant white "=" sign took its place where it originally was and the icon was gone.

So this doesn't seem to be where you can move it around, despite the code looking like it is which makes me very confused.
 
Well obviously. That's what I said I'm trying to do lol. My question is where is that code?

jrj3XM5.png


I found this code but the circled numbers don't actually move it and idk anything else here that looks like coordinates.

By default these numbers are "4, 0". I set the "0" to "20" and the icon seemed to move to the left but was immediately cut off (you could only see the right half of it). So I tried changing it to "-100" to move it way to the right but then a giant white "=" sign took its place where it originally was and the icon was gone.

So this doesn't seem to be where you can move it around, despite the code looking like it is which makes me very confused.
You circled the Y position value (so edit that if you need to change the icons y position) and the starting X position of determining what portion of the graphic to draw. Don't change that value. You need to add/subtract from the value set before the 4, which sets the X position value.

[[path, x, y, ...]]
 
Well obviously. That's what I said I'm trying to do lol. My question is where is that code?

jrj3XM5.png


I found this code but the circled numbers don't actually move it and idk anything else here that looks like coordinates.

By default these numbers are "4, 0". I set the "0" to "20" and the icon seemed to move to the left but was immediately cut off (you could only see the right half of it). So I tried changing it to "-100" to move it way to the right but then a giant white "=" sign took its place where it originally was and the icon was gone.

So this doesn't seem to be where you can move it around, despite the code looking like it is which makes me very confused.
Yes, it is. The coordinates are obviously designed for the default UI.

The base numbers aren't 4, 0. They are @spriteBaseX + specialX + 4, 0. The X coordinates are calculated based on the bitmap base and then adjusted based on which side's databox its on (foe, player). Since youre using a custom UI, I have no idea what these values are, that's something you would know, not me.

The Y coordinates are obviously limited to the size of the bitmap of your databoxes. Again, since youre using a custom UI, idk what the dimensions or values of this would be - that's something you would know. -100 wouldnt make any sense though, regardless. Because if youre setting the icon outside of the bounds of the bitmap, of course it won't show on screen.

Idk how complex your custom UI is (if it's totally rewritten code from the ground up, or simple pallette swaps of the default UI), but it seems its something you must've installed instead of designed, since you dont seem too familiar with the UI code.
 
You circled the Y position value (so edit that if you need to change the icons y position) and the starting X position of determining what portion of the graphic to draw. Don't change that value. You need to add/subtract from the value set before the 4, which sets the X position value.

[[path, x, y, ...]]
I don't understand what you mean. I'm not a coder at all but literally every other part of the base Essentials UI was moved around by simply adjusting a predefined X and Y coordinates.

Which number is the Y position? I circled 2 numbers.

I just want to move the icon slightly to the left and down, if it'll let me do that without getting cut off (for some reason). If I can't do that, then I need to move it way to the right and down. How would I do that?
 
I don't understand what you mean. I'm not a coder at all but literally every other part of the base Essentials UI was moved around by simply adjusting a predefined X and Y coordinates.

Which number is the Y position? I circled 2 numbers.

I just want to move the icon slightly to the left and down, if it'll let me do that without getting cut off (for some reason). If I can't do that, then I need to move it way to the right and down. How would I do that?
The Y value is the first number, the 4. The x value is the addition of the two variables before the 4. I showed you the order of things at the end of my last post..

You can add "+ 15" or something just after "specialX" to see it move the x value.

(Actually going on my computer instead of my phone)
Ruby:
Expand Collapse Copy
pbDrawImagePositions(self.bitmap, [[path, @spriteBaseX + specialX + 15, 4 + 30, 0, type_number * 32, 32, 32]])
If you add + 15 and + 30 in the spots I show here, that will adjust the x value by +15 and y value by +30, respectfully.
 
Last edited:
The Y value is the first number, the 4. The x value is the addition of the two variables before the 4. I showed you the order of things at the end of my last post..

You can add "+ 15" or something just after "specialX" to see it move the x value.

(Actually going on my computer instead of my phone)
Ruby:
Expand Collapse Copy
pbDrawImagePositions(self.bitmap, [[path, @spriteBaseX + specialX + 15, 4 + 30, 0, type_number * 32, 32, 32]])
If you add + 15 and + 30 in the spots I show here, that will adjust the x value by +15 and y value by +30, respectfully.
Thank you very much!! This was incredibly helpful!

With no Tera:
u3kZ0Ug.png


With Tera (before):
VHpSeWz.png


With Tera (after):
AU1sHvB.png


It kept getting cut off if I put it anything at all to the left so I just went with far to the right and think it looks good there too!

Thank you so very much!!
 
Back
Top