Author Topic: [XP] Winkio's Custom Gameover Script  (Read 9350 times)

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
[XP] Winkio's Custom Gameover Script
« on: February 02, 2008, 06:01:09 PM »
Winkio's Custom Gameover Script
Authors: winkio
Version: 1.0
Type: Custom Gameover Script
Key Term: Title / Save / Load / GameOver Add-on

Introduction

This script will allow you to have a custom gameover, so that when your party dies, it respawns in the map of your choice.  This script does not reload data, but rather continues data, so progress is not lost at a gameover.  You can add in EXP or Gold loss at gameover too.

Features

  • Respawn in the map of your choice upon gameover.
  • No need to setup events
  • Choose whether or not to subtract gold or xp upon death

Script

(click to show/hide)

Instructions

Name This Script Scene_Gameover, as it will replace the original Scene_Gameover.
Other instructions are in the script.

Compatibility

No known issues

Credits and Thanks

  • Me.  There might be other people out there who have made similar scripts, but I came up with this one myself.

Author's Notes

This may cause more problems in your game if there is a gameover in the middle of a minigame or unorthodox event system, so be sure to account for extra items or variables that need to be dumped.
« Last Edit: February 21, 2009, 12:42:11 PM by Blizzard »

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: Winkio's Custom Gameover Script
« Reply #1 on: February 03, 2008, 01:28:25 AM »
Looks good, I'll look more into a little later and let you know what I think!

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2223
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: Winkio's Custom Gameover Script
« Reply #2 on: February 03, 2008, 04:33:14 PM »
Little tip. If only update method is replaced, you don't need to put in other methods. Instead of your script replacing the original one, you could just add it below Scene_GO and only update method will be replaced. It might help compatibility wise.
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline C.C. rOyAl

  • Ethereal Devastator
  • ****
  • Posts: 381
  • LV: 2
  • Gender: Male
  • CP's only concept artist!
    • View Profile
Re: [XP] Winkio's Custom Gameover Script
« Reply #3 on: August 12, 2009, 08:33:45 PM »
i hope some will reply to this but can we set it to where they start at their last save point?
(click to show/hide)

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Winkio's Custom Gameover Script
« Reply #4 on: August 12, 2009, 08:49:41 PM »
Yeah, just make the map that you teleport blank with an autostart event that teleports the player to last save point or whatever.

Or you could do force load XD

Offline C.C. rOyAl

  • Ethereal Devastator
  • ****
  • Posts: 381
  • LV: 2
  • Gender: Male
  • CP's only concept artist!
    • View Profile
Re: [XP] Winkio's Custom Gameover Script
« Reply #5 on: August 12, 2009, 08:52:17 PM »
wait.....what?
(click to show/hide)

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3281
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Winkio's Custom Gameover Script
« Reply #6 on: August 13, 2009, 07:02:14 AM »
1) On a completely blank and new map (This map will be related to the Gameover thing I assume?), make an auto-start event that teleports the player to the last start point. (Don't forget to erase it when done! :V)
2) Force-load

That's what I got from reading o3o

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline C.C. rOyAl

  • Ethereal Devastator
  • ****
  • Posts: 381
  • LV: 2
  • Gender: Male
  • CP's only concept artist!
    • View Profile
Re: [XP] Winkio's Custom Gameover Script
« Reply #7 on: August 13, 2009, 07:52:51 AM »
oooohhhh. i knew that  8)
(click to show/hide)

mordicon

  • Guest
Re: [XP] Winkio's Custom Gameover Script
« Reply #8 on: November 04, 2009, 11:06:10 PM »
hey, the script is great, but it's looping at the end.  I changed the script to teleport my party (upon death) to a specific respawn point, and that works. As soon as the screen shows them there, it kicks back to game over like the state 'knockout' wasn't removed. I checked the script and it looks sound, but i'm no master scripter.. any idea why it would loop?

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: [XP] Winkio's Custom Gameover Script
« Reply #9 on: November 04, 2009, 11:10:27 PM »
Make sure that knockout is state # 1 in the database

mordicon

  • Guest
Re: [XP] Winkio's Custom Gameover Script
« Reply #10 on: November 04, 2009, 11:27:21 PM »
ya, it is. I started a new game to test the script just to make sure and it still loops.