Removing name, class, level and black box from menu

Hello!! I want to remove everything that's on the menu screen other than the picture. Is there anyway to do it? I removed the rest by removing some code lines, so it'd be awesome if I could do the same with this too. I just don't know which code to remove. I'm also using Alt Menu Screen: Icons and Busts by SomeRanDev. Also if there's a way to align the characters to the center (as in, if there's one character it'd be in the center than the left) that'd be nice.

Here's how it currently looks

1723012316862.png
Just a little update, I did manage to remove everything by erasing some code, and also managed to change the black bar but I'm still unable to understand how to align the busts to be in the center of the screen. If someone could help me with that, that'd be awesome!
Hello, @Cherreii . I downloaded the plugin you mentioned (I hope it’s the right one), and after looking a bit closer at the code, I think I found the point where you can modify where the character and their information box are drawn on the screen. However, there are other options within the code itself that I found which might be useful to you as well. I’ll list them here. Is that okay?

1) I’ll start with the solution that addresses the issue most directly, but it requires you to modify the plugin a bit. Here’s a small screenshot of something I achieved after editing, and right after, I’ll provide the line and code I used:
Print 4.png


Near line 600, use CTRL + F to find the function Window_MenuStatus.prototype.drawItemStatus = function(index)

Spoiler: CODE
Code:
    Window_MenuStatus.prototype.drawItemStatus = function(index) {
        var actor = $gameParty.members()[index];
        var rect = this.itemRect(index);
        var lineHeight = this.lineHeight();
        var boxWidth = this.itemWidth() - 24;
        var boxHeight = (tp) ? lineHeight * 7 : lineHeight * 6;
        var x = rect.x + (rect.width - boxWidth) + 824 / 2; //edit here
        var y = rect.y + (rect.height - boxHeight);
        if (tp) y -= lineHeight;  
       
        this.contents.fillRect(x, y, boxWidth, boxHeight, sBack);
       
        x += 12;
        this.drawActorName(actor, x, y);
        this.drawActorLevel(actor, x, y + lineHeight * 1);
        this.drawActorIcons(actor, x, y + lineHeight * 2);
        this.drawActorClass(actor, x, y + lineHeight * 3);
        this.drawActorHp(actor, x, y + lineHeight * 4, boxWidth - 24);
        this.drawActorMp(actor, x, y + lineHeight * 5, boxWidth - 24);
        if (tp) {
            this.drawActorTp(actor, x, y + lineHeight * 6, boxWidth - 24);
        }
    };

2) There is also a function within the plugin code where you can adjust the X and Y position of the actor's bust.
Print 3.png


I sincerely hope that this is enough for you, I found a third alternative if these first two fail, which is to change the X position on line 506. But, this moves the menu box in general, so , is the worst solution.
:MV1:
Omg, your game looks really good, I'll def try it out soon!! thank you for your effort to help me as well, i appreciate it!!

i copy pasted the code you provided but for some reason the menu ended up looking like this. i think the bust picture needs to be changed in the code, but im not sure where. could you help ?

1723039986348.png
If this helped you, please consider taking a look at my project here on the forum. Apu's Journey
This comes across a little poorly, to me - if you're going to help someone, that's awesome of you. But don't use it as advertisement for your game.

i think the bust picture needs to be changed in the code, but im not sure where. could you help ?
Did you edit the plugin parameter that Aleth showed you a screenshot of? If yes, show a screenshot of what it looks like.
Did you edit the plugin parameter that Aleth showed you a screenshot of? If yes, show a screenshot of what it looks like.

It works, but there's an issue of people joining the party. If I have 4 members then the last member wouldn't show. First image is before, and then the other is after changing. And the one after is when I added 4 people.

1723044467939.png
1723044817581.png
1723044888823.png




I want it like... when there's one player, it'll be in the middle.
If it's two, the two will be in the center. Something like that. It'll always be centered
When you're posting in plugin support - which is where this should be, you're not asking anything about how to use the MV software - please always post links to the plugins you're asking about.

This is calculated on line 589 of the plugin. Try changing that line to say:
Code:
        var x = Math.floor(Graphics.boxWidth / 2 - rect.width / 2 * $gameParty.members().length) + rect.width * index;

You may need to do the same thing on line 598 to make the name and info draw in the same place.
When you're posting in plugin support - which is where this should be, you're not asking anything about how to use the MV software - please always post links to the plugins you're asking about.

oh i'm sorry, i'm not too familiar with the rules in forums yet but I'll remember that whenever i post again. again, very sorry about it!! i was not aware !! also I'll remember to link it always.
just to be clear, the mistake i made was not posting the plugin link, yes?

This is calculated on line 589 of the plugin. Try changing that line to say:
Code:
        var x = Math.floor(Graphics.boxWidth / 2 - rect.width / 2 * $gameParty.members().length) + rect.width * index;

You may need to do the same thing on line 598 to make the name and info draw in the same place.


I tried this on a brand new project, and found that I had the same issue. The bust isn't showing up for some reason...
1723054098820.png
1723054131065.png
1723054149112.png
1723054162185.png
The bust isn't showing up for some reason...
I don't understand this - I see busts in every picture.

If you mean that each of those dark rectangles should correspond to a bust, then it would be more helpful if you had actually different busts for each actor so we could see which ones weren't displaying correctly.

