WHITE_RABBIT'S PROFILE

Search

Filter

Custom Item Menu in rm2k3

I'm not 100% sure but I think I found the miraculous variable.
At the end of the tutorial's showlist, you've put an Var Oper ItemListPtr - 3. I didn't have this in mine (I repeated the ItemlistPtr+1 / itemlisttmp set car V itemlistptr, which came after every spot). I've changed it into -3 now aswell but it didn't work. However, testing it in your tutorial, after changing 3 to whatever else, it started changing pages in a similair way to mine (showing random items and numbers). If that is the case, I might have to use a different variable, but I haven't figured out yet why you've actually set it to -3, or in what relation this stands to.
Edit: nvm it was 9. I finally got it to work now!!
Sorry for the troubles.

Custom Item Menu in rm2k3

Nonono, I set it from 41-80 instead of 41-50. that's what I ment. Also I didn't say I put greater than, but that Greater than leaves my cursor where it is, while less than (the proper option) pushes him into the upper left corner of the screen. Again, 78-80 less than = cursor gets pushed into the upper left corner. At 77 it gets pushed only to the left corner, at 76 (and less) it stays normal. In all cases, changing pages still doesn't work. The problem lies way deeper. I've even gone that far that I've cloned the whole menu from your tutorial, only keeping my own makelist and showlist (and self explaining, returning the variable/switch links) , but it didn't work, so the problem could come from either of these (makelist/showlist). One of these also includes these variables -

I don't know if changing these could fix anything, as -31 and /10 where assumption-based as well.

Custom Item Menu in rm2k3

Thanks for helping me.
I can imagine how your hand wanders in direction of your forehead when reading this:
Changing the range from 50 to 80 only changed that my cursor wanders into the upper left corner of the screen. Switching to 80 greater would bring him back (as well as 50 less equal, out of curiousness, the breakpoint where this happens is 78, at 77 it gets pushed only into the left corner of the screen, 76 it's normal. This is way beyond my abilities. I mean, I tested it in your demo project, and that doesn't happen there. I also understand everything you said there. And it doesn't even make any sense, the cursor is in no relation to ptr. I've even deactivated the key-branches, as it might have been coming from there, but it still changed position. Switching pages still results in weird stuff, switching to left pushes the items 1 row down every time, creating empty spots. Switching right shows blank pages. I've been carefully reading all the codes for everything like 5 times to find the mistake, even showlist. But I guess it can't be helped.

Btw are the variables for pages correct like this?

Custom Item Menu in rm2k3

I haven't been able to get the page-changing command to work.

Basically, everything works, but switching pages. Mainly, I can't figure it out because I can't make out what exactly certain variables mean, which are involved into page changes.

Here is the beginning and end of my MakeList:




Don't bother with the numbers inside the branches. The -31 and such where merely assumption based, but didn't work (as somany other combinations). The difference between my menu and the menu in the tutorial:

I have 38 spots for items and display 10 items per page.
I didn't understand why ptrA and itemlistPtr were set to 41, and why at the end you set ptrA 50 Less/Equal. Is this in any relation to the amount of items shown per page / amount of items existing?

Also here is the code In my key input for the page changing:


Again don't wonder about the -3. First I assumed I should take -10/+10 (considering the -4/+4 in the tutorial are based on the amount of items per page)

So, while switching left works once, further left clicks will result in total chaos (empty pages, pages showing the same item twice, random items somewhere in the list etc.)

While pressing right will usually show an empty page or doesn't allow switching.
If this is too much I'm asking for, I might be able to find the problems by myself if someone explains the mentioned variables to me.

Thanks!

Making your Custom Menu System

The biggest issue, and I really wonder why nobody posted anything about it, is, that the menu stays accessable during events, which interupts them, mainly in events where your hero is moved automatically by the event, because the menu stops his animation and resets his planned route as soon as you exit. Is there any quick way to fix this? Otherwise to make it run properly you'd have to set the whole event as a map event for every single map and change accessibility depending on the maps events.

Edit: Nvm, easiest solution - set the whole kex detection event under a conditional branch that only works with a switch being on or off, and set the switch off/on before and after each event.
Pages: 1