This implements some class features as player tools using my Player Tool Framework (which is a required separate download). Currently, only the paladin's detect evil is available, but thieves' tools should be added soon. (After that, I'm open to suggestions and requests.)
Detect Evil: The PC studies the area for a round and is told if evil is present. After a second round, the number of evils and the strength of the strongest is revealed. After the third round, the location and strength of each evil is revealed.
This can be configured via .2da to detect other alignments.
Import version for builders.
The .erf goes in your erf directory, then imported into your module. The other files go in your override directory (merged with an existing .2da, if any).
I wasn't thinking of doing a set trap tool. It might be possible to script, but I recall having problems trying to get a script-created trap into a player's faction (meaning it would be a red trap). Plus the player's interface would be messier than what currently exists.
I just re-enter stealth mode as the trap is set. As long as you re-enter stealth before an opponent's OnPerception fires (a second or so, on average, for NPCs), it's like you never left.
I'm going to pass this along to a builder and see if they might implement it. I would like paladins to be able to Detect Evil.
You mentioned a rogue tool to keep them from falling out of sneak mode when doing stuff. This might not quite fit that area, but it is rather annoying for my rogue to come out of hiding when finished placing a trap. Would one of the tools you are thinking about help that any? As always, Thank you for the time you put into making NWN better for Everyone!
Posted by Inayity at 2009-02-08 11:53:51 Voted 10.00 on 02/08/09
Awesome stuff! Lots of possibilities. Thanks!
Posted by jdeavila at 2009-01-11 16:13:23 Voted 10.00 on 01/11/09
Very nice! - thanks for making this - a great addition to any module! _________________________ Imtherealthing
Giving detect good to blackguards is just a matter of editing tk_playertools.2da (in any text editor). Choose a row for detect good, set the "Script" column to "tk_tool_DetAlign", the "Class1" column to "31" and the "Data" column to "good". You should also set the "Label" column to something descriptive to remind you what that row is for. For example, if this was done to row 2, the result (hopefully not too distorted by the web page) would be:
2 DetectGood tk_tool_DetAlign no yes **** **** **** **** 31 **** good