Dealing with Cutscenes and Character Variety?

Hey! So I've been trying to wrap my head around cutscenes and I'm coming up with walls.

My game has a main character (as most do) and a wide variety of cast that can be recruited. Also like most games, the player can shift the order of the party around to suit their preference, and my game also uses a script that alters map movement speed based on who the party leader is, so it's important to keep this feature. However, whenever a cutscene is initiated, I want the main character to be the sprite that's standing in the 'player' position, regardless of who is first in the party lineup. The remaining party members would somehow take up the 3 other event slots close to him. The trouble is, I can't figure out a simple enough method to accomplish this.

I think the solution I've seen around is writing each party member's Game Data to a variable, removing them all from the party except the main character (forcing him to be the one that is shown), and then adding them back in at the end of the cutscene. The problem is 'Add Party Member' only allows you to select a party member. It doesn't allow you to choose based on a variable so I'm not sure how this works. I thought maybe I'd have to make a conditional branch but I soon realized that would be hell...
Imagine it:
If Variable Party Member #1 = 1: Add Actor ID 1 to party
If Variable Party Member #1 = 2: Add Actor ID 2 to party
and so on...
Rinse and repeat for Party Member #2, #3, and #4....
Considering I'm going to end up with probably 50+ characters eventually, it would be INSANE to have EACH cutscene do this. And even if that was accomplished, then there's the manner of how do I get the appropriate sprite to appear for the 3 other party members in the cutscenes? Somehow each of the three remaining party members would have to be intelligently divided between the three events, which again I'm clueless how to achieve.

Games like Suikoden make this look easy. I imagine for them they might be doing their version of 'Show Followers' but mine definitely need to be events due to the way I have them act in cutscenes, moving around and such.

I hope I explained this well enough. My brain is fried so I apologize if it's not completely clear.
I actually do this for my cutscenes:

Fade Out:
Set move route Player -> Through On, Transparent ON
Control Switches: Turn on the switch I use for cutscene in progress (21 in my game).
Set Event Location: The events that represent the sprites of who you want to see here. I usually have these hidden offscreen somewhere (upper left hand corner is great for this), and set to only show when the cutscene switch is on.
Fade In:

Do all your cutscene stuff

Fade Out:
Control Switches: Turn off the cutscene switch
Set Move Route -> Player -> Through OFF, Transparent OFF
Any logic used to make sure the event doesn't run again (whether that is increase a variable by one, set a self switch to A, etc).
Fade In:
I actually do this for my cutscenes:

Fade Out:
Set move route Player -> Through On, Transparent ON
Control Switches: Turn on the switch I use for cutscene in progress (21 in my game).
Set Event Location: The events that represent the sprites of who you want to see here. I usually have these hidden offscreen somewhere (upper left hand corner is great for this), and set to only show when the cutscene switch is on.
Fade In:

Do all your cutscene stuff

Fade Out:
Control Switches: Turn off the cutscene switch
Set Move Route -> Player -> Through OFF, Transparent OFF
Any logic used to make sure the event doesn't run again (whether that is increase a variable by one, set a self switch to A, etc).
Fade In:

I do the same thing except all my cutscenes happen on a different map, identical to the one it is taking place at.

I rarely use the Player as the actual visual representation of the actor on screen. I do use the player as the "camera" as you can move them around.
I actually do this for my cutscenes:

Fade Out:
Set move route Player -> Through On, Transparent ON
Control Switches: Turn on the switch I use for cutscene in progress (21 in my game).
Set Event Location: The events that represent the sprites of who you want to see here. I usually have these hidden offscreen somewhere (upper left hand corner is great for this), and set to only show when the cutscene switch is on.
Fade In:

Do all your cutscene stuff

Fade Out:
Control Switches: Turn off the cutscene switch
Set Move Route -> Player -> Through OFF, Transparent OFF
Any logic used to make sure the event doesn't run again (whether that is increase a variable by one, set a self switch to A, etc).
Fade In:
Thanks for such a fast response! 🙂

So I make an event for each actor, hidden off-map, and then after fading out, teleport the ones I need to the relative spots?
This sounds good and would definitely solve my main character problem since the player would be invisible and I can use a dummy actor for the main character. The problem is that the other 3 party members could be any number of characters.

Here's the scenario for this specific event. I have 8 actors in the game who could appear in this scene. One of them is the main character and thus a required party member. Two of the others are also required party members for that particular quest, so those three are guaranteed to be there and thus easy to event (now that I know how to disappear the player character and replace them with a a dummy of the main character). However the fourth character is an optional one that could contain any one of the 5 remaining actors. In this specific scenario I can just have an event called 'ExtraMember', have several pages within the event, each checking if one of those 5 members is in the party and setting the graphic accordingly.

