Jibble

There is a new version of the forums ready for testing. Please post here if you're willing to help test! We could also use the help of coders!

Author Topic: TOOL: Dialog Designer - Version 1.3.0 (2017-05-24) - Direct Editor Export  (Read 41079 times)

Re: TOOL: Dialog Designer - Version 1.1 (2010-01-09)
« Reply #20 on: 12 Jan 2010, 18:03 »
Oh, maybe the ability to convert normal dialog speech lines to some other format, like Character.Say calls, during export? That's very much possible with Dialog Designer.
Oh why oh why didn't I find this thread earlier. I just converted all the lines from dialog editor to Character.Say calls in dialog_request.
And on this topic. What about the ability to still use dialog designer after they are converted this way?

Re: TOOL: Dialog Designer - Version 1.1 (2010-01-09)
« Reply #21 on: 12 Jan 2010, 19:20 »
You mean you want to use Character.Say calls in a dialog and have those lines appear in the preview? In that case, I suppose Display calls should be supported as well. I'll think about it.

Re: TOOL: Dialog Designer - Version 1.1 (2010-01-09)
« Reply #22 on: 13 Jan 2010, 14:58 »
What about custom calls. I have a custom speaking function (that's why I had to convert dialogs to function calls).

Re: TOOL: Dialog Designer - Version 1.1 (2010-01-09)
« Reply #23 on: 13 Jan 2010, 15:24 »
That's kind of why there's the ability to convert the lines for export. For example, if you want different lines to be spoken with a different speaking animation you could do this:

1. Create your speech function: Character.SayStyle( string text, SpeechStyle style )

2. Include the style in your dialog lines, for example:
Code: [Select]
ego-eSpeechHappy: I'm happy!
ego-eSpeechSad: Well, not that happy.

3. Write the line conversion regular expressions: (these might be buggy)
Code: [Select]
Search pattern:
(?<name>[^:-]+)-(?<style>[^:]*):\s*(?<line>.+)

Replacement pattern:
  c${name}.SayStyle("${line}", ${style});

Now, the lines will be converted automatically to:

Code: [Select]
 cEgo.SayStyle("I'm happy!", eSpeechHappy);
  cEgo.SayStyle("Well, not that happy.", eSpeechSad);


I don't think it's really worth the extra work to have the ability to define your own custom speaking functions just to support them in the preview, which is exactly why I added the conversion feature. Actually, I don't think it's documented in the help file but the conversion only works if the line format is: "[text]:[more text]".

Re: TOOL: Dialog Designer - Version 1.1 (2010-01-09)
« Reply #24 on: 15 Jan 2010, 03:36 »
Just wanted to say THANK YOU!  This is a great little piece of software and makes dialog writing so much easier.  Keep up the good work!

Re: TOOL: Dialog Designer - Version 1.1 (2010-01-09)
« Reply #25 on: 18 Jan 2010, 19:56 »
Thanks, I'm glad to hear that!

Re: TOOL: Dialog Designer - Version 1.1.1 (2010-02-11)
« Reply #26 on: 10 Feb 2010, 22:44 »
Ah, there's nothing like a cup of bugs in the evening.

I've uploaded a new version that fixes a couple of bugs I noticed a few hours ago. Download v1.1.1!

Changes:
- Fixed crash with empty fields in the variable window.
- Fixed dialog option drag & drop: when dropping below the current place on the same level, the option was moved one place too far.

Re: TOOL: Dialog Designer - Version 1.1.3 (2010-06-12)
« Reply #27 on: 11 Jun 2010, 17:18 »
It's been almost exactly four months since the last update, and after a long hiatus I started working on a game project and discovered a bug, which is now fixed. I've been waiting for an excuse to bump this thread. :)

Here's the new version: Download v1.1.2!

Changes:
- Fixed crash when the same variable was used multiple times in a condition.

-Edit-

Another one! Download v1.1.3!

Changes:
- Fixed isOff being exported to "equals eOptionOff" instead of "not eOptionOn".
« Last Edit: 12 Jun 2010, 21:14 by AJA »

Re: TOOL: Dialog Designer - Version 1.1.3 (2010-06-12)
« Reply #28 on: 14 Jun 2010, 16:53 »
Thanks AJA, this is a great program.

Re: TOOL: Dialog Designer - Version 1.1.3 (2010-06-12)
« Reply #29 on: 31 Jul 2010, 20:45 »
Happy to hear that, RedTalon!

Bug report: It's possible to move a dialog option above or below the "Start" node, which results in an error. Avoid doing that. I'll get it fixed when I can... unless I forget.

Re: TOOL: Dialog Designer - Version 1.1.4 (2010-09-07)
« Reply #30 on: 07 Sep 2010, 12:45 »
Apparently I forgot. But it's fixed now!

Download v1.1.4!

Re: TOOL: Dialog Designer - Version 1.1.4 (2010-09-07)
« Reply #31 on: 22 Jan 2011, 15:23 »
Are you still working on this? I'm using a custom say function, so this seems like something that I should be using, but I do have a few suggestions:

