Aller au contenu

Photo

Dialog(or conversation) concurrency?


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

#1
Kato -

Kato -
  • Members
  • 392 messages
 Hi,

Does anyone know if it's safe to assign many npcs the same conversation file? For instance, all smiths or all traders using the same convo, with of course some checks to determine wich options to display according to situation.

I have scripted a dynamic dialog wich does this in my PW, and I had no problem yet, but I'm still suspicious about the concept...

Thank you!

Kato 

#2
Morbane

Morbane
  • Members
  • 1 883 messages
I doubt that reusing the same conversation in different NPCs or the like would matter - even if they happen to be running at the same time - like it could happen in a PW for instance.

Modifié par Morbane, 13 août 2011 - 03:19 .


#3
Kato -

Kato -
  • Members
  • 392 messages
Sounds good, Morbane, thank you, hopefully you're right!

#4
Shadooow

Shadooow
  • Members
  • 4 471 messages
Its safe, easy to make for your world builders and it save resources. Definitely good concept.

#5
Kato -

Kato -
  • Members
  • 392 messages
Thank you Shadow!

#6
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
It's only safe if you're not using dynamic tokens. If you are, you will need different versions of the same conversation, or they will intermix in potentially troublesome ways.

Funky

#7
Shadooow

Shadooow
  • Members
  • 4 471 messages
AFAIK it should work fine even with custom tokens Funky. For example at least old ATS craft and probably CNR too uses them. And many peoples can craft in different placeables with the same custom tokens used and except occasional glitches where you see something else (believed lags are cause) it works fine.

#8
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
It doesn't. Promise. We had to create 20 mirrored dynamic convos to workaround this issue for our dynamic convo system. The issue revolves around the timing of when the custom tokens are updated.

Funky

#9
virusman

virusman
  • Members
  • 282 messages
Or use NWNX Events instead of tokens to rewrite the convo nodes.

#10
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
The convo system uses nwnx events, to whittle a dozen scripts down to 1, for both conditional and action taken scripts. I don't know if we tried using it to update the nodes or not, though.

Funky

#11
Kato -

Kato -
  • Members
  • 392 messages

FunkySwerve wrote...
The issue revolves around the timing of when the custom tokens are updated.

Oh, that's good to know, thanks Funky.

Modifié par Kato_Yang, 15 août 2011 - 05:48 .