MZ Risen Kingdoms - A Living World


Risen.jpg

​
INTRODUCTION
Hi everyone, I've been playing around with rpg maker since XP but moved onto other game engines a little after VX Ace. However as new rpg makers have came out I've always dabbled back into the engine as the systems and graphics feel very snug to me. With Rpg Maker MZ i'd finally like to release a game i think would be great using the engine. A game utilizing a living dynamic world where the game doesn't revolve around the player.

SYNOPSIS

The Dynamic World

Risen Kingdoms is a living world with kingdoms, a calendar and date system, changing seasons and weather, every day the world continues regardless of what you decide to do in it. Choose to live life as a simple smallholder living outside cities walls ignoring the strife of the kingdoms. Move into a city, buy businesses, property and become a rich merchant. Engage in politics to shape the future of the world. Risen Kingdoms allows you to start randomly within the world and simply live your life.

Kingdoms and Cities
Kingdoms are dynamic in Risen Kingdoms, able to interact with the world and change it in various ways. Kingdoms take control of cities and lands in order to generate taxes, they then use these taxes to grow and engage other kingdoms over land. Their not all bad though, they do keep the lands safe from monsters using their troops, or fight bandits and Evil Forces.

At the start of the game the player can choose how many dynamic kingdoms they would like in their world.
Kingdoms.png

​

As an example of how kingdoms can change the world, 2 kingdoms could engage in war with each other, your living in a city controlled by one of them, taxes go up as the war goes on longer than expected and the kingdom needs to draw more troops. Bandits and monsters start showing up around the countryside as troops start to dwindle, the area is becoming unsafe to operate in and taxes are driving down profits. You could wait out the war hoping life gets back to normal after one becomes victorious. You could also choose to move to a new city, but that would mean making new friends and buying new property. Or you could decide to simply live outside far away from these troubles and let the world get on with their troubles.

The kingdom controlling our city is raising the taxes in order to support more troops.

news.jpg


Keep up with whats happening by looking at the news board's within cities, or pay a mail courier service to deliver the news to your home. Want to keep up with whats happening in the next city over? Get mail delivered from there too.


The seasons change opening up more possibilities for exploration and events.
snoww.jpg


​
Living your Life

Risen kingdoms allows you to be dropped off randomly within its dynamic world, from here you can decide on where you want to go and what you want to do. The entire game revolves around days passing, all these complicated parts of the world move on while you sleep (This means the game runs perfectly fine even with a huge dynamic world). So what incentivises you to sleep? Action Points.

Every day you are provided action points to use on whatever you want, farming for example requires 2 action points to setup a field and then 1 action point to maintain the field every day. Considering you start the game with 5 action points maximum, this is a fairly expensive investment. You can recover action points once a day by eating, the better the food the more action points are restored. Eating also allows you to recover all of your action points when you sleep, so you'll want to eat at least once a day.

There are numerous ways to increase your max action points so as the game goes on you'll be able to fill your days with more and more actions. You can also hire staff to help you so you wont have to use your own action points maintaining your fields and so on.


snoow.jpg


​
Living life outside of cities, tending your fields and raising livestock, making friends, not worrying too much about whats happening elsewhere in the world can be relaxing and fun. But if its not your thing, why not move into a city, buy up some businesses, purchase a nice mansion, live the good life. If you still want more, why not get involved in politics and persuade kingdoms to take certain actions. Think you can win a war against another kingdom? Start pushing for one, help your kingdom grow to take on other forces.

Buying homes gives you access to the land around it to farm. you can also move your family in who will help with chores.
estate npc.jpg


​
Dynamic Npcs
Most npcs in the game are fairly static, They'll run shops, close up at night, try to stay out of the rain and so on. Dynamic NPC's can move into different cities, be befriended and married with various benefits.
example1.jpg



Development Progress:

Implemented:
  • Dynamic Npc's.
  • Kingdom AI.
  • Marriage
  • Farmable fields.
  • Kingdom Taxes.
  • Time / date / seasons.
  • Rentable rooms in inns.
  • Hunger / eating.



npc.jpg

​

The idea of a game set in a living world where wars are fought and things change over time has always been a passion idea of mine, and its awesome seeing it come to life within the rpg maker engine. I'll continue to update my progress within this thread, i hope this project inspires other people with similar concepts.


:MV1:
Thanks for reading!​
Update: Leaders:

exl.jpg

(Old image)​

Leaders present a way for kingdoms to interact with each other and help the world to become more alive. Diplomatic spats and relationship changes now fuel both war and peace within the world.

Leaders can have different personalities, and these personalities are randomly given to the leaders at the point of their kingdoms creation. However new leaders can take over kingdoms over time so expect the kingdoms behavior to slowly change as power switches hands.

ex7.jpg

(Old image)​

Some Leaders can be peace loving, going out of their way to increase their relations to other kingdoms as well as providing bonus events to their kingdoms. while others can be more war focused, concentrating on expanding their kingdoms with more lands and troops.
Static Npc's:

Apart from the special dynamic npc's, most npc's in Risen Kingdoms are static. However just because these Npc's aren't as dynamic as the dynamic npc's doesn't mean they cant have some interaction with the world around them or be useful to the player.
npc ex.png

(Old image)​
Here i have come into this empty store in the middle of a storm, the shopkeeper, although mostly static, will comment on the condition of the weather.

This isn't the only thing she will mention in this scenario, we can see below she is talking about the rate of taxes.

Shop ex.png

(Old image)​

The dialog's static npc's can give you allow you to stay up to date on different events going on casually. Maybe their worried about how a war is going or their confident in their kingdoms ability to protect them, or their shop is closed tomorrow?

Static npc's will have plenty of dialog to keep them fresh throughout the year, they will not only be useful for you to casually keep up with whats happening but they also have personalities and help the world feel more alive.
As a long-time fan of the Civilization series, your gameplay concepts are very appealing to me, and I hope you manage to finish the game someday.

I'm curious about how we can trade or make war with other kingdoms. My only tip is about the random personalities of the leaders. I would suggest that all the leaders have a very clear personality, but that these leaders be randomly assigned to the kingdoms, so that when the player realizes which leaders they are facing, they can adjust their strategy based on these enemy leaders, just like in Civilization.

Good luck with your project!
As a long-time fan of the Civilization series, your gameplay concepts are very appealing to me, and I hope you manage to finish the game someday.

I'm curious about how we can trade or make war with other kingdoms. My only tip is about the random personalities of the leaders. I would suggest that all the leaders have a very clear personality, but that these leaders be randomly assigned to the kingdoms, so that when the player realizes which leaders they are facing, they can adjust their strategy based on these enemy leaders, just like in Civilization.

Good luck with your project!
Hey thanks for the interest! 🙂

If you choose to become a leader of a kingdom, the idea is you'll be able to interact with diplomats and commanders in order to carry out actions such as declaring peace or war or attacking other kingdoms, with the option of face to face meetings with other rulers. I like the idea of offering vassalage to defeated enemies or trade deals to friends in person. I'm planning on adding several starting options when starting a new game so maybe starting as a leader could be an option?

The ai leaders will be full on characters with unique personalities and events, these leaders will be randomly assigned kingdoms at the start of the game. Some games will have different leaders to others which will keep things fresh. There will definitely be a way to tell what personality type a leader is, this information is already stored in the game its just a matter of finding a way to display that to the player. Maybe it will be displayed somewhere when you meet them in person.

Right now with the state of the project, kingdoms are functioning nicely, they attack each other, offer peace, adjust tax rates, manage their troops, take lands / towns from other kingdoms. I'm currently working on dynamic npcs, then some more in-depth life sim elements and i'll work on releasing a demo.
It sounds very ambitious and complicated

I'm impressed that something like that could be made in rpg maker, tbh
Dynamic Npc's:
Introducing dynamic npcs; these npc's will move into towns, work jobs, can be befriended and even married! Friendly npc's can send you gifts and married npcs can help you around the house and more.

