XAIL MENU from RPG VX ACE to RPG XP
#31
Well then, it should be fully compatible. You just need to make:
Code:
LIST[4] = ["Reserves",   "048-Skill05",  "Exchange party members with your reserve staff.",        true,  false]
and
Code:
LIST[4] = [false, false, "Scene_Reserves.new"]
Or whatever the scene code is for your script.

Oh, new thought. An 'actor only' or 'actors only' setting for specific scenes. What this entails is for special menu options that only work for a specific character or group of characters.

As an example, let's say your game has a custom Crafting script and the menu selection reads as 'Weaponsmith' Weaponsmith in your script is set to use Scene_Crafting.new(actor_index) ... as normal, but have an extra parameter for actor ID #12. No other scene or menu option is assigned an actor id but this one, and this one only permits the 12th actor in your database to even use the script. So if you want to craft any weapons, you better have him in your party.

I won't just stop there. Imagine if you have a group of actors... like actors 3 and 5 only able to access the Bestiary script! Better have your thief or warrior around to tell you what you fought before.

Sorta like this
Code:
LIST[5] = [false, false, "Scene_Crafting.new(@status_window.index)", 12]
and
Code:
LIST[6] = [false, false, "Scene_Bestiary.new", [3,5]]
The above examples would show that you are passing the actor's index per normal, but it only works if the unique actor id of #12 is used. OR that the other scene works if you are using either actor #3 or #5 in your database.

In a nutshell, I'm working out any eventualities seen in menus and added menu options before the need arises.

EDIT: Wow, that wasn't hard to add at all. Specified options disabled until actor(s) who uses them are in party. AND only those actors can use them.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#32
No new screenies as nothing actually 'visible' to mention. However mechanics for certain features have been worked out and are 100% functional.
  • A configuration system for menu options so the game designer can add whatever menu functions he wishes, whether the classics or new options
  • Menu options can be set to be 'deactivated' based on four optional factors:
    • - If the save/load system is disabled
    • - If there are 0-living party members
    • - If a menu option relies upon key members to be in the party (menu option only works with those members)
    • - If a switch is enabled
  • Based upon the 'switch/deactivated' option, menu options may also be hidden/removed from the list based upon a switch
  • Regardless of default script system, menu option returns to last highlighted function*

* If one looks at Scene_Item, there is a call where it reads $scene = Scene_Menu.new(0), with the '0' indicating which menu option to highlight. If you re-organize the menu, this would highlight the wrong option. So a new (and downright simple) menu highlight option was conceived which overwrites the need to pass a value this way.

I still haven't done cleanup, or reformatted the windows the way I should. That's next on the agenda... followed by adding menu-only(?) HP/SP/EXP bars. AND the other features part of Xail.

But obviously, top-level mechanics to customize the actual menu options itself, has been basically completed. Just visuals are left.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#33
Here's the original Xail menu
[Image: xs-menu-delux.png]
And here's what I have now
[Image: attachment.php?aid=568]

How do you like me now??? Winking

The system is now going through some cosmetic system upgrades. No actual notes on HOW to config things, but there is plenty to do.

I got the side stats window to right-justify now. Yay! Oh, and I decided to use the icons in the Xail screenshot, though I didn't clean up the star or sword icon.
Now, there is a feature that lets one change the windowskin of the menu akin to the original XAIL system's MENU_SKIN configurable value. However, one need not use the traditional windowskin feature, and can use background images. You may even allow for a second image behind which can scroll according to your desired settings, much like a Moghunter menu. Or if you prefer, you may set the system up so the field map can be shown behind the menu itself.
However, there is one caveat about using a background image behind the menu. The image will not expand if a new menu option is activated and shown as part of the new 'hidden/reveal' menu option. But you can set the command window to scroll if you so choose.

There are still things on my hit list:
  1. The alteration of the party window so certain options (level, class, exp, status) can be deactivated. Not all menu windows are created equally.
  2. Settings for the 'Status Effect' text option. It currently shows a bit off to the side, but that's because it hasn't been touched. Icons may be an option
  3. Xail's music-in-menu system.
  4. Formations. I need to add a feature so one may have a party rearrange feature, something separate from a party recruitment option.
  5. FOOD. Okay, I'm hungry.
  6. Still no time window. Meh. It should be its own separate method in the system so a day/night system can be added.
  7. Options to re-activate/re-display classic 'Steps, Gold and Time' window options.
  8. Feed the cats.
  9. Custom Bar Add-ons. The current bars in display are cogwheel bars, not exactly set up for this system. And I do not wish interference with other systems.
  10. Party Member Disable Visibility. Some menu options may be set only for a particular member. SO... why not make all the others disabled in appearance?
