Cannot figure out how to use VE's State Graphic Plugin [MV]

Good evening all! i come here humbly seeking assistance once again from the talented minds here!

i'm no stranger to VE's plugins, infact i'm proud to say i use about 8-10 of his plugins for the core of my game, and with that i know his plugins come with a bit of a learning curve and it takes me a solid hour (not clashing with other plugins just me figuring out all the options) before i get them going the way their intended, but by the time i do figure it out i'm exposed to so many options its worth the time and tinkering.

however this one has me conpletely floored as the instructions/help included in the .js file and the instruction video are uncharacteristingly vague and don't provide any examples of how the code should look when implemented or even where these filenames should be located, i even opened the .js file and read through the code to see if a better example of the language was presented somewhere among the script.

To better explain, here is the plugin:
https://victorenginescripts.wordpress.com/rpg-maker-mv/state-graphics/

i'm trying to do the first option, State graphic replace, where when actor1 gets inflicted with a certain state he changes battler, now to be more specific my intention is for actor1 to have a skill that has a 100% of inflicting this state of himself and thus transforms, kind of like Legend of the Dragoon where you have the option to transform whenever the option is available.

here's the explanation in the help:

<state graphic replace: 'filename'[, index]>
* A state with this tag will make the battler graphic (and charset or faceset
* if you setup the plugin parameters) be directly replaced by the one set.
* filename : new graphic filename. must be always in quotations
* index : index for charsets and facesets. (optional)

now excuse my lack of intellect but im stumped. i created a State called Transform, and a skill called Beast and gave it to actor1, now in the notetags for the Transform state i put:

<state graphic replace: "Actor1_Transformed.png" [2, index]>

(example attached below)

because in my SV_actors folder that is the filename for the battler i want my hero to turn into. [2,index] i completely failed to understand what i was suppose to do here so i put 2 cuz why not, nothing ventured nothing gained. when i enter battle the skill successfully gives the actor the state but nothing else changes

i'm trying to fgure out:
what filename are we suppose to put in the quotations and where are these files meant to be,
by quotations does VE mean " or the exemplified '
how to set up the index for the charset/faceset

i've figured out the battle motions, cooperation skills, etc so i'm really ashamed on this one and would love any help.
Edit: NVMD
<state graphic replace: "Actor1_Transformed.png" [2, index]>

this is not valid.

<state graphic replace: "Actor1_Transformed", 2>

would replace the image with that filename. The 2 is only required if you want the map and faceset replaced as well - that tells it to use the third image in the top row.

How many actors do you have? If only one, you could do the above. But if you have more, you wouldn't want them all changing to the same image when they have the same state. In that case you'd want to use <state graphic extension> instead. It would be used like this:

<state graphic extension: [Transformed]>

then your normal actor sheet could be called Actors, and your transformed state sheet would be called Actors[Transformed]. It seems like you would just have files with the same name in characters and faces if you wanted the transformed image to remain on the map and in message boxes.


So ... the name of the image must be in quotes, but must not have the .png extension included. The [, index] indicates it's optional, and if you use it, you don't include the [ ] and you replace the word index with the number you want (starting at 0 in the top left).
<state graphic replace: "Actor1_Transformed.png" [2, index]>

this is not valid.

<state graphic replace: "Actor1_Transformed", 2>

would replace the image with that filename. The 2 is only required if you want the map and faceset replaced as well - that tells it to use the third image in the top row.

How many actors do you have? If only one, you could do the above. But if you have more, you wouldn't want them all changing to the same image when they have the same state. In that case you'd want to use <state graphic extension> instead. It would be used like this:

<state graphic extension: [Transformed]>

then your normal actor sheet could be called Actors, and your transformed state sheet would be called Actors[Transformed]. It seems like you would just have files with the same name in characters and faces if you wanted the transformed image to remain on the map and in message boxes.


So ... the name of the image must be in quotes, but must not have the .png extension included. The [, index] indicates it's optional, and if you use it, you don't include the [ ] and you replace the word index with the number you want (starting at 0 in the top left).

perfect got it working thanks to you and deeply appreciated!! i feel like such a dope! and to answer your question yes its only 1 character who can do this much like Ryu in BOF4
It's not how many characters can do this. If you have 2 party members, and they both get the state, then they will both transform to the same graphic, if you use the first tag.
It's not how many characters can do this. If you have 2 party members, and they both get the state, then they will both transform to the same graphic, if you use the first tag.

yup, I completely understand! thank you!

Original thread: https://forums.rpgmakerweb.com/threads/cannot-figure-out-how-to-use-ves-state-graphic-plugin-mv.113294/