VE - State Graphics

Here's the weird part.

If I put a random face graphic in to replace the one it's referencing, it changes ALL OF MY ACTOR'S FACES to that ONE graphic.
Okay... not THAT is bizarre.

Do it happens also in a new project?
So I started a new project, changed the first actor's face to a different file, deleted the old file, and launched the game.

It launched okay, but when I went to the menu, it gave me the same error.

console3.png
Well, i can't reproduce this error here no matter what.

Anyway, I will make some changes to the plugin and update it tomorrow, let's hope that this fix this bizarre error.
Would it help if I gave you the sample project I made?

https://drive.google.com/file/d/0B7nTFIbq4xLKdUc2OHV0bndWMzg/view?usp=sharing
@Ichida za Zeal

i've updated the plugin, check if the issue is solved.
Yup, that did it. Works perfectly now. 😀
Would this allow me to also change enemy graphics when they are under a specific state? So far, they just turn invisible for me.
Would this allow me to also change enemy graphics when they are under a specific state? So far, they just turn invisible for me.

It's working fine for enemies:

Spoiler
C7gfaJs.gif



Did you test on a clean project without other plugins, if it works on a clean project, it might be an incompatibility and i will need you to find out wich plugin is causing that.
It's working fine for enemies:

Spoiler
C7gfaJs.gif



Did you test on a clean project without other plugins, if it works on a clean project, it might be an incompatibility and i will need you to find out wich plugin is causing that.



Whoops, figured it out. Had to put the image in sv_enemies folder.
I'm having some problems with this plugin and I'm not sure what I'm doing wrong...


I have a state called Detransform. Each of my characters is in a "transformed" form during battle (but not on the field), so the idea is that if you use certain skills or lose all of your MP, you Detransform and become a normal person. So I need to change their graphics to reflect that. This Plugin SHOULD do that, but I'm having a problem...


If I use the <state graphic replace: 'filename'[, index]> tag, it only works for one character. But it works. For example I can change my main character (who is just called Pink at the moment) to her normal state by using <state graphic replace: 'NormalGirl01'> on that state... but it only works for her and no one else.


So I figured I had to use the other tag, <state graphic extension: 'extension'>, and I made a copy of the "NormalGirl01" image and named it to <state graphic extension: 'Pink[Detransform]'>, which is what it sounds like I'm supposed to do. I even tried using <state graphic extension: 'NormalGirl01[Detransform]'> but neither one worked. When I use the skill that applies this state on the user, the sideview battler graphic vanishes and the game hangs.


So what exactly am I supposed to put as the tag here? I need it to work for multiple characters too.


(The two below issues were tested using the first tag, which as I said, worked on that one character.)


And I have two more problems. Even when I get it working, there's a bit of an issue - when the effect wears off, they just instantly revert to the normal battle graphic, but that causes a problem for me since my characters actually transform. I need to play an animation when the effect wears off and they transform again. Is there a way to play an animation when the graphic changes as a result of this plugin, both as a result of the graphic changing to the new graphic and another specified animation when it switches back to the other, original graphic?


Lastly, when the battle ends, they automatically switch back to the normal graphic because the condition for the state to expire is the end of battle. But I would like to be able to have the changed graphic persist during the victory scene. Because like I've said, my characters transform, so if they're not transformed at the end of battle as a result of the graphic change, then it makes no sense for them to swap back to the transformed graphic, only for them to be detransformed back on the map screen. If this sounds a bit complicated, I can illustrate if if you want lol


