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,
Sword +1
Sword +2
etc...

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. 

Comments

Popular posts from this blog

Back to Vinland.

I'm going back to my real time tactics project, Vinland 1936.
While working on the other project I overcame the problems which were stopping me from saving/loading the game and also cleaned up the base code a lot.

After a few weeks I'm getting near the the state I was in before.


Infantry are back to their previous state, and vehicles are running OK.
This time I'm going to push ahead with mocking up the combat system though before I work any more on the vehicle builder or graphical aspects of the game.

Map screen designs

I've been working some more on the map window. Right now you can only see the base, it doesn't show items, enemies or even doors on the map yet. These would be decals.


In the top window you can see the modified result of last night's tile based map. It looks good but there are some visual artifacts related to the problems I encountered yesterday, and as well it takes much more code and time to calculate.

The second window uses a cheap trick to fake an beveled look from a smoothed version of the 32x32 map. It uses black to mask unexplored areas.

Finally the third version is meant to look like a had drawn map. I'm using a cross hatching texture to distort it and unexplored areas are shown as blank map paper.

There's going to be a mechanic in game where you need to use some paper every level in order to activate the map for that level. From there it will fill it in automatically. Paper will be pretty rare so it might be worth keeping it safe for the more complex level…

Infantry combat and entering buildings.

I've been working a lot on the game recently and I've nearly rebuilt it to the level it was before. Past that maybe, since now I have the beginning of a working combat system and the ability to save and load the game.


Infantry can now occupy a building. It's quite an abstract representation, since they stay at the door and turn invisible. But they can then fire from one of the windows and take damage from shots at the windows too. I think I've set it up well so that when building damage and destruction is working then the system should continue to work.

For combat I tried some new ideas, but they didn't work out that well. It seems that it's important that viewing range should be further than shooting range. Now shooting range is pegged at 18 units of distance, while viewing range can extend out past that.

In the above image one unit has an officer, so has further viewing range. The other can only see as far as they can shoot, a dangerous situation since the en…