Nitroxone

Lambda individual n°5774
Member
Joined
Sep 13, 2018
Messages
22
Reaction score
4
First Language
French
Primarily Uses
RMVXA
Hello,

I have been looking for a simple script that could display a window onscreen when a character levels up. Nothing about skill points to spend or character stats to increase. Just a simple message, a little "fancier" than what the game uses originally.

Has anyone heard of a script like this ?

Thanks !
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,392
Reaction score
810
First Language
English
Primarily Uses
RMVXA
Would Gumps levelup message work for you
 

Nitroxone

Lambda individual n°5774
Member
Joined
Sep 13, 2018
Messages
22
Reaction score
4
First Language
French
Primarily Uses
RMVXA
Not really ...
It has the spirit though. I would like it not to display the stats thing, only the "Player has gained a level".
I'm just looking for the simplest thing! A level up sound on field (I'm using an ABS) and a popup window that tells you have leveled up.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,392
Reaction score
810
First Language
English
Primarily Uses
RMVXA
not to display the stats thing
Then it just needs a few lines commented out.

Question are you looking for a plugin for MV or a script for VX ACE?
 

Nitroxone

Lambda individual n°5774
Member
Joined
Sep 13, 2018
Messages
22
Reaction score
4
First Language
French
Primarily Uses
RMVXA
I have posted this thread in the RGSS3 script section, so it's a script for VX ACe obviously.
What lines should I comment out in Gumps' script ?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,392
Reaction score
810
First Language
English
Primarily Uses
RMVXA
obviously
Sorry it wasn't obvious. There have been people that posted here looking for MV plugins before, So I had to ask.
Because your profile says you use MV primarily.

Under Window_LevelMSG_Feedback
In draw_msg
it shows
draw_text(x, ...
reboot_font
After that reboot font down to the end of the method can be commented out.

self.contents.font.size = sm
...
draw_msg_2 unless @oldstats == nil

draw_msg_2 is where the stats are given. the stuff above will stop the skills from showing up.
 

Nitroxone

Lambda individual n°5774
Member
Joined
Sep 13, 2018
Messages
22
Reaction score
4
First Language
French
Primarily Uses
RMVXA
Sorry it wasn't obvious. There have been people that posted here looking for MV plugins before, So I had to ask.
Because your profile says you use MV primarily.

Sorry about this. I created my account a few years ago when I started using MV, but I'm more comfortable with VX Ace actually. I'll change that info on my profile.

As for the script modification, it worked like a charm !

Now, is there any way I can center the message and character image by tweaking the code ?
Thank you so much for your time and effort by the way !
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,392
Reaction score
810
First Language
English
Primarily Uses
RMVXA
center the message and character image
Part of that is in the script.
Face_X_Position = 0 <- change it to a number that fits your screen.

Message text position can be changed by changing the alignment code.
Exactly where you just commented out the lines is the draw_text(x, 0...
At the end of that line is a 0. Change to a 1.
scratch that
Try this adjustment. Place below Gumps levelup messenger script. The original script could stay as it was before. You can uncomment out the lines when using this snippet. or leave it
Ruby:
class Window_LevelMSG_Feedback < Window_Base
  def draw_msg
    return if @lvlarray.size == 0
    draw_graphics if LevelUP::Graphic_Display_Setting != 0
    norm = 24; sm = 16; txtwidth = Graphics.width / 2 + 48; sklineh = line_height*3
    index = 0; lm = @lvlarray[0]
    lvlmsg = lm[0]; lvlmsg.to_s
    x = (Graphics.width / 2) - ((lvlmsg.length * 12) / 2)
    self.contents.font.bold = LevelUP::Level_UP_MSG_Bold
    self.contents.font.color = LevelUP::Level_UP_MSG_Color
    self.contents.font.out_color = LevelUP::Level_UP_MSG_Outline_Color
    draw_text(x, 0, txtwidth, line_height, lvlmsg, 0)
    reboot_font
  end
end
 

Nitroxone

Lambda individual n°5774
Member
Joined
Sep 13, 2018
Messages
22
Reaction score
4
First Language
French
Primarily Uses
RMVXA
Thanks for your help ! It worked for the character image, but the text is still not really centered ... (image below)
What can I change to make it centered ? I'd like it to be placed below the character's image.
If it's really not possible to move it vertically, can I just make it more centered ?
sc1.png

EDIT : All good ! I managed to center the text correctly, put it below my character, and even reduce the window size (and making the exit animation a little bit fancier). Everything's perfect now !

Thanks again for your help @Roninator2 !

Final result below (I know there is a popup message behind, it's from the ABS) :
sc1.png
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

If the world treats you like an enemy... Then the world must be your enemy...
Last monday Hawkzombie played ATV.

Here are the videos:


Yes, I'm alive. No the semester didn't kill me. Though there are days I feel like I am dead.
In the review stages for Pixacrea to be put up on Steam :) Coming Soon page... hopefully coming soon ;)
since all my maps are hand drawn... I admit, I super envy those who can make the tileset's work. I'm garbage at mapping, but slightly less bad at just drawing my own areas. plus it's easier to draw my own sprites than edit others to look like my characters.

Forum statistics

Threads
117,289
Messages
1,106,174
Members
153,477
Latest member
GingaAle
Top