Gameover Events MV
Ever had a random encounter, but wanted to make it so that if the party loses, instead of simply going to the game over scene, you could play some custom events?
Or maybe you have a number of evented battles, but if the player loses, the game over processing should all be handled the same way? Or perhaps the same way as the random encounters?
This plugin allows you to create your very own gameover events! Simply create a map, set up some events, and you’re ready to show your own gameover scene!
Download
Plugin: download here (right-click, save as)
Installation
Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_GameOverEvents plugin.
Once it is in your list of plugins, turn the plugin on.
Usage
In the plugin parameters, choose the ID of the map that the player will be sent to upon game over.
You can now event your game over scene.
is there a way to make it so the event happens upon defeat from certain monsters
Regarding the transmission map, I hope I can customize the X coordinates and Y coordinates of the target map.
Can I add relevant code to plug-in to use it in my own team?
Hello Hime,
Thank you for your excellent work on this plugin. It is a cornerstone of my current game project.
Today I was wondering, is it possible to change the Gameover Map ID dynamically during gameplay using a script call or similar function (please forgive my ignorance here,) or is it restricted to a single static map ID?
For example, if a player gets a gameover in a forest area at the start of the game, I wish to transfer them to map ID 1, but later on if they get a gameover in a desert area, they would end up on map ID 2 instead.
Does this sort of functionality exist within the plugin? I am just curious. Thanks for your time.
Um, why doesn’t the download link work?
right click the page and hit “save as” and then you can get it that way.
Hey Hime, I have a question! When I die in a battle, I’m transferred to a map, but to the first tile! What should I do?
Hey, Hime. I have a problem! Everytime I lose in a battle, and I have my Gameover Map set up, it always brings up an error of ‘bitmap’ undefined. Can you try and help me with this? Thanks!
Turn off all other plugins and see if the problem still occurs. It may be a compatibility issue since the error doesn’t occur for me.
Hi there, similar issue to what Ray had been experiencing. No matter what number I put into the Map ID parameter, the plugin just seems to bring me to a blank, black map. Not sure what I’m doing wrong as I’ve tried every map ID that exists in my project.
Check that the filename of the plugin is correct. It might not be reading the plugin parameters.
Hello I was wondering can the player have a dragonquest type of game over were they immediatly (after some text) appear on the last map they saved at? Without going to the load screen first?
That would require you to be able to know what the last save file is. By default, that is
So you could use the script call
To automatically load the last save.
My biggest niggle is that I keep spawning in the far corner, any way to set the plugin to teleport to a chosen square?
You can have an event move the player to another square.
Pardon, I had a question. I’m not sure if it’s already a code within RMMV that I’m not aware of, but I can’t seem to find it-
I would like to make it so that the event that occurs on gameover depends on the troop ID that you lost to(If the gameover occurred in combat), but I can’t figure out how to go about finding the variable with the last troop ID encountered. Is there a proper way to do this?
What you can do is whenever you encounter a troop, you would assign the troop ID to a variable.
In the “Control Variables” event, you can use a formula:
$gameTroop.troop().troopId
Would there happen to be a snippet of sort I can use that automatically runs this whenever a battle starts and assigns the value of the troop to a specific variable?
You could say something like
Which assigns the encountered troop to variable 2.
This will represent the “last encountered” troop.
Thank you very much for your assistance!
For some reason whenever i tell it to teleport the player to a map i use for a custom title screen (Im trying to use this with the skip title screen plugin, because for some reason, after gameover it still went to title screen, then i found this plugin) it seems to work fine, but only after a battle death it teleports the player to the map i want, then teleports them back to the gameover map, like the game is repeatedly spamming telling itself to game over.
Hi, I’ve been getting a really annoying issue with the plugin where I set it to the ID of the map i want it to go to, which is a blank map with just grass and an event set to autorun, but when I die in game it keeps putting me to a black screen. I have no idea what i am doing wrong. the map id for the map i want is 009 which is what i input for the plugin.
Try writing 9 instead of 009.
Nice plugin, I love using it but there seems to be a bug with it. If you have an event running with “Battle Processing”, and you get a game over in that battle, the plugin wil teleport you like normal to the game over map, but also continue to process the next few lines of information from the original event where you died. 🙁 Is there anything I can do to fix this from happening?
Included here is a video demonstrating what I mean to say. Also – this map is a tileset swap of something completely wrong since I had to use an old version of E.M. to be able to test without plugins… I know it’s terrible…
https://dl.dropboxusercontent.com/u/196961425/Bug%20Testing%20Vids/Himeworks%20Gameover%20Plugin%20Glitch.mp4
Fixed in V1.2 guys, thanks to Himeworks for being awesome and fast to respond!
Hmm, it looks like while the game correctly transfers you, it does not correctly clear out the previously running event.
The default engine doesn’t actually handle this case because typically when you game over, it simply goes back to the title screen.
The fix I will do is to simply force end the event, though I’m not sure if this would be acceptable in all cases.
I have updated the plugin with this fix.
Is there any way to make it so that the screen isn’t tinted so dark? I’d like my gameover screen to use one of the scrolling parallaxes, but the tint is so dark that it’s almost impossible to see.
Thank you for your time.
I don’t believe gameover events involves screen tinting. It should simply take you to a different map that you specified in the plugin parameters.
You could then choose to make the screen brighter using tint events.