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 SCRIPTS

- Jump to comments -
Name  Common Script Library
Author  Pain
Submitted / Updated  03-16-2009 / 03-16-2009
Category  Scripting routines
Forum Thread  Link
Type  Type - General
Format  Code Only
ShowCode  

Select All Text | View Code in separate window
Patch  1.22
NWN2Game  NWN2:SoZ
Description
This is an alpha release of my common scripting library-mainly for discussion and hopefully collaboration. I am at the point where i would never release it if it was finished, and this really could be a useful base using it as is.

This was developed for DungeonEternal.com for our PW originally to bypass bugs in the scripting via complete bypassing of OEI code as much as possible.

In the process i integrated many features and ideas from the PRC, the spell casting framework, ladydesire, the work by kaedrin, and syrus greycloaks spell grimoire to make something that is really a synthesis of quite a few sources.

Now it is has been additionally developed to the point where it supports module development, and allows using simple vars in a module to override how spells work.

Caster levels not what you want, you want to have spells ALL be fire based by that fire mage, or that shadow demon you want to do negative damage with it's fire balls. You want to truly block spells, this blocks the special effects too. Or you want spells in an area to work different to support the various rules for planar travel, that is what this is being developed for.

It also has quite a few options for setting AC caps above +5, or other common things wanted on PW's.

Additional spells, yes they are in here, with many developed by Kaedrin, and Syrus Greycloak, as well as original spells by me are integrated to varying levels of completion. I've included Lady Ashura's VFX, as well as the light additions. I have done reciprocal gyre, arcane lock, chain missle. I have reaving dispel under development.

This is a collaborative release, i am not really the author of it all, and quite a bit was done by the developers of Dungeon Eternal( Seed ), by the PRC consortium, by lady desire, by kaedrin, by numerous entries from the vault for both nwn1 and nwn2.

This release is mainly for scripters, it's got known issues and it's been designed specifically to prevent exploits and make fair PVP possible, but i invite any and all who are interested to download it and take a look.

What it does is quite involved.
Common libraries ( string, math )
Descriptors support
Energy substitution
New SEFs for cones, shields, Auras, and walls of fire.
Special effect lookup functions by damage type and descriptor with support for quite a few shapes of SEF's ( cone from mouth, hand, and chest, aura, walls of fire, impact, saving throw, shield, explode, AOE ).
MVC methodology for modifying spell effects ( do logic in precast, then use vars which are picked up by the spells later, look at TG named scripts which can be put in the on enter and on exit of a trigger which allow the damaqe type to be changed inside the trigger )
Correcting bugs in NWN2 - lots of work arounds
Complete redoing of figuring of caster stats
Seed's dispel magic routine - with options to make it follow SRD rules.
Area tags that store scores to prevent AOE's from going wonky.
VisualEffects.2da revamped so as to allow more constants to work.
Lot's of options to control how it works
Integration with Kaedrins content, and lots of other third party content.
New spells, and reworking of old spells Link .
Prevention of the Spirit shaman bug which allows a 2nd level caster to get 9th level spells and the practiced caster bugs.
New effect removal routines.
Most code has been refactored and cleaned up, OEI spell scripts have been redone, and common bits of code have been moved to functions.

Known issues
Reaving does not work yet
Rabbits and triggering of encounters for teleportation is not fully working yet.
Baleful and Benign teleport are not working.
Syrus spells are semi-implemented, icons work, SEF's are being looked at, and few are really tested.
Many spells still have Dex2 specific implementations - which do not have toggles yet-need to make these only happen if preferences are set.
Using the PRC compiler, not sure what the issues are with the vanilla compiler that comes with the game.
Visualeffects.2da low resolution SEFs not working.
Still needs a lot of testing for the new spells, and probably some tweaking.


I also did not include my module event scripts, which have quite a bit of complicated code more related to cheating than anything else.

Discussion is at the citadel -
Overview
Link
Metamodifier Vars
Link

Files

NameTypeSizeDownloads
CommonScriptLibrary.7zCommonScriptLibrary.7z
Submitted: 03-16-2009 / Last Updated: 03-16-2009
7z256.07Kb194
The core of the library, includes a complete library which avoids almost any usage of Obsisidian libraries, has complete string support, and quite a few utility functions from all over the place.
HookedSpells.7zHookedSpells.7z
Submitted: 03-16-2009 / Last Updated: 03-16-2009
7z1.1Mb143
These are the spell scripts, hooked soas to allow them to use the hooks which allow modification of the spells.
SupportFilesTlk2dasSEFsEtc.7zSupportFilesTlk2dasSEFsEtc.7z
Submitted: 03-16-2009 / Last Updated: 03-16-2009
7z21.1Mb147
These are the support files, 2da's, a custom tlk, icons, and visual effects.
SCORE OUT OF 10
10
2 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
No Images




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

Posted by Drammel at 2009-03-18 16:16:06    Voted 10.00 on 03/17/09
Thanks for the info. So far as my own scripts go I've got the carriage, but no horse. Or rather I want to make a lot changes to how the scripts interact to the xml side before anyone can actually get any functionality out of them. When I get around to that I definitely want to share.

Posted by Drammel at 2009-03-17 15:35:14    Voted 10.00 on 03/17/09
Wow, it isn't St.Patrick's day it's Christmas. Thanks for putting this together.

That being said, if someone wanted to send scripts to add to this, how would you prefer they reach you?

Posted by nicethugbert at 2009-03-17 03:17:01    Voted 10.00 on 03/17/09
NEAT!
_________________________
NTB's Hills and Valleys Vol. 00

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 Original Hakpaks


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