It appears to me that the left-most image is displaying in the correct location, but there appears to be an extra bust's space between them.

I don't see an error in my math, so perhaps someone else will see I did something wrong, or you can make the busts unique so we can see more specifically what's happening.

You could also do this. Take the line I had you edit above and add at the end of it:
Code:
console.log("X is ", x, " for index ", index);

Then during the playtest, press F8, go to the Console tab, and provide a screenshot of that.
If you mean that each of those dark rectangles should correspond to a bust, then it would be more helpful if you had actually different busts for each actor so we could see which ones weren't displaying correctly.

No no. There should be 4 busts in there, but it's only showing two. I don't care for the boxes, since my game wouldn't have that. I wish this forum had a way to post videos but here's what i posted on twitter. here it is
If you couldn't tell everyone has a different colored picture, so the picture is stored correctly in the character. it's just not showing


You could also do this. Take the line I had you edit above and add at the end of it:
Code:
console.log("X is ", x, " for index ", index);

Then during the playtest, press F8, go to the Console tab, and provide a screenshot of that.

i tried what i could, not sure if this is what you wanted.
1723056323513.png
If you couldn't tell everyone has a different colored picture, so the picture is stored correctly in the character. it's just not showing
Well it's clearly not different colored pictures in your prior post. 😛

i tried what i could, not sure if this is what you wanted.
It's not. I said press F8 then go to the Console tab, but you're still on the Elements tab.

I do see different colored pictures now, but you didn't bother to say anything about which colors are for which actors, so I have no clue whether you're seeing the correct busts with too much space in between them or it's skipping some busts or what.

Please take a minute to think through your post and whether you've provided information - none of us have access to your project or know what you intend to see, you have to tell us exactly what you expect and what is wrong.
It's not. I said press F8 then go to the Console tab, but you're still on the Elements tab.
Oh, sorry. I'm not familiar with this so I didn't know. here it is. I added actors one by one and this is what the console looks like.

1723057132515.png


I do see different colored pictures now, but you didn't bother to say anything about which colors are for which actors, so I have no clue whether you're seeing the correct busts with too much space in between them or it's skipping some busts or what.
It's skipping busts. Like, it shows the bust for the 1st actor that joined my party, but not the rest. Sorry that I didn't make it clear with the video.

Please take a minute to think through your post and whether you've provided information - none of us have access to your project or know what you intend to see, you have to tell us exactly what you expect and what is wrong.0

This is what I'm expecting. What I got is in the video I linked. Just letting you know, I deleted a few lines of code that shows the name of the character. For further discretion, here's the demo

1723057638092.png
Okay, perfect.

So the numbers show the math is correct - the x value isn't jumping to something off-screen, it's a proper progression with all numbers of party members.

Do two things:
1 - confirm that changing this line is affecting what you see. If you restore that one line back to the way it came in the plugin, can you provide a screenshot that looks like what you're expecting to see?

2 - if yes, please show a screenshot of the modified function - lines 585-593.
If i
1 - confirm that changing this line is affecting what you see. If you restore that one line back to the way it came in the plugin, can you provide a screenshot that looks like what you're expecting to see?

If i revert it back, it shows me this, how it normally is, aligned to the left. it's not what i'm expecting, no.


1723060083781.png
1723060008216.png

2 - if yes, please show a screenshot of the modified function - lines 585-593.

This is without your code.
1723060201475.png


This is with your code
1723060236441.png
If i revert it back, it shows me this, how it normally is, aligned to the left. it's not what i'm expecting, no.
...yes, it is? That's showing busts for all three actors in the same color order that you have at the bottom of your prior post.

How is it not what's expected? Are you saying it's still skipping something?

So the issue is not the calculation, it's that the busts aren't being drawn inside of the same object - they each have their own rect object storing them.

Leave the SRD plugin the way it came and paste the below into a text editor, save as a *.js file, include as a new plugin.

Code:
Window_MenuStatus.prototype.itemRect = function(index) {
    var rect = new Rectangle();
    var maxCols = this.maxCols();
    rect.width = this.itemWidth();
    rect.height = this.itemHeight();
    rect.x = Math.floor(Graphics.boxWidth / 2 - rect.width / 2 * $gameParty.members().length) + rect.width * index;
    rect.y = Math.floor(index / maxCols) * rect.height - this._scrollY;
    return rect;
};

This works for me:
1723061508694.png
...yes, it is? That's showing busts for all three actors in the same color order that you have at the bottom of your prior post.
How is it not what's expected? Are you saying it's still skipping something?

oh, sorry i thought you meant if i expected it to be center aligned. that's all.

also yes it works now!!! thank you sm !!!!! sorry for giving you so much trouble you're the best!!!
This comes across a little poorly, to me - if you're going to help someone, that's awesome of you. But don't use it as advertisement for your game.


Did you edit the plugin parameter that Aleth showed you a screenshot of? If yes, show a screenshot of what it looks like.
You're right, I feel like I acted badly, even if unintentionally. I won't repeat the behavior and I'm happy that it helped Cherreii a little more than me!

:MV1:

Original thread: https://forums.rpgmakerweb.com/threads/removing-name-class-level-and-black-box-from-menu.170916/