Amount of NPCs in every maps (how you plan)

Hi, everyone. This is kinda particular for RPG game development.

Let say....I make maps of towns, cities, villages, dungeons....many! But when comes to make NPCs, things gonna lot to do. Villagers, shopkeepers, vagabonds, guards, monsters, kids (yup, kids too)....many characters in every maps including different type of races. When I finished a map......I’m stuck. I didn’t think about NPCs.

So, my question. How do you plan/manage/control/finalize this situation? How many NPCs in a map? How many sprites?

EDIT: Add more question
@KayZaman As for me, I do my minimum required NPCs and events first (ie: the ones absolutely required to finish the game) then add the non-important ones that liven up the area at a later date. That way, I know everything is fully playable without adding Joe Blow Down The Street #32 getting in the way.

EDIT: As for how many, I tend to allow the real world to influence that- Small village? Give it a population size that of similar sized village from the real world. Sprawling metropolis on scale with NYC? NPCs everywhere. Just making sure they all stand out from one another is the actual hard part.
I do what @JtheDuelist does. I start with what I need and then liven things up until it looks "lived in". For a town, they end up with the same general dialogue just worded differently (Hi, Hello, Good Day, etc). I also like using animal sprites for that reason. I don't really plan it, just go by feel for what seems right without being too overboard.
And my term of "required NPCs and events" means the following two things:
  • Any NPC that moves the plot forward, whether it is importnat as the big baddy or as little effect as old grandpa who gives the player Plot Key Item A- if they do ANYTHING that moves the plot in the very least, they get priority over other NPCs.
  • Any NPC that provides a service that aides the player in the longest run- this basically means shopkeepers and innkeepers.
If the NPC doesn't fit either thing, they are placed on the back burner for later.
watch Game Of Thrones, count the extras in each set, calculate the set's size, and scale accordingly.
😀

sometimes you have to throw in extra extras, for visual effect.
sometimes it is enough with that one crazy hermit in a cottage lost in the wilderness who does all the talking.
@gstv87's example of the hermit further reinforces my point of using the real world as a influence to in game population sizes- it would be stupid and pointless if there were 5 people in a hermit house since hermits are supposed to be by themselves. Use real world logic when it comes to population sizes, even if your game is far from realistic. In fact, some of the points in this discussion not brought up by me brings some ideas for a sequel to my game to mind- better grab my sketchbook in morning and jot these down.
furthermore, I believe the icing on the cake comes given by the system driving the NPCs rather than the availability of the NPCs themselves.
if you have a solid dialogue system, then you can do just fine with one NPC.... if you have a good AI system, you can drive multiple NPCs around, each with their own behavior and actions, even if they don't say a word.
Typically, I just go with the "minimum NPC's necessary". I, personally, see no point as a dev or as a player of inserting an NPC into a town or village or whatever else just to deliver useless text. "Welcome to X!" type NPC's are never put into my games. "I can't talk now, I'm busy" is never put into my games.

I add enough NPC's to do the following:

*Offer Quests or Move Current Quests forward.
*Sell things to the player.
*Offer information about the location they live in, the world in general, or the immediate area. (ex from Chrono Trigger: "Thunder stun all Dinosaur, you know?").
*Flesh out the world in general. (ex: "Did you ever hear of the legend of Behkra? It's supposed to be a Dragon made entirely of crystal, and it fell out of the sky 1000 years ago! Do you think all legends are based on a grain of truth, or is it too much to hope to see it for myself someday?")
*Offer clues, hints, or observations on the plot or what to likely do next.
*Have their own self-contained story amongst other NPC's in town to provide the illusion of the town being "alive" to the player.

I usually end up populating areas fairly heavily with NPC's. Ones who don't live there end up being "travelers". But, not a single one says something worthless to the player.
@Tai_MT, I not only follow that for NPCs, but for any object you can examine, as well.

This post has given me some more ideas...
Some people give a lot of hate to "useless NPCs" that just throw out a few lines of throwaway dialogue, but I personally think that such NPCs make towns feel more lively, more immersive, and more complete.

As a rule of thumb about "how many", I think that about 1 "outside" NPC for every small building (home, basic shop, inn, etc.) on your map, and 2-3 "outside" NPCs for every big building (large city hall, important church, corporate tower), is a good starting point. "Inside" NPCs are a little harder to come up with numbers for - you want enough for buildings to feel like they are used/visited, but not usually enough for them to feel crowded. Depending on the layout, I think 1 "inside" NPC plus 1 additional "inside NPC" for every 50-100 total tiles in the building might be a decent guideline.

If you're a talented writer, you can give them dialogue which adds extra depth to the setting and history of the town (or world) using just a line or two, and/or you can make them into sympathetic characters. There are more important things to do in your game, so don't spend 70% of your development time writing NPC dialogue - but if you're good at it, you can do it without too much additional time investment. If you're not good at it, just give them complete throwaway dialogue like "The flower gardens in this town are beautiful! I love to visit." or "My girlfriend is late! I've been waiting here for hours." It's still a lot better than nothing, in my opinion.

Since you said you've got "vagabonds, guards, and kids" to your maps, though, then it sounds like you are adding NPCs already!
@Wavelength That approach feels too mathematical to me to feel natural, but that is just me. Everyone has their own way of doing things, and I respect that- I just prefer more lenient and fluid approaches over rigid, mathematical ones, but that is because I am laid back in personality.
......wow. Never thought you guys have ideas for this. I gonna learn more and play some rpg games for further studies.

Thanks.
@Wavelength That approach feels too mathematical to me to feel natural, but that is just me. Everyone has their own way of doing things, and I respect that- I just prefer more lenient and fluid approaches over rigid, mathematical ones, but that is because I am laid back in personality.

I'm with you, buddy! When I do stuff like balancing, I always favor approaches like comparing two similar skills/enemies/etc. or straight-up trial and error, rather than use of spreadsheets. Same for stuff like the size of dungeons.

Even things like visual perspective matter a lot - a game that uses a low-angle, behind-the-back perspective would feel alive (or crowded) with fewer NPCs than a game that uses a bird's eye, top-down view, which would need more NPCs to feel alive (or crowded). So I agree that feel is more important than sticking to formulas.

For a question like "how many NPCs are right for a map", the most correct answer (and what a talented designer would use) is "however many feel right for that map" - but that's also a pretty useless answer to give to someone who's pretty new to map design and unsure about what the play experience will feel like. So I attempted to think through the many RPGs I've played, and come up with a general guideline for what would feel right in an average town (or other inhabited place) of any given size. 🙂
@KayZaman And sometimes that is the best way to learn- at least 95% of the games on my shelves have some kind of RPG aspect in them, and I am self-taught from playing so many games with RPG aspects to learn from. One of my biggest RPG aspect influences are the Monster Hunter and Azure Striker Gunvolt series with a pinch of Pokemon, The World Ends With You, and Star Wars Episode I Jedi Power Battles (a gem from the PS1 days) thrown in for good measure.

Ah, TWEWY (The World Ends With You)- the Mona Lisa of unconventional RPGs, and its features were a decade ahead of its time. It had StreetPass at least 7-8 years before Nintendo conceived the idea of StreetPass. It literally used every possible feature of the original DS to full effect and succeeded. A must play if you own a DS and are a self-respecting fan of RPGs.

Original thread: https://forums.rpgmakerweb.com/threads/amount-of-npcs-in-every-maps-how-you-plan.92780/