Writing lively dialogs and why every NPC shouldn't be overlooked.

Hello everyone!

So as some of you probably know already, I'm kind of a language nerd and i LOVE writing dialogues, lore etc! So I open this topic for those willing to discuss how we work in order to make the most lively world through the litterature and dialogues available in our games!

In my case, apart doing my best to write in English with proper grammar, i focus on these main points :

- Language registry
- Recurrent expressions for a character
- Keep it spoken!
- Every NPC counts!

First , the language registry is obvious. I consider a king won't speak the same way than your local npc peasant. So if the need arises, I will do research, sometimes even in old English expressions (with a preference for old Victorian english slang which i find absolutely delicious).

Second, recurring expressions, actions or written sounds stuff like that. Like if i write someone who is sick it won't be "aaaaaah my God since the Dark Lord sent his pest i'm sick". No, I'll make it more lively, cut with *snirfles* and the likes for exemple. Or if he got some itch, there will be some *scratch scratch*. So it would be more something like "Damn that Dark Lord flu *snirfle* i'm out of tissue now! AATCHAAA! Woops, sorry about your face!"

Third, as i said "keep it spoken!". The characters are not writing a novel when talking to your hero of the prophecy. This mixes up a bit with the language registry thing. I don't hesitate to abbreviate words to give a feeling of a different pronounciation. Like for exemple, some people from an area outside your homeland won't say "Hey, what are you doing in my house?" but "Hey ya, what ar'ya doin' in mah 'ouse?". It gives variety and makes the whole thing more lively, at least i think so. This said, no need to get too heavy handed for that matter, but i think sprinkling it here and there adds flair.

Fourth, and i think it is a point that is too often overlooked EVERY NPC COUNTS. When you visit an area, you will find new music, probably a new tileset, but what about the npcs? Don't make them just talk about the weather and the Dark Lord they are scared of or that bridge that broke because it would trigger an interrupter too early if you cross it. They are also there to set a mood! And this can go through the dialogues, maybe by their accent or mentioning things that are specific to their area, it can be something as simple as a dish to some climatic peculiarity they struggle with etc. Possibilities are endless! Npcs are not all only interested in your quest, they have their own lives!
If your game is story driven as most rpgs, the player needs to feel engaged and exploring something new!

After there is little me nerding as far as making homebrew languages but i won't stun you with this 😛

So, what about you? How do you take care of writing?

Have a great day everyone!
Our approach: step one is to come up with characters with such strong personalities and characters that you could just put them in a room together and half a page of banter practically writes itself.

(Funny enough, I swear the timing is pure coincidence and we didn't see this until after the fact, but we literally  just posted some examples in another thread right before coming here.)

As far as dialect, we tend to shy away from *asterisk sound effects* ans phonetic accents, but we  do pay very careful attention to word choice. Kings and overly grimdark "serious, stuffy" fantasy characters won't talk in Thy Dungeonman speak but they will talk like Tactics Ogre extras, whereas less highly educated (and less serious and self-important) characters sound more like those examples from the other thread. (But even there, I tried to make Kit sound more shy and reverent and polite compared to the others, being the only one to call Holly "miss," and speak articulately because they're a socially inexperienced bookworm scholar, whereas someone like Red would be more on a "HEY YOU GUYS" basis with everyone.)

Finally, peppering the dialect with lore-appropriate oaths and swears can help a lot. It's easy to overdo if it doesn't sound natural, but when woven in subtly in just the right amounts? I'm still proud of how that "Gods of the Sea and Stone" line from Augustus sounds in those aforementioned examples. (Tactics Ogre is another great example of this; their belief system very directly involves the major arcana tarot cards, so you will very often hear people praising/thanking or cursing the Wherl when something lucky/unlucky happens, seeing each other off with "Chariot grant you strength," etc.
Most stories I know have a certain hierarchy where some characters have more relevance to a story than others. The protagonist is usually on top, with the many supporting characters underneath. Games like Stardew Valley is a game I think might have the best emphasis on every minor character being significant, but also that's a different genre compared to say, a JRPG. I think your design decision is dependent on the intended genre
I am making a pseudo open world game, where every NPC has a name and a schedule, many have side quests they are involved in, the whole nine yards. Not quite to the extent of something like Skyrim, but it's still a lot. I created an entire wiki to help me keep track of it all, and that has proven to be an extremely nice resource. I think the only NPCs that don't have names are some one-off bandits, perhaps.