But in the event that I have the main character plus THREE player-chosen characters (out of possibly 50 characters), that's when I have no idea how to set these actor events up at all 🙁 Naturally regardless of who they are I want their starting position to be around where I place the main character's dummy, but I'm not sure how to get the game to check the ID's of all 3 party members and then place all of their appropriate actors in that formation since the game could probably end up overlapping them unless maybe there was a universal 'Party Member 2', 'Party Member 3', 'Party Member 4' events that changed their graphics based on the variables of the same name but again with so many characters I'm not sure how to set that up effectively.

Phew, my head's spinning XD how'bout yours?
@punchybot : I do that for really long cutscenes, and the Chapter End Cutscenes. Usually those are the same, but sometimes there is a long mid-point sequence too. But shorter 4 - 8 line ones I'll just leave on the main map in most cases.

@Psykai : I don't have a good solution to that myself. For 3 required actors it would be pretty easy like you said, but for 3 optional you may have to just go with all combinations which would be...well you said you got 50+ so let's use 50 for ease of math, so 50 C 3 is.... 50 * 49 * 48 / 6 or 19,600 combinations, which is well, impossible to handle.

I hope there is a way to see which actor is actor 2, 3 and 4, as that would make it easier by a long shot. Otherwise it might be better to go with a fixed party where you have to have everyone with a couple optional characters.
Oof, I see what you mean. 🙁 That's kind of heartbreaking. I didn't expect this of all things to be what ruins my game but it very well could be. Having a large cast of freely interchangable characters is one of the bigger appeals in the game and I'm going to the trouble of making many scenes have special dialogue based on who's in the party. Again Suikoden makes it look easy by having all your party members appear in every cutscene and with the appropriate ones able to walk around and act and such if need be. They were always my favourite games of all time and I've never questioned how ingenius they are but when trying to emulate stuff they did it really just stands out even more how great they were.

Welp. I'll either have to make it so that only one optional character can be with you at any given time, or cancel the project entirely 'cause my vision is ruined and I don't want the game to be less than I intended 🙁 Bleh, that's too dramatic, I dunno. I have a sh*t awful day tomorrow so I'm not thinking straight as it is. Time to get drunk! 🤣 (Heh, half kidding)

Thanks for trying anyway man, I appreciate it 🙂 At the very least I can finish the quest I'm doing without this being an issue. It's more for possible future quests where there aren't as many fixed party members and more optional ones that I was concerned about.
My guess is Suikoden does it by having say actors 1, 5, 9, 13, 17, 21, 25, etc all say the same line, actors 2, 6, 10, 14, 18, 22, etc all say the same line, and so on. That reduces the number of combinations down heavily. And the player won't really notice until they have played the game many times too, especially if you just do small edits here and there. Or they use a command that says whoever is in slot 2, say this line, whoever is in slot 3, say this line.

I know there is a script command for ACE to have it tell you which actor is in which slot, but I didn't save it as I don't use it. Maybe look for that?

Also I do think there is a script to have the followers move so you could use that instead of my system which would heavily reduce the number of combinations to show on screen. It would just be who says what you'd have to get straight instead, which is still less work. Maybe try that?

Edit: Worst case scenario is have everyone be mute in the quests where everyone is an optional character except the start and end scenes, and you could probably rig it so that everyone shows up. The only Suikoden game I ever played did that, everyone was present in the cutscenes, even if they were not in your party.
Edit : Neverwind. Didn't realise it was for VX, sorry.
My guess is Suikoden does it by having say actors 1, 5, 9, 13, 17, 21, 25, etc all say the same line, actors 2, 6, 10, 14, 18, 22, etc all say the same line, and so on
Being a big fan of the Suikoden games I can safely say this is the most likely way they handled it. Not every actor had unique dialogue but enough to make it appear they did. This was added upon by the bath scenes (which were very character specific) and made each character look even more like an individual as did the 'letter-box'. There in lies the 'secret' I think... All characters (well most) were well developed in several means of which unique dialogue was just one but put together it made it look even more and stand out more then it in reality was. And due to the fact that there are that many recruit-able members and lineups no one player would even notice these similarities anytime soon.

