I am in need of some help, if anyone is willing to.
I am very new to RPGMV, still playing with it and learning but this is first time i am really stuck and don't know where else to look for answers.
So to cut it short,i was building and doing some basic quests,then came up with an idea to make a tavern and whitin the quest work in it (serving drinks,cleaning broken bottles and so on).
Now as there are more guests and have to serve all,thats where i can't figure out how to do it. I did try with variables and switches but am just doing a mess,serving 1-2 make others advance with the chat like i did serve them as well.
I am sure many of you are laughing as you read this, lol.
Please if someone can just explain how i should go about it would help so much.
Thank you!
Moved to: MV Support
Please edit your post and give it a meaningful title that makes it obvious what you need help with. Thanks.
lol - your thread title is no more descriptive than it was before. Please just keep in mind for future threads, the title/subject should give the reader a clue what you need help with before they even open the thread.
Sounds like you're trying to build one of those time management games where you have a line of customers and can be serving several at once, and each one wants something different (maybe) and you have a time limit to serve them? I've thought about this, and I think it'd be pretty tough to do.
your thread post title can be more like: "Tavern serving event help"
or around that.
as you need variables, switches, selfswitches and conditional branch.
it also depends how many stages there are, like stage 1 = 2 servings,
stage 4 = 9 servings, etc
if you have a time limit like shaz said, this might be above beginner that
learn the engine.
you can fully event it, but you can make it easier with 2 plugins, but to
understand the very basics, did you start with the inbuild tutorial?
if not, I would suggest to do that first as it explain how the basic works.
start with something easy, you can server 1 at the time, but advanced
eventing like this takes time to make and run it smoothly.
I made 2 advanced tutorials, both took me 2-4 days to figure it out to
run them correctly.
but in your state and the amount of stages, or peoples to serve and when
to clean, it might be a day or 2 if not longer to make it run correctl and
smoothly.
but you need to tell exactly what you want to do, as for the following:
1) is there a time limit,if so, explain it a bit more.
2) how many stages will there be and how much it increased in people,
and if needed, time increased/decreased to serve faster.
3) will there be cleaning, how many times, how and when during serving?
4) what will happen if you can chat, will the time (if included) keep running
or does it pause?
there are alot of details missings to give you the correct answer and like
Andar said, provide screenshots what is done.
it is also best to make most of the event work in a common events,
each stage it's own to make it easier.
most of what you want can be done by event commands, like show choice for giving the options.
you'll need to store the current process in variables for each customer.
because of that I suggest you look into a "self-variables" plugin - it can be done without self-variables (which don't exist in the default engine and need to be added by plugin), but that would require a lot of bookkeeping of what variables are used.
I would start by blocking off some variables you are going to use to control all this.
self variable is 1 way, a easier way is to use self switches (A, B, C) and D
when finished serving, if you need more, self switches to D, E , F G etc
can be in handy here.
but at the bar girl/man, it requires conditional branches to check if
the eventID has a selfSwitch ON or not, if it does, it can give a drink, but more
in a choice as well.
if the man order a orange juice, the bar girl/man say what drink?
juice, orange juice, cola etc, than pick the right one and bring it to him.
that one checks if you carry item of "orange juice".
you need to make sure those items can only be ordered and getting it
by the choices, and check if it has on the client, if it's correct, a hapy one,
other wise a angry one.
but if you want it faster, it needs a timer because if it's to slow, it get angry too.
this can be done with checking with a parallel event and a switch, if switch is ON,
it can be happy, if it's OFF, it get angry because you are to slow.
so far I know out of my head, you can create 1 common event for the bar girl/man
and 1 for the clients + the switches required for it, (1 for each maybe) or check
eventsID and self switches to make it easier.
the rest through the event and pages on the clients.
it can be simple or complex, but it is already a challenge to make it simple as you
want it to be, so no timer is just ask, get drink and deliver which would be the
very base of the event.
but you can build it far complexer outside it, but you should create that from
scratch unless you know what you do and place it in between 🙂
I would make drinks, when you make the choice, +1 of the item,
than deliver it, at the client, you can make a fail part if they dont
get the order correctly.
selfswitch above D (E, f, allpha, beta, etc) requires a plugin.
YEP_SelfSwVar is one of them, but probably paid, there might be an
alt that has one free, I know another one for endless switches,
but the badside it doesn't really save which can be easy to add.
but you just have to play around for it nicely, and take 1 client to
ask what they want.
while I'm to busy, I cannot create a basic setup in 1-3 different ways,
each without a timer, maybe 1 with, but without the very basics knowing
how switches/variables work, it can be harder to set things up nicely and
to make it understandable.
user friendly or complex.
you can also use comments to place what they do.
but you can also use scriptcall to check for a selfswitch if they are ON in
order to deliver, otherwise, it gives a normal text and when its ON, it is waiting,
and to avoid nested conditional branches, it require a plugin conditionalBranch+
to shorten the nested branches.
common events with it, can create things very easy.
so play around, and when times is less busy, I try to make setup for you,
which you can easely extend or improve their function, but more functions
require knowledge how it exactly work and where to add what without breaking
the function 🙂
I dont get it quite yet, but start with the very basic and basic conditional branch,
you can use it to check if selfSwitch A, B, C is ON in order to do something,
otherwise, something if the selfswitch is OFF.
so try to understand them and how they work, or with variables (1 for each),
if it requires more then 3 pages for different drinks, food, or double items required.
start with 1 npc to see how it works, if it works nicely in a way you want it to be,
you can easely copy paste that event, and change items, in case you use selfswitches,
you dont have to change much, just some text and the items requirement he need.
if you want to make it more intresting, you can create a random variable,
so the item he needs (drink or food or both) are different if either a new game,
failed or succeeded to get something else, or the same, but can always be diferent.
start with the base concept, build from that to the require function you want to have.
if you do it good and correctly, you can set something up to 20 NPC's, and with timer,
so it can be very intresting mechanic for a quest, or serve 12 people within 1min.
but I dont know what you want to achieve, so puzzle around, and we can try to help.
Good luck with your project 🙂 so dont hesitate if you need answers as long you can
provide detailed information and or screenshots/mockup so most can understand it
to help you =)