Nitroxone

Lambda individual n°5774
Member
Joined
Sep 13, 2018
Messages
22
Reaction score
5
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
Regular
Joined
May 22, 2016
Messages
5,252
Reaction score
1,583
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
5
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
Regular
Joined
May 22, 2016
Messages
5,252
Reaction score
1,583
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
5
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
Regular
Joined
May 22, 2016
Messages
5,252
Reaction score
1,583
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
5
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
Regular
Joined
May 22, 2016
Messages
5,252
Reaction score
1,583
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
5
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

Decided to splurge and commissioned a friend to draw the main character of my game jam project. Worth it! I never could've gotten the game and the art done XD New avatar by ClockworkCrane!
One of my biggest pet peeves? Action Button events not being interactable unless they are same as character.


Like... for why?
The X-Mas and ~ all ~ December long Calendar Project seems to bring my machine right to the limit. A very good oportunity to test what my pc can do. Or at which point I should decide to take a step back from filling the rendering program with assets.
The new grafics card and ram do their job well, that's for sure. My own early Christmas gifts were a good investment.
my laptop keyboard gave up, they keep glitching out, it seems like it's time to finally replace them, honestly surprised it lasted this long.
Tiny setback. Turns out my Title Screen image and one of my primary background & avatar images are AI Generated. Glad I went back and checked all my resource links. So I am in hot pursuit of replacement images. Which is fine since I was still missing some images that I need anyway.

Forum statistics

Threads
136,896
Messages
1,271,158
Members
180,673
Latest member
SnailKing
Top