YEP Battle Status Window Extension

● ARCHIVED · READ-ONLY
Started by DreamX 218 posts Page 3 of 11 View original ↗
  1. Burns said:
    Can we include custom graphics? like hp bars and stuff

    Plugins that change how the gauges look should be compatible.

    masterlobo said:
    Is it possible to:


    1. Split the window containing all actors into a small window per actor?


    2. So the faces of the actor react when hit and stuff?


    Loving your extension btw :)

    1. I'll consider it, but you may be able to achieve what you had in mind while also technically using one window. Maybe you can show me an example of what you want.


    2. I don't think that actually has to do with separate windows. I was meaning to do something like that in the future. I actually already have a working prototype, I just need to make it more user friendly.

    Lnik3500 said:
    @DreamX Could you please give me a headstart on how to set it up vertically? To be more precise, there will be 3 party members only in a battle, the window will be on the right of the screen and I should be able to do the rest :p  


    To be more precise again:


    - The window will be vertical


    - 3 party members only


    - The window takes up the right of the entire screen


    - Width will be the same as 1 actor's Width


    I just need a little help here :p  

    Here are some tips:


    Change Battle Status Columns to 1.


    Change Battle Status Rows to 3.


    Change Battle Status Height to something else.


    Suggestion:


    this.fittingHeight(this.numVisibleRows() * 3)


    Notice I'm using 3 there, aka the number of party members.


    Change Battle Status Y value to something like 0 since its vertical now.


    For parameters, change gaugeRect to rect instead.


    Example:


    gaugeRect.y + gaugeRect.height - this.lineHeight() - (Math.max(16, (Imported.YEP_CoreEngine) ? Yanfly.Param.GaugeHeight : 6))


    to


    rect.y + rect.height - this.lineHeight() - (Math.max(16, (Imported.YEP_CoreEngine) ? Yanfly.Param.GaugeHeight : 6))




    You're probably going to want to change other parameters like Battle Status X and Battle Status Width.
  2. @DreamX Thank you! It helped me a lot :p  


    REQUEST


    Customizing other windows


    DESCRIPTION


    While I was experimenting with the Battle Status Window, it happened that other windows would overlap this one.


    So I'm requesting to be able to retract a little bit of Width on them to show the Status Window properly.


    ---------------------------------------------------------------------------


    BUG REPORT


    Selection Window


    DESCRIPTION


    The selection window would not show up even after I set it to True in Yanfly's Battle Engine
  3. Lnik3500 said:
    @DreamX Thank you! It helped me a lot :p  


    REQUEST


    Customizing other windows


    DESCRIPTION


    While I was experimenting with the Battle Status Window, it happened that other windows would overlap this one.


    So I'm requesting to be able to retract a little bit of Width on them to show the Status Window properly.


    ---------------------------------------------------------------------------


    BUG REPORT


    Selection Window


    DESCRIPTION


    The selection window would not show up even after I set it to True in Yanfly's Battle Engine



    Request: I'll add that to my to-do list.


    Bug Report: What selection window?
  4. @DreamX Selection Window is the one for targets.


    I choose attack and select my target, a window pops up for me to choose my target. I don't know if it is the right name, and I'm sorry...


    Is it the Target Window we call it?
  5. Lnik3500 said:
    @DreamX Selection Window is the one for targets.


    I choose attack and select my target, a window pops up for me to choose my target. I don't know if it is the right name, and I'm sorry...


    Is it the Target Window we call it?

    This window? If so, it's working for me with the default settings of my plugin.


    Untitled.png


    Try the default settings, then we can go from there.
  6. @DreamX Well I made some digging around and found out there's a bug between 2 plugins form Yanfly together... So I'll do more research to find the real culprit between them


    It wasn't your plugin the problem :p
  7. This plugin is really good, but there are some missing features:

    • Options for change the Party Command Window position
    • Option for change the Actor and Party Command Window size, and make both command windows horizontal.
    • Option to disable the movement of the Battle Status Window when the Party/Actor Command Window is active (and provide a small overwrite for ATB/CTB Plugin because these two moves the window).
    • (Don't know if already has this feature) Option to change the position and size of the Skill Window, and option to automatically resize it by the status window parameters.



    Also I am using up to 12 battle members in my project and I wanted to display two rows of actors in the status window, so I changed the parameter Battle Status Row to 2, but it does nothing, maybe I must change another parameter? I'm not using any other plugin that affects the battle status window.


    Thanks in advance.
  8. DreamX said:
    Plugins that change how the gauges look should be compatible.


    1. I'll consider it, but you may be able to achieve what you had in mind while also technically using one window. Maybe you can show me an example of what you want.


    2. I don't think that actually has to do with separate windows. I was meaning to do something like that in the future. I actually already have a working prototype, I just need to make it more user friendly.



    Looking forward to your script!


    As for examples, here are some from a couple of famous rpgs:


    phantasystar-1.jpg


    masterb.png


    But the best example is the battle status screen of the DS remakes of DQ4-6.


    dragon-quest-v-hand-of-the-heavenly-bride-20090211021637115.jpg
  9. v1.4:


    -Changed default parameter setting for max cols so it takes into account if you have "adjust columns" set to true in Yanfly's Battle Status Window
    It was changed to
    Yanfly.Param.BSWAdjustCol ? this.maxItems() : $gameParty.maxBattleMembers()


    -Changed default parameter for atb gauge x, y and width to prevent errors
    X was changed to: basicAreaRect.x
    Y was changed to: basicAreaRect.y
    Width was changed to: basicAreaRect.width


    -Added x, y, width and height parameters and more to Party Command, Actor Command, Battle Skill, Battle Item and Help Windows.

    Killuki Zaoldyeck said:
    Also I am using up to 12 battle members in my project and I wanted to display two rows of actors in the status window, so I changed the parameter Battle Status Row to 2, but it does nothing, maybe I must change another parameter? I'm not using any other plugin that affects the battle status window.


    Thanks in advance.

    Yes. There are different ways of doing it. Here are some tips:


    You will probably want to change the battle status height to something else and possibly the battle status width too.


    I suggest using


    this.contents.width / 6


    for item width and


    this.contents.height / 2


    for item height. This basically means each selection rectangle will be 1/6 of the window contents width in width, and 1/2 of the windows contents height in height.


    Change rows to 2.


    Change columns to 6.


    Lastly, you will want to use rect instead of gaugeRect for all of the battle status window parameters like the gauges, so that they will appear in the correct position.

    masterlobo said:
    Looking forward to your script!


    As for examples, here are some from a couple of famous rpgs:








    But the best example is the battle status screen of the DS remakes of DQ4-6.





    If you don't need each individual "window" for each actor to move separately,  what I could do is to have an option to place dummy windows to make it visually look like separate windows or to have an option to bind an image background for the battle status window.


    Having them actually be separate windows is possible, but it also involve a lot of code modifications because the game fully expects all of the actor information to be in one window only.
  10. DreamX said:
    If you don't need each individual "window" for each actor to move separately,  what I could do is to have an option to place dummy windows to make it visually look like separate windows or to have an option to bind an image background for the battle status window.


    Having them actually be separate windows is possible, but it also involve a lot of code modifications because the game fully expects all of the actor information to be in one window only.



    Smart approach, you mean making the window transparent and drawing them as actual pictures on each BG?


    But, could it be possible to modify the space between actors?


    I only expect 2 party members in my game, so I would love to space them out.


    Thanks again, and learning some script modifying myself in the process!
  11. masterlobo said:
    Smart approach, you mean making the window transparent and drawing them as actual pictures on each BG?


    But, could it be possible to modify the space between actors?


    I only expect 2 party members in my game, so I would love to space them out.


    Thanks again, and learning some script modifying myself in the process!

    Yes, I would make the real window transparent and have either a picture or a set of dummy (empty but visible) windows underneath.


    I think I may have a way to space them out but I need to do some tests first. Thank you for your support.
  12. We support you to the fullest :D  


    You help a lot of people on these forums (including me on a few topics :p  ) and you make this neat extension.


    I hope you'll let us use you... I mean support you :)  


    ^


    |


    This is a joke don't hate me >_>  


    I'm sorry and thank you
  13. I love this plugin but i am having trouble customizing it similar to the sample layout. Would anyone be willing to help me set the plugin parameters to look like the DreamX setup but with name, hp, mp, tp, atb, and states all in a column? Similar to the picture below but it wont allow for the states row to fit unless i move everything else up.. I tried using the sample along with customizing other parameters but i would need to reposition everything to fit neatly which i am having trouble with. 


    I have the adjust columns set to true in YEP battle status window plugin with default font sizes.


    my resolution is 1280 x 720


    any help would be greatly appreciated.

    01.jpg
  14. Low said:
    I love this plugin but i am having trouble customizing it similar to the sample layout. Would anyone be willing to help me set the plugin parameters to look like the DreamX setup but with name, hp, mp, tp, atb, and states all in a column? Similar to the picture below but it wont allow for the states row to fit unless i move everything else up.. I tried using the sample along with customizing other parameters but i would need to reposition everything to fit neatly which i am having trouble with. 


    I have the adjust columns set to true in YEP battle status window plugin with default font sizes.


    my resolution is 1280 x 720


    any help would be greatly appreciated.


    View attachment 46704

    Hey there


    To save time I'll post the code for the preset:


    paramDrawFaceX = "rect.x";
    paramDrawFaceWidth = "144";
    paramDrawFaceHeight = "144";

    paramHpGaugeX = "this.DXGaugeNameX(actor, rect)";
    paramMpGaugeX = "this.DXGaugeNameX(actor, rect)";
    paramTpGaugeX = "this.DXGaugeNameX(actor, rect)";
    paramAtbGaugeX = "this.DXGaugeNameX(actor, rect)";
    paramNameX = "this.DXGaugeNameX(actor, rect)";

    paramHpGaugeWidth = "this.DXGaugeNameWidth(actor, rect)";
    paramMpGaugeWidth = "this.DXGaugeNameWidth(actor, rect)";
    paramTpGaugeWidth = "this.DXGaugeNameWidth(actor, rect)";
    paramAtbGaugeWidth = "this.DXGaugeNameWidth(actor, rect)";
    paramNameWidth = "this.DXGaugeNameWidth(actor, rect)";

    paramHpGaugeY = "rect.y + this.lineHeight()";
    paramMpGaugeY = "rect.y + this.lineHeight() * 2";
    paramNameY = "rect.y";
    paramIconsX = "this.DXIconX(actor, rect)";
    paramIconsY = "rect.y + rect.height - Window_Base._iconHeight - this.textPadding()";
    Yanfly.Param.BSWAdjustCol = true;

    paramNameAlign = "center";


    The variables name listed here will tell you the corresponding parameter. So, for example, you'd set use "rect.x" (without quotes) for the paramater "Face X"


    From there, you can tweak it. From example, if you wanted to use the example setting for the HP Gauge Y but move it up 10 pixels, you would use


    "rect.y + this.lineHeight() - 10" (without quote)


    You can move up other parts of the window in the same way, just subtract (and if you need to move it down, just add).


    Hope that helps.


    By the way, @masterlobo @Lnik3500There will be an update soon with something like what you were asking for. Probably within a couple days hopefully.
  15. Thank you! Its a big help. Now I can't wait for the update. I was curious about those posts as well. 
  16. Nice screenshot @Low btw.



    And I'd hate to be a trouble, but is there a method to changing the size of dummy windows? They tend to overlap.
  17. BloodletterQ said:
    Nice screenshot @Low btw.



    And I'd hate to be a trouble, but is there a method to changing the size of dummy windows? They tend to overlap.

    They match the rectangles of the battle status window, so changing the item width and item height will change the dummy windows.


    You can also change the item spacing so they don't overlap.
  18. Is there a way stop the status window from sliding?
  19. kovak said:
    Is there a way stop the status window from sliding?

    There are two parameters for the battle status window x (action and input), just make them the same and it shouldn't slide anymore.
  20. God Dream...you're too fast D:
    I'll not display the actors name and wanted to replace it with the status icon, i've tried to change the Y axis and there was no change :/


    How can i prevent the MAX value of HP/MP to be displayed when i change the font size?
     


    Thx a lot <3