Neverwinter Citadel Project

Go Back   Neverwinter Citadel Project > The Persistent Worlds of NWN and NWN2! > Custom Content for PWs Forum

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-08-2010, 12:07 PM
DM_Troy DM_Troy is offline
Member
 
Join Date: Jul 2009
Posts: 60
Default Question about Custom Prestige Class / Custom Feat/Variable Prereq

Hi, hoping someone can help.

I am making a Knight prestige class. I want this prestige class to have 2 prerequisites that I need help figuring out/implementing [i already have the prereq feats and skills working in cls_pres_knight.2da]:

First, I have a script built that assigns someone their "reputation" score based [this is a custom script, not nwn2's reputation system] upon entering the module and thereafter gets modified by static quests and by dm's. I want to require that this variable be equal to 60 before a player can select the Knight class.

The nwn2wiki offers the following explanation for doing a variable prereq:
Type Explanation Param1 Param2
VAR Script Variable Variable name 0 set, 1 not set

The name of the variable is called "PC_LEGACY_PTS"

Should I do the following?

VAR "Legacy Points Prereq." "PC_Legacy_PTS" 60

Will this work? Or do I need to have my script create a separate variable that is just binary [0 or 1]. So for example I'd have a script add a variable (something like "PC_AllowKnight")to a pc once PC_Legacy_PTS = 60. Basically I just need help how the variable pre.req. works.



Second: This is an alternative workaround that might work better, but I need help making it work. As an alternative to the above idea, I had the idea of creating a custom feat and adding it to feats.2da. I can make this feat (we'll call it "Worthy of Knighthood" for example) a prereq feat for the 'knight' prestige class, but I want to do it so that players will not be able to select that feat as part of their normal levelup. I.e., I only want DM's to be able to grant the feat. I searched the feats 2da columns and none of them seemed to do this. The idea I had was to make the "Worthy of Knighthood" feat itself have impossible prereqs (like 60 str or something). That way, it would never show up as a selectable feat to players, but DM's could still add it via console (or just a wand we create).

Does anyone know if this will break something else (i.e. giving a feat to a pc in a pw when that pc doesn't have the prereqs)? It won't add any combat or other mechanical functionality besides simply serving as an 'on button' for eligibility for the Knight prestige class.

Answers or thoughts on other ways to do what I'm getting at would be greatly appreciated. Thanks.

Last edited by DM_Troy; 01-08-2010 at 12:09 PM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.