Aller au contenu

Photo

Polymorphing and Items


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

#26
Rolo Kipp

Rolo Kipp
  • Members
  • 2 791 messages
<nodding vigorously...>

ShaDoOoW wrote...
Rolo Kipp: I think henesua knows how to work with polymorph.2da, point is that he needs the weapon to be dynamic, while 2da allows to set only one specific and direct value.

A true solution could be a NWNX plugin that can Set2DAString, I think there is one for linux - but its only a theory.

Yup, I *did* realize that, ShadoOow :-) What I'm looking at/for is a way around the limitations...
I mean, besides NwNx, as that also was a parameter of H's question.

At this point I'm wondering what the engine is doing with EffectPolymorph that is blocking equips...
Is it using a completely different object, hence the oPC we all know and love is simply pointing at the wrong thing?
If so, could there be a way to discover the polymorphed object's handle and try equiping that?

I *do* understand that while under the polymorph effect we can not equip items via script (didn't know that before, but I do now). I don't understand *why* (not the reasoning behind it... which I assume is to prevent exploits).

I don't know what the engine is doing that makes a "polymorphed" drow different from an NPC drow. They use the same appearance, with the same animations and the same nodes available, which suggests to me that the engine is using a different object, thereby preserving the original for restoration after the effect is removed. 

It may be that there *is* no way around it, except, perhaps, to set the appearance and manage all the polymorph chores directly instead of using EffectPolymorph. We *do* know *that* is possible. Henesua could set his lycanthrope's appearance to the wererat directly and retain both equipment and spellcasting/scroll use and all those other things that polymorph restricts.

I'd still like to understand *why* polymorph acts the way it does...

<...and making himself dizzy>

Modifié par Rolo Kipp, 21 novembre 2011 - 06:53 .


#27
henesua

henesua
  • Members
  • 3 863 messages

Rolo Kipp wrote...
It may be that there *is* no way around it, except, perhaps, to set the appearance and manage all the polymorph chores directly instead of using EffectPolymorph. We *do* know *that* is possible. Henesea could set his lycanthrope's appearance to the wererat directly and retain both equipment and spellcasting/scroll use and all those other things that polymorph restricts.


This discussion has basically made it clear to me that if I want to allow a lycanthrope PC to still use equipment, then this is the way I should go.

In the meantime I'm simply not going to allow equipment use for lycanthrope PCs which makes some sense, and saves me the trouble of wrestling with the engine.

First however I am rewritting Fallen's system for lycanthropes. I like the idea of an out of control lycanthrope causing mayhem for PCs that have not yet learned to master the beast. And the out of control lycanthrope will kinda be a clone of the PC but with different appearance, different creature weapons/hide, and its own AI.

#28
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
NWN Enhanced has a pretty decent system for NPC lycanthropes that you might be able to cannibalize for PCs.