Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: chucklas on Thu 12/04/2012 22:30:47

Title: Sierra Style Dialog without portraits
Post by: chucklas on Thu 12/04/2012 22:30:47
I am trying to implement sierra style dialog with portraits with backgrounds.  If I have a minor character that does not have a portrait made, is it possible to make their speech appear in a box like the other characters and not in the lucasarts style?  This seems like it should be simple, but for the life of me I can't find any way to do it.  For those lesser characters, I want to write the characters name at the top of the box with their dialog in the box).  Any help would be greatly appreciated.  Thanks!
Title: Re: Sierra Style Dialog without portraits
Post by: Khris on Thu 12/04/2012 23:52:45
If have never used it but you could try to make a transparent 1x1 gif and put that in a new view, then set that view as the talking view for all the minor characters.
Title: Re: Sierra Style Dialog without portraits
Post by: chucklas on Fri 13/04/2012 00:16:03
Yeah, I thought of that too.  The issue here is that I would like to have their name present on the dialog box at the same time.  That would just give the text with no name.  Then I thought that I could make a "portrait" of just the name, but then it would be detached from the text. 

I would like it to look similar to what I see here ont the right side (king richard)


http://www.hardcoregaming101.net/conquests/conquests.htm
Title: Re: Sierra Style Dialog without portraits
Post by: Snarky on Fri 13/04/2012 02:36:20
DisplayTopBar() gives you most of the functionality you need, but you can only set the Y position (I assume the X is always centered). If that's not good enough for you, you'll probably have to create a custom Say() function as an extender function. That's a little more complex, but still totally doable. Good luck!
Title: Re: Sierra Style Dialog without portraits
Post by: chucklas on Fri 13/04/2012 15:45:44
Yeah, DisplayTopBar is by far the easiest thing to get what I want.  I would assume that when making a speech script for this the lines will get assigned to NARR because it is a Display command.  Any chance there is a way to assign it to a specific character or is that too much to ask?  I guess I could keep track of the lines and record them as the character and label the file as NARR if needs be.