Is there anything on that list that's missing?????

Well, if one is using OTHER Moghunter menus such as Item, Skills... You might as well be able to customize this system to resemble a Moggy Menu as well as being a kickin' Windowskin-based menu. I'm all about the options.

Well, that's all. Ciao.


Attached Files
.png   Xail_Rnd_3.png (Size: 424.71 KB / Downloads: 73)
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#34
Very good.
I just hope there is a option that I can resize the windows to make them look exactly like xails menu, I mean that the windows touch eatch other.
And status position of each hero are in somehow wrong too. I mean they're out of space.

but its getting better and better.
Reply }
#35
Actually, that is just me using a graphic overlay while erasing the windowskin-based backing. I can use the windowskins and have it look very much like your menu. Also, each menu option has both coordinate placement and height/width options for resizing.

Meanwhile, each window has text and image coordinate options, so I could shift the margins and horizontal spacing between the actors in the window. Heck, I even altered the system so you can adjust the number of columns and it adapts accordingly.

With all that, I could make the menu options appear in the top right, the game stats window with all that stuff in the bottom right, and extend the party window into a 3x3 massive window. It is now very much customizable... just no instructions yet, and not done implementing all the Xail features.

I have to include your 'common event' menu options.



EDIT: Common events, now implemented. And implemented is panoramic backing speed adjustment.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#36
As the hero's display area in the Window_MenuStatus affords not much more than a 100px area, there wasn't much space to put a hero's current list of status ailments or bonuses. So I had to spend some time working on a way to cram quite a few in a small area. So I had to spend some time working out my States Rotation script. It lets you use either icons OR words.

I haven't added it into Xail. But with some luck and expertise, it should fit in nicely... even while the menu itself can scroll. At least, I tested it using a different menu scrolling system.

That leaves
  • Alteration of the character values (level, class, etc) so you can make them visible/invisible
  • A basic Formations system so the player may be able to change party order (including 'freeze' the party leader)
  • The stupid time window
  • Return options for steps and gold windows ...
  • Custom Bars to mimic a few variants (Basic, Mog, Cogwheel, Trickster, SephirothSpawn)
  • Party member enable.disable for menu options meant for specific actors.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#37
(02-17-2016, 06:25 AM)DerVVulfman Wrote: Dude, Mog's older RPGMaker XP menu systems were POORLY designed.   I seriously went to town cleaning them up, and adding more config values 'including' options for fonts and stuff.  So setting up an option in this for fonts?  No problem at all.

10,000 line scripts?  You never tried translating a complete AT bar battlesystem from Japanese into English, have you?   You should do a search for RTAB in here and be amazed.   Or ParaDog, or Claihm, or XRXS, ... all Japanese systems, but I digress...

Normally it is a simple (or fairly simple) thing for a confident scripter to add new menu options.  Making it plug-n-play...?  If that's the case, then it is an interesting concept.  I will look into it.  I didn't fully examine the script as yet.   Perhaps it is read from the config?


holy moo cow! 10,000+ lines?!!! Shocked and here i thought the 5166 lines for the menu script I'm using is alot!   Sweat
Reply }
#38
Here is the line number count of the XAIL redo project

