Aller au contenu

Photo

Conversation Custom Tokens


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

#1
Werkaldegim

Werkaldegim
  • Members
  • 19 messages
Well, how to make a dynamic conversation that way:
I create a blacksmith system, and I would like to change the color of sentences depending on player's blacksmithing skill. And there is another question, how to get from the item forge difficulty level? I treid to set it in item's variables tab, but I would have to make a script for every single item :pinched:. Is it possible to make it from one script, and if so, how?

#2
Xardex

Xardex
  • Members
  • 217 messages
About the difficulty, assuming you store it as a variable on the item I don't understand why you should need to make a script for every item.
e.g. If you use local string...
[quote]if (sVariable=="easy") {...}
else if (sVariable == "hard") {...}[/quote]

As for the dynamic conversation, im not that experienced with it, but if no one else gives a hint, check out this thing called ZDialog. Its supposingly an advanced dynamic conversation system.

#3
_Guile

_Guile
  • Members
  • 685 messages

Werkaldegim wrote...

Well, how to make a dynamic conversation that way:
I create a blacksmith system, and I would like to change the color of sentences depending on player's blacksmithing skill. And there is another question, how to get from the item forge difficulty level? I treid to set it in item's variables tab, but I would have to make a script for every single item :pinched:. Is it possible to make it from one script, and if so, how?


Don't feel bad, my forge is over 8,000 words, many hundreds of lines, and had about 1,500 scripts, that was till I integrated all the scripts together to work the system down to about 120 Scripts, still was a lot of work, whoosh!

Modifié par _Guile, 26 mars 2012 - 04:53 .