Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: DeadlyJynx on Wed 12/05/2004 19:04:50

Title: Sq6 style GUI!!how can i make it like that???
Post by: DeadlyJynx on Wed 12/05/2004 19:04:50
ive tried to look for it in the manual but i cant find it so im posting here..
how can i make a Sq6 style GUI!!
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: .. on Wed 12/05/2004 19:51:28
More information? For people who haven't played SQ6 like me ;) What kind of inventory/ interface etc.. I'm sure there is a way...
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: TerranRich on Wed 12/05/2004 20:51:18
Of course it's not in the manual. Have you even tried it, NOOBalator?
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Moox on Wed 12/05/2004 20:52:57
download the sq6 template from the account frozen site


Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scummbuddy on Wed 12/05/2004 21:04:37
They were referring to this site. http://www.freewebs.com/skimbleshanks/index.htm

but for now and until, apparently, the ninth of the next month. check back there if you can wait that long.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: LordHart on Thu 13/05/2004 04:51:19
Isn't it just the same kind of interface as the other SCI VGA Space Quest games? Therefore, exactly what AGS has as default, but without a whole lot of colour... ::)
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Lazy Z on Thu 13/05/2004 22:18:03
You can download the SQ6 template from this site:
http://www.btinternet.com/%7EctswIN/templates/SQ6GUI.zip
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Fri 14/05/2004 23:17:07
All the GUI's on that site are in *.agt format. I, being new to this community, assume this was a previous version of a GUI format file. However, the current version does not seem to be able to open it. I have been interested in getting my hands on a SQ4 GUI as well (which is on the site). How are these GUI's used?
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scorpiorus on Fri 14/05/2004 23:29:47
It is a template file. Simply copy it to the AGS folder and start a new game. You'll see another choice in addition to default game one.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Fri 14/05/2004 23:34:56
Thanks. Now I don't have to make it myself. It was really getting to be a pain taking 27 screenshots from one computer and moving them to a second computer to use them in AGS.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Darth Mandarb on Sat 15/05/2004 01:00:43
GOOD LORD could your signature be more obnoxious?!?! (there's a restriction on banner sizes in sigs ... it's right above the place where you entered the information for your sig)

Space Quest VI had a great GUI.

I always prefer making my own GUIs, but if you have to borrow one, that's a good one to take!

Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Sat 15/05/2004 02:59:05
Oh is there. Oops, I must not have noticed it. I'll change it in a moment. I'm having problems uploading to my FTP at the moment. And besides the size what's wrong with my sig? I use it on all the other boards I go to and no one has ever complained before.


I have never played SQ6 although I would like to. I own all the other SQ's and all the KQ's though.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: TerranRich on Sat 15/05/2004 05:34:31
We complain here because the owner, CJ has explicitly set a limit. No more than ONE image, and no more than 460x100 or something. It's on every forum page. Check it out. And please abide by it.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Sat 15/05/2004 06:53:14
Is that better? Anywho, back on topic.

Those template are great and all but they're in german or something. I'm not exactly sure how to use the translation source either. Perhaps it said in the manual but I did not see it. I guess I'll have to go back to ripping. Doesn't matter much I guess. With the exception of the sliders on the Status Screen I've pretty much ripped the whole thing already.

[Edit] Perhaps I should have been more clear. I ment that I didn't see the manual say how to convert the txt files included with the templates into the translation tra files. [/Edit]
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Sat 15/05/2004 07:06:28
THank you all for the help...
if theres ne more info on the Sq6 Gui plz post it
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scorpiorus on Sat 15/05/2004 16:54:31
Quote from: Drakmyth on Sat 15/05/2004 06:53:14[Edit] Perhaps I should have been more clear. I ment that I didn't see the manual say how to convert the txt files included with the templates into the translation tra files. [/Edit]
I'm not sure what that txt file contains but if it's a dumped text you can import it back via Main menu > Game > Import dumped text from file... Be sure to make a backup copy of your game, just in case.

EDIT: to make a .tra Main menu > Game > Create compiled translation. And choose txt to compile from.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Sun 16/05/2004 02:35:58
Quote from: Scorpiorus
I'm not sure what that txt file contains but if it's a dumped text you can import it back via Main menu > Game > Import dumped text from file... Be sure to make a backup copy of your game, just in case."Quote"

