Author Topic: Conversation Custom Tokens  (Read 324 times)

Legacy_Werkaldegim

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-0
Conversation Custom Tokens
« on: March 19, 2012, 02:12:12 pm »


               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?
               
               

               
            

Legacy_Xardex

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: +0/-0
Conversation Custom Tokens
« Reply #1 on: March 23, 2012, 10:10:11 pm »


               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.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Conversation Custom Tokens
« Reply #2 on: March 26, 2012, 05:52:52 pm »


               

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 .