 |
Castle Paradox
|
| View previous topic :: View next topic |
| Author |
Message |
Uncommon His legend will never die

Joined: 10 Mar 2003 Posts: 2503
|
Posted: Thu Aug 16, 2007 9:06 am Post subject: |
|
|
| I think "load from slot" hasn't been properly implemented yet. I remember there being some note in plotscr.hsd next to it. We advise you not use the command, it'll proabably fix that error. |
|
| Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
|
| Back to top |
|
 |
Ysoft_Entertainment VB Programmer

Joined: 23 Sep 2003 Posts: 810 Location: Wherever There is a good game.
|
Posted: Fri Aug 17, 2007 8:15 pm Post subject: Re: I posted the wrong script! |
|
|
| bis_senchi wrote: | Uncommon wrote
| Quote: | | Well, there's one problem for you. You've got Ami's checking Usagi's. Also, the fact that you use one variable for each hero could cause some problems | Thank you for the advice and for noticing it.
Now that I'm looking at my post I realise that I didn't post the right load script . I'm working on three distinct games and the scripts I should have posted are the following:
| Code: |
define script (10, new game, none)
define script (11, new game2, none)
#-------------------------------------------------------
script, new game, begin
suspend npcs
suspend player
suspend box advance
play song (song:Bydlo Cart)
show backdrop (5) #e.g licenced by bob the hamster
wait (11)
show backdrop (8) #e.g in association with/ music from
wait (11)
fade screen out (63,63,63)
#feel free to make a "fake movie" here to make appear the
#game title screen instead of a fade screen out
show backdrop (1) # E.g Crescent dream EX title screen
wait (35)
show text box (6) # text box with choices : new game/ continue
advance text box
wait (2)
fade screen in
resume box advance
resume player
resume npcs
set on keypress script (12) #allows you to leave the game as usual
end
#-------------------------------------------------------
#In this script you launch the second part of the intro
script, new game2, begin
if (check tag (tag: new game)==ON) then, begin
suspend npcs
suspend player
fade screen out (0,0,0)
wait (2)
resume npcs
resume player
stop song
introduction
end #end of the first if check tag
if (check tag (tag: new game)==OFF) then, begin
suspend box advance
suspend npcs
suspend player
if(saved game == 2) then, begin
stop song
resume box advance
resume npcs
resume player
load from slot (1) #ILLEGAL WAIT SUBSTATE HERE ILLEGAL WAIT SUBSTATE HERE
end
if(saved game << 2) then, begin
show text box (6) # on fait reapparaître la text box
stop song
resume box advance
resume npcs
resume player
end #end of the load menu
end #end of the second if check tag
end# end of the plotscript
#-------------------------------------------------------
script, on keypress starting map, begin
script, save game, begin
save in slot (1)
suspend npcs
suspend player
suspend box advance
show text box (12)
advance text box
wait (15)
show text box (13)
advance text box
wait (15)
show text box (14)
advance text box
wait (15)
resume box advance
show text box (15)
wait for text box
resume player
resume npcs
end #end of the plotscript
#--------------------------------------------------------
|
I also included the save game script because I think that the bug came come from here (but I'm not sure). I also specified when the illegal wait substate #174 appears.
Feel free to ask more questions if there is something you don't understand.
As always thank you very much for your help and for answering so
quickly. |
I will take this bug. Can you send me your gamefile with all the plotscripts and include files, also send me the save file too. email is yuriym19(at)hotmail.com
Edit: Ok, I have figured out the bug, and here is a quick workaround. Don't make your save points be Step-on activated npcs.
Never mind, that workaround doesn't help either. _________________ Try my OHR exporter/importer.
OHRGFX
Striving to become better pixel artist then Fenrir Lunaris. Unfortunately the laziness gets in the way of my goals. |
|
| Back to top |
|
 |
|
|
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
|