Main Menu
  • Welcome to The RPG Maker Resource Kit.

Changing Game Overs mid-game?

Started by Iari, January 19, 2009, 09:22:24 PM

0 Members and 1 Guest are viewing this topic.

Iari

To elaborate: The plot of a game I'm working on involves the heroes trying to overthrow an empire, and I want the Game Over screen to show a picture of the villain standing over the heroes' dead bodies and laughing.  However, about halfway through the game it becomes apparent that the real problem is a dark god trying to destroy the universe.  At that point, I want the Game Over screen to show said dark god destroying that world.  Is this possible?
That's good to know.

SolstICE

its easy with scripting. just a change to the scene_gameover that shows a different picture if a switch is on

would say exactly how but rm isn't on this comp

Iari

Cool.  But...I don't understand scripting at all...would anyone be able to show me how to do this?
That's good to know.

Zylos

Use the script command in an event and use this line.

$data_system.gameover_name = "insert name of gameover screen here + filetype"


Obviously, you need to enter in the image's name and type. Example, $data_system.gameover_name = "gameover.png"




Iari

That's good to know.

SolstICE

Quote from: Bayard Zylos on January 19, 2009, 10:48:45 PM
Use the script command in an event and use this line.

$data_system.gameover_name = "insert name of gameover screen here + filetype"


Obviously, you need to enter in the image's name and type. Example, $data_system.gameover_name = "gameover.png"

that only works until the game is restarted or even a saved game is loaded. $data stuff gets reset on the title screen

Iari

So...if I load a Save Game from after I change the Game Over screen, it'll show the default one?
That's good to know.