Game Development Community

Dev Diary # 5 : Persistent Inventory done, plus dialogue and "buffs"

by Gareth Fouche · 02/03/2006 (6:20 am) · 0 comments

Haven't had much time this week, but I did manage to get my persistent inventory working. So the players inventory is persistent across missions/areas, it gets saved and loaded etc. The concept is the same as the spellbook I described in my previous post, just modified to handle stacks (multiples) of items, and to allow using of items, removing them, etc. In the process I tore out alot of the standard TGE script inventory, simplifying it a bit (a lot of it is unnecesary now anyway since I've moved the functionality to the code).

I've also added in the RPGDialogue resource, you have to love a resource that useful which plugs into your code so simply, easily and quickly. Kudos to its author.

The other thing I added this week was the Modifier system from the RTS Starter Kit. So now I can apply "buffs" and "debuffs", as they are called in MMOGS. Ie I can apply temporary effects to players. Which has allowed me to add in the "Haste" and "Leap of the Cloads" spells (Is it a bird? Is it a plane? No, its KorK!).

Well, thats it for now, I've got some time scheduled in for the weekend, hopefully I can get some solid development in. Sleep would also be good, he.