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  



NWN2 ENGLISH MODULES

- Jump to comments -
Name  Module Event Tagged Module v1.01
Author  Kaedrin
Submitted / Updated  01-03-2008 / 01-10-2008
Category  No Story (Ex: Resource, Level ups, etc.)
Module Types  Tutorial
Forum Thread  Link
Scope  NA
Content  NA
TricksTraps  NA
Roleplay  NA
HackSlash  NA
LevelMin  Any
LevelMax  Any
Gameplay Hours  01
Patch  1.11
NWN2Game  All
Description
v1.01

The goal of this module is to give module developers a clean module with the events already registered so that community content will work without any changes needed. This is a starter module that only has the module events set and includes the scripts for those events.

A module does not have a script associated with every event when you create one from scratch. This causes problems for community content that adds new functionality dependent on these events.

I've also included the scripts as a separate ERF file for existing modules.

There are now two versions: The existing Event Scripted Module that hooks up every event for community override and a Basic Event Scripted Module that only has the critical scripts hooked up (and the existing default scripts for the rest).

The 5 critical events are:
On PC Loaded
On Player Equip Item
On Player Unequip Item
On Player Rest
On Player Level Up

***

Module Event Descriptions

On Acquire Item Script - This event is fired each time an item is added to an objects inventory.

On Activate Item Script - This event is fired each time an item is activated in a module.

On Client Enter Script - This event is fired each time a player exits the module (but before he is fully loaded).

On Client Leave Script - This event is fired each time a player exits the module (the module no longer recognizes the object as a player, used for location information).

On Heartbeat Script - This event is the module heartbeat to manange cases that require constant updating (such as the spirit meter and it dropping over time).

On Module Load Script - Handle the big ticket items that only need to happen when a module is loaded (add companions to the roster, spawn in the area the player is)

On PC Loaded Script - This is a critical event and is fire every time the player is "reloaded" back into the game such as area transitions, leveling up, and resting.

On Player Death Script - Handle a custom death system here.

On Player Dying Script - Handle a custom dying script here such as bleeding to death or troll like regeneration.

On Player Equip Item Script - This is a critical event that is fire every time an item is equipped. This can be used for custom feats dependent on what gear you are wearing.


On Player Level Up Script - This is a critical event that is fired each time the player levels up so taht any additional work can be done on the player leveling up (such as granting new spellbook feats, etc).

On Player Rest Script - This is a critical event that is fired each time you rest and is ideal for resetting custom feats to a specific number.

On Player Unequip Item Script - This is a critical event that is fired every time you unequip an item. This can be used for custom feats dependent on what gear you are wearing.

On Player Respawn Script - This event is fired after you come back from death and is typically where a death penalty is assessed.

On Unacquire Item Script - This event is fired when an object is lost/moved from an objects inventory.

Files

NameTypeSizeDownloads
Basic_Event_Scripted_Module_v1.01.zipBasic_Event_Scripted_Module_v1.01.zip
Submitted: 01-03-2008 / Last Updated: 01-10-2008
zip2.62Kb204
The basic starter module with only the critical module events replaced with the new scripts. Non-critical events still have their original scripts (if any).
Basic_Event_Scripts_v1.01.zipBasic_Event_Scripts_v1.01.zip
Submitted: 01-03-2008 / Last Updated: 01-10-2008
zip0.97b189
This contains the ERF with only the critical module event scripts for use in existing modules.
Event_Scripted_Module_v1.01.zipEvent_Scripted_Module_v1.01.zip
Submitted: 01-03-2008 / Last Updated: 01-10-2008
zip4.16Kb286
The starter module with all of the module events set with scripts.
Complete_Event_Scripts_v1.01.zipComplete_Event_Scripts_v1.01.zip
Submitted: 01-03-2008 / Last Updated: 01-10-2008
zip2.08Kb280
This contains the ERF with all of the module event scripts for use in existing modules.
SCORE OUT OF 10
9.75
4 votes
View Stats
Cast Your Vote!
Voting FAQ

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

This shows the module events with the new handlers attached.





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

Posted by Vordan at 2009-02-16 12:00:26    Voted 9.00 on 02/16/09
Thanks for uploading this... very helpful!

Posted by ladydesire at 2008-01-12 18:56:00    Voted 10.00 on 01/12/08
@Kaedrin: going to import the scripts into FRWCC2.

Posted by Aranen at 2008-01-04 23:17:16    Voted 10.00 on 01/04/08
Now if you can only get them to use it in MoW we'd be in good shape. Thanks for your great content and dedication.

Posted by Kaedrin at 2008-01-04 22:46:00    
Aranen: Changing the events to those listed above (using the ERF) will have NO impact on your module. I set those scripts up to call the x2_mod and nw_ calls the *exact* same way as if you had just hit the new module button. The difference being anyone that uses the k_mod scripts can override them and have custom content work (for level up and pc loaded which do NOT have events by default). This module was posted Thursday night and I thought of a way to help make this even better so I'll have a v1.01 up tomorrow (by including a community script call in each event so that ONLY that get override and any custom module changes will not be altered).
_________________________
My Website

Posted by Aranen at 2008-01-04 22:34:18    Voted 10.00 on 01/04/08
A question? Say I am working on a module and have been for a while so I don't want to start new one. I haven't messed with any of the scripts for the event handlers yet and they are all at what ever they start as default. Can I change them to these or will it mess anything else up?

Posted by nicethugbert at 2008-01-04 18:13:17    Voted 10.00 on 01/04/08
NWN2 CEP at conception. :)
_________________________
NTB's Hills and Valleys Vol. 00

Posted by Kaedrin at 2008-01-04 16:07:12    
I'll put a short description of each event in the description section tomorrow.

Those events right now are set up to work *exactly* like a new module but also hook up every event so that custom content can be used with it.
_________________________
My Website

Posted by Melirinda at 2008-01-04 13:54:06    
Thank you for uploading it. Will you be able to explain what each of these scripts actually does (or is there for, etc)?
_________________________
Joinable NPCs in IWD2. I'm *not* kidding!

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

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
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