Attack and Defend
Before I got so busy at work, I was able to rework some scripts and create a scenario that was both attack and defend. In a riff on classic RTS style, you must build up your defenses to hold against the attacking computer until you can begin to assault the enemy resource points and weaken their supply chain.
Similar to the previous defense-based scenario you must still position allies to defend your resource points, but you can also choose to have them spawn in a circle on the ground. Any creatures spawned into this circle join your party as henchmen. You can have five at a time and lead them into battle to weaken the enemy defenses.
Custom Feats Instead of Items
Originally I was using items to cast unique powers that fired scripts to summon allies, but I found several issues:
- Having someone targeted would set the location to that target, which could lead to unforseen results.
- Having someone targeted who was out of range would mean that your character would run towards them, which seemed frustrating.
I think I need to take another look at the keys I used in my feats.2da, spells.2da and vs.tlk files so they won't conflict with some of the bigger custom content out there. I've been looking at these two threads, but I haven't made any changes just yet:
- Reserved 2da lines: http://nwn2forums.bioware.com/forums/viewtopic.html?topic=591224&forum=115
- Reserved tlk lines: http://nwn2forums.bioware.com/forums/viewtopic.html?topic=576626&forum=115
One of the last big things I want to do is create a custom UI for tracking your current resource points. These usually tick up at a rate of 10 every 6 seconds (that's two per resource point you hold), and should be updated as you go. Right now this is a standard message to the pc in their message box, but having a UI box that updates whenever a change happens would be a really nice addition.
I've been looking at BB's Music Player UI (see http://nwvault.ign.com/View.php?view=NWN2UI.Detail&id=131). I've got a UI element appearing when I want, but I'm having a hard time figuring out how to get the dynamic variable string to show up. Hopefully, I'll make some headway today.
Otherwise, things are moving along and I hope to have a proof-of-concept release soon!








