View previous topic - View next topic |
Author |
Message |
Hajo Demon Hunter
Joined: 30 Sep 2003 Posts: 779 Location: Between chair and keyboard.
|
|
Back to top |
|
|
Hajo Demon Hunter
Joined: 30 Sep 2003 Posts: 779 Location: Between chair and keyboard.
|
Posted: 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: 1626 Location: Decatur, IL, USA
|
Posted: 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.
|
Posted: 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.
|
Posted: 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: 1626 Location: Decatur, IL, USA
|
Posted: 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.
|
Posted: 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: 1626 Location: Decatur, IL, USA
|
Posted: 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.
|
Posted: 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
|
Posted: 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: 1626 Location: Decatur, IL, USA
|
Posted: 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.
|
Posted: 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.
|
|
Back to top |
|
|
Hajo Demon Hunter
Joined: 30 Sep 2003 Posts: 779 Location: Between chair and keyboard.
|
Posted: 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.
|
|
Back to top |
|
|