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  Variable Driven Scripted Item Handling
Author  Tallman
Submitted / Updated  10-09-2006 / 11-22-2006
Category  Scripting routines
Expansions  Works on all versions
Format  Code Only
Type  Type - Multiple Effects
Includes  None
Description
This began as an attempt to streamline the scripted item handling in my mod to make it more efficient and elegant.
I began to notice that the scripted items in my mod, which is a PW, seemed to fall into one of several catagories. This makes it so one script can handle a whole class of items. To make an item work, all that needs to be done is put the correct varables on the item. When the unique power is used, the module on activate item script looks at the ITEM_TYPE variable and executes the correct generic script which in turn pull the spacific information it needs from variables on the item. Item types include:
KEY � For Master Keys. In our mod, we had master keys to player homes that could make copies for friends and family. Also, the owner could teleport directly to their house.

SUMMON � For Summoning Items

TELEPORT � For Teleport Items

POLYMORPH � For Polymorph Items

CONVERSATION � For Items that run a conversation to provide a choice for other functions.

Once the system is in place, often no scripts need to be written to make a new item. Best of all, items can be manufactured on the fly and muled in by a DM with no update necessary. And it cuts down on redundant scripts that do the same thing with one small difference like teleporting to different places or playmorphing into different shapes.

I hope this makes it easier to create scripted items and keeps your module from becoming cluttered and bloated.

Files

NameTypeSizeDownloads
TM_ScriptedItems.rarTM_ScriptedItems.rar
Submitted: 10-09-2006 / Last Updated: 10-09-2006
rar30.08Kb111
ERF with all the needed scripts, a conversation for an item type and a generic key item used for key copying.
SCORE OUT OF 10
10
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
No Images




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

Posted by Whitethorn at 2006-10-10 08:16:14    Voted 10.00 on 10/10/06
This will make it easier for me to work on my own custom items now. Good work Tallman

Posted by Big_Shoe at 2006-10-09 21:42:39    Voted 10.00 on 10/09/06
I may be biased, but this is superb work. It allows even a novice scripter like me to make powerful items quickly and easily, without filling a module with redundant scripts.
_________________________
Realms Of Destiny PW

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 Modules


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