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  Enhanced LevelUp & Events Demo
Author  0100010
Submitted / Updated  08-30-2009 / 03-07-2010
Category  Scripting routines
Type  Type - Other
Format  Module and Code
Patch  1.23
NWN2Game  NWN2:SoZ
Description
This demo module contains scripts and modified GUI files (related to the level up gui screens and other gui callback invoked events) to experiment with various enhancements to the level up routines and gui callbacks that I wish to try out.

Please note that 1.23 patch is explicitly required as it makes use of the new functions provided in that patch.

Also, although I indicate that SoZ is required, that is only because I have only edited the SoZ levelup GUI xml files. One could edit the MoTB or base gui files with the same modifications in order to make it work with NWN2 alone or NWN2+MotB.

NWN2 only gui levelup xml files:
levelup_***.xml
MotB gui levelup xml files:
levelup_***x1.xml
SoZ gui levelup xml files:
levelup_***x2.xml (these are the ones included in the demo mod)

Current Modifications:
The main purpose of this mod is to demonstrate various custom versions of the level-up screens.

Currently customized level-up screens:

The Skills Level-up screen:
one of the advantages of a custom skills level up is to enabled a work around for a bug introduced in the 1.23 patch.

The bug involves using SetBaseSkillRank to create a skill bonus effect, then using SetBaseSkillRank to remove the bonus effect before level up. Skill Levelup would not recognize the removal (lowering) of the skill adjustment via SetBaseSkillRank and would therefore not allow the player to add ranks to the affected skill.

The mod creates a custom version of the skills level up screen which is nearly identical to the existing skills level up screen. It uses gui callback scripts to handle, via scripting, increasing the skill rank during level up, decreasing it, and even use of the recommend button. Adjustments are tracked and applied once the level up process is complete.

This allows for a proper recognition of uses of SetBaseSkill rank prior to entry into the level up process to overcome the bug describe above.

This also means that one will be able to create custom feats which make use of SetBaseSkill rank to emulate skill bonus effect which need not resort to unstackable magical effects.

Custom feat selection level-up screen
This mod also has a custom feat selection level up screen (both bonus and normal feats)

normal pre-req logic is still checked and only those feat which should be available should be displayed.

Feat checking has been enhanced. It is now possible for the GrantedOnLevel and the GrantedPreReq feat to be respected in the cls_feat_***.2da file for feats with a list type value other than 3.

This means bonus feats can have an extra granted prereq restruction which controls whether or not they are displayed, as well as a level restriction, resulting in the ability to have entirely different sets of bonus feats to choose from at different levels.

Also it is now possible to ADD new feat columns which control pre-req requirements.(although code needs to be changed to support such). For example, I have added in support for a MinReflexSave and MinWillSave column which functions similarly to the MinFortSave colum. Now custom content makers can add custom feats which have new qualifying restrictions.



The module also demonstrates three new events: OnPreLevelUp, OnCancelLevelUp, and OnPostLevelUp.
These events fire for both the PC and Controlled companions.


OnHotBarButtonClick event:
I have edited all the gui xml files which allows the player to drag a button onto the hotbar, in order to ID the button type and other pertinent data (such as skillID, featID, spellID, etc) I then track this data by ButtonID, and have added a callback attach to the OnLeftCLick for the hotbar buttons.

This creates an effective OnHotBarButtonClick event, which provides me with the button ID that was clicked. The ButtonID can then be used to look up ButtonData assigned to that ButtonID (name the button type and spellID/SkillID/FeatID, etc info)

So the mod will now display the ButtonType and other Info when you click on a hotbar button.

NOTE: Known issue. Since data tracking only occurs when a button is dragged onto the hotbar, you will get invalid data if you click on hotbar button which were automatically populated with skill/feat buttons upon initial entry into the mod. To fix you have to manually drop them off the hotbar, then replace them by dragging them back onto it form the character info screen.

NOTE, this is still "beta" and I am still in need of testing from players and CC makers, to make sure the feat selections work properly. If you find a situation in which it does not please send me a PM on the bioboards and/or describe the build of the character up to the point of level-up in which you got unexpected results.

Files

NameTypeSizeDownloads
enhancedlevelup.7zenhancedlevelup.7z
Submitted: 08-30-2009 / Last Updated: 03-07-2010
7z4.5Mb178
File contains: EnhancedLevelUp module directory (use open as directory)
*gui xml files have been placed within the EnhancedLevelUp module directory
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 (8):

Posted by kamal at 2010-03-08 06:36:10    Voted 10.00 on 03/08/10
err, vote.
_________________________
Shadow Thief: Crimmor and Path of Evil blog Link

Posted by kamal at 2010-03-08 06:35:49    Voted 10.00 on 03/08/10
Complete redo of core system adding functionality?
"Genuinely Groundbreaking"
_________________________
Shadow Thief: Crimmor and Path of Evil blog Link

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

Posted by Arvirago at 2009-09-14 02:15:38    
Thx a lot, 01000010. I'm searching for free time to dig into this one and restrict spells based on feats or deities.
_________________________
Reino de Aldor

Posted by ladydesire at 2009-09-09 14:32:50    
Looks good so far; will be piecing together a custom character generation and levelup system for NWN2 based on the starting framework in this download. :)

Posted by Caos81 at 2009-09-07 07:10:03    
Downloaded. I'm going to test it tonight.
_________________________
DM Client Extension for NwN2- Inventory & Variables Manager
xSoH - eXtended Sleight of Hand System
DragonLance Italia NwN2 Italian Shard
NwN2xLauncher

Posted by 0100010 at 2009-09-06 20:04:00    
Hotbar hooking is in now, so take a look.

Posted by Caos81 at 2009-09-01 01:25:23    
I'm not trying this since I don't have a real need of it but I'm really looking forward to see the new hotbar hooking system. This would be a great addition for custom skills.
_________________________
DM Client Extension for NwN2- Inventory & Variables Manager
xSoH - eXtended Sleight of Hand System
DragonLance Italia NwN2 Italian Shard
NwN2xLauncher

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 Blueprints


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