I spent a tremendous amount of time working o...
January 05, 2005 by Adam in NWN2
I spent a tremendous amount of time working on the card game yesterday. It was challenging, but also strangely fun. The most time consuming part was creating an inventory icon for each card. I basically entered a trance and copied and pasted my way to completion. They don't do anything yet and I've yet to create the actual items for each card, but my quick test showed that I was indeed able to take cards and put them in a deck container.
I couldn't help myself and I created four new cards as well. Unfortunately they don't actually work yet, even though I spent a lot of time setting each one up. I forgot all the details that need to be done: creating the card model, the placeable object, the creature, the inventory icon, the data in the script, and finally all the AI evaluation functions for each. It was a good learning experience, though, and I feel much more comfortable with the scripts again.
Today I hope to do some more bug fixing to get the four new cards working. I'm especially fond of an enchantment that's hard on the bigger creatures. They tend to overwhelm the smaller ones, so the new spell should help balance the field a bit. I also want to lay the groundwork for an inventory-based card management system. The current deck management system is ponderous, so I think it will be a nice addition. It should also be more "robust", as the variables on the decks and PC currently vanish at the end of the module.
|