Aller au contenu

Photo

Converting Creatures to Player Chars


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

#1
Barnabas2

Barnabas2
  • Members
  • 65 messages
Hi all. It´s been a while, since I looked into this forum last time and since I worked with the toolset, but now I had an idea, I want to work at. For this, I´d like to know, if it is possible, to convert a NPC creature into a player controlled character. The best would be, if a plyer could choose this creature as his char from the beginning of the module.

#2
Loki_999

Loki_999
  • Members
  • 430 messages
I believe there is a tool that will extract an NPC and make it a PC, but it requires some manual work and not something you could do on the fly at the start of the module easily.

You can do things like SetAppearance() or whatever its called, and modify abilities etc, via script. Classes you can also grant/remove, but not sure you can remove first level/class.

Depends on what you are trying to achieve. Are you trying to allow PCs to play monster races or similar or have predefined levels/classes? Then best to supply the module with modified 2das that allow whatever races/classes/etc that you want for it. Pack them up in a HAK and link the HAK to the module.

If the PC needs to have levels, then you can put a trigger on entry that boosts them to the appropriate level, perhaps even supplying which classes and stuff to take... although that may require forcing specific packages through 2das.

#3
Barnabas2

Barnabas2
  • Members
  • 65 messages
What I want to achieve, is that the player could be able to choose a Vampire as a player class, or better could be converted to a Vampire during the game.

#4
Darin

Darin
  • Members
  • 282 messages
Get Mysteries of Westgate...

#5
Loki_999

Loki_999
  • Members
  • 430 messages
That's two separate functions then.

To allow players to choose vampire, you would want to add it as a Race (or class). There is a tool on the vault that allows you to easily create new races, although still some manual work required to finalize things.

Having it as a class would be the easier thing for allowing players to be converted.

What you can then do is create a class called Vampire. Create the appropriate 2das for what feats they get at each level. The class 2da can require a local variable on the player to be set to allow it to be chosen (for examples, see base game NW9 and SToA). So, you can then set a local variable on the player at the appropriate point in the quest, give them enough XP to level up, and let them take Vampire. If its a thing that must happen you can do a check on the PC before they leave the area that they have taken the vampire class. If they haven't, send a message saying they must take. If they used the level up to take a different level, drop them down a level and give them XP again, and remind them to take. Not sure if there is a more elegant way of dealing with it, and you also need to consider whether to allow them to change classes after this.... the only way to prevent them taking other classes would be to edit all other classes so their 2das will not allow them being taken when you have the vampire variable set.

Also, another issue is that the character will not be treated as undead for things like healing or cleric turn ability. For example, the healing spells check racial type. However, via script you can only change racial subtype, not type. So, you're going to either have to edit the heal scripts to check for the vampire class or some other trick. Same goes for turning.

#6
Loki_999

Loki_999
  • Members
  • 430 messages
PS: Race is probably the way to go. I do not know of any way of changing the character used though in a single module.

Would it be possible to have two modules? One which leads you up to the point of becoming a vampire, then the next is where you start as a vampire? With some clever scripting i think you could get the first module to save what items, gold, etc you had off to campaign variables or something. Not something i've tried myself.

#7
Barnabas2

Barnabas2
  • Members
  • 65 messages
Which tool do you mean? I looked around the vault, but didn´t find a tool like this.

#8
Loki_999

Loki_999
  • Members
  • 430 messages
http://nwvault.ign.c...r.Detail&id=116

#9
Barnabas2

Barnabas2
  • Members
  • 65 messages
Thanks for your help so far. The tool you showed me, is nearly perfect. But there are two points, I still need help with: Using the Race Editor tool requires to choose an appearance for the new race. Unfortunally there are now appereances to choose, that compares to my wishes. Is there another tool to customize the appearance? And for the second question: Is there a tool to add a new race banner for the game?

P.S.: For my Vampire, I do not want to change the whole appearance, I want to use a human appearance, but the skin should be pale and the eyes red.

Modifié par Barnabas2, 05 février 2014 - 12:36 .


#10
Guest_Iveforgotmypassword_*

Guest_Iveforgotmypassword_*
  • Guests
I had thought about making a vampire module a long time ago and what I planned to do was see how they added the MotB spirit meter in the game and stick it on the PC when they change, then they'll have to drink blood or die. Then it wouldn't matter what class they were and all the settings I made could be at night which would've save lighting adjustments.

#11
Dann-J

Dann-J
  • Members
  • 3 161 messages
One way you could change the tint colours of the player would be to create a model effect in the VFX Editor (under 'Plugins' in the toolset). That would allow you to change any of a creature's textures (diffuse, normal, tint, or glow map if the creature has one). In this case you'd probably want to alter the tint texture. Setting it to completely black should make the player's skin, hair and eyes pale.

Then you could create a persistent feat that applies the resulting SEF file to the player as a supernatural effect. There'd be a fair amount of scripting and 2DA editing involved. Plus I'm not sure what would happen if you used spells that also apply texture-altering effects (barkskin, stoneskin, etc).

#12
Barnabas2

Barnabas2
  • Members
  • 65 messages
I mean, when you create a new character at the beginning of a new module, you have a view points, where you can customize your char, like Skin-, hair- and eye colour. Unfortunally for the human race, you can´t have a really pale skin, or red eyes, like you can choose for other races. Is there a way to allow the humans to choose from a larger colour scale?

#13
kamal_

kamal_
  • Members
  • 5 258 messages

Barnabas2 wrote...

I mean, when you create a new character at the beginning of a new module, you have a view points, where you can customize your char, like Skin-, hair- and eye colour. Unfortunally for the human race, you can´t have a really pale skin, or red eyes, like you can choose for other races. Is there a way to allow the humans to choose from a larger colour scale?

http://nwvault.ign.com/View.php?view=nwn2ui.detail&id=43

Modifié par kamal_, 08 février 2014 - 05:16 .


#14
Barnabas2

Barnabas2
  • Members
  • 65 messages
Thank you.