MV - Path Choice / Reward Choice -- Selection-UI Request

● ARCHIVED · READ-ONLY
Started by StorocnekXx 7 posts View original ↗
  1. Hello beautiful people!
    First of all: I have tried to solve my problem for quite some hours now, but I can't seem to find a solution. Maybe I am overlooking something really simple and I'll feel stupid after this resolves.

    I am using a lot of Yanfly's amazing scripts and would really like to stick with them, as I personally find them very easy to work with, as I have NO scripting knowledge whatsoever. I can follow tutorials and guides though and they do explain their scripts nicely. So ultimately I'd like ideas that work with their scripts, but I'm up for anything that helps me out.

    I am pretty sure both my requests can be solved the same way, which is pretty convenient and as such I put them together.

    The things I want to achieve are the following:
    My player exits a room and is given an option to choose one out of 2 and sometimes 3 different paths. I want the player to get a glimpse of what lays up ahead. I currently am solving this by randomly generating a number for both a left and a right option. I have a conditional branch asking for that random number and then have a corresponding text message saying "The room to the right contains (randomnumber resulting) enemies and a (randomnumber resulting) loot chest", followed by "The left room contains a healing area" (Or something). - I'd obviously like this to be a bit more then just one sentence. Some information about the area, the enemies, the difficulty rating, an icon for a treasure chest for the rewards etc pp.
    Following, my only option currently is giving the player a standart basic choice asking for "Left" or "Right".
    This really succs. It is very undynamic and clicking away textboxes is pretty unfun. At the same time, when asked for which option to take, the option itself is not shown, thus easily forgettable. However, it does work, so there's that.

    What I would like to have is a huge box of information taking up half the right side of the screen and another one on the left. And then by moving the arrow key left or right highlighting one option and by pressing enter selecting it. Selecting an option would return me some kind of variable that I can use to teleport the player to that specific map for example.
    I would like that information window to be able to include text, variables and icons - and it would be ultimately lovely to get those information out of a seperated textfile included in either the folder itself or as a JS-file in the js folder. That way I can dynamically alter the information text for the different rooms, rather then having to manually rewrite the information on each path that may or may not lead to a specific random room. This, however, is not super mandatory, but it would be extremly awesome.

    The second problem that can be solved the same way, is a reward-selection screen after maybe a battle or something. It should ideally be just the same thing - it opens a huge information window on the right and the left. Best case scenario: it has the option to have 3 options, same as the path-decision one. Selecting one reward will again return variables that I can use to grant items or XP or whatever.

    If all that fails, just having the option to show those information windows and then just using the basic option-selection would be okay aswell. At least I could work with that without having a black screen and textboxes telling me information that i forget the next second - and still having to select one of them.
    ------------------------------

    I have looked for Information windows and found one (VE Information Window) but it apparently doesn't work with external text data (or I personally may not be able to make it work together) and appears to not be working with Yanfly's scripts.
    I tried getting Information from a textfile with the help of TFExternalText but I can only make it display messages, not data as a string value. I tried creating JS-Files and get data from the document with something I grabbed from some old posts from here, but I failed to make it work either, as I didn't have any guides or something on how to implement it. I thought about creating a hub, but I again failed to make it work aswell.

    I didn't expect it to be that hard to just show windows including text/data on screen, but apparently I was wrong.
    Again, maybe I am overseeing something very simple and I am appreciating every thought and every bit of help!

    Thank you very much for your attention!

    Attachment:

    Choose_An_Upgrade.png
  2. I believe the YEP_MessageCore or the YEP_Micro plugins 1,2,3 can make the
    message window have more rows (to 12 or more depending on the resolution.

    as you can reset this, you can set the information you want.

    the way you could do (is my personal achievement) is to set it up like this:

    label choice: (this is important to let the player choose)
    choices: left, right (can be more if you want forward to be added).
    when left:
    show the infomation you want to show
    (reset the rows back to 4)
    text: are you sure?
    show choices: yes, no
    when yes:
    take left
    when no
    jump to label choice
    when right
    (same as left)

    but you can adjust the information there if needed.
    if you want a easier way to control this (by pre-made text as it is a bunch)
    and auto-adjusting information scene. another nice way is to use
    SRD_WindowUpgrade which can show InfoWindows, but also Question Windows.
    which combined with yep, you can increase the info from there or totally control
    is by SRD plugin (to call it 1, 2,3) if its a bunch of text :)

    as you can also create choices in it, it can be quite helpfull :) (however, there is
    a bug in the question. choices window if you align it in the center in 1 column,
    which I fix with some help (if you use it, I can tell you how too).
  3. Thank you very much for your reply! I tested your first solution and it doesn't really add any benefits to me personally.
    I do like your second approach though and got myself the SRD Script, which kinda helps me out, but I can't seem to be able to move the help windows I created. Every window is generated in the center and I can't move them around. I can create them and fill them with what I want, but they overlapp, stack in the middle and I can't read a thing. The idea is good, but how do I move them? I asked under the script itself, but I might just ask here aswell, maybe you have an idea.
    Thanks!
  4. I dont know about the overlap text as I dont have that using the info window
    or the question window though (similair to the choice window).

    moving the window up or down might be possible by editing or by a plugin parameter.

    I use it in the center of the screen as it seems most logical way, but if you constant
    move to the left, right, up, down, you need to modify the plugin, maybe by variable
    X,Y position probably, which you set first before creating the window.
  5. The script has an option to only show one window and clearing others - or making them able to overlap. I choose that so I can at least show more then one window, as I want at least 3 of them. But they appear all in the same spot, as they are centered in the middle.

    1669543712016.png
    That isn't the only problem however, as I have to press enter first, to then be able to select an option, which is something I also am unable to disable.

    So I actually made no progress at all.
    I have been searching some more on the big web and I just can't seem to find a solution to this. I assumed that many people tend to strife away from showing text and information on screen, but I really thought there are enough scripts out there to just display some written information. But all variants of "Show Text/Information", "big choices", "choices with text", "more text windows", "more messages" and whatever I could think of to get some clues lead to no result I can make use off.


    PS.: I added a picture on the main topic post to give a glimpse of ehat would be the best-case scenario. Maybe that helps somebody to put some sense into my long text lul
  6. maybe you can adjust the window position before making them appear?
  7. @xabileug you cannot adjust the window positions unfortunatly without
    editing the plugin for doing that, as there was some options to alter it,
    but not for the stacking way.

    @StorocnekXx
    I think you could be able to alter it if you alter the plugin with the position
    with a variable. (1 for each window). as I dont use stacking.

    I think you can best use infoWindow show up first, than the question window.
    and maybe using variable +1 for showing the next window, -1 to disable or similair.

    if you want to keep the text visible, you need a different approach as I dont know
    what you exactly want, as for all I see

    2x infowindow and than a question window.

    infoWindow can be as long as you like too, so the question window after can
    do the trick though.