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  Opening/Closing Placeables
Author  Borden Ha'elven
Submitted / Updated  08-09-2008 / 08-10-2008
Category  Scripting routines
Expansions  HOTU-1.69
Format  Module and Code
Type  Type - Other
Description
2 Small scripts and 2 custom waypoints that will enable you to make any placeable into a door, gate or moveable obstruction.
First create a copy of the placeable in the Pallete with an integer variable "Open" (set to 0 for closed or 1 for open) and the script db_open_close in it's On-Used slot.
Then position the placeable in the toolset, (I've found putting one in the open & one in the closed positions helps setting the position of the waypoints) change the tags of the open & closed waypoints to suit, copy & paste the location values from the placeables to the two waypoints, delete the unwanted placeable and thats it.
If you want a placeable to auto return to it's start position you simply add an Integer variable called "Auto_Close" and a Float variable called "Auto_Close_Time to the placeable. (Remember to do it in the pallette and update the one in the area.
Setting The following variables will modify the way the placeable reacts on use.

Variable Name | Type | Values | Use

Auto_Close | int | 0 / 1 | To flag whether placeable autocloses or not.
Destroy_Key | int | 0 / 1 | To flag whether the key is destroyed on use.
Locked | int | 0 / 1 | To flag whether locked or unlocked.
Open | int | 0 / 1 | To flag whether placeable is in open or closed position.
Relock | int | 0 / 1 | To flag whether placeable relocks on closing.
Auto_Close_Time | float | (0.0) | Delay before placeable automatically closes.
Destroy_Key_Message | string | Text | Flavour text for destruction of key.
Key_Tag | string | Key Tag | Tag of Key that unlocks placeable.
Fail_Open_Message | string | Text | Flavour text for failing to open locked placeable.

The mini mod gives a few examples to show how to set up the waypoints and variables.

Files

NameTypeSizeDownloads
opening_placeables.modopening_placeables.mod
Submitted: 08-09-2008 / Last Updated: 08-10-2008
mod77.34Kb96
Demo Mod
opening_plc.erfopening_plc.erf
Submitted: 08-09-2008 / Last Updated: 08-10-2008
erf9.23Kb112
Erf file with the 2 scripts and the 2 waypoints.
Readme.txtReadme.txt
Submitted: 08-09-2008 / Last Updated: 08-10-2008
txt1.78Kb166
Instructions for use.
SCORE OUT OF 10
9.69
4 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
No Images




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

Posted by olcottr at 2009-11-18 23:35:32    Voted 9.75 on 11/18/09
Very useful.

Posted by electryc at 2009-02-21 05:45:57    Voted 9.00 on 02/21/09
nice work, tested.

Posted by DeadSomething at 2008-08-14 11:13:59    Voted 10.00 on 08/14/08
very nice for people who arent that much into scripting yet.
I dont need to download, because i already used my own such system before ;)

Posted by The Great Nogard at 2008-08-11 13:27:06    Voted 10.00 on 08/11/08
Excellent Work...Well documented and easy to understand demo module...I think I may have use for this in my current project... :)

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