I tie a decent amount of NPC dialogue to quest progression, but other than that it's done with a random variable that gives them a list of things to say when the player talks to them. These can range from one-off comments about who they are and why they're here, how they're handling the current situations, all the way to full conversations with the party.

It's fun building up a world by treating each NPC as if they are another character. Mine all have back stories and a list of their family members, and reasons to do the things they do. I got the idea for this from a YouTube video talking about an RPG I've never played, and can't remember what video it was. In this game, it was essentially the same as I have made it here, where all the NPCs have a reason to actually be in the spot they're at, and they all have names instead of just being "Guard 1."

I think even simply naming your NPCs can build the world too, even if they aren't particularly talkative. Each region in my game uses different naming schemes. The Grizz people have really rough sounding names, like "Chork" and "Ulek," whereas the Faerial people are more elegant with their names, like "Falvalla" and "Aerilla." You can represent the attitude of an entire people just based on how they name their children.

Stuff like this may be something that a player glosses right over without a second thought, but it does help the world feel much more cohesive and grounded. It's worth it.
If you want to see the worst example of NPC's in gaming, play Scarlet Nexus.
They are the most boring, uninteresting, characterless NPC's that I have ever come across.
Like, there was not a single side quest, line of dialogue, or even visual aspect that was unique or interesting in any way.
I'm the kind of person who's hard maintaining a lot of relationships. So I only care about some people and the rest mostly are background noises. Thinking about every NPC counts and if they have their own life is too much for me. I only care about the named important characters. However, I love world-building. A nameless NPC that disappears when you look away is never been a problem to me. But it would be good if they spout trivia about the world every once and then. Their noises should be talking about how the world works.
It's fun building up a world by treating each NPC as if they are another character. Mine all have back stories and a list of their family members, and reasons to do the things they do. I got the idea for this from a YouTube video talking about an RPG I've never played, and can't remember what video it was. In this game, it was essentially the same as I have made it here, where all the NPCs have a reason to actually be in the spot they're at, and they all have names instead of just being "Guard 1."
Odds that this is the RPG you were thinking of are slim (I mean, talk about a long shot, right?) But Radiata Stories is really good about that. In fact, each NPC in that one  is another character. You can have well over a hundred recruited party members, tthough of course only a select few are actually, you know, worth using in a fight. Still, they have names and 24-hour schedules like a Bethesda game and everything.
It's good to make NPCs super interesting and have good things to talk about, but how are you making the player care about it?

If they just offer some background lore on the area like the hillside we had our first kiss is great and all, but why do I as the player care? Why do I as the player would ever talk to pokemon NPCs? They add good background stuff but 90% of it is not important or useless and the other 10% is TMs and items but I'm not gonna slog through it all for that little 10%.
Odds that this is the RPG you were thinking of are slim (I mean, talk about a long shot, right?) But Radiata Stories is really good about that. In fact, each NPC in that one  is another character. You can have well over a hundred recruited party members, tthough of course only a select few are actually, you know, worth using in a fight. Still, they have names and 24-hour schedules like a Bethesda game and everything.
That's pretty intense! I suppose if you built your game to be like that from the beginning, it would make things easier to sort out, but these games that have absurd amounts of party members to recruit always make me laugh a little haha. Like, Chrono Cross has no business of having over 40 party members xD

