A roguelike game inspired by the literature of Jorge Borges, Umberto Eco & Neal Stephenson, and the games Europa Universalis and Dark Souls. URR aims to explore several philosophical and sociological issues that both arose during the sixteenth and seventeenth century (when the game is approximately set), and in the present day, whilst almost being a deep, complex and highly challenging roguelike. It explores questions of philosophical idealism, cryptography, linguistics and the writing and formation of the historical record, and will challenge players to hopefully think in ways and about themes that are rarely touched upon by games.

Image RSS Feed Latest Screens
New screenshots New screenshots New screenshots
Blog RSS Feed Post news Report abuse Latest News: “Stationary” NPCs – Priests, Guards, Shopkeepers, Jailers, Mercenaries

1 comment by UltimaRatioRegum on Aug 30th, 2015

This week I’ve implemented almost all the “stationary” NPCs. To explain what I mean by this, URR has three “tiers” of NPC: the crowd, the stationary, and the crucial. Crowd NPCs spawn and despawn as the player moves around the world map and are of importance insofar as they demonstrate the demographics of the nation, and you will be able to acquire significant information about the generality of the nation/religion/culture they belong to from them, and they serve also, when in crowds, to illustrate something of that nation’s ideologies (so you’ll only see a crowd with a bunch of people trailing a priest in quite a religious nation, for instance). Stationary NPCs are positioned in locations where there must always be an NPC serving a certain function, but the individual is not of particular important. Examples would be priests in religious buildings, jailers in prisons, innkeeps, guards, and many others. In some cases these individuals will “change” around after time – guards, for example, will be “met” by another guard at a certain point who will then take over the guarding role, i.e. they change shifts – whilst others, like priests, will obviously not change every few hours. Crucial NPCs, meanwhile, are those NPCs who are of sufficient importance to the game and the world that regardless of where the player is, the actions and movements of these NPCs will always be tracked. This category is primarily for NPCs like rulers, religious leaders, inquisitors, heretical leaders, nobles, military officers, and the like. Also, very rarely, what appears to be a stationary NPC will actually be a crucial NPC. Which is to say: in a jail, maybe 95% of the prisoners will be “general” prisoners, but a tiny number might have massive global significance due to their past role in a grand plot, and one wouldn’t know which was which until uncovering a path of clues which lead you to the important prisoner. Ninety-nine out of every hundred priests might be good loyal clerics… but perhaps one in a hundred hides an religious artefact of immense importance in their private quarters?

So, this week it has been the turn of all the stationary NPCs. Here are some examples:

Priests

Priests now spawn in religious buildings and cathedrals. In religious buildings, the priest lives on the top floor and will return there in the evenings; in cathedrals they have distinct rooms on the ground floor to which they will retreat as and when appropriate. For the time being, however, they just spend their time around the ground floor of the cathedral interacting with the worshipers, going about their own worship, etc. There is actually a tiny bug in the below gif – the priest was standing on the same tile at the altar, when they should be standing next to the altar – but I’ve since fixed that, but I otherwise rather liked this gif so decided to stick with it.

User Posted Image


Embassies

Embassies now have clerks and diplomats in them; the clerks are probably going to be “general” NPCs in the embassy crowd, whilst I think diplomats will be assigned to specific areas. The ambassadors for each nation in other nations will be crucial NPCs who will always be tracked separately, so they haven’t been coded just yet.

User Posted Image


Servants/Slaves

Servants/slaves (depending on whether the nation is a slaving nation or not) now spawn and go about their business sensibly in upper-class houses. The houses will also, of course, get visitors in the form of various aristos from time to time, and then later, we’ll get working on the “crucial” NPCs – i.e. the family who lives there – generating properly. Thus, for now, here’s an example of some servants and some general citizens. You’ll note the servants will always stand next to something, either next to a person to serve them, or next to a chair/table/whatever in order to keep it clean and tidy. They’ll sometimes return to their quarters in the basement, and once I get schedules working, they’ll obviously retire there at night.

