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
Veteran
Joined
May 22, 2016
Messages
4,552
Reaction score
1,283
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
Veteran
Joined
May 22, 2016
Messages
4,552
Reaction score
1,283
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
Veteran
Joined
May 22, 2016
Messages
4,552
Reaction score
1,283
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
Veteran
Joined
May 22, 2016
Messages
4,552
Reaction score
1,283
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 Profile Posts

5704B969-117A-4542-9747-8E59DEF9A646.jpeg
I use this image as a joke with my students. If you are creating a horror game, this would be the perfect, subtle hint to the player that here there be Vampires!
So I managed to scare my chief. Between shifts I had an appointment with my psychiatrist, so prior to it I'd told him "If I ain't coming today, they've kept me there.". Then as I was asleep, my phone died. So I overslept and through the entire time I was unreachable.
I spent so much time toiling in VX Ace frankensteining scripts together only for MV to come along and just... have everything.

The overworld tool system in particular I thought was gonna take me a million years to recreate, but nope. Thanks Moghunter.
Going to go live way earlier than usual tonight, pretty much in 20 minutes, purely because I'm bored. :LZSlol:

Forum statistics

Threads
128,381
Messages
1,194,090
Members
168,887
Latest member
ducadete
Top