One thing you could do is divide your party members this way : essential and non-essential (pretty basic so I won't explain further) giving the essential ones as much unique dialogue as wanted/needed. Then for the rest divide them by class/type... So heavy weapon, ranger, magician, etc and have different unique dialogue per class...
The chance that a player will have a mage only party or a warrior only party is not that big (unless you're game requires them too haha) and most players will try and strike some balance which makes it less likely for the player to witness the same dialogue in one play-through at any given point. That's my opinion anyway 🙂
the party object should only be relevant when any modifications are being done to it: adding or removing players, adding or removing items, battling, using the main menu, etc.

>>EVERYWHERE ELSE<< where you need to show "characters", use dummy characters.
you can put a sprite belonging to a party character as an event sprite, you can direct those events around by movement routes, and you can show dialogues independently of player interactions.
that's all you need for a cutscene..... the *characters* you show on screen don't necessarily have to be the actual *party characters*.
stunt doubles? CG inserts? body doubles? stand-ins?
any of those cinematographic terms ring a bell?
Dialogue isn't really the issue. Every cutscene/event can have ' 'if X actor in party' commands and then dialogue accordingly.

The main issue is the graphical sprites that appear in the cutscene and making those sprites match the current party members without any duplicates or overlapping etc.

Sorry for the short response (lacking on time today).
I have a solution for MV, but don't know much about VX. I'll assume there's still some common ground at a basic level.
Isn't there a way to change an event sprite and a way to retrieve party members data ?
If so, it should be possible to define the party members sprites as the events sprites.
Isn't there a way to change an event sprite and a way to retrieve party members data ?
If so, it should be possible to define the party members sprites as the events sprites.

exactly the basis for my response.
just check the contents of the party and edit blank events accordingly.

a not-so-direct approach would be to invoke the change sprite command through a script call, with the parameter of $game_party.members[ID].character_name, which will return the actor's sprite.
instead of going in manually and checking each actor for presence in the party, and then retrieving their sprite, and then setting it as event sprite, just set the event sprite directly to "whatever the image is, for this actor, in this slot"
exactly the basis for my response.
just check the contents of the party and edit blank events accordingly.

a not-so-direct approach would be to invoke the change sprite command through a script call, with the parameter of $game_party.members[ID].character_name, which will return the actor's sprite.
instead of going in manually and checking each actor for presence in the party, and then retrieving their sprite, and then setting it as event sprite, just set the event sprite directly to "whatever the image is, for this actor, in this slot"
Something like that sounds good. I'd need the main character to always occupy a specific event spot which would probably be hard, but then there's how the 3 remaining events would recognize the other party members and change the graphics, ignoring the main character (whatever slot he's in). I've no clue :/
(whatever slot he's in)
$game_party.members.select{|actor| actor.name == "chrname"}[0].character_name (sprite of actor named "chrname" within party)

from party, active members.
from members, named actor.
from actor, sprite.

if you want to have the actor and not the sprite for comparison purposes, don't call the method for sprite.
Oof, I'm sorry, I have no idea what to do with any of that, where to put it, which parts to edit etc. 🙁 I'm useless at reading and understanding script. I generally try to avoid it where possible unless it's just a straight copy-paste job, lol.
that is how you get an actor from the party regardless of the position they're in.
since you need the sprite to pass it to the event and use it as a dummy character, you need to grab the actor first.

on one hand, you have a blank event that needs a sprite, and on the other, the sprite that belongs to an actor object, which you take from the party.
what you have to do (depending on your system) is to work out how to *grab the lot of actors you need to look for*, *get their sprites* and *put those sprites into the dummy events*, by deciding which actor will be looked for (decided by your scene script)
so far you were using *the standard preset instruction* to *put the sprites on the dummy event*. I just told you how to *get the sprites you need*
if you would take the same instruction and manually call it as it's script form, then you can establish that *the sprites* would be determined by *the lot of actors you need to look for*, in code form, which you can't pass down to the program through *the standard preset instruction* (because it only takes specific IDs as inputs, which would be subject to change, so you can't use IDs)
FYI, if the script commands prove too complicated, another option is to go to project recruitment and recruit a scripter to help you with that.
Will this do?
Code:
set_graphic($game_party.members[0].character_name, $game_party.members[0].character_index)
Screenshot_308.jpg

changegraphic.gif


EDIT:
I'd need the main character to always occupy a specific event spot which would probably be hard
Why not just use
Code:
set_graphic($game_actors[ID].character_name, $game_actors[ID].character_index)
$game_actors[ID] is one thing, $game_party.members[ID] is another.
he probably wants to grab party member nº X, which is not always the same actor.

Original thread: https://forums.rpgmakerweb.com/threads/dealing-with-cutscenes-and-character-variety.102975/