Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN SCRIPTS

- Jump to comments -
Title  Thief Checks - Containers
Author  Tak
Submitted / Updated  09-30-2005 / 11-22-2006
Category  Creature AI
Expansions  Works on all versions
Format  Module and Code
Type  Type - Stealing
Includes  Custom
Description
=======================================
Ok, I completley rehauled this script set. Fixes include such things as making it work, adding every error check I could think of, making it work for multiplayer and PW modules and even leaving it open for scripter/builders to use this script for player owned chests (though that would require customization, but hey I got a template for ya, take a look at it).

A demo module is included this time, check it out.

Ok it's 6:28am and i have work in 7 hours, screw this, i'm pasting the readme file. Good Night, I hope you enjoy..

And once again, feel free to use this in your mods if you wish. But please give me some credit if you do, I worked my ass off trying to make this as easy to use, safe and pw/multi-player compatable as possible.

Suggestions/Comments/Complaints/Voodoo Curses/Ratings all appreciated.
========================================

And now I tell you what the hell the script is.

The basic idea behind this script pack is to give module builders an easy way to
improve NPC AI in regards to thieves/looters.
These scripts react to all attempts to access te contents of the container which
they are loaded into.

You can simply load the scripts onto a container and set a variable on the container
called "owner" which holds the tag of the person the container belongs to.
If someone tries to get into the chest, the "owner" will attack them.

The base script works on a point system. There is a value associated with each of the
8 actions you can perform on the chest which will aggrivate the owner. Once the points
reach 5, they attack.

The actions and points are as follows:
- Open the container (5)
- Trigger the container's trap (3)
- Disarm the container's trap (3)
- Unlock the container (3)
- Damage the container (2)
- Take an item from the container (5)
- Destroy the container (5)
- Physically Attack the Container (Hit/Miss/No Damage) (1)


Now...
That is just the most base usage of these scripts.


OPTIONAL FEATURES:
-Multiple owners
-Set Random Treasure scripts
-Custom point values (listed above)
-Make the owner execute a custom reaction script (template included)


Multiple Owners:
If you want the script to have multiple owners then instead of setting a variable
on the container called "owner", you set variables called "owner1", "owner2", etc..
each with the unique tag of an owner/guard for the container.

Random Treasure:
Set a variable on the container called "treasure_script", the value of this variable
should be the name of the random treasure script you want this container to use (you
can make your own or use the bioware ones, such as "nw_o2_generalhig").

Custom Point Values:
Add these variables (as ints) upon the container, if they are set to 0 the script will
use the default values.
- ttc_open
- ttc_disarm
- tc_damage
- ttc_destroy
- ttc_unlock
- ttc_taken
- ttc_trap
- ttc_attack


Other Notes:
Another additional feature is that if the owner/guard(s) do not see the PC, but
the PC triggers the trap, attacks the container or destroys it, the npc(s)
will look in their direction (duh they can hear that).

Installation:
-Open toolset
-File>Import, The erf in this zip.
-create a container placeable
-rightclick it, properties>scripts>load script set, the ini file in this zip
-you will have to manually load the two scripts for traps under the trap tag
-set a variable on the container called owner (or owner1, owner2, owner3, etc.. for
containers with multiple guards) and make it's value the owner/guard's Tag.

-OR- use the template container (Under Custom>Containers & Switches)


ps: I bet there's a bunch of scripts that already do this, but i didn't bother looking,
just fet like making one and sharing, enjoy.

Files

NameTypeSizeDownloads
Tak_ThiefCheckC3.0.zipTak_ThiefCheckC3.0.zip
Submitted: 09-30-2005 / Last Updated: 09-30-2005
zip44.38Kb291
Zip includes an erf containing the scripts and a container template, a script template ini file and a Demo Module
SCORE OUT OF 10
9.63
2 votes
View Stats
Cast Your Vote!

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

Good ol Rogueington laughing his ass off at the poor stupid paladin who setoff his trap.


Angry little Rogueington gets revenge on the Paladin for breaking his chest.





You Must Be Logged In to Participate.
Comments (5):

Posted by pfassett at 2008-09-22 14:18:43    Voted 9.50 on 09/22/08
Great work, have a question though. I am using this in an NWN 2 mod and when the guard attacks me, he doesn't change his faction. In fact, while he is swinging at me I can try and talk to him and interrupt his swing. Then he stops attacking altogether. Any idea how to get him to totally aggro on the thief?

Posted by NineFires at 2005-10-12 12:14:47    Voted 9.75 on 10/12/05
Nice work pal. Everything works and its clean.
_________________________
Until Dragon Age Comes, maybe

Posted by TakKerna at 2005-10-02 16:06:42    
Not a problem, glad to see it's helping someone out already, hope that works out for you, if you have any problems with this script just drop a line here =)

Posted by TakKerna at 2005-10-01 19:25:52    
Not a problem, glad to see it's helping someone out already, hope that works out for you, if you have any problems with this script just drop a line here =)

Posted by issacjr at 2005-10-01 16:50:26    
WOW I like this It makes My Bank Robbery Idea for a module work out Thanks for the Effort Man.

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Prefab Areas


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters