Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Guest

[Request] Gameover outside battles?

Recommended Posts

Guest

Lately i started making a dungeon for my game but it doesn't seem you can die outside a battle o.O

My health stays on 1 (that is displayed yellow)...

 

So could someone make a script that made possible to die outside a battle?

or does this already exist? I couldn't find one myself.

 

(it must be compatible for rmxp)

 

Thanks,

mxmmix

Edited by Guest

Share this post


Link to post
Share on other sites

Are you reducing health outside battles? You might be able to use a Parallel Event that checks if Players Health is Zero, call the Game Over screen. But as far as the fun factor of that, do you think it might be a bit of overkill? Challenging to the point of being frustrating does not a good game make...

Share this post


Link to post
Share on other sites

I assure you this is all you really need:screenofevent.png

This is an event in my game and I assure you I have gotten game overs from it :D.

 

Hope this solves your issue.

Share this post


Link to post
Share on other sites
Guest

Are you reducing health outside battles? You might be able to use a Parallel Event that checks if Players Health is Zero, call the Game Over screen. But as far as the fun factor of that, do you think it might be a bit of overkill? Challenging to the point of being frustrating does not a good game make...

Yes but i'm making a game without combat it's completely different ^^

But that parrallel event might help imma try that! thanks :D

Share this post


Link to post
Share on other sites
Guest

I assure you this is all you really need:This is an event in my game and I assure you I have gotten game overs from it biggrin.png.

 

Hope this solves your issue.

hmmm i did exactly the same event (but then on a specific player becuz i only got 1 player) but i didn't get game over...

Weirdy o.O

But i think its already solved imma try heretic's idea :)

Thanks though!

Share this post


Link to post
Share on other sites

This is incomplete but works...

 

class Game_Map
 alias die_on_map_screen_update update

 def update
   # Run Original
   die_on_map_screen_update
   # If the whole party died
   if $game_party.all_dead?
  # To do...

  # Do a window to say something customizable
  # Like Oregon Trail's Sally has Diphtheria and has died
  $scene = Scene_Gameover.new
   end
 end
end

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By troyr
      hello, I came to ask a way or script to center the texts without having to use spaces to center them
      I was for a while looking for a script or something to help me focus the texts in rpg maker vx ace, without success
      So I come to ask directly if anyone has any way to focus the texts, thank you very much. :)
    • By Polraudio
      Im wondering if anyone could spare some time to make me a neat script. It doesnt have to be private just for me but for everyone to enjoy and use :D
       
      This script needs 2 parts.
       
      Part 1: I need a private item storage script that will allow a person to store things like they would in real life and be able to have multiple containers. EX: a pot will be able to store lets say 5 items and a chest will be able to store 25 items but those storage containers are not shared.
      If i put items in the pot they wont show up in the chest when i open them and vice versa.
       
      Syntax EX: $scene = Scene_Storage[num, size].new
      num = the storage id. EX: 1 would be the pot, 2 would be the chest,3 would be whatever, etc....
      size = how many items can fit in the container
       
      Full syntax in use: $scene = Scene_Storage[1, 5].new
      That would mean when the callscript is used it will open container #1 with whatever items the player put in them and the player can put a max of 5 items in it.
       
      Part 2: Part 2 might be a little tricky. It needs to be the same as the top one but every item put in these containers is shared across save files.
       
      EX: Save 1 puts potions in container 1. When save 2, 3, or 4 access that same container on their save the potions will be in there. when they take the potions out it will no longer be in there for other saves. This is shared storage.
       
      Syntax EX: $scene = Scene_SharedStorage[num, size].new
       
      Finally the reason for this. The reason for this is because my game is going to be random loot heavy and you will have an item limit so you cant carry 10000lbs worth stuff like other games.
       
      The reason for sharing between saves is simple. If you find a rare item and want to give it to a friend on another save file you have the ability to. You dont want to be an assassin and have a weapon you cant use. just give it to another save then :D.
       
      If you need more info please feel free to ask :D.
    • By avarisclari
      Is there a simple way to create a script for a cutscene that requires you to have all items in your inventory like id's 001-010 for example?
    • Guest
      By Guest
      Hey everyone!
      I just got my new laptop because my old one broke...
      But im unable to run RMXP :o
      I have already bought it so i hoped i was able to download it again by downloading the trial and entering the activation code again. Or should i do it on a different way? I can't find a different way to redownload the full game client though.
       
      When im trying to open the trial i get the following error (i did run as admin) rgss104e.DII was not found (roughly translated from my language)
       
      Please help me! :)
    • By theneonheart
      I'm looking for help figuring out how to change Ryex's custom menu script to use custom background images for each of the menus. I think this is built into the script, but I am not the greatest at figuring out what to change to get scripts to do what I want them to do.
       
      If you know this script and can help me out I'd appreciate it.
×
×
  • Create New...