Ok, so this is the first question I could not find an answer too.(Maybe because it's just too ridiculous, but bare with me).
So as an example, in my game, I have a boy and a girl at home, they decide to go to a river.
They go to the river and come back, and their dad is waiting for them.
To do this, I originally copied the house map, and when they came back, I just put them in the copied map with the new event occurring.
But I am now thinking this approach might be more resource heavy, and maybe it would be better to just create a switch that would disable the first event (let's go to the river) and start the second (dad is home).
This is a little simplified as there is some movement with the events, and more then one on the second map, so I would have to make sure they don't interfere with each other.
But does it impact on the filesize having copies of maps, therefore being better to just create switches instead of map copies?
Also, sorry if this is the wrong forum, wasn't sure if I should post here or in support forum.
Setup a switch for the dad to appear whenever they do their whatever at the river.
So he will appear whenever they go back home.
Hey Mark!
You are right that it is best to use switches to toggle events, when the map is identical. It does take more resources to have multiple maps, but the main reason is practical: If you even want to modify the map again, you won't have to do it multiple times! In general, if only the events are different, use switches. If the whole map gets an overhaul and looks totally different (like for example, buildings before and after being burnt down), then use different maps.
If you need some tips on using events and switches, you can check out my video. Although it was made for VX Ace, eventing is the same for MV, so it still applies. The main things are being clear on event pages, switches, and conditions:
:
I hope that helps!
Thanks guys. That's pretty much what I thought.
Also didn't think about if I want to edit the map, Tyruswoo, that's a great point.
I am catching up with the eventing pretty good (or so I think).
This is my 5th day with RPG Maker, so it's still a learning process.
I keep going back and forth on things like this, always simplifying things as I learn.
That's part of the fun!
Again,thanks for the replies.
I would suggest neither - use variables instead of switches if you plan any larger sequence.
Simply define a variable as a "step number" or "story progress" (or even as a chapter number) and increase it whenever the story gets to the next step. You can condition events to that number (or above), and if you want an event to vanish after a while, simply give it an additional page with a higher page number conditioned to the higher step count when it should vanish.
That way you'll have one event for each NPC and all the different reactions based on the story progress in that event instead of scattered around.
And if you're new to the engine, I suggest following the link to the "starting point" in my signature and work through those tutorials as that will get you the basics as fast as possible.
Yeah, I too used to think variables where big scary things for pros who wanted to do complex stuff back when I started. But they're really like switches with an infinity of possibilities. Or rather, switches are variables that only accept to values, 0 (off) or 1 (on), while variables accept 0, 1, 2, 3, etc. So with a variable in your map, you can have (for example):
1) Event before going to the river
2) Event with dad when coming back
3) Event with Mom the next morning
4) Burglary the next night
5) and so on and so forth.
You'd have needed a new switch for each of these step, while you can do them all with a single variable. So your database is cleaner and easier to navigate. It also uses less memory (although at those level it's pretty much negligible).
What is better? More maps or more switches?
If I didnt read your whole post I would answer it depends on your game but what your asking is regarding about saving files via creating more maps or switches I would say if its the same map then preferable to use switches instead.
Downloading the variables tutorial right now.
Again, thanks everyone.
Now I don't feel so bad for asking a dumb question, lol, because I'm gonna learn something new.
What I always does is if there are little changes, I would use switches. If there are too much changes, I would have to use duplicate maps.