Yanfly Actor Transformation - Change Battle Hud Face (Moghunter)

blade26

Villager
Member
Joined
Jun 16, 2016
Messages
10
Reaction score
0
First Language
german
Primarily Uses
Hey Guys!


I'm using Transformations for my Actors - like Yanfly Shows it at: http://yanfly.moe/2016/07/06/tips-tricks-actor-transformations-rpg-maker-mv/#more-3276


There is the Code from the Lunatic mode for Copy and paste, everthing works just fine!!!


But the Face Picture in the battle hub doesn't Change, while the Actor is transforming...


I'm using the báttle hub plugin from moghunter in classic style: https://atelierrgss.wordpress.com/rmv-battle-hud/


Can anyone of you help me with the Code in Lunatic mode or know what i have to do for changing the Face in the battle hud while the actor ist transformed?


Thanks a lot for your Response :)

Battlehud ordner.png

Code Transform.png

Face Battlehud Teol.png
 

Chaos17

Dreamer
Veteran
Joined
Mar 13, 2012
Messages
1,311
Reaction score
485
First Language
French
BUMP


Also someone tried to help me on french forum but his tweak crashed the game


He edited the part that stat at line 2014 in the plugin I posted above


Battle_Hud.prototype.create_face = function () {
if (String(Moghunter.bhud_face_visible) != "true") {return};
this.removeChild(this._face);
if (!this._battler) {return};
this._face = new Sprite(ImageManager.loadBHud("Face_" + this._battler._profile));
this._battler._temp_profile=this._battler._profile;
this._face.anchor.x = 0.5;
this._face.anchor.y = 0.5;
this._face_data = [0,0,false,false,false,-1];
if (String(Moghunter.bhud_face_shake) === "true") {this._face_data[2] = true}
if (String(Moghunter.bhud_face_animated) === "true") {this._face_data[4] = true}
this._battler._bhud_face_data = [0,0,0,0]
this.addChild(this._face);
};

Battle_Hud.prototype.update_face=function () {
_mog_bcursor_bhud_update_face.call(this);
if (this._battler._temp_profile!==this._battler._profile)this.refresh_bhud();
if (this._battler._bhfaceSize[0] === -1 && this._face && this._face.bitmap.isReady()) {
this._battler._bhfaceSize[0] = this._face.bitmap.width;
this._battler._bhfaceSize[1] = this._face.bitmap.height;
};
};


Here's the log error


 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top