Aller au contenu

Photo

Troubles Creating a Specialist Wizard Companion in the toolset


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
Sabranic

Sabranic
  • Members
  • 306 messages

I have been trying different methods to create a functioning specialist wizard companion in the toolset and drawing a blank.  It insists on making them a generalist, even when it lists "transmutation" under their school - which of course still leaves me barred from leveling them up as a prestige class that requires a flavor of specialist. 

 

I tried every permutation in the toolset.  I then tried creating a Specialist in the game, and changing the file header and type into a UTC, and then adding it to my campaign folder - but when i called the companion, they were changed from a specialist back into a generalist.  I then did a side-by-side visual inspection of a specialist mage BIC, ROS and UTC in GFF editor to try and figure out where the discrepancy was, and drew a blank. 

 

Not certain how to proceed at this point.



#2
kevL

kevL
  • Members
  • 4 052 messages
Is it possible to create a Specialize Wizard in the toolset?

fancy that :)
  • Sabranic aime ceci

#3
Sabranic

Sabranic
  • Members
  • 306 messages

You just made my night!  I will see if I can make heads or tails out of all of that.  Thank you sir!

 

Boy, quite a bugger in the toolset when it really takes that much scripting just to get Safiya to behave properly.  Although... it's easy to for me to criticize an oversight when I didn't have to plan, write and engineer a massive RPG manufacturing application - on a very unreasonable deadline if what I read about the NWN 2 production timetable is true.  ;)



#4
kevL

kevL
  • Members
  • 4 052 messages
it is. Pitfiends & hellhounds wait at every turn ...

#5
Sabranic

Sabranic
  • Members
  • 306 messages

I finally figured it out, with a great deal of assistance from ColorsFade, who spent a fair amount of time explaining mechanics to me:

// !a_safiya_reset
//
// Resets Safiya's level, identifies gear, adds feats and levels her up.
//
// Sabranic & ColorsFade 3/20/16

#include "ginc_item"

void main()
{

	object eve = GetObjectByTag("eve");
	if(GetIsObjectValid(eve))
	{
        // Makes Safiya a specialize wizard (Transmuter)
        SetLevelUpPackage(eve, 34);
	}
	object oTarget = GetObjectByTag("eve");
		
	// Reset Safiya
	ResetCreatureLevelForXP(oTarget, 0, FALSE);

	// Give Safiya 210000 EXP for player to level her
	object oNPC = OBJECT_SELF;
	SetXP(oNPC, 210000);
	
	IdentifyEquippedItems();
 	
	IdentifyInventory();
	
	FeatAdd( oTarget, 1114, 0, 0, 0 );
	FeatAdd( oTarget, 36, 0, 0, 0 );
	FeatAdd( oTarget, 172, 0, 0, 0 );
}

Many thanks for the patience.