• Advertisement
Sign in to follow this  
  • entries
    109
  • comments
    378
  • views
    127926

Cities and NPCs

Sign in to follow this  

117 views

In the last few days I worked at integrating the structures (buildings) in cities. I mean, previously I had jut some functions to add buildings to the map, but they were just a mere collection of objects on a map. Right now, they are part of a city. First, you need to build 10 houses, and then a townhall. After the townhall is built, you can build 'industrial' structures, such as warehouses, docks, shipyards, stores, etc.
For the time being, I've implemented only building houses and townhalls, but the framework for the other structures is done, so it will be a piece of cake (well, sort of) to add them.
Right now, I am focusing on writting some NPC code. Today I hope I will manage to implement a system where I define the type of NPCs (such as which clothes, genders, races, etc.) each type of NPC will be. For example, a blacksmith will wear different clothes than a barmaid, and will also look different.
So the idea is to implement the clothes and such in an xml like format, and when I add an NPC of a certain type, the server will know which clothes, genders, portraits, etc. to use.
I might also add some randomness, like multiple random choices for portraits, skin color, and so on, in order to avoid having all the NPCs look the same.
Sign in to follow this  


7 Comments


Recommended Comments

Not really.
But I _ESTIMATE_ we'll be able to have all the ideas (or most of them) implemented in about 2 years. But HOPEFULLY there will be a playable (limited) version in 1 year or so.

Share this comment


Link to comment
I still haven't figure it out. Is Barren Moon a MMORPG or a single player RPG?

Share this comment


Link to comment
...A MMORPG, with some excellent server support. Why would anyone write a closed source server core and and open source client section for a single-player RPG? :P

Share this comment


Link to comment
Yeah, MMORPG. In fact, will be more of a MMO with RPG, RTS, and "nation building" elements. Plus politics.

Share this comment


Link to comment
It is actually so exciting to see somebody step up to the plate and push the genre to actually do something different :)

I enjoy reading this column Radu :)

Share this comment


Link to comment
Thanks :)
Actually, I am amazed no one (that I know of) tried this before. It's not so hard to design something different.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement