Jump to content

Announcing our new website

To find out the latest about our new website, visit Game Dev Unlimited

- - - - -

[Request] Gameover outside battles?

help script gameover request

  • You cannot reply to this topic
5 replies to this topic

#1 mxmmix

    Newbie

  • Member
  • 17 posts

Posted 02 January 2012 - 08:50 AM

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 mxmmix, 02 January 2012 - 08:51 AM.


#2 Heretic86

    Extreme Member

  • Member
  • 262 posts

Posted 02 January 2012 - 10:14 AM

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...

#3 Dragon324

    Extreme Member

  • Member
  • 332 posts

Posted 02 January 2012 - 03:37 PM

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

Hope this solves your issue.

#4 mxmmix

    Newbie

  • Member
  • 17 posts

Posted 04 January 2012 - 07:23 PM

View PostHeretic86, on 02 January 2012 - 10:14 AM, said:

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

#5 mxmmix

    Newbie

  • Member
  • 17 posts

Posted 04 January 2012 - 07:25 PM

View PostDragon324, on 02 January 2012 - 03:37 PM, said:

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 Posted Image.

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!

#6 Heretic86

    Extreme Member

  • Member
  • 262 posts

Posted 12 March 2012 - 06:07 AM

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






0 user(s) are reading this topic

members, guests, anonymous users