Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[XP]Battle Processing - Game Over

McH

Member

Hi guys,

I recently started using RPG Maker XP, but something is bothering me for a while now.
There's probably an easy solution for my problem, but I just can't seem to find it.
In the intro of my game, I use battle processing to start a battle, my hero is supposed to lose so I check "Continue even when loser".
Afterwards I fill in the "If lose"-section so the story can go on but...
When I test my game and I lose the battle, I always get a "GAME OVER" screen instead of going on with the story...

I tried to search the forum but couldn't find another topic referring to this problem.

Regards,
~Mich.
 
you might want to put in something like recover all: entire party. (3rd tab 7th from the top)
That could help, after that, just continue with your story again
EDIT: that's strange actually, I never get that problem. Could you post up a screenshot with your event? and do you have any custom scripts?
 

McH

Member

Hi,

"Recover all: Entire Party" solved this problem, so thanks for the help ! :)
But it's still strange that without the "Recover all", it won't work.
I have custom scripts indeed, and I think they cause the problem because I don't have this problem when I start a new project without those custom scripts.
Do you still need certain screenshots?
 
It seems you do have a fault with your event. Even if the entire party is dead, it should NOT return a gameover screen unless you have modified the Scene_Map script in any sort.
 
nah, the screenshots won't be necessary, since the problem is solved. What kind of custom scripts do you have though? I'm wondering what could mess with the game-over functionality when the entire party is knocked out
 

McH

Member

FireRaven":2t1x7gwx said:
It seems you do have a fault with your event. Even if the entire party is dead, it should NOT return a gameover screen unless you have modified the Scene_Map script in any sort.
It is not a fault with my event.
As a proof, I just made a simple new event and disabled the other one, the new event just contained a Battle Process with "Continue even when loser" checked.
If I won the battle, the hero was just supposed to say "Yay!" and if I lost, the hero was supposed to say "Argh!", and here, it displayed a game over screen too.
I copied that test event and tried exactly the same in a new project without my custom scripts, and it worked there.
So I can conclude that it has probably something to do with my custom scripts.

@Beran: Ehmr, I have a HP/SP bar, a CMS, a script that displays an animation on level up, a script that heals the HP and SP of a player on level up, a script that displays the name of the map, a "transform" script to be used in battle and the SDK 2.4

EDIT: @FireRaven: Just to be certain, I replaced the Scene_Map script with...well yeah, the correct Scene_Map script (because I wasn't sure if I had modified it) but this didn't seem to solve the problem.
 
Your event has no problems, but you appear to have a script colliding with this effect, causing the Game Over screen to appear as soon as the party is knocked out. Would it be possible to provide a list of the scripts and script modifications you use? If not the whole scripts, at least their names. We cannot know for certain which script that messes with this in the current state.

So basically, the problem can lie anywhere in your scripts, just not in the event (based on the fact that it worked in a new project). Maybe the HP and SP recovering when leveling up has a game-over check? I don't know yet, there isn't enough details.

EDIT: Also go into your script editor, press Ctrl + Shift + F. Type in: $game_temp.gameover
Give me a list of each block of which this occurs in.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top