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

How do I use days of play, minutes of play, hourse of play
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
bis_senchi




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

PostPosted: Mon Apr 18, 2005 2:51 am    Post subject: How do I use days of play, minutes of play, hourse of play Reply with quote

I would like to use days of play, hours of play, minutes of play to clear the .sav file so that I can put continue. Can somoene tell if it possible ? If so :

1)In what way should I write the commands in my plotscript ?
2)How do I make a continue ? (An item that prevent the save file to be cleared) I guess that I will have to use a tag linked to an item and a yes no question if check tag ON->then show text box (154) would you like to continue " And all this will go to my game over script.

May be there is a way to store a current day, hour minutes of play using global variable...

Thanks in advance for the help and sorry for posting a message again!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Mon Apr 18, 2005 2:57 am    Post subject: Reply with quote

Hmm, I don't fully understand your question. What are you trying to do? I think you're saying that you want to erase a save file after a certain amount of time, is that correct?
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bis_senchi




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

PostPosted: Mon Apr 18, 2005 9:22 am    Post subject: Well Reply with quote

Time is not so important. Here is what I would like to do

the game ends (because you have loose all you HP)
if the tag in off (there is on items called continue)
the text box file with the text "would you like to continue ?" don't appear
the save file is blankes with commands.
You start the game again from the beginning

Tell me if you have further questions!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
rpgspotKahn
Lets see...




Joined: 16 May 2004
Posts: 720
Location: South Africa

PostPosted: Mon Apr 18, 2005 9:51 am    Post subject: Reply with quote

Quote:
Tell me if you have further questions!


Yeah, I do. What the hell are you talking about. I can't make out what you want. Otherwise I shall help you.
_________________

2nd Edition out now!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Mon Apr 18, 2005 11:42 am    Post subject: Reply with quote

Ok, I understand. You want something like zelda: If link dies, and he has a fairy, he gets revived. However, if he doesn't, it's game over.

As it stands, there's no way to do that (conveniently). However, in Quaternion (the next version of the OHR), there will commands to do exactly that.

Until then, however, I can't help you.
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
rpgspotKahn
Lets see...




Joined: 16 May 2004
Posts: 720
Location: South Africa

PostPosted: Mon Apr 18, 2005 11:48 am    Post subject: Reply with quote

If thats what he wants, I belive it is do-able. I did it in one of my earlier games.

Make an item that the hero can obtain whenever he collects a "Fairy". When you die, use the "On death" script. Then check for the item, if there, return the hero to the game. If needed take the hero position before he dies. Then reset the hero in that position with full health.

I know it works somehow. I did it, Im sure.
_________________

2nd Edition out now!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Tue Apr 19, 2005 6:06 am    Post subject: Reply with quote

No, what he's asking is that when you die, you go game over no matter what. But, if you don't have a certain item when you die, your file is erased.
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Apr 19, 2005 5:52 pm    Post subject: Reply with quote

A "delete save" command it is then. No body cared to discuss it on the mailing list, but since I now have proof that it is wanted, I'll add it in.

Expect it in (hopefully) a few days/a week.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
bis_senchi




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

PostPosted: Tue Apr 19, 2005 8:50 pm    Post subject: I think Delete save is exactly what I am searching for Reply with quote

I think "delete save" is exactly what I am searching for

Please let me know in what library the command will be aviable when it will be over in a few weeks!

Thanks in advance !

P.S: By the way what does the reset days, reset days; and reset hours commands are currently used for ?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bis_senchi




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

PostPosted: Tue Apr 19, 2005 8:54 pm    Post subject: Some clarifications Reply with quote

Here is explained again what I would like to do

the game ends (because you have loose all you HP)
if the tag in off (there is no items called "continue" on your inventory)
the text box file with the text "would you like to continue ?" don't appear
the save file is blanked with a plotscript command (surely "delete save").
You start the game again from the beginning

For rpgspotKahn or anyone esle for whom the message is not cleared, I can try to explain it again in different way.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bis_senchi




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

PostPosted: Tue Apr 19, 2005 9:00 pm    Post subject: Sorry again Reply with quote

In P.S, I was asking indeed

what does the days of play , hours of play ; minutes of play commands are currently used for ?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Apr 19, 2005 10:08 pm    Post subject: Reply with quote

They tell you how long the player has been playing the game.

Look at the load screen. It will tell the the map the player is currently on, the first hero's level, and how many days, hours and minutes the player has been playing since they started that game.

If you have been playing 2 hours and 17 minutes, "minutes of play" will return 17.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Wed Apr 20, 2005 4:12 am    Post subject: Reply with quote

Perhaps you could achieve this now using the 'on death' script. In this script, you would have an 'if' check for the tag you are talking about (seeing if the player has the continue item). If he does, you would show the text box. If not, then you would have the script effectively restart the game. That is to say, you would probably delete all of the player's heroes and then add back the original hero(es) (doing this would erase all of the experience the player had earned, and their equipment) . You would also need to delete the entire item inventory (probably with a 'for' loop) and all of the player's money (there are various ways to do this, and it will be simpler once 'pay money' is fixed). You would also need to reset all tags and global variables. There may be some other things that I am forgetting, but it seems like it should be do-able. Then after doing all of this your next command would probably be to call on whatever your Load Game Script is. The problem (which seems to be the root of your original question) is that the days, hours, minutes of play CANNOT be erased or otherwise changed. Would this be able to cover what you want to happen?
Back to top
View user's profile Send private message Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Apr 20, 2005 4:31 am    Post subject: Reply with quote

(You can change days, hours, minutes, and even seconds of play by messing around with the gen array. TM created scripts for the 3rd party hsi to do it)
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
bis_senchi




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

PostPosted: Wed Apr 20, 2005 10:02 pm    Post subject: The set death script appears to be a good idea but... Reply with quote

The set death may be a good idea but once the player takes the control at the beginning of the new party nothing prevent him from quiting the game a launching the save he wants. It was as if the script would have no effects.

What is really important is making blank the save file and I think only commands such as "delete save" can do that. Anyway thanks the same I think the set death script is a very useful command.

I already used it in my game when me heroeshave to lose a battle an be saved by other heroes.
Good luch you guys in making your game !
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
Goto page 1, 2  Next
Page 1 of 2

 
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