Jump to content

Home

neutral prestige class


Denny33142

Recommended Posts

IS it possible to create a prestige class for players who are neutral? i mean thats something that obsidian should have done. if you can get prestige classes for darkside and lightside why not neutral?

 

a nice mode would be that if you are neutral and level 15 you can talk to kriea and get a new prestige class

Link to comment
Share on other sites

It is not coded. Don't worry. Save code I give you as "c_pc_prestige", compile and put in Override directory. But note that it is standard version of in-game script, you will need to modify it yourself. Neutral aligment is impossible, it is possible to gain Prestige when you have more than 2-3 aligment points.

// Checks the level and alignment of the PC for the Kreia prestige class scripts.
// Had to be done as a seperate script because ran out of conditional slots to do properly.
// Param1 = Level to be checked (inclusive)

int StartingConditional()
{

   // What's the PC level you're checking for?
   int nCompareAmount = GetScriptParameter( 1 );

   // What value does the player have to be equal to or more evil than?
   int nAlignLow = GetScriptParameter( 2 );

   // What value does the player have to be equal to or more good than?
   int nAlignHigh = GetScriptParameter( 3 );

   // What's the PC alignment?
   int nAlign = GetGlobalNumber( "G_PC_Align_Val" );

   // What's the PC's level?
   int nLevel = GetHitDice( GetFirstPC () );

   // If PC's level is greater than or equal to Param1, return TRUE.
   // AND if their alignment is less than Param 2 (they're really evil) or greater than Param 3 (they're really good).
   if ( ( nLevel >= 15 ) && ( ( nAlign <= nAlignLow ) || ( nAlign >= nAlignHigh ) ) ) return TRUE;
   else return FALSE;

}

Link to comment
Share on other sites

Ok, I thought he were talking about changing alignment restrictions... Sorry that I am so uncomprehending. If Denny want to create new class only one way is to replace (For example Sith Assassins) existing class in classes.2da, edit its entries in classpowergain.2da, featgain.2da, cls_st_sithass.2da etc. and replace all "Sith Assassin" entries in dialog.tlk with your own. There is no other ways.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...