How do I know which index is on the sprite file?

rpgmakerxp

Veteran
Veteran
Joined
Jun 14, 2015
Messages
85
Reaction score
15
Primarily Uses
Hi I'm trying to have the sprite change graphics automatically using a script.  The instructions are as follows:


"

Code:
#	 To change sprites:
#
#	 <ge: actor_id, sprite_name, sprite_index>
#
#	 actor_id: The ID of the actor to be change graphics.
#	 sprite_name: The filename of the sprite graphic to be placed.
#	 sprite_index: The index of the sprite graphic to be placed.
#
#	 To change face:
#
#	 <fe: actor_id, face_name, face_index>
#
#	 actor_id: The ID of the actor to be change face.
#	 face_name: The filename of the face graphic to be placed.
#	 face_index: The index of the face graphic to be placed.
#
#	 Notes:
#	 * If you use a single-sprite file (files with $ at the
#	 beginning), you may also add it but the index must be 0.
#	 * If the notetag is not fit in a single line, shorten the filename or
#	 use the other method below.
#	 * You may put many notetags for the different actors at the same
#	 equipment.
"


The actor_id for it would be 001.  The filename of the sprite graphic would be "spritexb-8028.png". The Index of the sprite graphic is where I am lost.  How do I find the index? What does it look like when you type it out?


Also would the sprites below be counted as a single-sprite file or since it has many sprites it also has many indices?


I provided some sprites below as examples.  Where the sprite changes "armor" using this script.


Here's a link where I found the script. 





spritexb-8028.png


spritexb-1646.png
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
For which maker are you trying to use the script?


You posted in RMXP, your name and your profile indicate XP as well -  but the script you're trying to use is an Ace script, that can't work in RMXP
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,452
First Language
Portuguese
Primarily Uses
The index is the number of the charset (starting at 0) when using spritesheets with 8 charsets.


Actor1 - Cópia.png


Obviously, this is something that is not relevant on RMXP, as it don't use those types of charsets.
 

rpgmakerxp

Veteran
Veteran
Joined
Jun 14, 2015
Messages
85
Reaction score
15
Primarily Uses
For which maker are you trying to use the script?


You posted in RMXP, your name and your profile indicate XP as well -  but the script you're trying to use is an Ace script, that can't work in RMXP
Oh I suppose I just figured it would still work.  In that case is there one that WOULD work for RMXP?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Perhaps, but I never used RMXP - make a topic in the RGSS script request for RMXP with a detailed description of what you want the script to do, and someone might find one for you.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top