Methods of Implementing Multiple Endings?

I'm at work til midnight and bored. Didn't see a post about this on here, and it's something I've been thinking about recently, so I thought I'd start up some discussion! I am making a game at the moment and I have very specific endings in mind. But it is a linear story and, although I have some ideas, I'm not quite convinced on how I want the game to decide these endings just yet.

So there are the games that have multiple endings based off non-linear, choose your own adventure stories. Those are truly remarkable to me, how the writer was able to create those various branching scenarios.

Then there are more simple variables that could affect a linear story's ending. Like - how many health potions versus mana potions you drink throughout the game. How many times you've cast a certain spell. Or, how many people you've talked to throughout the game. Or all of these things!

And some that are a little more complicated - such as how much HP your party had remaining after fighting each boss (averaged up, perhaps) - determining either a good or bad ultimate ending.

How have you seen multiple endings done (mechanically) in other games, or your own?
a lots...of variable and... a lots of tears.
The easiest way to do them is via player choice. Knights of the Old Republic is a classic example (so is the 2nd one, though that one isn't done nearly as well). You can be as dark side or light side as you want. Help people, kill people, ignore sidequests, whatever. All the matters is how you respond in one very specific conversation (and it's a pretty obvious Big Choice ).  When the end game comes, the script checks that value to see which cutscenes and stuff to throw at you in the very end.

You can expand on that with branching choices, which still comes down to checking a single variable for the ending (or a couple at most if you want to handle variations that way).  Chrono Trigger used this technique - how you got to the final boss, I think who you beat him with in a few cases, is Chrono alive? and some story choices were looked at. Those give you your ending.

From that you can expand to looking at whatever you want - how many spoons did you collect? Did you kill 5000 bunnies? etc...
Set one or a few choices halfway through the game, a big event is your best option like an event requiring you to choose a faction to progress and one has the good ending and the other has a bad ending.
If you are going for the good ending/bad ending option, then it should never be based on anything arbitrary like how many pink slimes you killed,mor how many battles you fought, or any variable like that. It needs to be the result of clear choices the player makes. I remember in one game I got the bad ending because I missed speaking to one NPC in a busy town. That seemed unfair to me.
I'm not a big fan of "bad" endings in general, unless the player really screws up.

FF X-2 had a 'bad' ending if you lost the final battle - that was done pretty well, actually.
Yay discussion!!