Each Dynamic npc is hand crafted and put into a pool of npcs in the world, from this pool they can be selected to move into different towns and have different jobs. Starting a new game will fill towns up with different npc's. Npc's can also move out or into towns as the game goes on. If they move out and into a different town, they'll still remember you if you visit them.

This is Erik, Erik lives in the local town. He's been here since before i took over the local farm.
dynamic npc ex1.jpg

(Old image)

Erik works in the local shop, mostly stacking shelves but he can occasionally be seen on cleaning duty too.

Npc's will work jobs in the town they live in, Erik could move out and another npc would happily move in and take a job.​
dynamic npc.png

(Old image)​

I've decided to become friends with Erik, and occasionally gift him random items.

Npc's can be gifted almost any item in the game, they have items they like and dislike.​
ex6.jpg

(Old image)​

Having high friendship i decided to take it to the next level and proposed.

Npc's will marry the player if their friendship is high enough and their given a special item.​
dynamic ex 3.jpg

(Old image)

Normally friends and npcs will show up to watch 🙂 You'll go to the local town church to marry.​
exx.jpg

(Old image)​

Once married Erik leaves the town and moves into our primary residence with us, he'll sometimes be outside tending to chores, relaxing inside or sometimes he'll even leave the property and do a little exploring.

Using a temp map as a house to demonstrate the system​
ex33.jpg

(Old image)​

ex55.jpg

(Old image)​

Erik is a test dynamic npc but the images above are all from the dynamic npc system, the system is now fully implemented and i will probably be looking at the farming system next. As more things get added i'll add them to the npc chore list 🙂
It sounds very ambitious and complicated

I'm impressed that something like that could be made in rpg maker, tbh
The systems as a whole are quite complicated but once their implemented adding new content to these systems can be pretty fast. Adding more kingdoms / leaders / dynamic npcs can be done relatively easily, and once something is added to one of these systems, its automatically implemented into the world. If i add a new leader, that leader will show up on its own in the world, same goes for npc's.
New Design:
Now that a bunch of the core systems are implemented, I've redesigned the current areas within the game in order to make them a little less, default feeling.

walled towns have drawbridges allowing the player easy access
look.jpg


Purchasing an estate allows you to move your family in if you set it as your primary residence.
estate npc.jpg

Your spouse will help out taking care of crops and other chores within your primary residence.
This estate comes with a moderately sized field, a cozy cottage and a shed.


Winter will came and go, changing the look of the world as well as gameplay changes.​
snoww.jpg


Erik casually restocking the store
Erik.jpg

Dynamic Npc's will take jobs within towns after they have moved in.
​
Apart from redesigning the world, I've also been re-implementing the farming system with some nice improvements such as more sprites and moving a bunch of the mechanics over to java-script. At this point in development, its possible to start with nothing but a field, and go all the way to marriage as well as buying houses.

Now that a basic living world exists with dynamic npcs and kingdoms, its time to start implementing more gameplay oriented mechanics. The inn system will probably on the agenda next, after all, where will you sleep until you have a house to call your own?
Time, Sleep, Hunger and the UI:
Ui new s.png

Your action points as well as your hunger can be seen below the clock in the upper left part of the screen, this section of the screen has all the information you'll need to to stay healthy and on track as you go about your day.

Time:
Risen Kingdoms is a simulated world, time flows forward regardless of what you do, if you don't sleep by 12am you'll collapse and wake up nearby the next day with only a little energy. Throughout the day shops will open and close and dynamic npcs will go about their life's. While you sleep kingdoms will act and the world will continue. You could wake up to a new war with taxes climbing higher, or having your local town taken by a another kingdom.

Hunger:
Your hunger meter will slowly deplete as you play, you can refill it by eating meals of various qualities, eating higher quality meals will boost your hunger above its max value for a time allowing you to go longer without having to eat. If you let your hunger meter reach zero, your action points will instead be taken, and after these reach zero you will pass out.

