Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Gameover based on level., Edited from Eccid's Title based on level
Ember
post Jul 19 2006, 11:13 PM
Post #1


Level 68
Group Icon

Group: Revolutionary
Posts: 2,799
Type: Artist
RM Skill: Advanced




Introduction
This is an edit of Eccid's 'Title Based On Level Script'. It is now a Gameover Based On Level Script.

Features
  • Change your game over screen when you reach a certain level.
Screenshots
Thats kind of...impossible.

Script
Find this line in 'Scene_Gameover'
CODE
@sprite.bitmap = RPG::Cache.gameover($data_system.gameover_name)

It is line 14 by default.

Replace that line with this:
CODE
#===============================================================================

#Gameover Screen Based on Level Script
#By: Eccid
#With help fromn kaito
#Edited to gameover by Sam Drew
#-------------------------------------------------------------------------------    
#---Start Edit---

case $game_actors[1].level#finds actor level
when 1 ... 24#When actor level is...
    @sprite.bitmap = RPG::Cache.gameover("1.png")#Show gameover
    
when 25 ... 49
    @sprite.bitmap = RPG::Cache.gameover("2.png")
    
when 50 ... 74
    @sprite.bitmap = RPG::Cache.gameover("3.png")
    
when 75 ... 100
    @sprite.bitmap = RPG::Cache.gameover("4.png")
 end
else
 @sprite.bitmap = RPG::Cache.gameover("1.png")#set regular gameover
end

#---End Edit---
#===============================================================================


Instructions
Just put in the extra game overs into the gameover folder, and name them 1, 2, 3 ,4 etc. If you don't want to name them that then you can edit the script so it has their names there.

You can edit what levels too, I think its pretty straight foward though.

Credits & Thanks
Credit to Eccid for the original script - Good job, mate.
Thanks to Kaito for helping out Eccid - Good job also.

Author's notes
Well, AH! I guess thats me.
I think the script should all be there, I've checked it a few times over, and to me its ok.
Enjoy!
And don't forget to credit Eccid, Kaito and I if you use it! biggrin.gif
(If some of you did'nt know, this is my first real attempt at a script...so..yeah.)


__________________________
Go to the top of the page
 
+Quote Post
   
jens009
post Jul 20 2006, 10:58 AM
Post #2


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




Simple scripting I see

Preety useful enough, But who wants to see game over anyways? lols

Thanks for the submit anyway


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
Ember
post Jul 20 2006, 03:29 PM
Post #3


Level 68
Group Icon

Group: Revolutionary
Posts: 2,799
Type: Artist
RM Skill: Advanced




Originally my friend needed to change game over mid-game, so I seized my opportunity to help him out. =)


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 09:25 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker