Author Topic: [XP] Easy LvlUp Notifier  (Read 27431 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] Easy LvlUp Notifier
« on: January 09, 2008, 11:40:24 PM »
Easy LvlUp Notifier
Authors: Blizzard
Version: 2.11b
Type: Battle Report Display
Key Term: Misc Add-on

Introduction

This script will notify you when any character is leveled up after a battle. It will show any stats that were increased and any skills that were learned. The windows are animated, the code is less complex than any other so far and it is most efficient as well as highly optimized and detailed worked out.

This work is protected by the following license:
Quote
Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
( http://creativecommons.org/licenses/by-nc-sa/3.0/ )

You are free:

to Share - to copy, distribute and transmit the work
to Remix - to adapt the work

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

- For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

- Any of the above conditions can be waived if you get permission from the copyright holder.

- Nothing in this license impairs or restricts the author's moral rights.

Features

  • shows increased stats and learned skills at level up
  • animated
  • shows EXP gain for each actor (!) only after gaining EXP after a battle
  • more simple and less laggy than other Level Up Notifiers
  • you can set up any sound to be played when a higher level is reached or a new skill is learned (LVLUP_SE and LEARN_SE further below)
  • now MUCH more simple and MUCH shorter than other Level Up Notifiers
  • increbibly compatible: can show increase of any stats after the battle in combination with any script, just put this script below those attribute modifying scripts
  • fully compatible with Tons of Add-ons
v1.2b
  • better window movement
  • higher compatibility
  • fixed a few "eventual" bugs
v1.3b
  • fully compatible with Tons of Add-ons
v1.4b
  • improved coding
  • rewritten conditions using classic syntax to avoid RGSS conditioning bug
v2.0
  • completely overworked and improved
  • now MUCH more simple than other Level Up Notifiers
  • halved the number of lines of code
  • much more compatible: can show increase of any stats after the battle in combination with any script, just put this script below those attribute modifying scripts
v2.1
  • improved coding
  • increased compatibility with CBS-es
v2.1b
  • fixed "stack level too deep" problem
v2.11b
  • fixed crash during escape

Screenshots



Demo

Easy LvlUp Notifier

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.

Compatibility

98% compatible with SDK v1.x. 80% compatible with SDK 2.x. WILL corrupt old savegames. May cause slight problems with following systems and would need therefore slight recalibration:
  • exotic CBS-es
  • exotic skill systems (e.g. Soul Rage System)
  • exotic stat systems (additional stats like Wisdom, Luck etc.)

Credits and Thanks

  • Blizzard

Author's Notes

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! N-Joy! =D
« Last Edit: March 19, 2010, 09:36:52 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

blazinhandle

  • Guest
Re: Easy LvlUp Notifier
« Reply #1 on: January 18, 2008, 05:30:52 PM »
How would you suggest replacing the Stat name ($data_system.words.STAT) with icons?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Easy LvlUp Notifier
« Reply #2 on: January 18, 2008, 06:32:15 PM »
Make config constants for file names. Then, where it says in the scripts that the text of the stat is drawn, use the RPG::Cache.icon method and the .blt methodto draw the icon instead. You might wanna look into Window_Skill#refresh or Window_Item#refresh to see how it's usually done.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

blazinhandle

  • Guest
Re: Easy LvlUp Notifier
« Reply #3 on: January 18, 2008, 09:58:58 PM »
What I currently have:
(click to show/hide)


Here, I tried this (I know it's not right or what you meant) and it gave me bitmap errors, bitmap to string errors, etc.:

(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Easy LvlUp Notifier
« Reply #4 on: January 18, 2008, 11:02:14 PM »
Try this instead.
(click to show/hide)
Just define the 6 constants somewhere before. :3
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

blazinhandle

  • Guest
Re: Easy LvlUp Notifier
« Reply #5 on: January 19, 2008, 02:25:18 AM »
Hmmm I modified it like this:
(click to show/hide)

With these ?Constants?
(click to show/hide)

But I got a "disposed window error"

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Easy LvlUp Notifier
« Reply #6 on: January 19, 2008, 02:28:14 AM »
No, you draw the stuff too early. I draw it afterwards, I only save the icon filenames that should be drawn afterwards. Use my code, just change the constant names if you want them.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

blazinhandle

  • Guest
Re: Easy LvlUp Notifier
« Reply #7 on: January 19, 2008, 06:23:13 AM »
You're the man, B. I messed with it a little and got it to work. Thanks again!

Real Mugen

  • Guest
Re: [XP] Easy LvlUp Notifier
« Reply #8 on: March 14, 2008, 07:47:44 PM »
Exist something like this script....but usefull for BLIZZ ABS?

MikeyUchiha

  • Guest
Re: [XP] Easy LvlUp Notifier
« Reply #9 on: August 18, 2008, 08:09:52 AM »
Is this usable with the Blizz ABS?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Easy LvlUp Notifier
« Reply #10 on: August 18, 2008, 11:19:06 AM »
Nope.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

MikeyUchiha

  • Guest
Re: [XP] Easy LvlUp Notifier
« Reply #11 on: August 18, 2008, 07:03:56 PM »
Is there a way to make it so that it does?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Easy LvlUp Notifier
« Reply #12 on: August 18, 2008, 08:19:55 PM »
I would find windows floating around, while enemies kick my ass, pretty annoying. I'm not making this compatible with Blizz-ABS because there is no point.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

MikeyUchiha

  • Guest
Re: [XP] Easy LvlUp Notifier
« Reply #13 on: August 18, 2008, 09:15:37 PM »
Well I was thinking a little quick render of a Level Up picture or text in the upper right hand corner that automatically fades away.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Easy LvlUp Notifier
« Reply #14 on: August 18, 2008, 09:23:16 PM »
But then again, you won't even be able to see it right. And it might cover something important during that time. Freezing the game is also not an option as it will interrupt the player at each level up which can get very annoying when having a few party members that level up often. I'd say the game can live without it. Most old-school console RPGs don't have it either. i.e. Secret of Mana. Terranigma did have it, but it was only one actor on the map and it as made in a smart way so the level up blast acts like a powerful attack (which I will not add in Blizz-ABS) to disallow the player getting screwed up.
« Last Edit: August 18, 2008, 09:23:59 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ninjason

  • Trained Member
  • *
  • Posts: 19
  • LV: 0
    • View Profile
Re: [XP] Easy LvlUp Notifier
« Reply #15 on: December 01, 2009, 07:13:38 PM »
Good day to you all, since this is my first post on this forum.

I am currently using the easy lvl up notifier in a series of games i wrote and found it for my newest game, that I only wish to show a new learned skill
and not the stat-change-popup.

Is it possible, that anyone (preferably Blizz, as the author of this script) could cut exactly that part out, or tell me, from which to which line I would have to copy+paste the script into the script-section?

I find myself not to be very well versed in script editing.

Thank you in advance and I'll be waiting for any reply.

(PS I know, the reply-function is telling me to consider opening a new topic for this request, but I don't think this fits into another place than the original script-post...)
there's only one Ninja

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Easy LvlUp Notifier
« Reply #16 on: December 01, 2009, 08:44:35 PM »
I can post an edited version later.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ninjason

  • Trained Member
  • *
  • Posts: 19
  • LV: 0
    • View Profile
Re: [XP] Easy LvlUp Notifier
« Reply #17 on: December 01, 2009, 09:40:56 PM »
I'd be very much oblidged to you, Blizz.
there's only one Ninja

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Easy LvlUp Notifier
« Reply #18 on: December 02, 2009, 04:25:05 PM »
Here you go.

(click to show/hide)
« Last Edit: December 04, 2009, 03:08:44 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ninjason

  • Trained Member
  • *
  • Posts: 19
  • LV: 0
    • View Profile
Re: [XP] Easy LvlUp Notifier
« Reply #19 on: December 02, 2009, 05:07:09 PM »
Hmm i inserted the script, but there is no message, whatsoever after a character reaches a skill-learning level...
there's only one Ninja