Spoiler
can i request a change in your Message Core plugin?
this
Window_Message.prototype.convertEscapeCharacters = function(text) { text = Window_Base.prototype.convertEscapeCharacters.call(this, text); text = this.convertNameBox(text); text = this.convertMessageCharacters(text); return text;};Window_Message.prototype.convertNameBox = function(text) { text = text.replace(/\x1bN\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 1); }, this); text = text.replace(/\x1bN1\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 1); }, this); text = text.replace(/\x1bN2\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 2); }, this); text = text.replace(/\x1bN3\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 3); }, this); text = text.replace(/\x1bNC\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 3); }, this); text = text.replace(/\x1bN4\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 4); }, this); text = text.replace(/\x1bN5\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 5); }, this); text = text.replace(/\x1bNR\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 5); }, this); return text;};
to this:
Spoiler
Window_Message.prototype.convertEscapeCharacters = function(text) { text = this.convertNameBox(text); text = Window_Base.prototype.convertEscapeCharacters.call(this, text); text = this.convertMessageCharacters(text); return text; }; Window_Message.prototype.convertNameBox = function(text) { text = text.replace(/\\N\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 1); }, this); text = text.replace(/\\N1\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 1); }, this); text = text.replace(/\\N2\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 2); }, this); text = text.replace(/\\N3\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 3); }, this); text = text.replace(/\\NC\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 3); }, this); text = text.replace(/\\N4\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 4); }, this); text = text.replace(/\\N5\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 5); }, this); text = text.replace(/\\NR\<(.*?)\>/gi, function() { return Yanfly.nameWindow.refresh(arguments[1], 5); }, this); return text; };
basically make the name box text to be updated 'before' window base convert escape character executed...
to maintain the original text when passed to name box (since name box is executing convert escape character too)
i ask this because i made auto color plugin here:
http://forums.rpgmakerweb.com/index.php?/topic/49350-est-auto-text-color-plus/
it can color certain text... or certain escape code... to certain color.
the text you pass to Window_NameBox is already convert all \n[x] to actor x name...
so when i have this:
color actor 1 (\n[3]) to color 3
color text "Doraemon" to color 4
actor 1 name is Doraemon Zero
when using:
\n<\n[3]>
it will be auto colored only the doraemon part with color 4.
because it will become like this:
\c[3]\c[4]Doraemon\c[0] Zero\c[0]
the step why it become like that is like this
because by window base convert escape character... it transform:
\n<\n[3]>
to:
\n<\c[3]Doraemon Zero\c[0]>
then that text passed to name box and because it contain Doraemon Text... it transform to:
\n<\c[3]\c[4]Doraemon\c[0] Zero\c[0]>
this is not happening in message box... just in name box...
with above changes... it fix that behaviour. i could add that code as patch in my plugin... but since it's overwritting... it mean that when there's a change in your plugin... i will have to redo the patch... if it's ok for you... could you implement those change.
😀
sorry if above is not clear enough >.<. it's quite hard to explain this.
edit: for now i updated my plugin to include those overwrite code as patch but with plugin parameter to turn it on/off.
Just make the overwrite change to your plugin. There was a specific reason I made mine in the order I had it set in.
Spoiler
[SIZE=10.5pt]Hmm... I played with it for a little longer and I narrowed it down even more. Have 3+ Actors in the party and play with the troops while all of your members are Level 1 and then while they are about Level 30+. This was also tested on a fresh project with just CoreEngine, BattleEngineCore, PartySystem and the CTB add-on using the versions from the latest update. [/SIZE]
[SIZE=10.5pt] [/SIZE]
[SIZE=10.5pt]Use low level troops and cancel in and out of the Formation command while CTB is on and you should be able to reproduce it. At Level 1 it remains white and usable no matter what, and at higher levels it's grayed out. It might have something to do with the AGI of the enemy party compared to your own. That might explain why the bug is so elusive. So if you can't get it work, widen and narrow down the two parties' AGI gap and you should get it at some point. [/SIZE]
Once again, can you create an empty project for this and upload it online? Considering it's so elusive, chances are, my time is going to be spent blindly hunting a bug that might not even appear. My time's as scarce as is. When my time's wasted, I won't be able to provide new content for others and that's just unfair to both me and my other users. So, if you want me to fix the bug, I'm going to have to ask you for your help. If you can't provide the sample project, I can't provide a fix.
Spoiler
I spent some time verifying some ATB details when I discovered that I seem to be misunderstanding the way that the rubberband parameter functions.
It seems that setting the Minimum Speed parameter at all, results in the Highest Speed parameter being meaningless.
Example #1:
//Default ATB RubberbandLowest Speed = 0.5 * BattleManager.highestBaseAgi()Highest Speed = 1.5 * BattleManager.highestBaseAgi()Highest Battle AGI = 100
Lowest Battle AGI = 10
Results in a Lowest battlefield Speed of 50 (50% of the highest) thus all battlers with an AGI lower than 50, are treated as though they have an AGI of 50.
(Which is everyone but the 100 AGI Enemy)
Now:
Highest Battle AGI = 100
Lowest Battle AGI = 50
The 'Highest' Speed parameter has never been factored in. One enemy attacks twice for every attack of all other battlers.
Example #2:
Lowest Speed = 0.2 * BattleManager.highestBaseAgi() //<- New lowest rubberband settingHighest Speed = 1.5 * BattleManager.highestBaseAgi()Highest Battle AGI = 100
Lowest Battle AGI = 10
Results in a Lowest battlefield Speed of 20 (20% of the highest) thus all battlers with an AGI lower than 20, are treated as though they have an AGI of 20.
(Which is everyone but the 100 AGI Enemy)
Now:
Highest Battle AGI = 100
Lowest Battle AGI = 20
The 'Highest' Speed parameter has never been factored in. One enemy attacks five times for every attack of all other battlers.
(Because the highest speed cap is based on the highest base AGI... Never considering the lowest)
I am thinking I must be misunderstanding this...
If I am can someone please explain it? Possibly explain how, in any scenario where the Lowest Speed is defined, that the Highest speed is ever factored in?
Thanks!
You're right about what you think the rubberband setting does. Only thing is, their AGI will still remain at the their current AGI. However, the speed they have will be the speed calculated by the rubberband.
🙂
Spoiler
I have incorrect damage display for drain. :/
I'm sorry, but due the limited amount of time I have, I can only provide support for my own plugins.