Aller au contenu

Photo

Is it possible to create a Specialize Wizard in the toolset?


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

#1
ColorsFade

ColorsFade
  • Members
  • 1 267 messages

I can't see any way to make this happen. The only class selection, when creating the blueprint, is "Wizard".

 

I thought that giving the blueprint the "Starting Package" of Enchanter would do the trick, but that only seems to affect skills/feat selection.

 

Is this simply not possible? 



#2
kamal_

kamal_
  • Members
  • 5 240 messages

I believe the package you're looking for is called "Tim" ;-)


  • Loki_999 aime ceci

#3
Dann-J

Dann-J
  • Members
  • 3 161 messages

You might have to level up the NPC / companion via script in order for the level-up package to do its thing properly. Cleric domains have the same issue.



#4
ColorsFade

ColorsFade
  • Members
  • 1 267 messages

I'm talking about creating the character from scratch. Like from the start. In the toolset. 

 

When you create your own PC at level 1, you can choose a specialist wizard. This is before any leveling happens. 

 

But that option doesn't seem available in the toolset, unless I'm missing it. 

 

@kamal: not getting the reference. 



#5
andysks

andysks
  • Members
  • 1 645 messages

What is the starting package field on the toolset/properties/basics of a creature? If I make a wizard and choose starting package wizard/conjuration, won't that make him a conjurer?



#6
Tchos

Tchos
  • Members
  • 5 042 messages

I believe the package you're looking for is called "Tim" ;-)

@kamal: not getting the reference. 

 



#7
Shallina

Shallina
  • Members
  • 1 011 messages

No you an't create a specialise wizard from scratch on the toolset they are always "generalist"

 

The only way is to assign the specialisation with script in game and set the NPC via script in game.



#8
ColorsFade

ColorsFade
  • Members
  • 1 267 messages

No you an't create a specialise wizard from scratch on the toolset they are always "generalist"

 

The only way is to assign the specialisation with script in game and set the NPC via script in game.

 

Okay, so script it is. 

 

Any pointers on how to do it? I mean, I'm sure I can figure it out, but if someone has a quick-and-dirty on the proper function calls, that would be great. 

 

Also - am I to assume I only need to set this one time, when the NPC is first encountered? (so basically when they are first spawned)



#9
Shallina

Shallina
  • Members
  • 1 011 messages

            SetLevelUpPackage(OBJECT_SELF,203);

 

You need to give them the package corresponding at the specialisation, an donly once is enought.


  • ColorsFade aime ceci

#10
ColorsFade

ColorsFade
  • Members
  • 1 267 messages

            SetLevelUpPackage(OBJECT_SELF,203);

 

You need to give them the package corresponding at the specialisation, an donly once is enought.

 

Thank you Shallina!

 

Really appreciate this. 



#11
andysks

andysks
  • Members
  • 1 645 messages

Shallina, on your example parameters 203 is a padding entry. Is there a reason for it or one just has to use 27-34 which are the wizard ones?



#12
Shallina

Shallina
  • Members
  • 1 011 messages

it's a transmuter on my 2DA.



#13
Shadooow

Shadooow
  • Members
  • 4 466 messages

Im not sure whether this apply for a NWN2, but in NWN1 you can workaroud this via GFF editor (in utils folder) - you will make a creature then find its file in temporary folder that toolset creates and open it via GFF editor, there you can set anything directly which allow you to do this.

 

It should work for NWN2 too as it uses the same GFF structure, if you dont have this tool in your instalation you can get it from vault (GFF Editor modified).



#14
kevL

kevL
  • Members
  • 4 056 messages

oh cool,

I just opened my priestess.UTC in TlkEdit2

and "StartingPackage" looks Like it references Packages.2da ( 2 == Cleric )



#15
ColorsFade

ColorsFade
  • Members
  • 1 267 messages

Resurrecting this thread because I'm not quite there with a solution yet. 

 

I'm attempting to make a companion an Enchanter. I'm halfway there it seems. I've included two photos in this post. The first is a character I created when I started a new game, and clearly she has the Enchanter Spell School. The second is a character I created in the toolset, for my campaign. I have added a bit of scripting when she spawns in an attempt to make her an enchanter, but it doesn't appear to be working as she doesn't have the Enchanter Spell School. 

 

The bit of scripting I've added looks like so: 

 


object doxie = GetObjectByTag("doxie");
if(GetIsObjectValid(doxie))
{
     // Makes Doxie a specialize wizard (Enchanter)
     SetLevelUpPackage(doxie, 30);
}

So here's the character I created through the game:

 

21988842834_ef5f600e4a_z.jpg

 

And here's my module companion: 

 

21990458463_51501ae69e_z.jpg

 

What other scripting do I need to do to set the school correctly? I've tried searching the functions for "school" and only came up with two functions, neither of which allow setting. 



#16
kevL

kevL
  • Members
  • 4 056 messages
Forays indicate: hm.
your basic Wizard blueprint .Utc appears not to get a school. NPC Sand's blueprint doesn't have one, eg. However, Sand gets his own row in Packages.2da, column "School" -- references SpellSchools.2da : #8 Transmutation

you might get it to work by assigning package #30 Wizard_Enchantment (school #4 Enchantment), then doing a fake levelup/delevel ...*


Sand distinctly has School:Transmutation on his character sheet IG.


* assigning the char to the Roster, whether or not added to Party, might help too

#17
Shallina

Shallina
  • Members
  • 1 011 messages

you have to reset the creature XP once the package has been assigned.


  • rjshae, andysks et 4760 aiment ceci

#18
ColorsFade

ColorsFade
  • Members
  • 1 267 messages

you have to reset the creature XP once the package has been assigned.

 

That did it Shallina!

 

SetLevelUpPackage(oCompanion, 30);
ResetCreatureLevelForXP(oCompanion,0,0);
 
Once I used the Reset, she got the Enchanter School. And on next level-up, was prohibited (correctly) from having access to the Illusion spells. 

Way to go. Thanks gang!