Gigadragon78

Veteran
Veteran
Joined
Feb 2, 2019
Messages
40
Reaction score
7
First Language
Spanish
Primarily Uses
RMMV
Sorry to bother yourselves,i like to ask for a battle hud simlar to MV,im aware about Visu Stella,but that plugins is ofuscated so i cannot make patches if there are incompatbilities with another plugin. PD: im using the tpb feature.
 

MechPen

Villager
Member
Joined
Nov 4, 2018
Messages
28
Reaction score
41
First Language
English
Primarily Uses
RMMV
What are the differences in your opinion? Cause they seem pretty similar to me.
 

Gigadragon78

Veteran
Veteran
Joined
Feb 2, 2019
Messages
40
Reaction score
7
First Language
Spanish
Primarily Uses
RMMV
Nope,they are quite different... Mv hud look like this:
PD: excuse me for double posting,i tried to put the image in the same post but a second one appeared.
 

MechPen

Villager
Member
Joined
Nov 4, 2018
Messages
28
Reaction score
41
First Language
English
Primarily Uses
RMMV
Here this is close.

JavaScript:
Window_BattleStatus.prototype.maxCols = function() {
    return 1;
};

Window_BattleStatus.prototype.maxRows = function() {
    return 4;
};

Window_BattleStatus.prototype.itemHeight = function() {
    return this.innerHeight / this.maxRows();
};

Window_BattleStatus.prototype.drawItem = function(index) {
    this.drawItemStatus(index);
};

Window_BattleStatus.prototype.nameX = function(rect) {
    return rect.x;
};

Window_BattleStatus.prototype.nameY = function(rect) {
    return rect.y + rect.height/2 - this.gaugeLineHeight()/2;
};

Window_BattleStatus.prototype.basicGaugesX = function(rect) {
    const numGauges = $dataSystem.optDisplayTp ? 3 : 2;
    const aftername = rect.x + rect.width - this.gaugeLineWidth() *(numGauges) - this.extraHeight()*(3);
    return aftername;
};

Window_BattleStatus.prototype.basicGaugesY = function(rect) {
    return this.nameY(rect)
};

Window_BattleStatus.prototype.gaugeLineWidth = function(rect) {
    return 138;//(this.innerWidth -  this.extraHeight())/4;
};

Window_BattleStatus.prototype.stateIconX = function(rect) {
    return rect.x + this.gaugeLineWidth() + 4 + 4;
};

Window_BattleStatus.prototype.stateIconY = function(rect) {
    return this.nameY(rect) + Math.round(ImageManager.iconHeight / 4) + 2;
};

Window_BattleStatus.prototype.placeBasicGauges = function(actor, x, y) {
    var xPlus = x + ImageManager.iconWidth + 4;
    this.placeGauge(actor, "hp", xPlus, y);
    this.placeGauge(actor, "mp", xPlus + this.gaugeLineWidth(), y);
    if ($dataSystem.optDisplayTp) {
        this.placeGauge(actor, "tp", xPlus + this.gaugeLineWidth() * 2, y);
    }
};
 
Last edited:

Gigadragon78

Veteran
Veteran
Joined
Feb 2, 2019
Messages
40
Reaction score
7
First Language
Spanish
Primarily Uses
RMMV
Oops! I found a bug,when i try to open the menu:
Type Error this.gaugeLineWidth is not a function.
Thanks you very much,that is whar i wanted.
 
Last edited:

MechPen

Villager
Member
Joined
Nov 4, 2018
Messages
28
Reaction score
41
First Language
English
Primarily Uses
RMMV
My mistake. I have edited the previously posted plugin. Please copy it again.
 

Gigadragon78

Veteran
Veteran
Joined
Feb 2, 2019
Messages
40
Reaction score
7
First Language
Spanish
Primarily Uses
RMMV
Thanks you very much friend,it works perfectly now. :ahappy:
 

Latest Threads

Latest Posts

Latest Profile Posts

RPG MZ multiplayer in development
Square-Enix, why you didn't released the classic Dragon Quests on Steam yet? :kaocry:
This is by far my most favorite boss monster I've made, its name is Gosck
Froggo is back after a long break!
SF_People1_1 added!
index.php

Forum statistics

Threads
109,139
Messages
1,042,477
Members
141,646
Latest member
Twigsmcsquids
Top