User Posted Image


Prisoners

In jails (in nations with the Penitentiary ideology) we can now find prisoners in the cells, one prisoner per bed, milling around. As mentioned above, a small number might be someone of particular importance, but it’ll be up to the player to decipher who (if anyone) that might be. Prisoners will also be on release schedules (or at least, the lucky ones will be!) so they’ll be replaced whenever one moves out. I might add some kind of system whereby the different floors of each jail are for different types of prisoner – I’ll think about that going forward.

User Posted Image


Archivists

Below the cathedrals of theocratic nations you’ll find a crypt… and if you explore that crypt, you might come across a room containing the most secret archives of that religion. Right now these are tables without books, as we don’t have book generation yet, but we do now have the archivist, and their guard(s), spawning. Here’s a gif of me finding an archivist in a half-flooded crypt in a city next to the ocean, and then having a look at the archivist, and looking at his religious garment (which you’ll note has grey patterning – as well as “default” robes and the “religious leader” robes with gold patterning I showed last week, I’ve added in a mid-tier version with grey patterning which will be given to people like archivists, abbots, inquisitors etc, who are higher-ranked than the average priest but not the leader(s) of the entire religion). The “Archivist” is depicted with a ‘V’, and the ‘g’s are of course the guards:

User Posted Image

Once books are generating, archivists will be guarding the most important secrets of their religion, so the books behind them will be immensely important to find a way to read…

More Guards

Guards have also been added to several other areas which need them, such as Officers’ Quarters, and Mansions, and various other places, and the guards for now all shout the “Oy, shop that!” placeholder (along with their x/y coordinates) once you walk into their territory:

User Posted Image

Monasteries

I’ve now temporarily (or permanently, we’ll see) removed the “Cultism” religious ideology and replaced it with, for the time being, the far more interesting “Monastic” option, and as such, we now have monasteries spawning. These are structured in the form of a religious building in the middle, a range of paths and vegetable gardens around it, a “loop” of monastic housing in a shape based on the civilization’s spatial preference, with several other important rooms (libraries, dining halls, abbot’s quarters, etc) spaced around the outside (or sometimes the inside). As examples, here we have a map grid containing a monastery (diamond), then the player standing outside one (cross), then inside from the player’s perspective (square) and an absolute perspective in the same monastery (circular) – note of course that all the wall in middle and edges of the fourth picture is not actually wall, since outside the monastery is where the vegetable garden is, but all the spare space in an “interior” map is just filled in with wall:

User Posted Image


User Posted Image

User Posted Image

User Posted Image

Next Release?

I find myself with a quandary. Everything to do with NPCs and their schedules, behaviour, appearance, etc, will be finished, at the latest, by the end of next month. However, one will not be able to interact with NPCs at this point: there will be no conversation system. At this point my intention is to continue working on this release until the conversation system is fully implemented and as deep/detailed as I want it to be, and thereby make this the largest (in terms of time invested) release URR has ever had, so looking to release in Oct/Nov. As the first gameplay release, this seems appropriate on some level – I want the first gameplay release to have a lot to do (or at least a lot of people to talk to!) rather than a little. On the other hand, I do strive (with mixed success) to release new versions as rapidly as I can. So: what does everyone think? Right now I feel I’d rather save up both NPCs and conversations for one massive first gameplay release, rather than make NPCs 0.8 and conversations 0.9, as I think a world full of NPCs you can’t interact with will feel rather peculiar… but I’d like to hear your thoughts.

Next Week

Next week… I have no idea. Something involving NPCs in some way. See you then! In the mean time, you can keep up to date on my devlog, Facebook page, or Twitter!

Post comment Comments  (80 - 90 of 131)
dawixx
dawixx Jul 10 2012 says:

