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

Dying in battle without ending game

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Guest







PostPosted: Tue Nov 25, 2003 4:25 pm    Post subject: Dying in battle without ending game Reply with quote

Say you want to make a battle that you are supposed to lose (story-related). How do you make it so that you don't lose the game, but instead go on with the plotscript?
Back to top
GMan1988




Joined: 01 Nov 2003
Posts: 16
Location: Nowhere

PostPosted: Tue Nov 25, 2003 4:30 pm    Post subject: Dying in battle without ending game Reply with quote

Whoops, forgot to log on first Oookay... .

Anonymous wrote:
Say you want to make a battle that you are supposed to lose (story-related). How do you make it so that you don't lose the game, but instead go on with the plotscript?


That was really me Ha ha ha! .
_________________
.hack//SIGN is freakin' awesome.
Back to top
View user's profile Send private message
Me
HI.




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

PostPosted: Tue Nov 25, 2003 5:01 pm    Post subject: Reply with quote

Well, what you'd want to use is an if() statement checking a fight formation() function. The fight formation(#) function returns 1 if you win and 0 if you run or are defeated, so:
Code:
script, unbeatable boss, begin
if(fight formation(blah)==0) then
(
Do stuff after losing to the boss here
)
end

I THINK that should do it. However, I myself haven't tested it yet, as I don't have OHR on this computer, but once I do test it I'll get back with confirmation. Or someone else will tell me why I'm wrong before that. But try that method out.
There was another unbeatable boss method on Moogle1's site that used tags and game-over scripts and stuff, but I forget the URL. Perhaps someone could post it?
_________________
UP DOWN UP DOWN LEFT LEFT RIGHT RIGHT A B START
Back to top
View user's profile Send private message AIM Address
Iblis
Ghost Cat




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

PostPosted: Tue Nov 25, 2003 5:06 pm    Post subject: Reply with quote

I think you're supposed to use "set death script." It's in the plotscript dictionary.
_________________
Locked
OHR Piano
Back to top
View user's profile Send private message Send e-mail
GMan1988




Joined: 01 Nov 2003
Posts: 16
Location: Nowhere

PostPosted: Tue Nov 25, 2003 5:07 pm    Post subject: Reply with quote

Hmmm. I see how that could work, so I'll try it out. Thanks. Big grin

Oh, and I like your signature, Iblis. *evil laugh*
_________________
.hack//SIGN is freakin' awesome.
Back to top
View user's profile Send private message
Guest







PostPosted: Tue Nov 25, 2003 5:44 pm    Post subject: Reply with quote

I tested it out, and it works! Thanks a lot, guys.
Back to top
GMan1988




Joined: 01 Nov 2003
Posts: 16
Location: Nowhere

PostPosted: Tue Nov 25, 2003 5:46 pm    Post subject: Reply with quote

Okay, that was me again.
I swear I didn't log off, though... Pissed off!
_________________
.hack//SIGN is freakin' awesome.
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Nov 25, 2003 10:46 pm    Post subject: Reply with quote

I think that that method wouldn't work if you also set a on-death script, as that script would run when you lose the battle, and before control is not returned to the 'unbeatable boss' script. In which case, just turn on a tag before you fight the boss, and in your game over script write

if (check tag (#) == 0) then (gameover)

so that control is returned to your script.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Flamer
The last guy on earth...




Joined: 04 Feb 2003
Posts: 725
Location: New Zealand (newly discovered)

PostPosted: Wed Nov 26, 2003 2:47 am    Post subject: Reply with quote

the on death script shouldn't run if the battle was within another script... i haven't tested this, but i'm sure of it...

the best approach to an "unbeatable boss" fight would be as suggested by Me. though it could be
Code:
If(fight formation==true) then(show textbox(WTF!?))
else(commands here)

or
Code:
If(fight formation==true) then(show textbox(WTF!?))
commands here


is if the player did manage to win, maybe he/she can get a secret item or something Wink
_________________
If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch Raspberry!
(no offense to anyone that was mentioned)
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
GMan1988




Joined: 01 Nov 2003
Posts: 16
Location: Nowhere

PostPosted: Wed Nov 26, 2003 1:14 pm    Post subject: Reply with quote

I like the secret item idea, but right now I'm just going story-wise. I made the guy with extremely high HP and if you do somehow manage to kill him, he just respawns.
_________________
.hack//SIGN is freakin' awesome.
Back to top
View user's profile Send private message
Roach Lir




Joined: 08 Jul 2003
Posts: 119
Location: United Kingdom

PostPosted: Fri Nov 28, 2003 9:46 am    Post subject: Reply with quote

Yo yo yo!

Get the script written by the man himself (James Paige) at:

http://moogle1.stormpages.com/pstutor/dieinbattle.html


Thats the script you want! Moogle1's site has a ton of other cool scripts too.
_________________



Dark Legacy - 0.3%
Back to top
View user's profile Send private message
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