The Dialog Extension Changed...

RosalinaGalaxer

  • Posts: 239
So I went to set up the dialog extension for my side project. However, the data structures part of it has completely changed, and I'm not sure how to use it. It's asking for plugins and whatnot. It looks like somebody went and disassembled the "Style" thing and said "Ha ha! Have fun trying to get everything to work now!"

Anybody know what happened? I'm running b10240.
Ģ̷̓l̴̥̒͑̕͝ì̷̘͈̬͈̖̂͂̔̕t̷͔͇̯̥̬̀̽̓͜͝c̵͇̦̼̮̉̐̈́̕͝ͅͅḣ̵̡̫̞͚̐̅ͅë̶̗̦̪̖͚̜́͊̄͑s̵̺̹̖̼̥̃.̴̮̫͐ ̶̛̓̇̾̎

“I have never seen a more heated discussion about context, jazz, and cats.” - VanillaButterz

Justin

  • *
  • Posts: 4354
That's basically what happened, yeah. You need to create a new structure for each of the plugins you want to use, and then add them to the list of plugins in your main style.

It was a necessary step to make dialog more customizable with more built-in plugins and users creating their own plugins. I never really had time to realize either of those goals, though.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

RosalinaGalaxer

  • Posts: 239
Okay, good to know. A couple more questions.

Are the tweens still calculated in percents?  My dialogue box filled the entire screen for some reason. And how do I rename a plugin? It's super overwhelming to only have New (X) 1 to work with.
Ģ̷̓l̴̥̒͑̕͝ì̷̘͈̬͈̖̂͂̔̕t̷͔͇̯̥̬̀̽̓͜͝c̵͇̦̼̮̉̐̈́̕͝ͅͅḣ̵̡̫̞͚̐̅ͅë̶̗̦̪̖͚̜́͊̄͑s̵̺̹̖̼̥̃.̴̮̫͐ ̶̛̓̇̾̎

“I have never seen a more heated discussion about context, jazz, and cats.” - VanillaButterz

Justin

  • *
  • Posts: 4354
To rename, select it from the list and press enter.

In tweens, only the "position" fields can have percentages. For example, you could have an x of "50% + 8".
For windows, "position" and "width" (if you choose to have a custom width) can have percentages as well.

None of those will be treated as percentages unless you actually include "%" in the field.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

RosalinaGalaxer

  • Posts: 239
So how does the size tween work? Do you input the pixel size of the image, or something else special?
Ģ̷̓l̴̥̒͑̕͝ì̷̘͈̬͈̖̂͂̔̕t̷͔͇̯̥̬̀̽̓͜͝c̵͇̦̼̮̉̐̈́̕͝ͅͅḣ̵̡̫̞͚̐̅ͅë̶̗̦̪̖͚̜́͊̄͑s̵̺̹̖̼̥̃.̴̮̫͐ ̶̛̓̇̾̎

“I have never seen a more heated discussion about context, jazz, and cats.” - VanillaButterz

Justin

  • *
  • Posts: 4354
You mean scale? That should be a number from 0 to 1, indicating how large the window is in relation to the chosen size in your window structure.

For example, select "fit contents" for the width in your window, and then in your tween, "scale start" has an "x" of 0 and "scale stop" has an "x" of 1. This will make the window grow from 0 to the size of the window's content when that tween is applied.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

RosalinaGalaxer

  • Posts: 239
Oh.

I thought it was percentages or the actual pixel size, so I put 100. You can probably see what was wrong...

Thanks for the help! I should be able to get this running now.
Ģ̷̓l̴̥̒͑̕͝ì̷̘͈̬͈̖̂͂̔̕t̷͔͇̯̥̬̀̽̓͜͝c̵͇̦̼̮̉̐̈́̕͝ͅͅḣ̵̡̫̞͚̐̅ͅë̶̗̦̪̖͚̜́͊̄͑s̵̺̹̖̼̥̃.̴̮̫͐ ̶̛̓̇̾̎

“I have never seen a more heated discussion about context, jazz, and cats.” - VanillaButterz