RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
Is there a visual dialog tree editor out there?
 
Post new topic Reply to topic Goto page Previous  1, 2 
View previous topic - View next topic  
Author Message
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Wed Apr 08, 2009 3:22 pm    Post subject: [quote]

Didn't make that much progress, but at least I got the tooltips done:

Binary/executable:
http://simugraph.gotdns.org/site/misc/diasim/situflow-0_12.zip

Source:
http://simugraph.gotdns.org/site/misc/diasim/situflow_src-0_12.zip

Still need to rework the export format, and the actual simulation is left to do, too. Also the source code is a bit sparse on comments.
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Thu Apr 09, 2009 6:32 pm    Post subject: [quote]

While trying to model a situation flow (continuing the janitor orc encounter), I noticed that the stat input fields besides the response texts sometimes collapse. I've uploaded a version that fixes this problem.

Binary/executable:
http://simugraph.gotdns.org/site/misc/diasim/situflow-0_13.zip

I'll do more testing, and work some more on an example situation flow as showcase.
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1624
Location: Decatur, IL, USA

PostPosted: Mon Apr 13, 2009 1:20 am    Post subject: [quote]

downloading...sorry..I've been having net trouble..
I'll check it out and let you know

(edit)

Okay, I don't see much difference..I do see the tool tips.

I noticed that the pink boxes bottom edges are not drawn correctly.
The edit boxes are overdrawn over the bottom border O_o a little odd.

Still looking forward to seeing this project finished. :)
Keep up the good work Hajo.
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Fri Apr 17, 2009 9:36 am    Post subject: [quote]

I hope I can pick up work on this soon again. Also sorry for the late answer, I was distracted with too many real life issues for a while.

I'll check the overdraw issue. Maybe I had compiled the latest version with Java 1.4 - not sure though, must check, and also check if something else might cause the problem.

While I didn't get to work on the editor, I now and then was thinking about possible scenarios and hit a question:

Should the situation/dialog flows be deterministic, or slightly random? In case of the janitor orc story, there could be two outcomes for the "attack with boot knife" option. Once, the attack succeeds and once it fails - but since this is right after the start of the situation flow, the base values of the simulation do not allow to model such yet. Still there could be a random factor, like 3 in 10 times the ambush succeeds, 7 in 10 times it fails.

This would change the simulation from deterministic and totally predictable to a game of luck, at least a bit.

I don't know if this would be good or bad. What do you think, should such flows be totally deterministic, or is it better to mix in some luck?
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Wed Apr 29, 2009 8:03 am    Post subject: [quote]

Project is on halt currently. I'm sure I'll pick it up again some day, but at the moment I'm busy with other things. I'll post again, once there are news.

I think I'll include the "random weight" for links, though, and another feature that is needed is to have "tags" for situations, that can be used to trigger events in a game engine ... not quite sure about that, but at the moment it seems the most generic approach.
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1624
Location: Decatur, IL, USA

PostPosted: Wed Apr 29, 2009 5:40 pm    Post subject: [quote]

Hajo wrote:
Project is on halt currently. I'm sure I'll pick it up again some day, but at the moment I'm busy with other things. I'll post again, once there are news.

I think I'll include the "random weight" for links, though, and another feature that is needed is to have "tags" for situations, that can be used to trigger events in a game engine ... not quite sure about that, but at the moment it seems the most generic approach.


Ok. :) I know the feeling about being busy with other things...I've got far too much to do...
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Mon Aug 31, 2009 10:06 am    Post subject: [quote]

Hajo wrote:

Should the situation/dialog flows be deterministic, or slightly random?


I've decided for "random". Each link now has a probability field, which tells how likely the following situation is, even if the other constraints match. So if there are several matches, the following situation will be chosen by chance and their probabilities.

More or less just telling that the project hasn't died yet ... also found and fixed a few ugly parts of code.
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1624
Location: Decatur, IL, USA

PostPosted: Mon Aug 31, 2009 2:55 pm    Post subject: [quote]

Sounds good man :)
Glad to hear the project didn't die out.
Make sure there are some "tool tips" on the fields so that one knows what they are for. :D
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Mon Aug 31, 2009 8:59 pm    Post subject: [quote]

Maybe I make the online help a dialog flow in the system itself ;)
Back to top  
Malignus
Scholar


Joined: 12 May 2009
Posts: 198

PostPosted: Wed Sep 02, 2009 2:34 pm    Post subject: [quote]

Um...how am I supposed to run this program? Running the .bat pops open a DOS console, which promptly closes without doing anything. (I'm using Vista x64, which might be a cause of the problem.) This sounds like a cool project, though. :)
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1624
Location: Decatur, IL, USA

PostPosted: Wed Sep 02, 2009 5:07 pm    Post subject: [quote]

Do you have the JRE installed?

Open a DOS console to the path you extracted the .zip to, and
type

Code:

java -classpath dist/DialogSimulator.jar dialogsimulator.editor.EditorFrame



paste here any errors you get.
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Fri Dec 18, 2009 10:23 am    Post subject: [quote]

Lately I was reminded of this project and added a little something that seems to be required for integration with a game engine.

I've Added a "tag" text field for the links. This can take a generic string value to be used by a game engine that interprets the situation or dialog flow, and need to trigger actions on the links taken. I hope a string/text field like this will be generic enough.

Edit - New preview:

http://www.funkelwerk.de/data/diasim/editor_3.png

Edit 2:

Unfortunately the save routines go berserk, and on each loading-saving cycle the file grows, as if the graph was saved multiple times into the file, but after loading I see it displayed only once. This inbuild XML serialisation of Java sure has some pitfalls ... I hope it won't take too long to find the problem.
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Wed Apr 21, 2010 1:52 pm    Post subject: [quote]

I think I have something somewhat usable now:

http://www.funkelwerk.de/forum/index.php?topic=121.msg1096#msg1096

Still very much work in progress.
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Wed Jan 19, 2011 1:04 pm    Post subject: [quote]

I've published the project on SourceForge, under the GPL license. I barely get around to work on it, and I thought maybe the code might be useful for other people, too:

https://sourceforge.net/projects/situflow/
Back to top  
Hajo
Demon Hunter


Joined: 30 Sep 2003
Posts: 779
Location: Between chair and keyboard.

PostPosted: Fri Jul 15, 2011 4:15 pm    Post subject: [quote]

There is now also a download of the executable on Sourceforge. For those who don't want to compile by themselves:

http://sourceforge.net/projects/situflow/files/Situflow%200.18/

And some basic info is in the wiki:

http://sourceforge.net/apps/mediawiki/situflow/index.php?title=Main_Page
Back to top  
Post new topic Reply to topic Page 2 of 2 All times are GMT
Goto page Previous  1, 2 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum