Friday, 17 July 2009

0.03 Preview #2 - Atmosphere in the Dungeon

One of the features I'm currently coding for inclusion in 0.03 is customising the message to give more atmosphere in the dungeon. Monsters will speak, and do things, and the combat messages will be much more flavoursome. Here is an except from the message log with highlighted flavour text for Kobolds:

There is a portal leading to the Fortress of Ablach here
You have travelled through the portal to The Fortress of Ablach
You open the door
You open the door
You open the door
The Xvart sees you!
The Xvart critically hits you inflicting 5 points of damage
You hit the Xvart inflicting 5 points of damage
You have killed the Xvart!
You open the door
You open the door
Something close by is alerted to your presence!
The Kobold attacks but misses you
Something close by is alerted to your presence!
The Kobold glares at you with hatred!
The Kobold attacks but misses you
The Kobold hits you but you deflect
The Kobold attacks but misses you badly
The Xvart attacks but misses you
The Xvart attacks but misses you
You critically hit the Xvart inflicting 12 points of damage
You have killed the Xvart!
The Kobold barks loudly!
The Kobold hits you but your armour absorbs the blow
The Kobold hits you but you block
There is a fountain here...
You take a draft from the fountain
You feel something in the fountain!
You drink from the fountain. The water refreshes you
The Kobold attacks but misses you badly
There is a dried-up fountain here...
You see an Elaborate Iron Kite Shield here
You pick up an Elaborate Iron Kite Shield
You have an Elaborate Iron Kite Shield
The Kobold hits you but you deflect
The Kobold glares at you with hatred!
The Kobold says "I'll have your guts for garters"!
The Kobold attacks but misses you
The Kobold says "I'll stick you full of arrows like a porcupine"!
You hit the Kobold inflicting 3 points of damage
You have killed the Kobold!
You see a Opaque Green Potion here
You unwield a Bronze Kite Shield [4, 0]
You wield an Elaborate Iron Kite Shield
It is an Iron Kite Shield [4, +1]!

Eventually, I'd like to have flavour text for the character's own combat as well, for example, warhammers would "smash" and "thump", whereas daggers would "stab" and "slice", and so on.

2 comments:

Jotaf said...

Awesome, this is seriously going the way of computer generated story-telling :) You can go nuts and have flavor text for wounds and all. The same generic system for picking a phrase at random could be used in lots of places...

George said...

This is looking fun. One of my favorite parts of old RPG games are the random comments.

Also those health bars from the other post are sick.