[SOLVED AND TUTORIAL PIC ADDED] How changing graphics in move routes works?

Hi
I really need to understand how changing graphics in move routes works...
Let's say about this sprite here.
How do i pick from the turned off lamp?
!Other3 2.png
I'm not sure exactly what you're asking. Are you referring to the "Change Imagine" command in the Set Movement Route window, or are you asking how moving around changes the graphics (like when walking and changing directions)?
inside an event in the contents at the commands at "set move route"
It basically just changes the graphics of the event you select. If you click on the "Change Image" command inside the move route window, there will be a pop out and it will ask you to select the new graphics among all the files in the img/characters folder.
It changes the whole sprite yes, i know that... But i need only a part of the sprite (i have put an example in green cyrcle)
In that case you'll need to first set the direction (UP for the chara you selected), and then turn DIRECTION FIX on. That way the character will keep looking up and the graphics wont change. If the event does move, you'll need to turn Walking Animation off.
You seem not to understand what i am trying to accomplish but it's okay, thank you very much for trying! 🙂
@TheRamenGirl
no, the problem is that what you ask for is impossible.

You CANNOT select the spritecell through the set move route command, only the entire sprite.

selecting the sprite-cell only works for the page sprite selector, so if you want to change that you have to use different pages of the event and use conditions to switch.
When you select the event's graphic, the column (left, middle, right) of the frame you select is the default, assuming "stepping animation" is off.
So when you change facing direction, or "row" in other words, it'll retain that column.

In this case, you'd select the middle column, and alternated between "Turn Left" and "Turn Up"
If you wanted to alternate between the candles holders. You'd select the right column. And alternate between "Turn Right" and "Turn Up"

Now, if you're doing this with an action button trigger, like talking to an NPC, The event will attempt to turn to the face the player. So you'll probably see a flicker depending of the direction the player is.
So, as MushroomCake28 mentioned, you need Direction Fix checkmarked, and start and end the move route commands by turning it off and on again.

Alternately, you can alternate between Event Pages. Because each Event Page will have it's own graphic.

Alternatively, Alternatively, you can manually set the event graphics "cell" with a script call, but I can't think of it off the top of my head.
@TheRamenGirl I understand what you mean and Andar is correct. You want to pick an image in a tileset. That can't be done with the change image command.
First it needs to be a character image file,
second it needs to be set so that the image you want is in the position you want.
Take for example Eric here
$Eric.png


You will notice that only the center image is of him standing up. The others are of him walking.
What you want is a static image, so you would edit the file to make all the images on each line the same. Then you would be able to pick the graphic file and then specify the direction so that it uses the line you want (with direction fix on)
So i know there is this for MV... i do not know if there is one for Ace though. But i use this all the time.. it allows you to set to the exact frame you want. So you can go from one spot on the sheet to another through move route scripts in the plugin. It makes for very nifty effects once you get the system for numbering down!

EDIT: OH there IS a VXAce version!!! Here ya go!! Link
So i know there is this for MV... i do not know if there is one for Ace though. But i use this all the time.. it allows you to set to the exact frame you want. So you can go from one spot on the sheet to another through move route scripts in the plugin. It makes for very nifty effects once you get the system for numbering down!

EDIT: OH there IS a VXAce version!!! Here ya go!! Link
Thank you!
i am using this with " set_char("Charset",index,col,dir) " script call in move route like this
" set_char("!Other3",1,2,4) " and still it shows wrong sprite/cell.. i can't understand what i am doing wrong...
That script tells you to use 2,4,6,8 for dir?

Try using ("!Other3",1,2,8)
That script tells you to use 2,4,6,8 for dir?

Try using ("!Other3",1,2,8)
OMG YES It worked!! thank you!
But i need to understand why? what 8 stands for?? i was trying 4 and 11 because it would make sense because it's the 11 or 4 sprite in row..
or 2 because it's the second sprite in the 2 column...
Check your keyboard right side numbers. They also have directional arrows drawn on them.
i still don't get it :/ even with that logic there are 4 rows with sprites and lets say
8 stands for the last row... there should be 11 too .. and 8 would stand for the sprite row above the lamp i wanted... and 11 for the last row..

I am burned

Even tho i don't get the logic behind it, i got how the script works and i will post a picture to explain for others. Thank you rpgLord69 , AlphaOmega and others for helping me! 🙂

!Other3.png
If you are using a normal keyboard, in the numpad on the right the number 8 has an upward drawing arrow drawn on the key.

RPG Maker sprites are arranged in 4 rows. 1st row the sprite faces down, 2nd left, 3rd right and 4th up.

The turned off lamp is on the 4th row, so it means that it is basically an upward facing sprite object. That's why it's referenced with a key (number 8) that has an upward facing arrow drawn on it.

EDIT: Remember that you were also referencing it with it's column number.
What would bother me about that script is that it does not follow VXA's code convention. VXA starts its files (both character sprites like this but also things like faces) at 0, not 1. So if this script followed the existing convention, the correct scriptcall would actually be ("!Other3",0,2,8).
What would bother me about that script is that it does not follow VXA's code convention. VXA starts its files (both character sprites like this but also things like faces) at 0, not 1. So if this script followed the existing convention, the correct scriptcall would actually be ("!Other3",0,2,8).
Feel free to change your personal copy of the script.
The script simply subtracts 1 from the numbers provided to get the real number
@character_index = index - 1
Line 142

Original thread: https://forums.rpgmakerweb.com/threads/solved-and-tutorial-pic-added-how-changing-graphics-in-move-routes-works.149818/