Notice: If the game stops working after an update, it might be a savegame incompatibility. Remove your savegame folder and try again before posting about it.
Registration has an extra hurdle now: There have been advertisement bots, so I added a security keyword to registration. Deal with it.
  0 users browsing Arrested Development. | 1 bot  
Main » Arrested Development » Way to make more than one dialog choice point to a scene
Pages: 1
Posted on 01-07-13, 12:06 am (revision 2)

 

Posts: 29/105
Since: 12-06-12

Last post: 4028 days
Last view: 4009 days
I've run into a bit of a problem while trying to get the intro set up. I have a few places where I would like to have different dialog choices lead to the same scene, but due to the fact that each scene can only have one name-list pair, the only way I've been able to do this is to create dupicate scenes with different id/name/list values. I was wondering if there is already a way to do this that I had just missed, or if it would be possible to create one.

If there isn't already, then what I was thinking was maybe an alias tag of some sort that contains a different name-list pair and registers them to the scene id. Not sure how feasable this would be, but it'd be nice to have something like it and it would make these xml files a lot shorter.

Lead writer on Noxico (and sometimes programmer or designer) <br>
Posted on 01-07-13, 05:16 pm (revision 1)
<i>Prophet of Celestia</i><br>Baka on the streets, senpai in the sheets

Posts: 128/344
Since: 06-08-12

Last post: 1698 days
Last view: 1237 days
Maybe a "listas" attribute?

<action name="foo" listas="Buy it" />
<action name="foo" listas="Break it" />


Edit:
<scene id="multiA" name="(starting node)" priority="high">
<p>lol</p>
<action name="goodbye" />
<action name="foo" listas="Buy it" />
<action name="foo" listas="Break it" />
</scene>
<scene id="multiB" name="foo" priority="high" list="Blorb it">
<p>haha</p>
</scene>


Lists as "Goodbye \ Buy it \ Break it", with keys {"goodbye","foo!1","foo!2"}, letting the part after the ! be stripped away before trying to find it again.

I don't just program Noxico...
Posted on 01-07-13, 05:17 pm

 

Posts: 30/105
Since: 12-06-12

Last post: 4028 days
Last view: 4009 days
Yeah, that would work too. Probably easier to implement as well! Let me know when you get around to hooking it up.

Lead writer on Noxico (and sometimes programmer or designer) <br>
Posted on 01-07-13, 05:18 pm
<i>Prophet of Celestia</i><br>Baka on the streets, senpai in the sheets

Posts: 129/344
Since: 06-08-12

Last post: 1698 days
Last view: 1237 days
It's in the bucket right now.

I don't just program Noxico...
Posted on 01-07-13, 05:21 pm

 

Posts: 31/105
Since: 12-06-12

Last post: 4028 days
Last view: 4009 days
Ha! Good timing on my part then. :awsum:

Thanks for hooking this up.

Lead writer on Noxico (and sometimes programmer or designer) <br>
Pages: 1
Main » Arrested Development » Way to make more than one dialog choice point to a scene