Hunger is the basic stat driving you forward at the start of the game, you'll need enough resources to survive, eat and sleep. Once you have access to a roof over your head and basic food you'll be able to use your remaining action points to begin making gold to improve your situation.

If you don't own any property you'll be able to rent rooms for as long as you need, its a good idea to buy more time while taxes are low.​
inn.jpg


The world changes as day becomes night.
1733870857338.png
1733870940898.png
1733870908674.png

Its storming outside and I've booked a room for the week, storms make nights darker than usual and so i opt to keep my room light on as i plan my week.​

The time mechanic allows the game world to progress without interruption, while the hunger mechanic gives the player a basic objective from the very start of the game. Once you get access to better quality food, hunger becomes much less of a problem than it is at the start of the game due to the ability to fill the bar above its maximum meter.
This project is fascinating to me, I am super curious on how you are managing some of these advanced game play ideas in RPG Maker. If you have time a video or post discussing it could be pretty cool. Im mostly wondering how the events look for the dynamic NPCs.
This project is fascinating to me, I am super curious on how you are managing some of these advanced game play ideas in RPG Maker. If you have time a video or post discussing it could be pretty cool. Im mostly wondering how the events look for the dynamic NPCs.

No problem! Here's a little run down of how dynamic npcs work. Thanks for the interest 🙂

Pretty much all complicated stuff is accomplished using (VisualStella MZ EventsMoveCore). This plugin allows you to setup local variables for events as well as allowing you to access event data from other maps. This allows you on a basic level to create objects using events. There are pockets of javascript to make things easier but for the most part its done via eventing.

1.jpg

This is what a dynamic npc looks like within the map, the first page is blank while this page simply links back to a sorting page for the linked dynamic npc within our database. In order to give this dynamic npc a sprite and an ID we use another Event that is ran when entering the map, this event checks all the locations marked withe the name "NPC_Casual_Location"and assigns dynamic npc's that live in the town to these locations.

In this event we run through all available npc locations within this map and place our npc into one of them. We then assign all of its information from the database such as sprite data.
1733992947672.png


The ability to retrieve and manipulate event data from other maps allows us to create database maps where we store all the objects we need.
2.jpg


Here we have our dynamic npc's, Erik, Eldrin and Meral. The ID of these npc's in our npc pool is the same as their event ID shown on the side.
3.jpg


Inside these events is all the information the game needs about these dynamic npc's, as well as events for when their working any kind of job within towns, exploring or just casually hanging out.

The page below is ran for each npc automatically when a new game is started, setting up all the variables the npc will use. We will grab information from here as well as edit this information later. You can see we edit their variables using the VisualStella plugin, this is because this page is ran from within a common event, but we still want to interact with this event as if its this event. (More on this in the image after)
4.jpg


This common event first set's up a bunch of basic stats relating to npc's and then goes through every npc in our database and runs its startup page when a new game is started. This means all the information is baked into our dynamic npcs without us having to worry about manually running each one.
1733993708989.png

Each npc being its own event within the database allows each npc to be handcrafted and unique, full of unique dialog and actions. The reason npc's don't exist as simple array's to pull data from is to allow ease of use when it comes to creating new npc's within the rpg maker UI.

1733993423259.png

At the end of setting up our npc we add them to an array, this array holds all the npcs in the game. When a town has empty slots, it can take npcs from this array to move into the town, this is done by taking the npc's out of this global array and placing them into an array held within the town event within the town database. This means we do not need to manually place dynamic npc's into the world, any npc created within this database will naturally move into towns within the world without us having to do anything. Npc's move around the world by moving from array to array. Multiple npc's can exist within the same map as long as they fit within these arrays.

Hope this helps explain things, having databases like this can really open up the possibility of eventing. You could go all out and have event's dynamically created within a database as the game goes on. For example kingdoms used to be dynamically created within their database, if you wanted 99 kingdoms in your game, the database would create them, assign unique information to them and they would begin interacting with the world on their own by pulling and pushing information from these new events via a common event.

Original thread: https://forums.rpgmakerweb.com/threads/risen-kingdoms-a-living-world.173161/