Script or something to disable GameOver?

Zion774

Veteran
Veteran
Joined
Jul 24, 2015
Messages
40
Reaction score
1
First Language
English
Primarily Uses
I have looked, and looked and LOOKED everywhere for this script but I can not find it.

I just want something so that if I die, to say, a trap in my map that deals event damage (not battle encounters because I don't use those) Instead of just bam game over lose save progress, I'd want you to re-spawn at a checkpoint that I set with variables.

I've looked forever. If anybody has any idea on this. That'd be great help. Thanks!
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
725
Reaction score
1,223
First Language
English
Primarily Uses
N/A
No Gameover Script: https://rpgmaker.net/scripts/312/
This script bypasses RPG Maker's usual gameover call and instead warps you to the last location that you "recovered all" or the starting point of the character as set by you for the start of the game.

Maybe this script can be edited with variable use, I'm not sure how.
 

Zion774

Veteran
Veteran
Joined
Jul 24, 2015
Messages
40
Reaction score
1
First Language
English
Primarily Uses
No Gameover Script: https://rpgmaker.net/scripts/312/
This script bypasses RPG Maker's usual gameover call and instead warps you to the last location that you "recovered all" or the starting point of the character as set by you for the start of the game.

Maybe this script can be edited with variable use, I'm not sure how.
I've tried this one as well, it actually doesn't work AT ALL. The game over still plays even with a recover all last location saved.

thanks for the input :)
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
I've tried this one as well, it actually doesn't work AT ALL. The game over still plays even with a recover all last location saved.

thanks for the input :)
It may be because the party is not actually recovered after the gameover
Try to patch the script, like this, perhaps
Code:
class Scene_Base
  #--------------------------------------------------------------------------
  # * Determine if Game Is Over
  #   Transition to the game over screen if the entire party is dead.
  #--------------------------------------------------------------------------
  def check_gameover
   if $game_party.all_dead?
     Graphics.fadeout(30)
     $game_party.all_members.each {|member| member.recover_all}
     $game_player.reserve_transfer($game_player.heal_map, $game_player.heal_x, $game_player.heal_y)
     $game_player.perform_transfer()
     Graphics.fadein(30)
   end
  end
end
 

Zion774

Veteran
Veteran
Joined
Jul 24, 2015
Messages
40
Reaction score
1
First Language
English
Primarily Uses
It may be because the party is not actually recovered after the gameover
Try to patch the script, like this, perhaps
Code:
class Scene_Base
  #--------------------------------------------------------------------------
  # * Determine if Game Is Over
  #   Transition to the game over screen if the entire party is dead.
  #--------------------------------------------------------------------------
  def check_gameover
   if $game_party.all_dead?
     Graphics.fadeout(30)
     $game_party.all_members.each {|member| member.recover_all}
     $game_player.reserve_transfer($game_player.heal_map, $game_player.heal_x, $game_player.heal_y)
     $game_player.perform_transfer()
     Graphics.fadein(30)
   end
  end
end
I'll try it out, thanks.

EDIT: That doesn't work either. The Game Over Screen plays like normal and then i return to the title screen.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
I'll try it out, thanks.

EDIT: That doesn't work either. The Game Over Screen plays like normal and then i return to the title screen.
Try to figure it out using blank project. Because the script is basically overwriting some the default functions that call the gameover scene. If it works in the blank project, it's likely some script interfering.

----
Or try the hard way, like deleting the Scene_Gameover. See where the error is going to be pointed out.
 

Zion774

Veteran
Veteran
Joined
Jul 24, 2015
Messages
40
Reaction score
1
First Language
English
Primarily Uses
Try to figure it out using blank project. Because the script is basically overwriting some the default functions that call the gameover scene. If it works in the blank project, it's likely some script interfering.

----
Or try the hard way, like deleting the Scene_Gameover. See where the error is going to be pointed out.
Doesn't work in the blank project. It just calls the game over screen like normal.

However It could be interferring with my XAS script (my battle system) because that does a check for game over and even calls the scene_gameover in one part.

I'm stumped at least with this script. I might just push this part of my game aside and work on another part.

No idea how to do this part, but I really want to just remove gameover.

EDIT: Is it possible to just call a common event instead of using game over?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Doesn't work in the blank project. It just calls the game over screen like normal.

However It could be interferring with my XAS script (my battle system) because that does a check for game over and even calls the scene_gameover in one part.

I'm stumped at least with this script. I might just push this part of my game aside and work on another part.

No idea how to do this part, but I really want to just remove gameover.

EDIT: Is it possible to just call a common event instead of using game over?
... you never mentioned that you use XAS, that could be the case. Or, were u using the XAS in the blank project too?
As a general rule, if you're requesting a script, you should mention some essential script you're using.

And also as I said, you can try the hard part by removing the Scene_Gameover entirely, and see where the error is going to be pointed out. We can try to work from there. There're people who try to help, don't give up yet. If you have no idea how to do it, basically you head to the script editor, look for Scene_Gameover, select, then press delete from the keyboard.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
[move]RGSS3 Script Requests[/move]
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
If you have no idea how to do it, basically you head to the script editor, look for Scene_Gameover, select, then press delete from the keyboard.
Just so you can get it back if you want to, I'd copy it, paste in a new slot BELOW main, and then delete the original one. Putting it below main basically means it'll be ignored.
 

Zion774

Veteran
Veteran
Joined
Jul 24, 2015
Messages
40
Reaction score
1
First Language
English
Primarily Uses
... you never mentioned that you use XAS, that could be the case. Or, were u using the XAS in the blank project too?
As a general rule, if you're requesting a script, you should mention some essential script you're using.

And also as I said, you can try the hard part by removing the Scene_Gameover entirely, and see where the error is going to be pointed out. We can try to work from there. There're people who try to help, don't give up yet. If you have no idea how to do it, basically you head to the script editor, look for Scene_Gameover, select, then press delete from the keyboard.
So I tried that,

And now I got an error with XAS, because it's trying to run Scene_GameOver but it doesn't exist anymore.

upload_2019-1-26_13-20-12.png

So this is the error I get.

Maybe If I could have it run a common event instead? That would certainly give me what I want.

EDIT: Sorry I didn't mention I was using XAS I didn't think it mattered.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Yeah you keep getting gameover screen because XAS script hijacked how gameover screen is called. Not because of other gameover script removal is broken. As we don't know how is XAS script, you can't expect us how to handle that.
 

Zion774

Veteran
Veteran
Joined
Jul 24, 2015
Messages
40
Reaction score
1
First Language
English
Primarily Uses
Yeah you keep getting gameover screen because XAS script hijacked how gameover screen is called. Not because of other gameover script removal is broken. As we don't know how is XAS script, you can't expect us how to handle that.
Fair point, sorry for my stupidity.

I've found the code it uses to call game_over, now I need to look for the code to use to call a common event instead and set it to that.

However that last game over script DID NOT work in a blank project with NO SCRIPTS but that one.

So yes the game over script wasn't working.

I'll figure it out by doing some script call research. Thanks.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
However that last game over script DID NOT work in a blank project with NO SCRIPTS but that one.
The same method of diagnosing can be applied with the "no gameover script", i.e, by deleting the Scene_Gameover though. But whatever...

Also, you can try your on your own, or maybe give the link to XAS script so everyone can look into.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top