- Add settings so that the defaul option-off after every line can be turned off (I want to turn off options quite rarely, so it kinda sucks)
- Add an option to include the dialog option texts on to the script side. For example I want the character to say the options, but as I'm using a custom Say() function, I have to copy-paste these by hand.

Otherwise seems like a really neat program, so thanks :)

Re: TOOL: Dialog Designer - Version 1.1.4 (2010-09-07)
« Reply #32 on: 22 Jan 2011, 15:55 »
Thanks!

I haven't worked on this for a while since it already did all I needed it to do and was stable enough. And also because not many people seemed to be very interested in it.

- Add settings so that the defaul option-off after every line can be turned off (I want to turn off options quite rarely, so it kinda sucks)

Sure.

Quote
- Add an option to include the dialog option texts on to the script side. For example I want the character to say the options, but as I'm using a custom Say() function, I have to copy-paste these by hand.

This functionality actually exists already but it's quite limited. You can set the option text to be the first line of dialogue (in format character: woot!) by right clicking the script and selecting "Replace title with first line". I'll change it so that the first line can be either anything-here: line or whatever..."line"...and no more quotes after this. Then it should work in most cases.

I have some free time right now, so I'll see if I can fix these pronto.

Re: TOOL: Dialog Designer - Version 1.1.4 (2010-09-07)
« Reply #33 on: 22 Jan 2011, 17:09 »
Done. Automatic option-off can be turned off in the export settings window. Give it a go and do tell if something's not working as it's supposed to.

Download v1.2!

Re: TOOL: Dialog Designer - Version 1.1.4 (2010-09-07)
« Reply #34 on: 22 Jan 2011, 17:46 »
Give it a go...

Yeah, seems to be working nicely. Thanks  :)

Re: TOOL: Dialog Designer - Version 1.2 (2011-01-22)
« Reply #35 on: 25 Mar 2012, 22:56 »
A year has passed since the last post in this topic so I'm not sure if AJA is still around and able to update this.

First of all I have to say that I really like the program. It has lots of useful functions and will definitely make dialog scripting much easier.
However, whenever I export a dialog to AGS the program tells me that it has not been tested with this version of AGS (3.2.1).
The imported dialogs work as I would expect. Still, is there any risk of breaking my game using the dialog editor?

Secondly, is there a way to import a dialog while AGS is running? As far as I can tell you always have to close AGS, then import the dialog, then open AGS again to see the dialog. Are there any other dialog editors that have been fully integrated into AGS' user interface?

Thanks a lot for your work AJA.  :)

Re: TOOL: Dialog Designer - Version 1.2 (2011-01-22)
« Reply #36 on: 26 Mar 2012, 22:29 »
Wow. Someone's using this. Thanks, I'm glad you find it useful! :D

Quote
Still, is there any risk of breaking my game using the dialog editor?
Quote
Secondly, is there a way to import a dialog while AGS is running?

I haven't come across any problems so far but it's a possibility. I don't think there's any problem using it with AGS 3.2.1. The export to AGS function just modifies the Game.agf xml file and adds/replaces dialogs. And if I remember correctly, it makes a backup so if anything goes wrong, no permanent harm is done. That's also why you can't currently export while AGS is running.

Quote
Are there any other dialog editors that have been fully integrated into AGS' user interface?

As I've mentioned earlier in this thread, part of the reason why there's no editor plugin version of this is that AGS editor plugins can't modify dialog scripts. At least I found no way of doing that. Now that the editor is open source, it would be possible to change this but I guess the powers that be must first organize the open source AGS project somehow. :P So yeah, I don't think there are any dialog editor plugins out there yet.

If you find any problems or have ideas for improvement, I'd be happy to see what I can do when I have some time to spare. Though I am a bit afraid of seeing how big of a mess the source code is. :)

Re: TOOL: Dialog Designer - Version 1.2 (2011-01-22)
« Reply #37 on: 28 Mar 2012, 01:33 »
Thanks a lot for your reply and for the information. Nice to see that you're still around  :)

Right now, I'm perfectly happy with how the dialog editor works. So far there have been no errors in the imported dialogs so perhaps you can get around and just release a version which doesn't give the warning on export for AGS 3.2.1 but then again that's not really worth the trouble.

Re: TOOL: Dialog Designer - Version 1.2 (2011-01-22)
« Reply #38 on: 07 Apr 2012, 16:01 »
Quote
Are there any other dialog editors that have been fully integrated into AGS' user interface?

As I've mentioned earlier in this thread, part of the reason why there's no editor plugin version of this is that AGS editor plugins can't modify dialog scripts. At least I found no way of doing that. Now that the editor is open source, it would be possible to change this but I guess the powers that be must first organize the open source AGS project somehow. :P So yeah, I don't think there are any dialog editor plugins out there yet.
You probably tried to change Dialog.Text which is read only.
Dialog.script is editable and changes the dialog (just tried it).

Re: TOOL: Dialog Designer - Version 1.2 (2011-01-22)
« Reply #39 on: 07 Apr 2012, 16:11 »
Another problem was (I was trying to make an importer plugin) that I couldn't add dialogs and update the project tree. The new dialogs weren't even saved with the game. Do you know if this also was because of my stupidity?