Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Bandersnatch on Fri 25/01/2013 02:39:37

Title: Queued Speech Modules Problems!
Post by: Bandersnatch on Fri 25/01/2013 02:39:37
I have tried using both Queued Background Speech modules (by SSH and Monkey_05_06), and neither will work! Getting error messages:

For SSH's module:

Error (line 51): Undefined token 'StrSetCharAt'

For Monkey's module:

Error (line 411): Undefined token 'StopChannel'

Other posts seem to say that Monkey's module works perfectly but it's certainly not here. Anything I need to change?
Title: Re: Queued Speech Modules Problems!
Post by: monkey0506 on Fri 25/01/2013 04:41:36
SSH's module is severely out of date and will likely not work with any versions of AGS later than 2.72. Mine is behind by a couple versions, so you'll have to disable the strict audio scripting in the General Settings pane (for now). It's a simple enough fix, so I suppose that I could take a look at updating to the new-style audio system. Thanks for the report.

Edit: All-in-all it took me about an hour or two, but that's including me being extremely pedantic about my changed formatting preferences (it has been 4 years), updating the documentation, etc. Check out the latest version and let me know if it works for you. :)
Title: Re: Queued Speech Modules Problems!
Post by: Bandersnatch on Fri 25/01/2013 11:15:12
Thanks Monkey, I'll give it a look - so latest version - you mean you've put a new one on the resources page?
Title: Re: Queued Speech Modules Problems!
Post by: Khris on Fri 25/01/2013 11:21:10
No, it's right here:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=23806
Title: Re: Queued Speech Modules Problems!
Post by: monkey0506 on Fri 25/01/2013 23:04:28
Yes, sorry, I should have linked to it. Thanks Khris. :)

Edit: I saw that you had posted in Electroshokker's thread for his background speech module. Just to clarify what you're looking for, are you wanting to create a queue of background speech (e.g., a conversation going on in the background)? Electroshokker's module does not queue the background speech, so if you call the function twice in a row on the same character then only the latter will be displayed. However, mine and SSH's modules don't allow multiple characters speaking in the background at once. So what exactly do you need to do?
Title: Re: Queued Speech Modules Problems!
Post by: Bandersnatch on Sat 26/01/2013 00:09:01
Hey, right now it's simply to get a character speaking in the background with animation so I can keep control during the opening tutorial - so your module is perfect. Got it working this morning and it works great.
Though in future I may need to use the other for its particular uses so it'll be worth importing both modules. Keep up the good work!