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

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Wapam
Hope this hurts.




Joined: 18 Jul 2007
Posts: 42
Location: lacaster , california

PostPosted: Mon Jan 21, 2008 7:35 am    Post subject: dying in battle Reply with quote

How do I make it so you won't do gameover when you die?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Mon Jan 21, 2008 7:40 am    Post subject: Reply with quote

First of all, you have to know what you want to happen instead, and write a plotscript that will do what you want. Then in order to make this plotscript override a game-over, just set it as the "game-over script" in custom (this is found in General Game Data, Special Plotscripts).

This will make your new plotscript ALWAYS occur when the player dies. If you want this plotscript to occur only sometimes (and game-over other times), then we need to do a little more work. Let us know.
_________________
My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161

This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com
Back to top
View user's profile Send private message Visit poster's website
Wapam
Hope this hurts.




Joined: 18 Jul 2007
Posts: 42
Location: lacaster , california

PostPosted: Mon Jan 21, 2008 7:47 am    Post subject: Reply with quote

Oookay... I'm just trying to make a super hard boss that's undefeatable and you keep playing after you lose. I just want some answers
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Mon Jan 21, 2008 8:03 am    Post subject: Reply with quote

Isn't there a wiki page specifically for this?

Anyway, for this you will need to have a plotscript right before the battle that uses the following command:
Code:
set death script (@my script)

The "my script" is the name of the script that says what to do instead of dying. The "@" in front tells the computer that it is a script (at least I believe you can do this this way, although it is not documented on the plotdictionary). Then after the battle is over, you should probably have the line:
Code:
set death script

by itself, with no parentheses. This tells the computer to make gameovers occur when you die again.

By the way, if you plan on letting the player keep playing after this death, don't forget to give him some HP back in the plotscript!
_________________
My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161

This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com
Back to top
View user's profile Send private message Visit poster's website
Wapam
Hope this hurts.




Joined: 18 Jul 2007
Posts: 42
Location: lacaster , california

PostPosted: Mon Jan 21, 2008 8:22 am    Post subject: Reply with quote

That's it??? I put plotscript, die in battle, begin
if(check tag(tag:do not die)==OFF)
then,begin
and so on

this is the game i'm working on by the way http://www.castleparadox.com/gamelist-display.php?game=875
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Wapam
Hope this hurts.




Joined: 18 Jul 2007
Posts: 42
Location: lacaster , california

PostPosted: Mon Jan 21, 2008 8:44 am    Post subject: Reply with quote

W8! OMG TY!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Thu Jan 24, 2008 12:15 am    Post subject: You might be interested by... Reply with quote

You might be interested by the following article: http://gilgamesh.hamsterrepublic.com/wiki/ohrrpgce/index.php/How_do_I_make_the_story_continue_after_you_die_in_battle%3F

Note that you can also use the command "set death script" in combaison with the command "game over" to make different ends along your game.

Good luck!
_________________
It's time to make games!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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