That definitely wasn't the game, though. I want to say it was some Grandia, Golden Sun, or Ys game, but I'm unfamiliar with all of those so I wouldn't be able to tell you.

It's good to make NPCs super interesting and have good things to talk about, but how are you making the player care about it?

If they just offer some background lore on the area like the hillside we had our first kiss is great and all, but why do I as the player care? Why do I as the player would ever talk to pokemon NPCs? They add good background stuff but 90% of it is not important or useless and the other 10% is TMs and items but I'm not gonna slog through it all for that little 10%.
This is why I tried to tie as many NPCs to quests as possible. I wrote the quests, I had a friend write some lore pieces like articles/books/journals you could find for every town, and most of the NPCs came around naturally from that. I didn't think about it while I was doing it, but it was a very natural, "from the ground up" way to get NPCs into the game that actually felt like they meant something to the larger world, and that the player could at least get the tiniest bit invested in. Most NPCs will lead you to something with at least some level of import, you know?

That won't work for everyone's game, obviously it depends on the tone you're going for. I wouldn't have all these NPCs with schedules and stuff for the players to do if I was making a much more linear, story-based kind of game. You'd want that pared back a decent amount and try to shoot for very high quality mini-stories with a few NPCs than a large amount of NPCs that add a little bit to the overarching story, which is often the case in more open world/dynamic games.
Personally I find plotting out every minor NPC's whole life story excessive and potentially unneeded. I know I don't remember like 90% of NPCs I chat to. But I think it's very important that the npcs feel like they have a whole life story, even if I the player never see or hear it.

WHich I think for me is doing a balance between infodumping and variety. A normal person wouldn't vomit their entire traumatic life experience to a stranger, nor give an impromptu history lecture about every little thing. But they also wouldn't all sound, feel, or act the same like an army of clones.
Personally I find plotting out every minor NPC's whole life story excessive and potentially unneeded. I know I don't remember like 90% of NPCs I chat to. But I think it's very important that the npcs feel like they have a whole life story, even if I the player never see or hear it.

WHich I think for me is doing a balance between infodumping and variety. A normal person wouldn't vomit their entire traumatic life experience to a stranger, nor give an impromptu history lecture about every little thing. But they also wouldn't all sound, feel, or act the same like an army of clones.
To make things easier, you can follow a system where you have world lore, then lore for towns, and then the people in the towns can kind of play into those a little bit instead of each of them having their own totally unique stuff, because that also doesn't make much sense. For actual NPCs, I try to write a general physical description of them and then a paragraph or so on their back story, something like five sentences of information. Some info that's relevant to the player, some that's relevant to helping you conceptualize the NPC.

It can be a little hard to write a lot about an NPC and then not use any of it, but I have always worked on the idea that you should always know more about your characters than you will ever tell the players straight. The more you know about a character, the more you can get in their head to see how they would talk, how they would react to situations and dialogue, things like that.
The last time, I replayed Grandia, I was baffled how much interesting text the random NPCs had and it often even would change after minor or major storyevents. So this game is probably a good example how to do it.
But on the other side, would a stranger talk to you more than one Textbox, if at all?
I picked up a habit during my D&D Dungeon Master days to have a "middle name" for every NPC. Like "Martha, the surgeon wannabe". It's a very easy way to keep characters apart because I have specific associations with the words "surgeon" and "wannabe".

I could keep the NPCs in this minimalistic state, and if the need arose I could flesh them out "Ad Hoc" based on these couple of notes plus all the notes for the other NPCs in his or her immediate surroundings.

The last time, I replayed Grandia, I was baffled how much interesting text the random NPCs had and it often even would change after minor or major storyevents. So this game is probably a good example how to do it.
But on the other side, would a stranger talk to you more than one Textbox, if at all?
It's undoable for most lone developers IMHO... I imagine those projects had dedicated text punchers.
There is this very useful standard writing tip that: Your texts/dialogues should always do more than one thing. (So essentially: Not only every NPC, but every text counts!)