I have the idea of putting in side quests that are related to the party members (back story in a way), and the final ending depends entirely on your performance within those sidequests. That way I can have branching scenarios (or whatever - haven't decided) without totally dissecting the linear beginning-to-end story I've already thought of. The ending would kind of be a backstory on its own. Similar to the endings of the Atelier series. "What are they doing now?" kinda deal.
I made a game with the 1st RPG Maker, and it has 16 endings. Now what ending you'll eventually get, is depended on what characters you manage to recruit, and are able to keep in your party.

There are a small handful of choices tied to a few special events, that would dictate what characters you'll end up with, thus what ending you will get.
maybe recap of achievements. did you end up poor or rich? rich gets fancy scene. did you buy a house? if so, show a quick scene of camera driving past your house. got married? your spouse appears at the end. etc.
In my current game, after each boss ( and a few other times ), you get the choice to either take the character's powers ( and as a consequence kill him ) or recruit him. Both were different ways to get to a certain goal ( becoming the strongest entity ) so it really was down to your ideals ( would you kill a girl, a child for their powers ? Or anyone at all ? ). Depending on who you let live, who you killed and how much power you absorbed the ending would be different.

I don't like "bad" or "inferior" and "true" endings myself though ( except when it's not at the end of the game, or when it's because you lost the final battle ) so i try to write each ending equally. Even when the result is terrible for the main character, i try to write it in a way where it wouldn't be considered a bad ending to get.

In the latest "Life is strange" the multiple endings are handled extremely badly ( a final choice and that's it ) and well, you can clearly see which one is supposed to be the "true" ending. With far more work being put in that one's cutscene. I'm not a fan of that cause to me, it's just a false choice then.

A very fun, though a bit harder way to do multiple endings is to deliver different experiences depending on the chosen ending. Like the SMT series often does, the choice that will decide your future is not a choice at the very end for a single cutscene, it changes the whole final part of the game, your team and the final boss. I find that amazing as it really increases replayability, you want to see what would have happened if you had took "that" other path.
Most of the time I've seen good/bad/true endings it's been a "completionism" thing - you have to explore every nook and cranny to find the triggers to the better endings.  I don't like this.  Thoroughness should be rewarded but minimalism should never ever be punished.  Occasionally, I've seen it hinge on a single choice, which is not great either.

Some games tweak the ending slightly based on your relationship values with different characters, which I think is a nice little feature.  A bunch of wildly different "good" endings based on a large number of choices you've made throughout the game, or even something silly like your favorite monster to kill, would work well, I think.
Thoroughness should be rewarded but minimalism should never ever be punished.
That is really quibbling here and leaves A LOT of room for spekulation. You could always argue that minimalism doesn't get punished, it just doesn't get rewarded.
I like endings to be dependent on a number of player choices throughout the game. It seems unrealistic if something as important as an entire conclusion of the story hinges on merely a single decision. So a player could be a raging psychopath who murders everyone, but because they chose a good option in one dialogue, they've become a saint all of a sudden.

In fact, I'd even say, I am not a fan of each of the multiple endings to be static. I.e. only a few select endings. I think it's even better if each of those endings has small variables within it, depending on other, smaller decisions throughout the game. Show the fate of every main character or faction in your ending, and make them independent of the main choice of endings. But this is my personal preference.

Also as Ksjp said, making endings change based on trivial actions is also quite a bad design.
Most of the time I've seen good/bad/true endings it's been a "completionism" thing - you have to explore every nook and cranny to find the triggers to the better endings.  I don't like this.  Thoroughness should be rewarded but minimalism should never ever be punished.
That is really quibbling here and leaves A LOT of room for spekulation. You could always argue that minimalism doesn't get punished, it just doesn't get rewarded.
I think your imprecise English is a contributing factor here (and learning other languages myself, I do a lot worse than this!), but I can't understand how anything I said is "quibbling", nor what room for "speculation" is there in my statement.  It's a pretty important and universal concept.  Getting a bad ending (such as your party helps a clearly evil cause or your main character dies or something similarly bad) is absolutely going to be seen as a punishment by most players (unless they're unaware that multiple endings exist and believe the bad ending to be canon).

If this happens because of multiple active choices that the player made along the way (such as slaughtering civilians), that's one thing, but if it happens because they found the endgame boss without needing to search every inch of the final dungeon, or were able to defeat that boss without getting a superpowered weapon from a sidequest (this is what I mean by 'minimalism', I find that insulting to the player.  Give them a full, satisfying "good" ending instead.  If you want to make the "did the sidequest" ending even better (a "true" ending as it's often called), go for it - just don't punish the player with a bad ending for not doing so.
I use a more visual novel styled approach with "flags" (switches) and "values" (variables)

At various points in the game, the choices and actions you make will have an effect on some variable or switch. Depending on what switches have been flipped and what the values are of certain variables, you have different choices that slowly push you towards a specific ending.

Perhaps you didn't choose to help that beggar that was dying? Well, the beggar could have later stopped the thief that stole your purse. If you go to get it back, that time you spent stopping the thief could have been used elsewhere and as a result, now you didn't get past the mountain before the mountain had a rockslide blocking the path and forcing you to find a different route.

If you had tried to go on without retrieving your purse, you might find that later down the road, that thief started a guild of thieves and bandits using your money and that guild may have killed someone important to a quest that then has later complications.

Those would be examples of flags/switches that I might have.

Your party member lost faith in you because you didn't take the time to recover their purse.  A party member lost trust in you since they saw that you didn't help a beggar who needed help.  Later on, they are forced to make a choice between helping you and helping someone else. Because their trust was low, they decide to help someone else, perhaps joining the opposing side.

That would be an example of a variable switch I might have.

Those that have played my games before know that the one "good"/"happy" ending is NEVER canon and often requires some absurd work to reach. It is essentially a hidden, 'what if' ending. (Think of it like in Analogue: A Hate Story, where the best ending either requires some absurd luck or essentially cheating by using outside knowledge).

The bad ends are semi-canon depending on which of my games.

The normal ending in my games usually requires some sort of sacrifice. You obtain a positive ending, but it is in exchange for something.

The "true ending" in my games are essentially the same as a normal ending, but usually it is a rather specific one.

There is essentially no such thing as a trivial choice in my games. Choosing to do sidequests can result in a different ending than ignoring all sidequests. However, doing every sidequest blindly may not result in a positive ending either.

(For example, if you blindly do ALL sidequests, you might eventually find that you are hated by all the groups in the game because you keep helping the opposing side).

Something as subtle as deciding to go one direction instead of another can be the difference between getting a normal ending and the "happy ending". Sometimes, it is failure that leads to a "happy ending". There are clues scattered throughout my games (usually) for how to reach the normal ending or "true ending" (sometimes you have to see the normal ending in order to unlock the true end-usually when the normal ending is needed to understand the true end). Very subtle clues that are hard to notice without seeing the normal ending may lead to the "happy ending".

Since my games are very much so inspired by visual novels, there are a lot of times where different routes are locked until you've beaten the game under a different route.

In one of my games, the "true end" is unlocked by seeing the "happy end".  Essentially, there is a clue that the happy ending is not the true end, but the clue also hints that the happy ending is the most positive ending you could possibly have in the story and that the true end is fairly tragic.

My games have always had a theme of fate being cruel and that life is a struggle to try to break free of fate, yet doing so may have cost and consequences.
If this happens because of multiple active choices that the player made along the way (such as slaughtering civilians), that's one thing, but if it happens because they found the endgame boss without needing to search every inch of the final dungeon, or were able to defeat that boss without getting a superpowered weapon from a sidequest (this is what I mean by 'minimalism', I find that insulting to the player.  Give them a full, satisfying "good" ending instead.  If you want to make the "did the sidequest" ending even better (a "true" ending as it's often called), go for it - just don't punish the player with a bad ending for not doing so.
I don't think I've ever seen a game give a "bad" ending for not being a completionist. You'll get a "good" ending, but not the "perfect" ending.
I don't think I've ever seen a game give a "bad" ending for not being a completionist. You'll get a "good" ending, but not the "perfect" ending.
I do see some games give a "bad" ending for beating the final boss without doing X or Y.  Giving a simply "good" ending (rather than "perfect" or "true" or whatever), like you've seen a lot, is perfectly fine.
I personally don't like the whole idea of endings being good, bad, or perfect/true. I prefer it when endings are more grey in nature with realistic consequences of the player choices. For example, you knowingly betrayed a certain faction, you'd expect there to be some sort of clash with them in the ending. Or you knew that doing the so and so would empower the final boss. Making events of the ending logically follow from the player choices is the best way, in my opinion. But it doesn't have to be black and white in nature with either you save the world from all evil or the evil prevails and you lose.

As for 'true/canon/perfect' endings, I think that devalues the whole idea of choices on the first place. You're basically telling the player that the way they chose to play the game is somehow inferior. The whole point of choice and consequence is letting the player mold the story to their own liking, so whatever they get is the canon ending for them. At least that's the way I see it anyway.
AS someone who made about  6-7 multiple endings, i would always decide what ending a player would get with the side quests they did, the choices they made in the story and even on what weapon they chose. if you do multiple endings, i would take these examples into account
We determine the endings by multiple choices (action decisions as well as dialogues) and subtle triggers. We used a lot and lot of variables. We don't have any "good or bad" endings. But rather which guy/gal that you're going to end up with in the end. Or you end up being alone. Yep, it's heavily influence by visual novel romance.

Original thread: https://forums.rpgmakerweb.com/threads/methods-of-implementing-multiple-endings.49920/