first as i am a NOOB...HUH?¿?¿

secondÃ,  i can seem to gt this pice to work on the gui -"it theÃ,  gui isnt fully there..and rooom moves along with my char...HOW do i fx that if you can fix it plz do i have the link to the file down below"
no need to translate nething cuz i can do that my self"

http://members.shaw.ca/gogeta2000/downloads/fdm.zip

Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: DeadlyJynx on Sun 16/05/2004 03:03:06
oops used my friends account.Owell...

well it would bew a big help if you could fix this for me cuz yes i do have the time to do it but ive tried MANY times and it still wont work for me...

you will see what i mean when you test the game

sorry messed up url
http://members.shaw.ca/gogeta2000/downloads/Fdm.zip <--that one works[{(}=
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: viktor on Sun 16/05/2004 11:41:44
Quote from: Scorpiorus on Fri 14/05/2004 23:29:47
It is a template file. Simply copy it to the AGS folder and start a new game. You'll see another choice in addition to default game one.
is there any other way to load the GUIs. I already started the game and want to use a GUI similar to mankey island. I'm just gona change the images a litle...
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scorpiorus on Sun 16/05/2004 15:07:34
Quote from: .:¿?expert noob?¿:. on Sun 16/05/2004 03:03:06http://members.shaw.ca/gogeta2000/downloads/Fdm.zip <--that one works[{(}=
I can't extract the files. Might be a specific format or something.

And could you elaborate on the problem you've encountered?

Quote from: viktor on Sun 16/05/2004 11:41:44is there any other way to load the GUIs. I already started the game and want to use a GUI similar to mankey island. I'm just gona change the images a litle...
The only other way is to start a new game with a template, next open GUI editor and click the export GUIs button. AGS would create a .gui file, so you can import it to your game (import GUIs button).
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: viktor on Sun 16/05/2004 15:25:32
cool thanks  ;D
what an obvious solution. Duh...
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Sun 16/05/2004 17:05:47
"Unexpected end of archive. Either multipart or corrupt zip archive."
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: DeadlyJynx on Sun 16/05/2004 19:00:11
ok well an hour after the last post i made i figured it out...

a new problem is the font...

i cant findÃ,  it in the manual and i tried a few searches for this topic but nothing was what i needed

i want it like this :
Character whos speaking[one color and bold]
Message[another color]

theÃ,  file should work now for anyone whos still wanting to look at it
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scorpiorus on Sun 16/05/2004 23:11:58
Quote from: .:¿?expert noob?¿:. on Sun 16/05/2004 19:00:11
i want it like this :
Character whos speaking[one color and bold]
Message[another color]
To set characters color open Characters pane and adjust talking color.

As for messages, you have to create a customized text window and change its foreground color. See "Customized Text Windows" in the manual.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: DeadlyJynx on Sun 16/05/2004 23:18:28
i want it like this :
name of Character whos speaking[one color and bold]
Messageof character[another color]

sorry if i didnt explain it good enough...MY BAD :D :o :o ;D

Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scorpiorus on Sun 16/05/2004 23:25:53
Ah, then check out a DisplayTopBar() function in the manual. It is very similar to what you are after.

Example:
DisplayTopBar(100, 15, 16, character[EGO].name, "Hi, I'm Roger!");
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: DeadlyJynx on Tue 18/05/2004 00:05:00
i tried it your way and many othersÃ,  but non are wut i want.
If you have played Space Quest 6 you would kmow wut im talking about if not

