Jump to content

Home

neutral prestige class


Denny33142

Recommended Posts

Posted

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

Posted

IIRC, Prestige Classes are hardcoded.

 

Feel free to prove me wrong, but if that is the case, then I don't think that's possible....

 

_EW_

 

Edit:: That wouldn't make me wrong, now would it?

Posted

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;

}

Posted
It is not coded. Don't worry.

Yes, yes it is very much hard-coded... Denny was asking for a new Neutral Presiege class to be made, and we cannot make new Force Using classes, sorry.

Posted

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.

Archived

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

×
×
  • Create New...