For example: A short dialogue should not only give you a quest, but it could also ... expand the setting ... make you laugh ... be creepy ... build upon the characters in your party ... build up a tone or an atmosphere ... be a little puzzle etc.
Often it can even be a LOT of things at the same time.

But also, pleeeease cut sentences and words that are unnecessary. If they build up atmosphere, fine, but in 2 out of 3 cases in which people think something is necessary for the setting or the atmosphere, it really isn't. Test it!
The problem here is that game testers will rarely (and are rarely supposed to!) comment on language structure etc, so you either have to find someone who will not only point out simple mistakes but go deeper, OR you need to try out alternatives yourself, preferably with some distance.
It's undoable for most lone developers IMHO... I imagine those projects had dedicated text punchers.
I disagree, the OP seems to be very capable doing this job alone, the enthusiasm is there.
I really would like to do it, too. But if I make the textbox for random NPC the only thing coming in my mind is "Nice weather eh?". Just kidding, but I have sometimes a hard time coming up with a text for randos. Its weird since story conversations are so easy for me to write.
I don't think I've done the unnamed npcs too well myself, but in regards to dialogue in general, I've had two pieces of advice that did me a lot of good.
Remember that characters in stories don't need to sound/speak like most normal people, both in the manner that in reality people fill their sentences unnecessarily, and that often don't always use the right words and grammar. The second part, particularly mattered to me, since obsessing over using the all the right words in the exact, most efficient and correct manner possible made writing very difficult. People have different things that are important when speaking, and proper grammar isn't always high (or even on) the list.
So, I guess the advice would, in effect, parrot what many here have already said, just from a somewhat different direction.
There are times when NPCs are there just to simulate the crowds. So, not every NPC needs to be counted or even have a meaningful text. But hey, as long as you can explain why you made that decision (saving dev time, not important for the player's attention, etc). it's good. It's all just suggestions.
Remember that characters in stories don't need to sound/speak like most normal people, both in the manner that in reality people fill their sentences unnecessarily, and that often don't always use the right words and grammar. The second part, particularly mattered to me, since obsessing over using the all the right words in the exact, most efficient and correct manner possible made writing very difficult. People have different things that are important when speaking, and proper grammar isn't always high (or even on) the list.
So, I guess the advice would, in effect, parrot what many here have already said, just from a somewhat different direction.
I won't disagree here – ESPECIALLY if it helps you not to obsess, which is absolutely priceless!😍 –, but I would like to add some things to this thought!

Yes, reality as a benchmark for writing quality can be a WEIRD thing.
Usually we go for "believability in the context of the medium/setting/characters" instead of realism.
A good example is the first Life is Strange game: When it came out, it got a lot of criticism for a kind of pseudo-teenager language that seemed at times very artificial, obviously written by someone who didn't know a lot about teenagers ("Hella cool! Wowzers!") ... But the thing is: It seemingly wasn't? In the backlash to the backlash, a lot of teenagers and locals from the area the game is set in reported that they talked just like that at the time. Now, I can't really judge, but remember, reality is not the important thing when writing! Believability is, and we do expect teenagers to talk in a certain way, even if it isn't real. If a game goes against these kinds of expectations, you need to be a veeery good writer to make it believable.
Same goes for "medieval language" or old-timey language, by the way: We don't want real medieval language, we want what we expect medieval language to be, from books, tv shows etc.

When it comes to wrong grammar, things are a bit more complicated.
Yes, especially characters with less education tend to use simpler language, but using "wrong grammar correctly" (lol) might be even harder than using correct grammar! Because believe me: Most People will intuitively know the difference between "Ah, this character is using wrong grammar, like in real life!" and "Oh, this author wasn't aware of the correct grammar!" ... And this second thing can absolutely pull you out of a game, especially if the game is supposed to have a certain air of professionalism. (For small fun games, go off!)
This also has a lot to do with our expectations, since seriously wrong grammar is not typically "a thing" in creative writing. As a language teacher, I assure you, few creative texts even come close to the horrible things students do to language ... So, wrong grammar is mostly used in certain very noticeable ways, for example through word order (Yoda) or switching out specific structures (Jar Jar Binks).
It's, again, possible to pull off "seriously incorrect grammar", but definitely a tall order. If I remember correctly, Disco Elysium has some great examples.

There are times when NPCs are there just to simulate the crowds. So, not every NPC needs to be counted or even have a meaningful text. But hey, as long as you can explain why you made that decision (saving dev time, not important for the player's attention, etc). it's good. It's all just suggestions.
Most games today do this in a different way than "normal dialogue", for example through non-interactive speech bubbles in the background. A good example of this in 2D games is CrossCode! For a less tech-savvy solution, I can also imagine a single dialogue for a whole crowd you are talking to.
The potential problem here is: If I can interact (and talk to) with essentially everything, it can be hard to discern where I will get useful or even necessary information, especially if two thirds of these interactions are void of anything interesting. It's also often boring.

But I completely agree with the last point: Have a reason for doing things! 😤
It's all just suggestions.
If you want to see the worst example of NPC's in gaming, play Scarlet Nexus.
They are the most boring, uninteresting, characterless NPC's that I have ever come across.
Like, there was not a single side quest, line of dialogue, or even visual aspect that was unique or interesting in any way.

Okay, sorry, I have a question. Have you played "Greedfall"? Are the NPC's worse than Greedfall? I haven't played Scarlet Nexus, so I'm just hoping you've played them both and can answer.

Seriously, the very first NPC you encounter tells you "I would not be very good company right now" and nothing else. The dialogue from NPC's is downhill from there.

---

I'm not sure any will find this useful or important, but I'll toss my two-cents in.

Generally speaking, I just try to add "character" to someone's dialogue in the game.

I don't usually engage in "ye olde formal speech" for kings and queens and nobility unless there's some sort of "worldbuilding" in play where that was a very important part of their culture to be talking like that.

So, I do a lot of worldbuilding ahead of time. Who are people? What are their cultures? Where are they from? What are people who live there, generally like?

Then, for each individual character, I usually create a list of "things they like, things they don't like, things they absolutely care about, and a general background". NPC's rarely have a list longer than 5 things. Main characters tend to have lists of 10 or more of those things (along with sets of beliefs). "Quest Givers" tend to have fluctuating amounts of things on their lists, depending on how much is actually necessary for the Quest (namely, how much the player actually needs to talk with the character).

For example:

Spoiler: Example of a dialogue flow
My early quest of "Grind out some slime kills" paints our main character as "impatient" as well as "not fooled by any of your crap". The NPC paints himself as aloof, disconnected from the world, and somewhat greedy. The NPC asks if the main character is his assistant. Our main character confirms "no, I am not" and the NPC then tries to foist the job upon him anyway. Our main character asks what he'll be paid, and the NPC states "work credit and a good reference!". The main character isn't pleased and states that's probably why his assistant didn't show up. So, the NPC relents a bit and offers to give him a sword. Then, he hands the sword over. It's a wooden sword, it looks a lot like a kid's training sword. Our main character comments on it in a way that makes it sound like he's being cheated. So, our NPC relents and tosses in some Healing Powder as well. Then, our main character asks what the job is. What follows is the NPC trying to explain what he's after, why it's actually valuable, and why he doesn't share the secret with anyone. To which our main character essentially dresses him down for the behavior and attitude, and then our NPC tells him he'll also give him MORE reward after the first batch (to essentially try to appease him).

The first conversation is quite lengthy to establish all the character traits necessary for the two to interact. Our main character is "having none of it" while our NPC keeps trying to get him to complete more and more "kill a bunch of slimes" quests. Conversations get shorter and shorter as our main character gets more and more frustrated and fed-up with the ever-increasing amounts of slimes he must slaughter. To the point that the last one is "Let me guess, I have to kill X amount of slimes?" and the NPC is like, "how'd you guess?!" and he just says, "I had a feeling, what's the reward?" and the NPC tells him what he'll get, and the conversation ends.


I tend to structure a lot of dialogue as if it's a conversation, because I want my main characters actually talking to everyone, or adding input to things.

I don't want the player to click something and get a message of "There's a book here". I want them to see "Main Character: This is an interesting book, should we read it?" with the other characters chiming in on their opinions of it.
Okay, sorry, I have a question. Have you played "Greedfall"? Are the NPC's worse than Greedfall? I haven't played Scarlet Nexus, so I'm just hoping you've played them both and can answer.

Seriously, the very first NPC you encounter tells you "I would not be very good company right now" and nothing else. The dialogue from NPC's is downhill from there.

---

I'm not sure any will find this useful or important, but I'll toss my two-cents in.

Generally speaking, I just try to add "character" to someone's dialogue in the game.

I don't usually engage in "ye olde formal speech" for kings and queens and nobility unless there's some sort of "worldbuilding" in play where that was a very important part of their culture to be talking like that.

So, I do a lot of worldbuilding ahead of time. Who are people? What are their cultures? Where are they from? What are people who live there, generally like?

Then, for each individual character, I usually create a list of "things they like, things they don't like, things they absolutely care about, and a general background". NPC's rarely have a list longer than 5 things. Main characters tend to have lists of 10 or more of those things (along with sets of beliefs). "Quest Givers" tend to have fluctuating amounts of things on their lists, depending on how much is actually necessary for the Quest (namely, how much the player actually needs to talk with the character).

For example:

Spoiler: Example of a dialogue flow
My early quest of "Grind out some slime kills" paints our main character as "impatient" as well as "not fooled by any of your crap". The NPC paints himself as aloof, disconnected from the world, and somewhat greedy. The NPC asks if the main character is his assistant. Our main character confirms "no, I am not" and the NPC then tries to foist the job upon him anyway. Our main character asks what he'll be paid, and the NPC states "work credit and a good reference!". The main character isn't pleased and states that's probably why his assistant didn't show up. So, the NPC relents a bit and offers to give him a sword. Then, he hands the sword over. It's a wooden sword, it looks a lot like a kid's training sword. Our main character comments on it in a way that makes it sound like he's being cheated. So, our NPC relents and tosses in some Healing Powder as well. Then, our main character asks what the job is. What follows is the NPC trying to explain what he's after, why it's actually valuable, and why he doesn't share the secret with anyone. To which our main character essentially dresses him down for the behavior and attitude, and then our NPC tells him he'll also give him MORE reward after the first batch (to essentially try to appease him).

The first conversation is quite lengthy to establish all the character traits necessary for the two to interact. Our main character is "having none of it" while our NPC keeps trying to get him to complete more and more "kill a bunch of slimes" quests. Conversations get shorter and shorter as our main character gets more and more frustrated and fed-up with the ever-increasing amounts of slimes he must slaughter. To the point that the last one is "Let me guess, I have to kill X amount of slimes?" and the NPC is like, "how'd you guess?!" and he just says, "I had a feeling, what's the reward?" and the NPC tells him what he'll get, and the conversation ends.


I tend to structure a lot of dialogue as if it's a conversation, because I want my main characters actually talking to everyone, or adding input to things.

I don't want the player to click something and get a message of "There's a book here". I want them to see "Main Character: This is an interesting book, should we read it?" with the other characters chiming in on their opinions of it.
Never played Greenfall, but it does sound pretty bad. M

Original thread: https://forums.rpgmakerweb.com/threads/writing-lively-dialogs-and-why-every-npc-shouldnt-be-overlooked.159932/