The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Iari on January 19, 2009, 09:22:24 PM

Title: Changing Game Overs mid-game?
Post by: Iari on January 19, 2009, 09:22:24 PM
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?
Title: Re: Changing Game Overs mid-game?
Post by: SolstICE on January 19, 2009, 10:30:22 PM
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
Title: Re: Changing Game Overs mid-game?
Post by: Iari on January 19, 2009, 10:34:38 PM
Cool.  But...I don't understand scripting at all...would anyone be able to show me how to do this?
Title: Re: Changing Game Overs mid-game?
Post by: 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"
Title: Re: Changing Game Overs mid-game?
Post by: Iari on January 19, 2009, 11:05:08 PM
That worked!  Thanx.
Title: Re: Changing Game Overs mid-game?
Post by: SolstICE on January 20, 2009, 07:30:49 AM
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
Title: Re: Changing Game Overs mid-game? [Resolved]
Post by: Iari on January 20, 2009, 09:06:07 PM
So...if I load a Save Game from after I change the Game Over screen, it'll show the default one?