546 lines - FONTZ (the optional plugin that allows you to use shadow, outline and underline styles) ... almost half is instructions
235 lines - The config (The more menu options you add, the more lines). A lot of instruction comments
21 lines - RPG::Cache.state (a new folder for status effect icons so they can be encrypted with your project)
94 lines - Game code (Game Temp, Game System, Game Party and Game Map). Needed for a few things like map names, battle count, etc)
97 lines - Window_Base (adding in background and windowskin effects, faces, etc)
125 lines - Window_XailCommand (your menu command with icons, scalable, resizable and scrollable)
148 lines - Window_MenuStatus (Well... what do you think?)
83 lines - Window_GameStatus(Not as big as ya thought, eh?)
53 lines - Window_Desc (It's a double-lined help window with icon support)
532 lines - Scene_Menu(like totally redone so you can always add new items to the menu in a config, allows common events, music, popcorn, soda)
19 lines - Scene_Battle (I can't count battles without it)
--- 1953 lines ---

That's not including the Cogwheel hp/sp/exp bars. I wanna do away with that and make a really neat custom bar system as an option with its own config.

Sil? Yeah, I think yours is using a lot. But hey, it could be that I'm using reusable/recyclable code. Like... the method I use to draw the name is also the same I use to draw levels, class... so I just run one statement three times with three values. The routine itself is like 10 lines... so 13 lines (the three calls and the 10 line code) beats 24 lines (not using a def...end, 10 lines - 2 == 8 ... X 3 = 24). I shrink things.

Oh, and rotating states is now integrated. That is certainly going to be a space saver if one actor is afflicted with venom, mute, sleep, confuse, paralyze, weaken and feeble'. Now it just shows one... then another... then another in sequence. And again, I made it allow you to use icons in place. I'd prolly use the top-right of the character's head for icons.

Aaaand, I just made it so you can fill a setting in the Party config section to remove an option. Here's an example:
Code:
NAME  = [20, 0, -10]
    LEVEL = [20, 0,   4]
    CLASS = nil
    STATE = [14, 0,  18]
    HP    = [14, 5,  84, 90]
    SP    = [14, 5,  94, 90]
    EXP   = [14, 5, 104, 90]
The character's name is at 0/-10 (a little higher than normal, and using a font size 20.
His level is also at font size 20 and is at coordinates 0, 4.
But the character's class is set to 'nil' and will not show!!!

... oh, the state, hp, sp and exp are size 14. And the HP/SP/EXP bars are set to a 90px width. I kinda like how it is thinner than the others. TOTALLY CUSTOMIZABLE!!!



EDIT: And here I thought making a party-order feature would be time consuming. 15 minutes and 29 lines including comments.

Had to come back to get my 'hit list' of features. Not many left. This is Xail Redux Deluxe Laughing
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#39
Woot. You can now see characters as disabled for menu options they cannot use. So if you make a 'Potion Maker' option and set it so only Hilda can use it, all other party members show as disabled. Not only their name goes dark, but their facial portrait too.

And I added a matching feature for the Party Order system too. Select your first person, his/her name's color changes. Select the next guy, the two characters switch position and the names return to normal.

So now I have these three left:

  1. The stupid time window
  2. Return options for steps and gold windows ...
  3. Custom Bars to mimic a few variants (Basic, Mog, Cogwheel, Trickster, SephirothSpawn)
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#40
EUREKA! Okay, it may not seem much to some, but this is something fun.

The 'full customization' feature allows the game designer (namely YOU) to be able to resize and reshape the given windows within the menu. However, here was the problem: I had no intention of inserting the size/shape values of the windows into the reused classes such as Window_Gold. If I had, the same gold window would be resized for all other menus and features! Arrrgh! I had to do something!

Enter my new and very simple method in the Window_Base class: re_content. A very basic method, it is merely a copy of the self.contents line within most initialize methods.

Code:
#--------------------------------------------------------------------------
# * Redefine Content Area
#--------------------------------------------------------------------------  
def re_content
  self.contents = Bitmap.new(width - 32, height - 32)
end
See? Very simple.

You see, when you initialize a window, it creates a content area that matches the specs of that window. But if you resize the window afterwards, the content area would stay 'fixed' to the original size. But now I can throw a call to re_content after I change the size of the window and the contents area becomes redefined to the NEW size of the window.

Bear in mind, some windows that have multiple rows of content will have their own variation which includes @item_max values. Winking

Now, the game designer can have a gold window in their Xail menu of one size, and have it the normal window size in their shop system. Bear in mind, these are just options... but I like to account for possibilities.

So it looks like my next step will be cleaning up the configs and then working out the Addon Bar System next! Happy And... when that's done... That would be IT!
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 316 11-22-2024, 07:02 PM
Last Post: JayRay
   Need help with my menu - Current issue is item grid layout LilyFrog 41 40,325 09-24-2018, 02:03 AM
Last Post: LilyFrog
   Special Items Separate Menu Diorm 41 43,465 02-10-2018, 06:06 PM
Last Post: Diorm
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 10,061 05-31-2017, 05:10 AM
Last Post: Zachariad
Tongue  Healing Spell doesn't work right in Menu? Bounty Hunter Lani 8 12,700 01-15-2015, 07:45 PM
Last Post: Bounty Hunter Lani
   My Options Menu needs help firestalker 0 3,322 08-11-2014, 02:31 PM
Last Post: firestalker
   Vx Ace Custom Menu help? Skitzen 1 5,474 10-07-2013, 03:10 PM
Last Post: JayRay
   Dargor's Large Party script and shop menu Simon Greedwell 2 6,646 08-28-2013, 10:12 PM
Last Post: Simon Greedwell
   Help with Shop Menu [RPG Maker XP] JackMonty 6 13,151 05-23-2013, 10:14 AM
Last Post: JackMonty
Brick Sub-menu Tab Iqus 5 9,432 01-23-2013, 02:01 PM
Last Post: Pherione



Users browsing this thread: 1 Guest(s)