It crashes very often. Mostly when you reach a place that game needs to load, after pressing Enter game crashes without log or error.This makes game almost unplayable. Another annoying crashes are ones during combat like:
"NameError: global name 'self' is not defined
Traceback (most recent call last):
File "alphatime.pyw", line 60819, in <module>
File "alphatime.pyw", line 53606, in place_menu
File "alphatime.pyw", line 41588, in options_menu
File "alphatime.pyw", line 53612, in place_menu"
Also Quitting doesn't work.

+1 vote     reply to comment
UltimaRatioRegum Creator
UltimaRatioRegum Jul 10 2012 replied:

You'll have to give more info than that on the crash; that doesn't show the actual crash. Also, I've never had issues on Loading screens, and nobody else has reported any. Does it still happen in 0.1.2 (just uploaded)? If so, I'll need more information, as nobody else is getting loading problems.

+2 votes   reply to comment
dawixx
dawixx Jul 10 2012 replied:

Yes it still happens on 0.1.2. During this loading screens with tips and quotes and with ones with "Saving/loading chunks" or something like this. It happens like 10% of time. The combat crashes occured twice. Once while fighting a cyclop, i think i cut his leg off or at least broke ant then choosed to attack his torso, then game crashed and that was in the log. The second time was when i started the game near the dragon and he killed me. Instant crash after pressing Esc. Without logs or something. In this verision hovewer I've experienced this:
"Assertion failed!
Program: D:\alphatime.exe
File: src/console_c.c
Line: 220
Expression: dat != ((void *)0) &&(unsigned)(x) < (unsigned)dat -> w && (unsigned)(y) <(unsigned)dat -> h"
Also I've noticed there are far too many equipment just lying around in this new version.

+3 votes     reply to comment
UltimaRatioRegum Creator
UltimaRatioRegum Jul 10 2012 replied:

Ha, whoops! I forgot to change weapon spawning back (I'd only done that for testing purposes). I'll make a change at once...

Anyway - that's weird. So it crashes on both the Loading and the Saving/Loading Chunks screen. Do those leave a log? Anyway, I can't figure out why that might be, but thanks for letting me know, I'll look into it.

+2 votes   reply to comment
dawixx
dawixx Jul 10 2012 replied:

No, they don't leave a log. Maybe my PC is just weird exception or maybe memory issue. Anyway It's nice that you are taking care about game, working on all those problems, replying to all that comments :)

+2 votes     reply to comment
UltimaRatioRegum Creator
UltimaRatioRegum Jul 12 2012 replied:

You're very welcome :). I've found the cause of the problem, and it'll be fixed for 0.1.3 on Monday!

+3 votes   reply to comment
AFellowStalker
AFellowStalker Jul 9 2012 says:

Alpha is good so far, I take it most of the skills are currently useless?

+2 votes     reply to comment
AFellowStalker
AFellowStalker Jul 9 2012 replied:

Just crashed after trying to press enter on an oasis, could not get the crash log.

+2 votes     reply to comment
UltimaRatioRegum Creator
UltimaRatioRegum Jul 9 2012 replied:

Yes to your first question (they are going to be *seriously* reworked in the not-too-distant future), and huh - that's a new one. Give me a shout if it happens again!

+2 votes   reply to comment
knight133
knight133 Jul 8 2012 says:

Will we be able to build ships

+2 votes     reply to comment
UltimaRatioRegum Creator
UltimaRatioRegum Jul 9 2012 replied:

In the long term, yes, absolutely, and they will take up multiple squares (like large creatures do).

+3 votes   reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Ultima Ratio Regum
Platform
Windows
Developed By
UltimaRatioRegum
Engine
Custom Built
Contact
Send Message
Official Page
Ultimaratioregum.co.uk
Release Date
TBD
Game Watch
Track this game
Share
Style
Genre
Roguelike
Theme
Realism
Players
Single Player
Project
Indie
Boxshot
Boxshot
Twitter
Embed Buttons

Promote Ultima Ratio Regum on your homepage or blog by selecting a button and using the embed code provided (more).

Ultima Ratio Regum
Ultima Ratio Regum
Statistics
Last Update
2 days ago
Watchers
485 members
News
116