Skip to main content

New tile types.

I've been working on adding some new tile types, and redesigning some old ones.
I've moved stairs up and down from door type tiles to overlay tiles. As I explained in an earlier post, overlay tiles types can be placed on exiting tile types, inheriting some of the qualities of that tile.

A more detailed prefab.

With descriptions.

Some of the tile types have been successful, while others I'm not happy with.  I wanted to add rounded corners to some rooms, but the result, because of the way the code works, just doesn't satisfy. I'll be dropping them for now, perhaps including them as the base wall type in another tileset. On the other hand, details and decorations are just what I was hoping for.

Details can be added to either the floor or a pit. They don't affect movement, and can be used to represent non blocking visual details, such as small pieces of trash, rugs, blood splashes, slime trails, spider's webs etc... on floors. On pits they can be used to represent spikes, large pieces of trash, rocks or boulders, skeletons, or anything else that will liven up an otherwise dull section of dungeon.

Decorations will be used to represent bookcases in a library, pipes in a sewer, fallen rock in a cave, or anything else which can block movement through part or all of the tile.

It might be a pile of bones, or some stacked coffins, anything to break up the space of a large room:

(modified NWN1 content, found online)

Decorations and details will be able to contain lights and perhaps object containers, so in a library you'll be able to search the bookshelves, or in a storeroom you can open some of the crates.

Some tilesets will work differently, so that the "walls" will be open space, while the "floor areas" will be raised areas like in a swamp, or in a crypt, In that case the "pit" areas may be handled like solid brick walls, blocking both sight and movement:

(modified NWN1 content, found online)
I'm going to be writing a simple helper script to quickly generate walkability data for any new tileset. Each tileset will use different rules for how it handles walkability. In some decorations may block sight, in others you'll be able to fly across to another room, or engage in an archery duel with a distant platform.

These other types of tileset will be reserved for later versions of the game. For now I'm just going to be making a single tile set with some visual variations.

I've also been tinkering with the idea of giving clothes to some of the beast men. At the moment they are just copies from another monster, but I'll retexture them properly if I decide to use them. It does help to define the beastmen better in to different roles, such as shaman or scout or whatever.

One thing I've noticed recently is that my old dungeon texture is too high contrast. If you look at the NWN1 tilesets above you'll seer there's not a lot of very dark or pure black lines or details on them. This helps to create a distinction between static geometry, the tiles and dynamic geometry, the monsters and other objects.

In all my screen shots so far it's been rather difficult to distinguish the monsters or players from the background. It's easier when they are moving, but still you can't see as much detail and their silhouette gets rather blurred in to the background.

Simply by reducing the contrast in my old textures I get a much better result:

It's not as atmospheric, but you can see what's going on much better. Hopefully when making the new tilesets I can find some middle ground where I get to keep some details, but don't lose the characters in the background.


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…