Hura

Villager
Member
Joined
Aug 17, 2021
Messages
13
Reaction score
4
First Language
Hungarian
Primarily Uses
RMMZ
Hello everyone!

First of all my programming skills and knowledge is very (very very) basic. Im using MV.
My question is that it is possibe to make an inventory(grid based) system without scripting, only using common events and pictures and some "minor" plugins (like picture common event, and button common event)?
I tried to make one but without any succes.
I know that there are complete inventory plugins but i wan to make my own (if it is even possible).
If i use always plugins for everything i will never learn anything.

So back to my question: is it possible to make one (and how?) or should i forget this thing entirely?
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,204
Reaction score
3,451
First Language
Dutch
Primarily Uses
RMMV
it is possible to pure event the inventory grid based.
but it require at least 1 plugin and basic some average JS
to build it up nice.

SRD_HUDMaker (for MV) as you used it, and primary MZ,
you can use SRD_UltraBase and UltraHUD if you use that.

you can take a look at my event menu how to make the main menu
evented, so you know how to work around that as that also apply
to the inventory, but require more steps.

the HUDmaker specifically can call a variable of the amount of numbers
of the item you have.

I have main menu and Inventory gridbased plugin.
but if your knowledge is very VERY VERY basic, than I would use
a plugin instead.

keep in mind that my menu plugin with inventory is based on single actor,
and not for multiple actors as it skips the actor personal use.

but there are some other plugins with grid based inventory to use,
some basic, some extended, depending on your needs.
 

Frostorm

[]D[][]V[][]D
Regular
Joined
Feb 22, 2016
Messages
2,788
Reaction score
2,236
First Language
English
Primarily Uses
RMMV
I use Ossra's Grid Inventory plugin. I lost the original version though. The attached file has been slightly edited from stock, but I forget what I changed...

Screenshot:
1656667664223.png
 

Attachments

  • Ossra_Menu-GridInventory.js
    25.5 KB · Views: 5

Milennin

"With a bang and a boom!"
Regular
Joined
Feb 7, 2013
Messages
3,274
Reaction score
2,671
First Language
English
Primarily Uses
RMMV
You can make one purely with plugins, it'll have a different feel and probably be more restricted than what a plugin could accomplish. Even if you don't end up using it for your game, it can still be very good practice to get used to the eventing system to make something like it. The biggest upside to eventing it, opposed to just borrowing a plugin to do it, is you have a lot more freedom in how you want it to look and function (albeit limited by what you can get done with just eventing).
 

Hura

Villager
Member
Joined
Aug 17, 2021
Messages
13
Reaction score
4
First Language
Hungarian
Primarily Uses
RMMZ
SRD_HUDMaker (for MV) as you used it, and primary MZ,
you can use SRD_UltraBase and UltraHUD if you use that.

you can take a look at my event menu how to make the main menu
evented, so you know how to work around that as that also apply
to the inventory, but require more steps.
I used SRD_HUDMaker and it is great to create menus becaus they always the same, you always see the same options in the same place, but an inventory is alwas changing (getting new items, using items, destroying items etc.). And thats the part where i stuck, because i can make an inventory to open and adding the item in an inventory slot but when i close and reopen the inventory, it calls always the empty invnetory. I dont really know how to "save" the new item in an empty slot.
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,204
Reaction score
3,451
First Language
Dutch
Primarily Uses
RMMV
probably because you switch or variable conditon is not used
or always return "false".

but inventory in complex and require average JS knowledge to
set it up nicely and working (cursor, item, item count, press the button,
etc etc.

if you want it easier, take a look at some grid menu through plugins.
or learn the engine more to do it without any plugins.
 

Latest Threads

Latest Profile Posts

Screenshot saturday!

Granny's home

Happy weekend all

home.png
Would an older woman be eligible for Blondus points?
Or is that a privilege exclusive to the youngsters?
Lindsey-Neutral.png
Another One.gif
Sometimes screenshot saturday is just a new enemy
Update: Coworker sabotaged the truck's mirrors by applying a threadlocking compound to the bolts used to adjust the mirrors. Now NO ONE can adjust them. So I filed a legit report of sabotage of equipment to leadership and declared that I cannot safely operate the vehicle if I can't see what needs to be seen. So the truck has to go to the shop for repair, and we need a substitute vehicle. Nice work, dude :p
1701524304115.png
Part of growing up is finding out that love hurts.
"I signed up for this heartbreak."

Forum statistics

Threads
136,687
Messages
1,268,774
Members
180,394
Latest member
Shaltai
Top