Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Game over script

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Mon Jul 21, 2003 2:26 am    Post subject: Game over script Reply with quote

Can someone please tell me how to make a game over screen for when you die in battle and for whenever???? I'd really appreciate it! I can't figure it out either! Argh! Oookay...
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
Me
HI.




Joined: 30 Mar 2003
Posts: 870
Location: MY CUSTOM TITLE CAME BACK

PostPosted: Mon Jul 21, 2003 2:50 am    Post subject: Reply with quote

Write a script that shows the backdrop that you want as your game-over screen. Then set it as the "game-over script" in the "Special scripts" section of General Game Data. You might need to put a wait command and a game over command in the script as well, but I'm not sure.
_________________
UP DOWN UP DOWN LEFT LEFT RIGHT RIGHT A B START
Back to top
View user's profile Send private message AIM Address
Aethereal
SHUT UP.
Elite Designer
Elite Designer



Joined: 04 Jan 2003
Posts: 928
Location: Gone! I pop in on occasion though.

PostPosted: Mon Jul 21, 2003 5:46 am    Post subject: Reply with quote

Yep, you need a gameover() command in the game-over script or you won't get a game over, heh.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Wed Jul 23, 2003 5:59 am    Post subject: thanx Reply with quote

thanks a lot you guys, but see I tried something like that, fenrir had helped me on it, but it didn't work for some reason...Maybe I didn't wrong, this may sound like a lot to ask but could someone write out the whole script for me?
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sat Jul 26, 2003 1:39 pm    Post subject: Reply with quote

Easy:

For a textbox:
Code:

script,game over,begin
 suspend player
 play song (song:death)
 show backdrop (12)
 show textbox (34)  'you lose
 wait for textbox
 fade screen out (0,0,0)
 game over
end


OR no textbox:
Code:

script,game over,begin
 suspend player
 play song (song:death)
 show backdrop (12)
 wait for key (anykey)
 fade screen out (0,0,0)
 game over
end
[/code]
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Sun Jul 27, 2003 12:35 am    Post subject: Reply with quote

how do you set the music though? do u put the name of the song uploaded into the game or do you just program a death song, if you do program a death song, please tell me how!
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
Iblis
Ghost Cat




Joined: 26 May 2003
Posts: 1233
Location: Your brain

PostPosted: Sun Jul 27, 2003 12:40 am    Post subject: Reply with quote

You can either use the name of the song ("death" in this case) or the number. Remember that if you use the name you have to put: (song: whatever the name is).
_________________
Locked
OHR Piano
Back to top
View user's profile Send private message Send e-mail
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Sun Jul 27, 2003 2:12 am    Post subject: Reply with quote

thanks a lot you guys, all this will really spruce up my games and make em better!
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
.
Guest






PostPosted: Sun Jul 27, 2003 6:51 pm    Post subject: Re: Game over script Reply with quote

It so easy. You just get a text box, for example text box 40
and you don't put a text or a box. And you make a backdrop scree that says Game over or whatever and the you go back to text box 40, and you click on box you take of the textbox and you import the game over screen under import screens and for the backdrop on the text 40 you pick the game over screen. Now to make a plotscript

script,gameover,begin
suspend player
show text box (40)
game over
end

Happy its that easy
Back to top
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Mon Jul 28, 2003 7:45 am    Post subject: Reply with quote

Other than a better script was already posted and that script would simply skip the text box and go to gameover because of the lack of a wait command and thus fails half of its purpose--- yes, making the script is that easy.
_________________
Preserve OHR history! Do it for the children!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group