Gigadragon78

Veteran
Veteran
Joined
Feb 2, 2019
Messages
55
Reaction score
17
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

Veteran
Veteran
Joined
Nov 4, 2018
Messages
44
Reaction score
49
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
55
Reaction score
17
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

Veteran
Veteran
Joined
Nov 4, 2018
Messages
44
Reaction score
49
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
55
Reaction score
17
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

Veteran
Veteran
Joined
Nov 4, 2018
Messages
44
Reaction score
49
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
55
Reaction score
17
First Language
Spanish
Primarily Uses
RMMV
Thanks you very much friend,it works perfectly now. :ahappy:
 

Latest Threads

Latest Posts

Latest Profile Posts

Well, I've decided I'll take a break on making Forgotten Eclipse...and Make a mod for FNF
Trailer for my new game.
last one for a while
MythicRuss wrote on gothicvoid's profile.
hi, i was looking thru ur awesome stuff, and was looking around the internet, how in the heckin heck do i get the hiddendoors to open? im addng them to the doors event but they just appear as solid walls, btw am total noob lol

Forum statistics

Threads
110,310
Messages
1,052,217
Members
143,345
Latest member
Bamga
Top