Hey guys!
So I will start work on a game in RPGMaker MV in which you play as a boy which can talk to ghosts and go into the spirit realms. From there you can capture ghosts and then put them into people.
But, my question is:
Is there any way to make the game remember which ghosts I captured and when I select possess on a person, show me a list of the ghosts I have and if I don't have any ghosts tell me I don't own any? I know it's a weird idea but I really want to do yet I don't know how.
I was thinking that a way would be by making some items which you obtain when you capture a ghost, then if you have that item it would appear on the possess list somehow, though I don't know how to do that either! So how can I make a selection system? Is there any other way than choices?
Regards!
Well, as you said, a good idea is to create items that check a condition to get the ghost in your choice list or whetever. Another way could be through variables or switch, and then creates common event/s to generate a choice list representing the ghost you have. However this needs a long eventing work, I think. Another way to obtain the result is through plugin/s.
Well, I know it really needs long eventing, but since I don't know how to use plugins I guess that's what I have to do. I will try to find some shorter ways to do it, but I'm still waiting for some suggestions or advices from the community, who knows, maybe I'm missing something.
yes, that is what the variables and conditional branches in the events are for.
If you don't have any experience in their use, please follow the link to the starting point in my signature and take a month to work through the tutorials listed there, that will get you the basics of using the RMs and game development.
And no, there are no real shortcuts to learning this, not if you want your game to contain better things like "go there"-quests.
Sometimes it makes sense to request a plugin if you don't know how to write your own (few people do), but even then you should know when eventing is better and when a plugin would really help.
The idea of using items is cool! You could have a section of the item menu show ghosts (icons can be faces or just ghost symbol) and just give the item when claiming a ghost.
That way you can use the "choose item" command to give you a list.
Items are definitely the way to go here. There is so much functionality built into the RPG Maker editor to do things with items. I'd look into some of Yanfly's plug-ins to make some of this easier. The Item Slots one could help a lot with your idea of putting the captured ghosts into people.
How many ghosts will there be in the game? If there are 3, I'd even be happy to write it for you. It's a bit tedious for 5-6 and if there are more I imagine even the most enthusiastic conditional brancher would be scripting/wishing they could script.
I'm a newbie to rpgmaker but the scale of this mechanic would influence what your best course of action would be.
There's another option, depending on how your gameplay is: If you can get ghosts back from the people they are possessing, and if you have to collect ghosts in a particular order, you could just have a variable "GhostCount" that determines which choices will be shown, with a fail message if that ghost is already being used. But that's kind of brute forcing it, without knowing the scale of the project.
we can't tell you what you did wrong without seeing what you did - give us a screenshot of the event and we can answer your question.
Check the branch where it says that the value is 0, and make sure within that branch it also sets the value back to 1. If that doesn't help then I would have to actually look at the tutorial and your events.
Nevermind, I fixed it. Stupid me! At first we were supposed to put a variable and set it to 1, then cut it and paste into the conditional branch instead of copying it. Now it does what it is supposed to do.