The Classy Prostitute
- Mar 17, 2012
- Reaction score
- First Language
- Primarily Uses
State Graphics Script v1.3
Created by Neon Black
What is it?
This script allows states to change an actor's or an enemy's graphic while a state is applied to the battler. This change lasts while the state is applied. You can make changes to a battler's battle graphic, character sprite, or face as well as changing the character's name. While multiple states are active that change graphic, the highest priority state with a type of change is the one to take effect.
How can I use it?
Insert this below materials and above main. This script works using several different tags.
- battler gfx["name" 0] -or- enemy battler gfx["name" 0 1,2,3] -or- actor battler gfx["name" 0 1,2,3] - Changes the in battle graphics of a battler applied with the state. The short version (battler gfx["name" 0]) will change both actors and enemies while it is applied. The long version only works on either actors or enemies and requires you to add the IDs of the actors or enemies whose graphics you want to change, each separated by commas. For this tag, "name" is the name of the file and MUST be surrounded in quotes. 0 in this case is the hue, which must be a number from 0-255. 1,2,3 are the IDs of the actors or enemies whose graphics will be changed by the state. These can be changed to reflect the desired graphic, hue, or battler IDs as needed.
- face gfx["name" 3] -or- character gfx["name" 3] -etc- - Work exactly like the tags above only on faces and walking sprites. In this case the "3" is the index of the graphic to use from a sheet. These can also be prefixed with "actor" or "enemy" such as "actor face gfx["name" 3, 1,2,3]".
- name change["name"] -or- actor name change["name" 1,2,3] -or- enemy name change["name" 1,2,3] - changes the name of the battler with the state applied. Can be used for a character in disguise or a shape shifting enemy that you don't want to completely transform.
- stack gfx - Adding this tag after any other tag will cause the change to only take effect while a state is at a certain stack level. The 1 can be any number from 1 or above.
This script should be compatible with most other script, but it assumes that enemies do not have face or character sets. If you find another script that this is incompatible with, first try place this script ABOVE the other script. If you still note issues with it, follow the instructions in the compatibility section in the script and then move the script BELOW the other script. If you are still having problems, leave a message with your issue here.
How can I get the code?
Version 1.3 (base script, 8.17.2013) is available from my pastebin account here.
I would like to use this code.
This work is licensed under a Creative Commons Attribution 3.0 Unported License and is available for commercial and non-commercial use.
Since it seemed a few people really wanted a script like this, I took the time to make it. While working on it I got a lot of interesting ideas with transforming which led to one or two other scripts being developed to go along with it. Overall it makes states a little bit more interesting to work with. As always, enjoy!
Last edited by a moderator: