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  The Underdark Subrace System
Author  unbuddha... et al.
Submitted / Updated  05-13-2007 / 12-30-2008
Category  Subraces
Expansions  Works on all versions
Format  Module Only
Type  Type - Drow
Includes  Custom
Description
This system is based off of the original DAR (ty Demux and Waros) using Leto (ty Dragonsong.. you saved me a lot of time when I was admin'ing). It is the same code used on the server "The Underdark" (a.k.a. "0 - The Underdark").

I've recently ported it over to the new Leto Syntax a la DAR II (ty FunkySwerve). This system supports features the others do/did not:

- Dynamic Racial ability items that level with the PC.
- Template Support (i.e. Drow/Half-fiend .. Half-fiend is a template that may be appended to any defined sub-race. Half-feind is the only template i've implemented to date. Others - half-dragon, vampire, etc. may be added.)
- Password protected subraces, allowing GMs to restrict who gets what and when.
- Prefered-class and ECL support. (I have also included the simple custom XP script used which shows how to hook into these features.)


Disclaimer... There may be bugs. Use this code at your own risk. Yadda Yadda... Back your servervault stuff up (it only takes a second)... yadda yadda... feel free to copy, hack, redistribute at will. Hopefully one of the other subrace systems can benefit from something i've done.. if not, oh well :P

I have included everything you should need to run this including the NWNx executable and associated files. As well as the Leto pluggin for NWNx (v0.24). You _may_ (i recommend) wish to get more recent versions of these support files. They are provided for convenience however

letoscript: weathersong.infopop.cc (while it lasts)
nwnx: Link

DAR and DARII can be found on this site... you just need to search.

Files

NameTypeSizeDownloads
USS.zipUSS.zip
Submitted: 05-13-2007 / Last Updated: 05-13-2007
zip337.73Kb251
files required for the underdark subrace system.
USS.rarUSS.rar
Submitted: 05-13-2007 / Last Updated: 05-27-2007
rar272.33Kb287
files required for the underdark subrace system.
SCORE OUT OF 10
10
1 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 (12):

Posted by unbuddha at 2008-04-27 13:31:34    
sure thing.

Posted by gynko2003 at 2008-04-27 13:26:27    
If is not a problem add me on msn at:
[email protected]
so i can send you the modle and you can view where is the problem...

Thank you very much...

Posted by unbuddha at 2008-04-27 07:43:04    
OK.. I just created a test module using your sub-races as outlined. They work fine for me, I tested both. So your sub-race specifications work as you have them written. Something else must be going on with you. Do you have other characters in your vault... this shouldn't be a problem but it might be. The thing that is confusing me is: you say your feats and attribs (str, dex, etc) get updated fine... those are handled by leto - the skills are actually handled by the NWN engine in-game. So I'm not sure where you would be going wrong. Are you sure you are accounting for the other things that will be affecting your skill points as well... for instance, the test bard i created, I only assigned 1 skill point to 'perform' during creation. But in the character sheet, the character has 8 skill pts for perform. 1(assigned by me) + 2(cha bonus) + 5 (sub-race bonus) = 8. I apologize if this is elementary; but I'm a little confused by what you are describing - if things were giving you trouble I would have expected for it to be the things handled by leto, not the things handled by the NWN game engine.

Posted by gynko2003 at 2008-04-27 00:54:54    
I post 2 subraces code for example:

//Umani
case 1: {
//Infernale:

subrace.enable = 1;
subrace.race = RACIAL_TYPE_HUMAN;
subrace.name = "Infernale";

SetLocalInt(oPC, "STR"+s, 4);
SetLocalInt(oPC, "DEX"+s, -2);
SetLocalInt(oPC, "CON"+s, 2);
SetLocalInt(oPC, "CHA"+s, 2);

SetLocalArrayInt(oPC, "Skill"+s , 1, SKILL_PERFORM);
SetLocalArrayInt(oPC, "SkillMod"+s, 1, 5);
SetLocalArrayInt(oPC, "Skill"+s , 2, SKILL_TAUNT );
SetLocalArrayInt(oPC, "SkillMod"+s, 2, 5);

SetLocalArrayInt(oPC, "AddFeat"+s, 1,FEAT_BLIND_FIGHT);
SetLocalArrayInt(oPC, "AddFeat"+s, 2,FEAT_WEAPON_PROFICIENCY_EXOTIC);
break;
}
case 2: {
//Celestiale:

subrace.enable = 1;
subrace.race = RACIAL_TYPE_HUMAN;
subrace.name = "Celestiale";

SetLocalInt(oPC, "STR"+s, 4);
SetLocalInt(oPC, "DEX"+s, -2);
SetLocalInt(oPC, "CON"+s, 2);
SetLocalInt(oPC, "WIS"+s, 2);

SetLocalArrayInt(oPC, "Skill"+s , 1, SKILL_CONCENTRATION);
SetLocalArrayInt(oPC, "SkillMod"+s, 1, 5);
SetLocalArrayInt(oPC, "Skill"+s , 2, SKILL_SPELLCRAFT);
SetLocalArrayInt(oPC, "SkillMod"+s, 2, 5);

SetLocalArrayInt(oPC, "AddFeat"+s, 1, FEAT_BLIND_FIGHT);
SetLocalArrayInt(oPC, "AddFeat"+s, 2, FEAT_COMBAT_CASTING);
SetLocalArrayInt(oPC, "AddFeat"+s, 3, FEAT_EPIC_IMPROVED_COMBAT_CASTING);
break;
}

Posted by unbuddha at 2008-04-26 18:06:36    
Don't worry about your English. It's not nearly as bad as my Russian or German. I'll try to help you out.

First, it looks like your syntax is correct. You need to make sure you don't have another ArrayInt of the same value... ie.

SetLocalArrayInt(oPC, "Skill"+s , 1, SKILL_PERFORM);
SetLocalArrayInt(oPC, "SkillMod"+s, 1, 5);

"1" (one) would be your array Int here... if you just cut and pasted this from another field you might be over writing memory slots. You would want to increment this so that it is one more than the last skill ArrayInt in that subrace specification.

Also, if you are using uber gear that gives you crazy skill mods that might be your problem too... NWN only allows a max of +50 to any given skill ... but I cant see where you would ever get a -1 skill mod from that like you listed above.

could you post the whole subrace specification from "case xx: {" to the "}"... it would be very helpful for me to see exactly what is going on.


Posted by gynko2003 at 2008-04-26 15:30:33    
lol, sorry for mi bad english...

I try to explain it better, I've tried tgive skill points via script to the subraces of my modulo.

I.e. + 5 spot, +5 listen, +5 concentration etc...

But when it apply the subrace to the PC it applies correctly the appearance, the feats etc.. but the skill points goes mad, it applies +1 or -1 ecc to all the skills. and +4 or +6 or sometimes +3 or +9 but in the script I've write 5...

I've wited this lanes on the test (i report just an example):

SetLocalArrayInt(oPC, "Skill"+s , 1, SKILL_PERFORM);
SetLocalArrayInt(oPC, "SkillMod"+s, 1, 5);
SetLocalArrayInt(oPC, "Skill"+s , 2, SKILL_TAUNT );
SetLocalArrayInt(oPC, "SkillMod"+s, 2, 5);

I've tried to use the example subraces but he makes the same error when applying...

I use it on windows with the leto and nwnx version founded on the subraces system download.

Can you help me? :(

Posted by unbuddha at 2008-04-26 09:58:18    
I'm not exactly clear on your problem. Did you get this figured out? If not, could you try to re-explain it?

Posted by gynko2003 at 2008-04-23 11:50:26    
(Sorry, the code has or +5 to concentration!)

Posted by gynko2003 at 2008-04-23 11:49:17    
I've been experincing problems on assign the skills...

All the skills goes to -1 or to +1 when I don't script this thing....

for example, if I want t give +5 to sport I write:
SetLocalArrayInt(oPC, "Skill"+s , 1, SKILL_CONCENTRATION);
SetLocalArrayInt(oPC, "SkillMod"+s, 1, 5);

But he doesa +6 or +4 and not a +5 andhe gives 1 or -1 tho all the other skills...

Can anyone help me?

Posted by Osvaldus at 2007-07-28 14:01:41    Voted 10.00 on 07/27/07
OK thnx I'll look into it

Posted by unbuddha at 2007-07-28 12:51:32    
I wasn't aware that there was actually a hak for it. So, the short answer is no.

I know there is some good documentation on editing your 2das/tlks and adding them manually. A good resource for an example might be the Mandol-Derith Teleport download available on the vault. I believe there is also a custom content guide that walks you through the process. The thing is I think you may have to create a 2da for each sub-race your create.

Posted by Osvaldus at 2007-07-27 17:48:02    Voted 10.00 on 07/27/07
I was wondering if you would have the link for the haks required to add the spells to the radial menu...I've been looking for something like this for awhile

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 Other


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