Here is a screen shot from the demo:
(http://members.shaw.ca/gogeta2000/sq6dialog%20interface.bmp)
you see that the text is in the bottom left.

i also still cant figure out how to do it where
it showsÃ,  a message waits 5 secs=wait(200) then removes message not from game just takes it off the screen for a another message to come.
first thing i did was look in manual now im posting it
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: DeadlyJynx on Tue 18/05/2004 05:27:52
HEH HEH HE....
IF you say no Bmps
then i guess i should use Jpgs,gif,fla,swf,ect

hey i m stupidÃ,  ive been in kindergarden 3 times[I didnt get out of kindergarden till i was 6yrs old]
and I'm 18 now So BLAH :P :P :P :P :P :P :P

AND As you probably noticed or didnt notice I AM VERY SARCASTIC
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scorpiorus on Tue 18/05/2004 10:07:44
Quotei tried it your way and many othersÃ,  but non are what i want.
If you have played Space Quest 6 you would kmow what I'm talking about if not
Well, in that case you need to create a GUI and add two labels - one for the character's name and the other for what he is saying. Check out a SetLabelText(int gui, int object, string newtext) script function in the manual:
SetLabelText(gui, label0, character[EGO].name);
SetLabelText(gui, label1, "Stop talking to yourself dude!");
Wait(100); //wait a little


Quotei also still cant figure out how to do it where
it showsÃ,  a message waits 5 secs=wait(200) then removes message not from game just takes it off the screen for a another message to come.
first thing i did was look in manual now I'm posting it
Usually, you write Display or DisplaySpeech function one after another, but if you are after SQ6 style then you have to do it as follows:

SetLabelText(gui, label0, character[EGO].name);
SetLabelText(gui, label1, "blah blah...");
Wait(50); //wait a little

SetLabelText(gui, label1, "blah blah blah...");
Wait(70); //wait a little

SetLabelText(gui, label1, "Stop talking to yourself dude!");
Wait(100); //wait a little


With this approach you can make a simple function, so it will wait the necessary time before proceeding further:

main global script:

function SpeechSQ6(int CharID, string message) {

   int gui = GUI_NAME_HERE;
   int label0 = LABEL_NUMBER_HERE;
   int label1 = LABEL_NUMBER_HERE;
   
   int pause = 3;

   SetLabelText(gui, label0, character[CharID].name);
   SetLabelText(gui, label1, message);

   int timer=StrLen(message)*pause;
   while (timer>0 && IsButtonDown(LEFT)==0 && IsButtonDown(RIGHT)==0) {
      Wait(1);
      i--;
   }

   SetLabelText(gui, label0, "");
   SetLabelText(gui, label1, "");

}

script header:

import function SpeechSQ6(int CharID, string message);



talk to character:

   SpeechSQ6(EGO, "hey man!");
   SpeechSQ6(MAN, "hi Roger");
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: DeadlyJynx on Wed 19/05/2004 03:09:47
ok As i am a COMLETE NOOB AS NOW IT SEEMS TO ME THAT I AM...
I cant get it to work
if its possible can u simplfy it for me ...
Eg; how to make it so that the label of char whos talkingÃ,  Ã, appears
then in an anotherÃ,  have the message...BUT .... How do i makeÃ,  it so that that it knows which label to use...Is there a way to define a label as to make it on for text to go into...

if i werent a noob i wouldnt ask but like most noob who have read the manual will say" IT is very Basic''

i hope you know wut im talking about ...
its still kinda likethat last post
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: Scorpiorus on Wed 19/05/2004 06:48:58
If you are asking how to link that script code with a GUI you have made, then take a look at these variables:

int gui = GUI_NAME_HERE;
int label0 = LABEL_NUMBER_HERE;
int label1 = LABEL_NUMBER_HERE;

Replace GUI_NAME_HERE with the name of your GUI, LABEL_NUMBER_HERE for the label0 with the number of label your want a name to be displayed on and LABEL_NUMBER_HERE for the label1 with the number of label to display the message on.

If you're having troubles making a GUI consult the manual about GUIs.

Actually, a stuff like SQ6 interface is somewhat more advanced so I suggest you to figure out the basics first. Read the manual and the AGS Beginners' FAQ (http://www.rain-day.com/harbinger/faq/). Feel free to ask if you have any specific questions.
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Fri 21/05/2004 08:29:28
k ty

il try it as soon as i can

and for sum reason i always seem to want learn the more advanced stuff
b4 the basics Wierd Eh
Title: Re: Sq6 style GUI!!how can i make it like that???
Post by: on Fri 21/05/2004 13:08:49
Not really. The more advanced stuff always looks much cooler than the basic stuff and therefore naturally wants to be learned first. The fact is, though, that you just plain out can't do that because it doesn't work that way.