I'm having a few problems with Ags creditz 2.0

Started by Gemmalah, Fri 06/02/2004 12:49:47

Previous topic - Next topic

Gemmalah

Sorry for this seemingly useless thread just didn't want to gave evryone wading through the old and very long thread to find my problem, waste of time.

Anyway
1. CreditsSettings... does that need to be placed anywhere special because it will not notice i have put this in, either with the SetCredit bits or just before i run the credits. The lines are squahed together anyway.

2. Occasionally I get a blue cup insted of a line of credits, though the settings are the same only the lone number is different like it says in the manual. I deleted one line with a blue cup but on the next go round another line that worked before had turned into a cup. It seems to happen when the line number is 30 or 31.

3. will ags creditz allow music to be played aswell because PlayMusic (10); will not play my file Music10.wav in the game folder. I may not have a music9.wav does this make a difference?

4. The game won't quit after it plays the credits (and won't play music) I put this in when player enters screen after fadein.  0 is credit int
GUIOff (0);
PlayMusic (10);
CreditsSettings (100); // put this in to see if it made a difference but did not
RunCreditSequence (0);  
if (IsSequenceFinished (0) == 1) QuitGame(0);

5. is there a way to get the credits to start appearing halfway up the screen because i have an animation at the bottom that is being covered by credits.

6. slightly off topic but this code for making the room animate drandomly does not work any ideas, the room animates constantly insted. it is in the rooms repeatedly execute bit.

if (GetBackgroundFrame() ==5) SetBackgroundFrame (1);
if (Random(10) == 10){
SetBackgroundFrame (-1);}

sorry for such a long post but isn't it better to put it all inone post than in several short ones?

Dragon Slayers demo finally finishedGet it here!

AJA

#1
1. Just make sure it's called before running the credit sequence. And the function will only affect the EMPTY LINES in your sequence. So, if you have text on lines 1 and 3 the height of the second line will be set with the CreditsSettings function. There will be another option to adjust the space between lines in the second beta.

2. That sounds weird... Can you PM me (or post here) your credits script?

3. agsCreditz just displays the credits and you can do whatever you want with AGS when they're being displayed. So, the music should play normally. Make sure you have rebuilt the VOX files.

4. You should put the "if (IsSequenceFinished(0) == 1) QuitGame(0);" to the repeatedly_execute function of the room where the credits are displayed. And btw, the sequence numbers should be from 1 to 10. Does it work with 0?

5. Hmm... That could be an interesting feature. I'll try to think of something like this for the next beta. Thanks for the suggestion!

6. Hmm...
if (GetBackgroundFrame() ==5) SetBackgroundFrame (1);
else if (Random(100) == 10) SetBackgroundFrame (-1);

Does that work any better? If not, try increasing the value passed to Random().

Gemmalah

1. i have got empty lines you will see in the code i'm going to post, but i put it before the set credits and before the run credits just in case and neither has worked.
this code is in player enters room after fadein
GUIOff (0);// turns inventory off to leave a clear screen
PlayMusic (10);// music won't play by the way any ideas.
CreditsSettings (100);
RunCreditSequence (0);

2.
CreditsSettings (100);
SequenceSettings (0,166,1,1,1,0);
SetCredit (0,1,"Thank you for playing the Dragon Slayers demo.",-1,0,15);
SetCredit (0,2,"",-1,0,15);
SetCredit (0,3,"",-1,0,15);
SetCredit (0,4,"Original Concept by ... Gemma Harris",-1,0,15);
SetCredit (0,5,"Original Charactor drawings ... Hemma Garris",-1,0,15);
SetCredit (0,6,"",-1,0,15);
SetCredit (0,7,"Background Artist ... Mike da Hat",-1,0,15);
SetCredit (0,8,"Assistant Background Artist ... M.S. Paint",-1,0,15);
SetCredit (0,9,"Animator ... Malt Wisney",-1,0,15);
SetCredit (0,10,"",-1,0,15);
SetCredit (0,11,"Main Programmer ... Gemma Harris",-1,0,15);
SetCredit (0,12,"Assistant Programmer ... Justin Code",-1,0,15);
SetCredit (0,13,"",-1,0,15);
SetCredit (0,14,"Tea girl/boy ... Eve Decaff, Windle Spoons",-1,0,15);
SetCredit (0,15,"",-1,0,15);
SetCredit (0,16,"Crisis Manager ... Scavenger",-1,0,15);
SetCredit (0,17,"",-1,0,15);
SetCredit (0,18,"Voice Actors",-1,0,15);
SetCredit (0,19,"Khatoblepas",-1,0,15);
SetCredit (0,20,"Black Ice",-1,0,15);
SetCredit (0,21,"Mike Da Hat",-1,0,15);
SetCredit (0,22,"Fox",-1,0,15);
SetCredit (0,23,"",-1,0,15);
SetCredit (0,24,"Special thanks to...",-1,0,15);
SetCredit (0,25,"Everyone who gave moral support.",-1,0,15);
SetCredit (0,26,"And constructive critism throughout the project.",-1,0,15);
SetCredit (0,27,"Mum, Dad, Lil' Bro,",-1,0,15);
SetCredit (0,28,"my charming boyfriend and patient teachers.",-1,0,15);
SetCredit (0,29,"Big thanks to Scorpirous, for programming tips.",-1,0,15);
SetCredit (0,30,"And thanks to you, the player. BYE!",-1,0,15);
SetCredit (0,31,"",-1,0,15);

The last line thanks to you the player is replaced by a blue cup. This line was orinanally line 26 untill i tinkered with what i wanted to say. when it was line 26 it was displayed normally.
I had another line as that would not display but i deleted it thinking it was an error on my behalf it was either line 30/31, before i reshuffled the credits.

4. done that, thanks it was bugging me (how could i have not noticed something so simple)
Oh and it does work with 0, my credit sequence is called 0 and works fine.

thanks for this plug in by the way, first i've used and is marvellous.
Dragon Slayers demo finally finishedGet it here!

AJA

#3
1. "SetCredit (0,2,"",-1,0,15);" <- This is not an empty line. This line is set to display the text "" (=nothing). Remove all these SetCredit calls and everything should work as it's supposed to work.

QuoteSetCredit (0,1,"Thank you for playing the Dragon Slayers demo.",-1,0,15);
SetCredit (0,2,"",-1,0,15);
SetCredit (0,3,"",-1,0,15);
SetCredit (0,4,"Original Concept by ... Gemma Harris",-1,0,15);
=>
QuoteSetCredit (0,1,"Thank you for playing the Dragon Slayers demo.",-1,0,15);
SetCredit (0,4,"Original Concept by ... Gemma Harris",-1,0,15);

2. I'll go and test the script... but I'll be back!

-EDIT-

It seems that with beta 1 version you can create sequences from 0 to 2 (and they can contain max 100 lines). I didn't get any bluecups. Maybe it's a bug in the beta 1 version. Hmm... Try with this version: http://koti.mbnet.fi/dima/downloads/ac2.zip (remember to change the sequence number to '1')

Also, you might wanna try this:
SetCredit (0,4,"Original Concept by<.>Gemma Harris",-1,0,15);
(x_pos defines the  empty space on the sides)


Quotethanks for this plug in by the way, first i've used and is marvellous.

Thanks! I try my best ;)

SMF spam blocked by CleanTalk