Monday, August 25, 2008

Done with Small Stuff

Well, I'm going to start tackling the bigger coding tasks of the game between today and tomorrow. Until this point it's been relatively easy small features (except for maybe the lag-proofing mechanics), but I will say the interface feels much more polished than it ever has before. I especially like being able to move using the mouse instead of the arrow keys or WASD (they are still available though if you prefer them.

Stand by for updates (might be soon or might be a day or two depending on how implementation goes). Today's tasks are:
  • Add attributes to weapons: Speed, Damage, Damage type
  • Add attributes to objects: Weight, Durability
  • Add attribute to Character Stats: Burden
  • Make all Melee / Missle attacks be affected by the weapon being equipt by the user. Including attack speed and base damage.
It's a pain the way objects on the map are stored pretty much exclusively on the server (the client has to query the server if you so much as click on what you think is an object on the map because the client only see's it as a graphics ID and not an object ID)!
So, I might be re-writing some of the client-server framework a bit too, in order to keep information synced up between client and server more.

More tooltips

Added tooltips that pop up above the (now semi-new) mini menu box. The tooltips are loaded from the language pack INIs and thus fully support multiple languages. To add the tooltips to another simply add the following type of entries to the end of the
.ini file found in the "../Data/Messages/" folder:
    [TOOLTIPS]
    1=Open up your Inventory of Items
    2=Open up your personal Spell Book
    3=Open up your Quest Log
    4=Open your Character Stats page
    5=Open the Skills Menu
    6=View / Change what equiptment you are currently using
    7=Change your preferences
    8=Leave Drasil


I figure the least we can do for non-english speakers is having some explanations of the most essential things in their native language. =)

Assess Window

Well, added a few small tweaks like mouse-over name and health/mana display with gradients. Also added an 'assess item/player/npc' window that pops up when you double click on something and shows various stats depending on what you clicked you.
I know it sounds simple but because of the way it has to pull the data off of the server it was a little bit of work to get it working just properly, nothing too pain-staking though. See screenshot: