Just getting into RPG Maker MV development, and I'm grasping the basics. However, I have a question which has arisen as I've moved onto creating slightly more complex scenarios.
Most here who have performed any level design role before will be familiar with the concept of a "state machine" (programmers too) - the idea that a game location has a series of states, and players navigate through these states by transitioning from one to another according to certain conditions.
For an RPG, with cutscenes etc., it seems to make more sense to me that you would, for a very "busy" map, have one "master" Event with many pages, where each page follows the previous one in terms of what happens on that map.
So for instance, you'd have one page which autoruns when the map is first entered. Maybe this starts the BGM and kicks off a cutscene.
Then perhaps after that cutscene, the player would be free to move. Touching a trigger on the map would change a variable, which the "master event" would pick up and transition to using page 2, which would perhaps kick off another cutscene.
The nice thing about this is that it removes the idea of having loads of complex events that form a "chain". All your complex stuff happens in the "master event" and the triggers etc. in the map just fire off the variables to move the state machine along.
This seems straightforward.
The part which is confusing me is that event pages can have a "variable" condition, but this only listens for "greater than or equal to", as opposed to simply "equal to", which seems a bit weird. This means I can't increment a variable, because if Page 1 is set to zero, and Page 2 is set to 1, then pages 1 and 2 will run at the same time once the variable is set to 1.
I can see how you would use "switches", but I'm concerned about that as switches are global across the whole game, and even a 10-hour RPG could have hundreds of switches, so it would become unwieldy. I mean in one location of an RPG, you could transition through MANY states.
I had assumed for each segment of my game, I would have two variables - a "high level state machine" and a "low level state machine". The high level variable is incremented by 1 with every major step of the story, while the low-level one gets reset to zero with every major step, incrementing up with the bits in-between. Kinda like how the HLSM value might be seasons of a TV show, while the LLSM would be like episodes.
Am I going about this completely the wrong way? Can someone explain what I've missed here?
Most here who have performed any level design role before will be familiar with the concept of a "state machine" (programmers too) - the idea that a game location has a series of states, and players navigate through these states by transitioning from one to another according to certain conditions.
For an RPG, with cutscenes etc., it seems to make more sense to me that you would, for a very "busy" map, have one "master" Event with many pages, where each page follows the previous one in terms of what happens on that map.
So for instance, you'd have one page which autoruns when the map is first entered. Maybe this starts the BGM and kicks off a cutscene.
Then perhaps after that cutscene, the player would be free to move. Touching a trigger on the map would change a variable, which the "master event" would pick up and transition to using page 2, which would perhaps kick off another cutscene.
The nice thing about this is that it removes the idea of having loads of complex events that form a "chain". All your complex stuff happens in the "master event" and the triggers etc. in the map just fire off the variables to move the state machine along.
This seems straightforward.
The part which is confusing me is that event pages can have a "variable" condition, but this only listens for "greater than or equal to", as opposed to simply "equal to", which seems a bit weird. This means I can't increment a variable, because if Page 1 is set to zero, and Page 2 is set to 1, then pages 1 and 2 will run at the same time once the variable is set to 1.
I can see how you would use "switches", but I'm concerned about that as switches are global across the whole game, and even a 10-hour RPG could have hundreds of switches, so it would become unwieldy. I mean in one location of an RPG, you could transition through MANY states.
I had assumed for each segment of my game, I would have two variables - a "high level state machine" and a "low level state machine". The high level variable is incremented by 1 with every major step of the story, while the low-level one gets reset to zero with every major step, incrementing up with the bits in-between. Kinda like how the HLSM value might be seasons of a TV show, while the LLSM would be like episodes.
Am I going about this completely the wrong way? Can someone explain what I've missed here?