• RECRUITMENT
  • FAQ
  • CONTACT
  • SEARCH

Keys of Naand - An isometric 2D RPG

  • about
  • media
  • design document
  • forums
  • devblog
Home › Forums › Programming & Technical › Work

Inventory and item system - programming thread

Jarno Montonen — Fri, 05/02/2008 - 19:46

This is a rather high priority taks and no work on this has been done yet.

Items need to be described within .xml -file(s) or in Python scripts. Check out the Character System -workthread: http://www.keysofnaand.com/content/character-system-workthread for information on the character system.

For the techdemo we need atleast the following functionality (in prioritized order):

Item drops from killed monsters & NPCs:
MINIMUM IMPELEMTATION: When a monster is killed an pre-set item appears to the ground.
ADVANCED IMPLEMENTATION: When a monster is killed pre-set or 'half random' item(s) and a within borders alloted ammount of money will drop to the ground with animations.

Picking up & using items:
MINIMUM IMPLEMENTATION: When a player clicks an wearable item or an weapon on the ground it appears on the character and the old item drops to the ground.
ADVANCED IMPLEMENTATION: When a player clicks an item on the ground it appears to the character's inventory from where player can then equip it, move it or drop it. Possibility to have stackable items and possibility to set the maximum stack size within the .xml-file or Python script.

  • Work
  • Login or register to post comments

I've got a suggestion for

Edwinem — Fri, 05/09/2008 - 08:59

I've got a suggestion for picking up items from dead NPCs: clicking on a dead NPC its inventar could appear just next to the hero's one. Then the player could just take items from the enemy's inventar.

  • Login or register to post comments

That would be one way of

Jarno Montonen — Mon, 05/12/2008 - 11:49

That would be one way of doing it but I think being able to instantly see what's roughly available to be picked up is crushial as you don't want to click on every single monster just to see that there's nothing interesting there.

After talking with the designers the following is what we came up with. I think this solves various problems in rpgs published to date:
-Items drop to the ground as clickable 'icons'
-There's a key to show the names of all the items on ground. These names can also be clicked to pick up the item
-There's a key to instantly pick up all the items in a relatively small range to the player character
-There's a key to open up a loot-window which shows up all the visible items on ground in a list on the left half of the screen. Inventory is shown on the right half of the screen. Mouse overing the items in the list shows the complete stats of that particular item and clicking or dragging and dropping them to the inventory picks them up.

This functionality can be added to this task as final implementation. More important is to get the inventory and item sytsem working as orginally planned in this thread. If this kind of functionality ends up being too hard to implement, which I don't beleive in, we'll obiously have to rethink this.

Thanks Edwinem for arousing this conversation :-)

  • Login or register to post comments

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Active forum topics

  • Changing the game engine
  • Hello from Ivan Xiong
  • The Litmus Test
  • Dialog Tutorial
  • Character System - design thread
more

Recent comments

  • Test map created
    2 weeks 6 days ago
  • Hi Akira, great to hear
    3 weeks 6 days ago
  • Hmm, Irrlicht is really good
    3 weeks 6 days ago
  • level editor
    4 weeks 4 hours ago
  • I definetly don't feel
    24 weeks 3 days ago
  • "x tappoi perheeni ja olen
    24 weeks 4 days ago
  • The test itself is rather
    25 weeks 6 days ago
  • Character System - iteration 5
    27 weeks 1 day ago
  • That would be one way of
    27 weeks 4 days ago
  • I've browsed the web for some
    28 weeks 11 hours ago

Who's online

There are currently 0 users and 0 guests online.

Who's new

  • Souzou
  • choye
  • ivan
  • ratatat
  • osama
  • about
  • media
  • design document
  • forums
  • devblog