Hello :) I am posting this question on Lionheart_84's behalf. Recently Yanfly released an awesome new tips and tricks video about using states to Transform Actor's into upgraded forms (ala Super Saiyan). In Yanfly's lunatic coding, it alters the actors battler and portrait to represent the change. Lionheart_84 and I would like to know if it would be possible to alter the lunatic coding so that the actor's class would also change while they were under the status effect.
Here is the original Tips & Tricks Video for reference, on Yanfly.moe (note this will lead away form the forum) http://yanfly.moe/2016/07/06/tips-tricks-actor-transformations-rpg-maker-mv/
The link also includes the lunatic code.
And, just in case I have misinterpreted Lionheart_84's question, here is Lionheart_84's post. (tenth post from the top)
Thank you for taking your time to check this out for us :D
Yanfly Actor Transformations Lunatic Coding Help
● ARCHIVED · READ-ONLY
-
-
I think you can do something like DreamX suggested in this topic, not sure how to mix everything, but maybe it will help
-
I think you can do something like DreamX suggested in this topic, not sure how to mix everything, but maybe it will help
Thanks for the response! Unfortunately that is not what Lionheart_84 was attempting, he is trying to force a class change through a status effect similar to how Yanfly has changed character appearance through a status effect. Then when the status ends he wants the class to return to normal. -
bumpage...
-
Hello everyone. Just downloaded @Yanfly's Actor Transformations Lunatic Code, but I'm having trouble setting it up. I'm sorry to ask this (perhaps it's something very easy and obvious for those familiar with Coding and Lunatic Mode), but it's the first time EVER I have to use or set-up code or lunatic mode.
Already watched the video several times, but I wish it included the following info for noobs, and a SEPT BY STEP explanation on how to set it up correctly, showing in de video how she went to each folder or place in the computer to find the following:
- ¿Where do I find The filename of the character graphic?
¿Where do I find The index of the character graphic used?
¿Where do I find The filename of the face graphic?
¿Where do I find The index of of the face graphic used?
¿Where do I find The filename of the battler graphic?
All these red values are refering to the current actor, or the actor in which I want to transform? In other words: must I replace the values in red with the current actor (normal State) which is about to transform, OR the values of the transformed actor (transformed State)?
I don't know if I'm asking this correctly, I have problems with these bits of the code, and I appreciate very much if someone would be so kind as to explain this to me in the easiest way possible:
<Custom Apply Effect>
// Check if user is an actor.
if (user.isActor()) {
// Archive the previous settings.
user._prevCharName = user._prevCharName || user._characterName;
user._prevCharIndex = user._prevCharIndex || user._characterIndex;
user._prevFaceName = user._prevFaceName || user._faceName;
user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
user._prevBattlerName = user._prevBattlerName || user._battlerName;
// Check if the actor ID is 1.
if (user.actorId() === 1) {
// The filename of the character graphic without the file extension. <= Where do I find this?
var charName = 'HaroldSSJ';
// The index of the character graphic used. <= Where do I find this?
var charIndex = 0;
// The filename of the face graphic without the file extension. <= Where do I find this?
var faceName = 'HaroldSSJ';
// The index of of the face graphic used. <= Where do I find this?
var faceIndex = 0;
// The filename of the battler graphic without the file extension. <= Where do I find this?
var battlerName = 'Harold_SSJ1';
// Check if the actor ID is 2.
Code:} // Changes the character image to the setting applied from above. user.setCharacterImage([COLOR=#0000FF]charName, charIndex[/COLOR]); [FONT='comic sans ms'][B][COLOR=#800080]<= Do I have to replace/change something here?[/COLOR][/B][/FONT] // Changes the face image to the setting applied from above. user.setFaceImage([COLOR=#0000FF]faceName, faceIndex[/COLOR]); [FONT='comic sans ms'][B][COLOR=#800080]<= Do I have to replace/change something here?[/COLOR][/B][/FONT] // Changes the battler image from the setting applied from above. user.setBattlerImage([COLOR=#0000FF]battlerName[/COLOR]); [FONT='comic sans ms'][B][COLOR=#800080]<= Do I have to replace/change something here?[/COLOR][/B][/FONT] // Refreshes the user's appearance. user.refresh(); [FONT='comic sans ms'][B][COLOR=#800080]<= Do I have to put something inside this brackets?[/COLOR][/B][/FONT] } </Custom Apply Effect>
and this:
<Custom Remove Effect>
// Retrieve archived settings.
var charName = user._prevCharName;
var charIndex = user._prevCharIndex;
var faceName = user._prevFaceName;
var faceIndex = user._prevFaceIndex;
var battlerName = user._prevBattlerName;
// Changes the character image to the archived setting.
user.setCharacterImage(charName, charIndex);
// Changes the face image to the archived setting.
user.setFaceImage(faceName, faceIndex);
// Changes the battler image from the archived setting.
user.setBattlerImage(battlerName);
// Clear archived data.
user._priorityCharacterName = undefined;
user._priorityCharacterIndex = undefined;
user._prevFaceName = undefined;
user._prevFaceIndex = undefined;
user._priorityFaceName = undefined;
user._priorityFaceIndex = undefined;
user._prevFaceName = undefined;
user._prevFaceIndex = undefined;
user._priorityBattlerName = undefined;
user._prevBattlerName = undefined;
// Refreshes the user's appearance.
user.refresh();
</Custom Remove Effect>
THANKS IN ADVANCE! ^___^ - ¿Where do I find The filename of the character graphic?