Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: brushfe on Mon 11/06/2007 13:48:01

Title: Position speech portraits
Post by: brushfe on Mon 11/06/2007 13:48:01

Is there a way to alter the Y coordinates of the speech portraits?

Right now when the main char talks to other characters, both portraits are shown very high up on the screen and I'd like to lower them to the center.

thanks
Title: Re: Position speech portraits
Post by: centollo jurásico on Mon 11/06/2007 17:36:54
Well this is my first post, I hope that I don't screw it up!

I don't know a way of changing the position for all the characters, maybe someone more experienced than me knows it. Anyway you can try this:

c.SayAt(c.x-100, c.y-SPACING, 200, message);

where 'c' is the character, 'message' is the text and 'spacing' is the distance you want to set from the character's base to the text.
Title: Re: Position speech portraits
Post by: Akatosh on Mon 11/06/2007 17:42:33
Does that work for speech portraits? I thought it only worked for LucasArts-style speech...
Title: Re: Position speech portraits
Post by: Ashen on Mon 11/06/2007 17:46:52
Yup, as Akatosh points out, that doesn't work for Sierra-style speech, which it sounds like brushfe wants. (Actually, it causes a crash when I try to use it...)

Unfortunately, I don't think it's possible as is. Something like Shade's expression speech module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23339.0), however, mimics Sierra-style and - since it uses GUIs - should allow you to position the portraits and speech wherever you want. Maybe you could modify it, or code your own to work?
Title: Re: Position speech portraits
Post by: brushfe on Wed 13/06/2007 04:12:48

Thanks for your help!

I remember in the Ben Jordan series seeing the portraits lowered, so i wondered if i was missing something easy...

I'll try Shade's expression module, sounds like it'll probably solve my problems.