Hi all.
I've gotten the itch to play NWN again. Actually, it started when a concept came to me and I thought about how to implement it in a game. NWN was an obvious choice because of its ability to create custom modules and scripts.
Anyhow, I wanted to ask if the following concepts might be possible via scripting. I am not a programmer or scripter, but hopefully I can figure this out. What I'd like to know is this...
1. Is it possible to script code that will run a timer countdown and when the timer reaches 0 (zero) the script would teleport the PC and any henchmen, or pets back to a specific starter area?
2. Would it be possible to create an item that randomly spawns in chests or other containers that when used would add time (5 sec for example) to the countdown timer so one can extend the timer as explained in #1 above?
3. The final script I'd need I imagine would be the most complex. Is it possible to...
Have the player enter a doorway that would run a script that would then randomly pull a pre-made area and place the hero at the entrance to the randomly chosen area? This would sort of create a random dungeon or area path for the hero.
The goal is to have the player start in a central area/town then enter a portal to a dungeon challenge "Dungeon 1 (Low Level Challenge)". Upon stepping through the portal the script would randomly pick an area from a list and place the hero at the start location for that area. The countdown timer would then begin and the hero would either have to defeat all the monsters within time, or escape through another portal, or doorway which would then randomly pick another area from a totally different set of pre-made areas.
The goal would be to have the player enter Area 1 (randomly chosen), then exit Area 1 and enter Area 2 (Again randomly chosen by a different set of pre-made areas). Finally when exiting area 2, a script would pick a 3rd and final (BOSS) area for the hero to enter and fight off the spawned boss before exiting back to the town via the exit portal that would appear only after the boss monster is dead.
I know this might not be too complex to create, or perhaps it is. If anyone has any advice that might help me accomplish these scripts I'd appreciate it. I'm especially hoping to find out whether these scripts can be coded in NWN or whether or not they are impossible due to the limitations of the game.
Any help is appreciated. If I can get this scripting part done, I feel I have a pretty cool concept for a module that might entertain players.
Some possible features if the above scripting can be accomplished might be...
1. High Score Tables
2. A multiplayer HUB (City) where players can chat, trade items, etc... before entering one of the many "Challenge Dungeons".
3. A long shot, but perhaps the ability to form a party and have the entire party work together in a challenge. I think this would make the above scripts too complex and thus, I don't think this would be possible.
Anyhow, thanks for reading my post.
John