So would it be possible for you to add a tag that can be added when using this plugin that will persist a changed state graphic at the end of battle if the state is active at the end of battle (even if it's cured at the very end)?
On the extension you place only the extension on the tag. it should NOT inclue the original filename.


So your have the files:
NormalGirl01
NormalGirl01[Detransform] 



the tag should be 
<state graphic extension: '[Detransform]'>


About the issue with the graphic replace, i will need screenshots of all tags you are using, and the filenames of all characters.

Is there a way to play an animation when the graphic changes as a result of this plugin, both as a result of the graphic changing to the new graphic and another specified animation when it switches back to the other, original graphic?

The plugin role is to change the battler graphic while under a state, not to display animations. To display aniamtions when an state is added or removed you need a plugin dedicated to that.

So would it be possible for you to add a tag that can be added when using this plugin that will persist a changed state graphic at the end of battle if the state is active at the end of battle (even if it's cured at the very end)

As said, this plugin role is to change graphic, it don't control states durations. Adding checks to keep the display even when the state is gone would add unnecessary complexity. So your better route is to not add the 'Remove at battle end' on the states, and remove them manually (with events or other plugins)
On the extension you place only the extension on the tag. it should NOT inclue the original filename.


So your have the files:
NormalGirl01
NormalGirl01[Detransform] 



the tag should be 
<state graphic extension: '[Detransform]'>


About the issue with the graphic replace, i will need screenshots of all tags you are using, and the filenames of all characters.



I got that setup, so how do I also make the charset also change?  Do I name the charset image a certain way or call an index in some way?
I got that setup, so how do I also make the charset also change?  Do I name the charset image a certain way or call an index in some way?

The setup is exactly the same for charsets (and faces for instance).


 if your extension is named "[extension]" your files should be:


BattlerFilename


BattlerFilename[extension]


CharsetFilename


CharsetFilename[extension]


FaceFilename


FaceFilename[extension]
On the extension you place only the extension on the tag. it should NOT inclue the original filename.


So your have the files:
NormalGirl01
NormalGirl01[Detransform] 



the tag should be 
<state graphic extension: '[Detransform]'>


About the issue with the graphic replace, i will need screenshots of all tags you are using, and the filenames of all characters.


The plugin role is to change the battler graphic while under a state, not to display animations. To display aniamtions when an state is added or removed you need a plugin dedicated to that.


As said, this plugin role is to change graphic, it don't control states durations. Adding checks to keep the display even when the state is gone would add unnecessary complexity. So your better route is to not add the 'Remove at battle end' on the states, and remove them manually (with events or other plugins)



Okay, I've got it now. I had made two mistakes.


First, I had to change it to <state graphic extension: '[Detransform]'>  like you said.


Then I had a file naming problem. In my graphics folder, the transformed graphics are titled like MagicalGirl01.png and the detransformed graphics are titled like NormalGirl01.png. Problem was, I had named the [Detransform] tagged graphic as "NormalGirl01[Detransform].png" when it needed to be "MagicalGirl01[Detransform].png". I was thinking about it the wrong way lol


Now it works, as you can see here:

Spoiler
Spoiler





Transformed (aka the normal battle state):


lLi3OnE.jpg



Detransformed via this plugin (aka under a state):


eXo3PLb.jpg





Okay now as for the other two things...


Do you know of any plugins that will display an animation when a state is added or removed? I don't suppose you have one, do you?


And the second thing... I actually can work around that, like you said, and remove the state after battle because I won't be using random encounters - all of my battles will be events, so I just have to erase the Detransform state at the end of battle in the event.


Thanks! //rmwforums.s3.amazonaws.com/emoticons/default_smile.gif
The first one I have done for VX Ace, and eventually I will convert to MV, but it's not on my short list. I don't remember seeing any for MV. This don't means that there is none though and you can search for it or maybe make a request on the request forums.
I'm having a problem and i'm not sure why. This is my state set up.


test%203_zpshdsnwdok.png



But when I use it in a battle this happens.


test%201_zpsupqfi2ol.png



test%202_zpspd0uslqn.png



Any idea on what the problem is?
What is the name of your battler graphic?
What is the name of your battler graphic?

Fire.png
Your tag says '[Fire]', your file says 'Fire'.


Noticed the difference?

Original thread: https://forums.rpgmakerweb.com/threads/ve-state-graphics.54559/