Skip to main content

The pits!

I added the possibility of pits or water to the dungeon yesterday:

I also added some debugging tools to reveal the map on command. I noticed a room sometimes isn't connected. I think it has to do with adding rooms manually. I'll sort that out as soon as possible.

I also have been working on item generation.

Sample output from the equipment generator:
Perlmurite armor
Iron man-trap
Broken, cooked eggs
Brass handbow
Feathered clothes
Hollow, corroded, copper hatchet
Occult, rare, gyium-leather sandals
Rudde-leather cape
Oil stained, white-copper ring
Enchanted, brewed meat
Brewed medicine
Perfect, gyium-leather armor
Awesome, composite, brass handbow
Ivory mace
Magical, akkadi-iron greaves
Fur choker
Old, haldiris greaves
Extended, gyium-leather leggings
Magical, iron hatchet
Magical, perlmurite treasure
Light, bronze, narrow hammer
Animal-hide shield
Occult, gyium-leather belt
Blood stained, grubby, iron throwing-axe
Magical, gold coins
Ruined, spoiled, jellied eggs
Oil stained, lead anklet
Enchanted, haldiris helmet
Brass sword
Cooked elixir
Wool cloak
Splendid, sameun-wood staff
Brass ring of magic resistance
Ceremonial, bent, brass throwing-knife
Oil stained, broken, horse-hair rope
Magical, iron knife
Enchanted, ancient, raw elixir
Plain, oil stained, ruined, brewed elixir
Magical, jellied tonic
Papyrus spell-book
Magical, horse-hair snare-trap
Brewed eggs
Emerald statue
Cooked fruit
Hastily-made, wool boots
Enchanted, gyium-leather buckler
Iron breastplate
Ugly, awesome, bone spear
Magical, copper throwing-axe
Ruined, copper javelin
Ugly, awesome, akkadi-iron spear
Copper throwing-knife
Well-made, ruined, oil stained, broken, bronze chest-key
Perlmurite treasure
Silver tableware
Saltum-glass beads
Ivory dagger
Cloth robe
Bassa-iron helmet
White-copper necklace

Perlmurite, haldiris, akkadi-iron, bassa-iron, sameun-wood, gyium-leather and rudde-leather are the remnants of my earlier ambition to create fantasy materials.
I'm going to leave it up to the player's imagination what these are, rather than spell it out.

The statistics of these objects are based on real world values like density and hardness. So a copper sword compares somewhat realistically to an iron sword. The fantasy materials mostly take real world stats from high tech modern alloys and composites, so they are much lighter and harder than traditional materials.

I think this list is more interesting than:
Sword +1
Sword +2

and it should be fun trying to work out how well one item compares to another.
An ivory dagger is very sharp and can cut through armor and skin with ease. But it's also very fragile and may break on a critical. A copper dagger doesn't hold an edge well, so it won't do much damage, but it's only fragile when compared to an iron dagger.

Some of the examples are a bit much, such as the Well-made, ruined, oil stained, broken, bronze chest-key, but I hope to weed those out before the system is finished.

I intend to have some books or notes in game which will give hints about item properties:
Whilst Nargalium is the Kinge of metals with unmatch-ed hardneff and the ability to hold a sharpe edge 'gainst any amount of 'buse, Perlmurite is the Q'een.
No other material combineth such refilience with such lite weight. A s'ord madeth Perlmurite would weigh but 'alf the weight and keep its sharpneff b'tter than the fin'st iroen blade.
From that you could make some guesses about who should be given a Nargalium  breastplate and who should get the Perlmurite long-sword. 


Popular posts from this blog

Make your game models POP with fake rim lighting.

I was watching one of my son's cartoons today and I noticed they models were using serious amounts of simulated rim lighting. Even though it wasn't a dark scene where you'd usually see such an effect, the result was actually quite effective.

The white edge highlighting and ambient occluded creases give a kind of high contrast that is similar to, but different from traditional comic book ink work.

I'll be honest, I don't know if there's a specific term for this effect in 3d design, since my major at university was in traditional art. I learned it as part of photography.

You can find plenty of tutorials on "what is rim lighting" for photography. It basically means putting your main sources of light behind your subject so that they are lit around the edges. It can produce very arresting photographs, either with an obvious effect when used on a dark subject...

..,or as part of a fully lit scene to add some subtle highlights. See how alive the subject look…

How to... build a strong art concept.

So you want to make some art assets for your game. The first on the list is a Steampunk Revolver for your main character to shoot up Cthulhu with. Quickly opening your internet browser you start with a Google image search. Ah, there is is!

It might be a good idea to find a few influences so you don't accidentally end up copying a famous design.

Just mash them up and you're ready to go! Off to your favorite modeling program.
But wait! isn't there more to building a strong design concept than that?

Of course there is.
One of the diseases of modern design is that of recursion. Everything is a copy of a copy of a copy. This is especially a problem with "historical" concepts. Over the course of that recursive process the concept becomes infected with modern design elements, and ends up looking very similar to everything else that anyone else has ever made.
If you want to come up with a really fresh idea, you have to get beyond secondary references and go look at real …


Ok, so it's not exactly skynet, but I have got my first AI state working, kind of.

The first state is "HOLD" in which case the agent stays in place where they are and shoots at any unit that comes in range. When I started writing this module, I found that the existing method of triggering actions wasn't good enough to allow the AI to choose the best weapon or target. It worked by simply sending a command to the unit to trigger the currently selected action.

If the action is valid, it triggered, if not it didn't.
That's fine for play controlled units, as that's all they need to do. But AI needs to know in advance if the action is valid. The player can get that info from UI feedback, but that wasn't available to the AI player.

There were three problems:

1. The UI feedback duplicated code in the action trigger function. These  two sets of code could get out of phase so that UI feedback was wrong.

2. The action trigger didn't give enough feedback for …