YEP.40 – Event Mini Label little Modify

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
274
Reaction score
132
First Language
English
Primarily Uses
Hello, this plugin (Yep Event Mini Label) is amazing, but i really need a modify because i want show Label based on XY position of the screen not the map, i know there's 


<Mini Label Y Buffer: +x><Mini Label Y Buffer: -x>


But in my case this is not a solution, because i'm making a custom menù with parallel process, and you cant know in wich position of the map player open the menu


so, i need to show the result in XY variabiles based on screen


I try to modify in line 411 this 


Window_EventMiniLabel.prototype.meetsFacingRequirements = function() {
if (!this._character) return true;
if (!this._reqFacing) return true;
var direction = $gamePlayer.direction();
var playerX = $gamePlayer.x;
var playerY = $gamePlayer.y;
var eventX = this._character.x;
var eventY = this._character.y;


 into This


Window_EventMiniLabel.prototype.meetsFacingRequirements = function() {
if (!this._character) return true;
if (!this._reqFacing) return true;
var direction = $gamePlayer.direction();
var playerX = $gamePlayer.x;
var playerY = $gamePlayer.y;
var eventX = 110;
var eventY = 80;


But the result is above event head... how can i fix that?

Best
 
Last edited by a moderator:

Kadafi

Reader
Veteran
Joined
Apr 7, 2014
Messages
38
Reaction score
25
First Language
Indonesian
Primarily Uses
RMMV
Here's the edited plugin for you. You can now use <Mini Label Screen X: x> or <Mini Label Screen Y: y> to adjust the position of the label. Good luck!


Download: http://pastebin.com/pp75m9kR
 
Last edited by a moderator:

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
274
Reaction score
132
First Language
English
Primarily Uses
@Kadafi Wow thank you very Much!!! 

Thank you!


EDIT:
 


@Kadafi I try it but the text appear onsly 1 second on the screen then disappear, with the same comment in event and old script it works (without position obviously)
Is correct?
 


Comment:
<Mini Label Screen X: 20>
<Mini Label Screen Y: 10>
<Mini Label: LoremIpsum sin amerth a abbas aoha>


Best
 
Last edited by a moderator:

Kadafi

Reader
Veteran
Joined
Apr 7, 2014
Messages
38
Reaction score
25
First Language
Indonesian
Primarily Uses
RMMV
I just updated the plugin. You can redownload it from my pastebin.
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
274
Reaction score
132
First Language
English
Primarily Uses
Thank you is perfect now!!!



Thank you very much, i appreciate that.

All the best


EDIT 2:p


Dear @Kadafi I will not take advantage of your kindness, but if you can do that i need the last modify :)
I'll explain my situation, in my project i want use your plugin for show dynamic text based by event, that event it will be updated during the game, so i need to use a common event instead copy and paste the same event in every map, even if i want copy and paste it will be impossibile because in order to create a complete game that will be crazy to do.

If is not difficult to do, can you update it?

All the best
 
Last edited by a moderator:

Kadafi

Reader
Veteran
Joined
Apr 7, 2014
Messages
38
Reaction score
25
First Language
Indonesian
Primarily Uses
RMMV
Hmm. Is it to show the mini label through common event?
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
274
Reaction score
132
First Language
English
Primarily Uses
Yes it will be perfect!
Is possible?


Maybe 1 common event for a text, i dont pretend who can recognize text inside conditional branch, i can use a common event for any text
 
Last edited by a moderator:

Kadafi

Reader
Veteran
Joined
Apr 7, 2014
Messages
38
Reaction score
25
First Language
Indonesian
Primarily Uses
RMMV
The mini label needs an event on the map to show it. You can add <CoEvNote: commonEventId> to the event's note box to add all the common event 'Note' to the event. So you don't have to copy the note to any events, just use the notetag. You can redownload the updated plugin from my pastebin.
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
274
Reaction score
132
First Language
English
Primarily Uses
Thank you Kadafi !

All the best!
 

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
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'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top