Hey, I'm relatively new to scripting and am trying to create a vampire subrace for my module. I thought it would interesting to make the PCs who choose my vampire subrace Turnable. Is there anyway to change a PCs subrace to Undead to achieve this? or is there another way to go about this?
Making PCs Undead
Débuté par
CanineKind
, sept. 15 2010 08:27
#1
Posté 15 septembre 2010 - 08:27
#2
Posté 17 septembre 2010 - 03:17
If you apply a permanent supernatural EffectPolymorph on a PC with the locked flag set, does the PC still show the old subrace type or the new? Possibly you could add vampire as one of the polymorph forms?
#3
Posté 17 septembre 2010 - 06:16
I could have sworn they put in a SetRace() in the last update, but it seems not, unfortunately.
Anyway, the only way to make a PC *actually* undead is indeed to use a polymorph effect, but that has some nasty side effects like not being able to cast spells (though this can be avoided by adding Natural Spell as a bonus feat to the character somehow - I did it by adding it as an itemproperty to the "skin" they acquire when polymorphed, so it would disappear when the polymorph ends), not, I think, being able to use items or stores, etc.
The turning bit itself is easy, because you can modify the turning script (I forget the name, it's something like "nw_s2_turndead") to treat vampire PCs as undead. However, if you want to "fake" the change this way, you also need to change all other scripts which check if the PC is undead, like the Cure/Inflict spells, Sunbeam and Sunburst, etc.
Anyway, the only way to make a PC *actually* undead is indeed to use a polymorph effect, but that has some nasty side effects like not being able to cast spells (though this can be avoided by adding Natural Spell as a bonus feat to the character somehow - I did it by adding it as an itemproperty to the "skin" they acquire when polymorphed, so it would disappear when the polymorph ends), not, I think, being able to use items or stores, etc.
The turning bit itself is easy, because you can modify the turning script (I forget the name, it's something like "nw_s2_turndead") to treat vampire PCs as undead. However, if you want to "fake" the change this way, you also need to change all other scripts which check if the PC is undead, like the Cure/Inflict spells, Sunbeam and Sunburst, etc.
Modifié par The Fred, 17 septembre 2010 - 06:19 .
#4
Posté 17 septembre 2010 - 07:47





Retour en haut






