Hi all,
So I have a time system in my game that currently includes a clock that tells the player the time, as well as a weekday cycle. I firstly just time, and then wanted the day system. I also have a randomised weather system.
When I first just had a time system, I made each npc have a set movement route for the 24 hours. So they would do this 'Main Route' every day.
This is my first game, so I'm only doing one village. The entire plot will happen on this one map (not including maps for houses and shops etc), as it's more of a test to see if I can manage to do it. If it works I plan to use this same process but on a much larger scale. Multiple areas that'll have their own weather settings etc etc.
Let's take an example from a Village Elder NPC:
Then when I introduced a weekday system, I added a different route per day. Usually 4/7 are identical, and the other 3 have minor differences. Going back to the Village Elder as an example:
After this, I added the randomised weather. There is a percentage chance to either be 'Clear' or 'Rain' and whichever is chosen will be the weather for the day.
The Village Elder's area has an 80% chance of being Clear and 20% of Rain. This is where I'm at rn, so I haven't done this yet, but plan to use conditional branches that give NPCs different 'main' routes depending on the weather, and then each branch has it's own variants.
This is one of the more complex Routes due to the Elder being someone you would talk to frequently, and so is more of an important character. Filler characters that are primarily there to make the map less empty get less complex Routes. See below an example of a character staying at the Inn:
Please bare in mind these events aren't just singular and on their own. So while eating, for example, events spawn food on the table for the Village elder. He has a wife who eats opposite him, and visits the neighbours house with him. He stands next to a friend at the lake, etc-
One NPC might go to another's house, before they walk to the tavern together. Apart from wednesday, where the friend stays home, and so the NPC goes to the tavern straight away.
NPCs have a set of 2-4 things to say at all times, depending on weather, day and time. The person staying at the inn has 2 different possible sentences they'll say when you speak to them, when it's raining and a Wednesday between 8-10pm. And they have 4 different sentences they might say if you try talking to them on a clear day between 12-4pm.
And finally, the questions:
Am I doing too much?
My primary reason for doing this was to give more life to the game, I want it to be it's own little world that the player is in, rather than a world just waiting for the player to interact with it- if that makes sense? I want all the NPCs to be their own people, have their own routines and friends etc.
But obviously, it is a lot of work, and a ridiculous amount of conditional branches. Is it worth it, do you think? Would I be better off returning to just have 1 movement route per NPC that they follow every day? Maybe 2, one for each weather type?
Should I do more?
I was debating also adding seasons into the game after I've got the weather fully implemented, but then I'd want NPCs to do different things in summer than they do in winter, for example, so this would probably increase the current workload by 4x, but would add a lot of variety and a bit more life to the game. I just don't want my game and its world to be boring or repetitive or bland. Variety is the spice of life, after all!
I'd love to get people's opinions on this, and apologies for the long drawn out post, I just wanted to try and explain everything properly 🙂
So I have a time system in my game that currently includes a clock that tells the player the time, as well as a weekday cycle. I firstly just time, and then wanted the day system. I also have a randomised weather system.
When I first just had a time system, I made each npc have a set movement route for the 24 hours. So they would do this 'Main Route' every day.
This is my first game, so I'm only doing one village. The entire plot will happen on this one map (not including maps for houses and shops etc), as it's more of a test to see if I can manage to do it. If it works I plan to use this same process but on a much larger scale. Multiple areas that'll have their own weather settings etc etc.
Let's take an example from a Village Elder NPC:
9am: leaves the bed to go to the kitchen.
9:20am: moves from kitchen to the dining table.
10am: leaves dining table to sit in living room.
12pm: leaves the house and walks around town, before finally stopping to stand by the lake.
5pm: leaves lake to walk home,
6pm: arrives home, sits at dining table.
7pm: moves to sit living room.
9pm: leaves living room to go to bed.
9:20am: moves from kitchen to the dining table.
10am: leaves dining table to sit in living room.
12pm: leaves the house and walks around town, before finally stopping to stand by the lake.
5pm: leaves lake to walk home,
6pm: arrives home, sits at dining table.
7pm: moves to sit living room.
9pm: leaves living room to go to bed.
Then when I introduced a weekday system, I added a different route per day. Usually 4/7 are identical, and the other 3 have minor differences. Going back to the Village Elder as an example:
Monday Variant: Leaves living room an hour earlier, goes to the lake directly rather than pausing in other places around town first.
Thursday Variant: Goes to neighbours house instead of lake, comes home at 7 rather than 6, only sits in living room for an hour before bed.
Saturday Variant: Leaves lake to visit tavern, arrives home at 10 and goes straight to bed.
Thursday Variant: Goes to neighbours house instead of lake, comes home at 7 rather than 6, only sits in living room for an hour before bed.
Saturday Variant: Leaves lake to visit tavern, arrives home at 10 and goes straight to bed.
After this, I added the randomised weather. There is a percentage chance to either be 'Clear' or 'Rain' and whichever is chosen will be the weather for the day.
The Village Elder's area has an 80% chance of being Clear and 20% of Rain. This is where I'm at rn, so I haven't done this yet, but plan to use conditional branches that give NPCs different 'main' routes depending on the weather, and then each branch has it's own variants.
When Clear:
9am: leaves the bed to go to the kitchen.
9:20am: moves from kitchen to the dining table.
10am: leaves dining table to sit in living room.
12pm: leaves the house and walks around town, before finally stopping to stand by the lake.
5pm: leaves lake to walk home,
6pm: arrives home, sits at dining table.
7pm: moves to sit living room.
9pm: leaves living room to go to bed.
When Rain:
9am: leaves the bed to go to the kitchen.
9:20am: moves from kitchen to the dining table.
10am: leaves dining table to sit in living room.
2pm: leaves house to visit library.
6pm: arrives home, sits at dining table.
7pm: moves to sit living room.
9pm: leaves living room to go to bed.
9am: leaves the bed to go to the kitchen.
9:20am: moves from kitchen to the dining table.
10am: leaves dining table to sit in living room.
12pm: leaves the house and walks around town, before finally stopping to stand by the lake.
5pm: leaves lake to walk home,
6pm: arrives home, sits at dining table.
7pm: moves to sit living room.
9pm: leaves living room to go to bed.
When Clear + Monday Variant: Leaves living room an hour earlier, goes to the lake directly rather than pausing in other places around town first.
When Clear + Thursday Variant: Goes to neighbours house instead of lake, comes home at 7 rather than 6, only sits in living room for an hour before bed.
When Clear + Saturday Variant: Leaves lake to visit tavern, arrives home at 10 and goes straight to bed.
When Clear + Thursday Variant: Goes to neighbours house instead of lake, comes home at 7 rather than 6, only sits in living room for an hour before bed.
When Clear + Saturday Variant: Leaves lake to visit tavern, arrives home at 10 and goes straight to bed.
9am: leaves the bed to go to the kitchen.
9:20am: moves from kitchen to the dining table.
10am: leaves dining table to sit in living room.
2pm: leaves house to visit library.
6pm: arrives home, sits at dining table.
7pm: moves to sit living room.
9pm: leaves living room to go to bed.
When Rain + Monday Variant: Leaves at 12 to visit library, arrives home at 4 and sits in study until 6.
When Rain + Tuesday Variant: Gets up at 10, everything is delayed by an hour. Arrives home at 6 and sits in study instead of living room after dining til 7.
When Rain + Tuesday Variant: Gets up at 10, everything is delayed by an hour. Arrives home at 6 and sits in study instead of living room after dining til 7.
This is one of the more complex Routes due to the Elder being someone you would talk to frequently, and so is more of an important character. Filler characters that are primarily there to make the map less empty get less complex Routes. See below an example of a character staying at the Inn:
When Clear:
11am: leaves the bed to sit downstairs.
12pm: leaves the Inn and stands next to it outside.
4pm: goes to tavern.
10pm: leaves tavern and returns to Inn and bed.
When Rain:
11am: leaves the bed to go to sit downstairs.
6pm: goes to tavern.
10pm: leaves tavern and returns to Inn and bed.
11am: leaves the bed to sit downstairs.
12pm: leaves the Inn and stands next to it outside.
4pm: goes to tavern.
10pm: leaves tavern and returns to Inn and bed.
When Clear + Wednesday Variant: Leaves tavern at 8, sits downstairs at Inn before going to bed at 10.
11am: leaves the bed to go to sit downstairs.
6pm: goes to tavern.
10pm: leaves tavern and returns to Inn and bed.
When Rain + Monday Variant: Leaves for tavern at 4, leaves tavern at 9.
Please bare in mind these events aren't just singular and on their own. So while eating, for example, events spawn food on the table for the Village elder. He has a wife who eats opposite him, and visits the neighbours house with him. He stands next to a friend at the lake, etc-
One NPC might go to another's house, before they walk to the tavern together. Apart from wednesday, where the friend stays home, and so the NPC goes to the tavern straight away.
NPCs have a set of 2-4 things to say at all times, depending on weather, day and time. The person staying at the inn has 2 different possible sentences they'll say when you speak to them, when it's raining and a Wednesday between 8-10pm. And they have 4 different sentences they might say if you try talking to them on a clear day between 12-4pm.
And finally, the questions:
Am I doing too much?
My primary reason for doing this was to give more life to the game, I want it to be it's own little world that the player is in, rather than a world just waiting for the player to interact with it- if that makes sense? I want all the NPCs to be their own people, have their own routines and friends etc.
But obviously, it is a lot of work, and a ridiculous amount of conditional branches. Is it worth it, do you think? Would I be better off returning to just have 1 movement route per NPC that they follow every day? Maybe 2, one for each weather type?
Should I do more?
I was debating also adding seasons into the game after I've got the weather fully implemented, but then I'd want NPCs to do different things in summer than they do in winter, for example, so this would probably increase the current workload by 4x, but would add a lot of variety and a bit more life to the game. I just don't want my game and its world to be boring or repetitive or bland. Variety is the spice of life, after all!
I'd love to get people's opinions on this, and apologies for the long drawn out post, I just wanted to try and explain everything properly 🙂