How I choose a Individual sprite in Set Movement Route

I know someone asked the same thing but I was reading the post and he got no solution for this and was some time ago.

Im trying to make a ABS with events, but I cant choose the right sprite for that.
I need to create a full 3 * 4 sprite sheet with all the animations for the actor and for the enemies 🙄 and is super time consume.
I dont wanted to be using plugins in my project but...
Some plugins, scripts, a fix or someone have another way around to fix this?
eventing ABS isn't a easy thing to do. MOG_ChronoEngine and teh plugins below
that are usefull is someting you want to get started.

ABS is also not the easiest thing to do in MV.

you have also Apha ABS.
But fully event it with animated slash can be hard, while animation should
be used as well or images.

Are you really sure you want to event the full ABS evented? even so, you need a
plugin from YEP_SelfSwVar to have the enemy have its own HP, Attack, Def, etc.

there are other plugins that is also needed to fully event the ABS system
or it doesn't really work.

Other than that, Javascrypt is also included for scriptcalls to run specific
events, commands, etc.

if your javascript is beginner, try with a normal game with sideview or frontview
battle system to learn the MV Engine before going advanced with ABS.
you don't have to use the other positions in the 3x4 grid if you don't want to, you just have to disable them.

direction fix disables the changing of directions for a sprite, which means it only uses one row of the sprite. I don't know which one the default is, but you can simply give the turn command to chose the row before activating direction fix.

the three columns are used for stepping and walking animations. Again you can turn that both off to keep the sprite at the default position (which is the middle one).

Leaving the rest of the sprite empty if it's too much work for you is better in the long run than to mix up different sprites in it.
But if you really need to, there are script commands that give you access, I just don't remember them at the moment
I know someone asked the same thing but I was reading the post and he got no solution for this and was some time ago.

Im trying to make a ABS with events, but I cant choose the right sprite for that.
I need to create a full 3 * 4 sprite sheet with all the animations for the actor and for the enemies 🙄 and is super time consume.
I dont wanted to be using plugins in my project but...
Some plugins, scripts, a fix or someone have another way around to fix this?
Made a plugin for this just now 😉
Method A (Plugin):
Spoiler: CT_Bolt's CharacterEx Plugin
CTB_CharacterEx.js: Click Here to Download
1585070809379.png

Javascript can also be used. For example could even have it pick a random index:
Code:
this.setCustomPattern(Math.floor(Math.random()*3))

Alternatively with the plugin you could use it like this:
Spoiler
1585071727505.png

This method is a completely different approach and just prevents the pattern from updating and then sets the pattern to a specific index.
Turn off "patternLocked" to allow the pattern to Update once again.
In an event's move route using this:
Spoiler: Extra Info
Code:
this.patternLocked ? this.patternLocked = false : this.patternLocked = true
Will toggle the pattern from being "locked" which will just freeze/unfreeze the players patter from updating.

Method B (No Plugin):
Alternatively as you mentioned above you'd prefer no plugins to be used...
There is another way but it's a little bit more script used each time.
Spoiler: NO Plugins Used Method
Use the following script call inside a move route:
Code:
this.resetPattern = function() {this.setPattern(eval(this.customPatternIndex) || 1);}; this.customPatternIndex = 2; this._pattern = this.customPatternIndex;
What this does is overwrites the "resetPattern" function to use set to pattern the "customPatternIndex" property of the event object. Then we set "customPatternIndex" to the one we want. In the example it is set to 2.

Works great for me, let me know how it goes for ya :popcorn:
eventing ABS isn't a easy thing to do. MOG_ChronoEngine and teh plugins below
that are usefull is someting you want to get started.

ABS is also not the easiest thing to do in MV.

you have also Apha ABS.
But fully event it with animated slash can be hard, while animation should
be used as well or images.

Are you really sure you want to event the full ABS evented? even so, you need a
plugin from YEP_SelfSwVar to have the enemy have its own HP, Attack, Def, etc.

there are other plugins that is also needed to fully event the ABS system
or it doesn't really work.

Other than that, Javascrypt is also included for scriptcalls to run specific
events, commands, etc.

if your javascript is beginner, try with a normal game with sideview or frontview
battle system to learn the MV Engine before going advanced with ABS.

Thank you for your reply.
I know ABS with events give some hand work but i have good experience with rpg maker and other softwares I allways loved to play with it.
I dont know to write any code but I know how to read it.
My brain do not let me learn to write any type of code (im allways forgetting stuff).
But I can read it very well, making with events is like scripting but more intuitive (we just need to
think like we are writing our own code)
I downloaded Mog ABS yesterday and I was watching the code to help me out...
My ABS will be not that advanced its just for my game and it is something to challenge me 🙂.
Made a plugin for this just now 😉
Method A (Plugin):
Spoiler: CT_Bolt's CharacterEx Plugin
CTB_CharacterEx.js: Click Here to Download
View attachment 137725
Javascript can also be used. For example could even have it pick a random index:
Code:
this.setCustomPattern(Math.floor(Math.random()*3))

Alternatively with the plugin you could use it like this:
Spoiler
View attachment 137727
This method is a completely different approach and just prevents the pattern from updating and then sets the pattern to a specific index.
Turn off "patternLocked" to allow the pattern to Update once again.
In an event's move route using this:
Spoiler: Extra Info
Code:
this.patternLocked ? this.patternLocked = false : this.patternLocked = true
Will toggle the pattern from being "locked" which will just freeze/unfreeze the players patter from updating.

Method B (No Plugin):
Alternatively as you mentioned above you'd prefer no plugins to be used...
There is another way but it's a little bit more script used each time.
Spoiler: NO Plugins Used Method
Use the following script call inside a move route:
Code:
this.resetPattern = function() {this.setPattern(eval(this.customPatternIndex) || 1);}; this.customPatternIndex = 2; this._pattern = this.customPatternIndex;
What this does is overwrites the "resetPattern" function to use set to pattern the "customPatternIndex" property of the event object. Then we set "customPatternIndex" to the one we want. In the example it is set to 2.

Works great for me, let me know how it goes for ya :popcorn:

Thanks man.
But I think i cant use this in a common event, where I need to create the slashes attacks (At least it doesnt work for me 😕).
Thanks man.
But I think i cant use this in a common event, where I need to create the slashes attacks (At least it doesnt work for me 😕).
bahaha well why didn't ya say so lol jk jk.

Yeah I had such troubles when calling via common events a while back and thus created such a plugin to help.
LastCalledEvent Plugin by CT_Bolt: Click Here To View
Set it up like so this:
Spoiler
1585094571344.png
Then following script used in the common event would be like this:
Spoiler
Code:
var eId = $gameVariables.value(20); var e = $gameMap.event(eId); if (eId) {e.resetPattern = function() {e.setPattern(eval(e.customPatternIndex) || 1);}; e.customPatternIndex = 2; e._pattern = e.customPatternIndex;}
Only plugin required for the script above would be my LastCalledEvent plugin.
(which is used to get the eventID that called the common event)

Anyways... Works great for me 🙂
Let me know how it goes :popcorn:

Edit:
Made a little demo of it all together now too 😉
Can be played & downloaded on my LastCalledEvent Plugin Page 🙂
https://ct-bolt.itch.io/rmmv-lastcalledeventid
bahaha well why didn't ya say so lol jk jk.

Yeah I had such troubles when calling via common events a while back and thus created such a plugin to help.
LastCalledEvent Plugin by CT_Bolt: Click Here To View
Set it up like so this: Then following script used in the common event would be like this:
Spoiler
Code:
var eId = $gameVariables.value(20); var e = $gameMap.event(eId); if (eId) {e.resetPattern = function() {e.setPattern(eval(e.customPatternIndex) || 1);}; e.customPatternIndex = 2; e._pattern = e.customPatternIndex;}
Only plugin required for the script above would be my LastCalledEvent plugin.
(which is used to get the eventID that called the common event)

Anyways... Works great for me 🙂
Let me know how it goes :popcorn:

Edit:
Made a little demo of it all together now too 😉
Can be played & downloaded on my LastCalledEvent Plugin Page 🙂
https://ct-bolt.itch.io/rmmv-lastcalledeventid

Thank you so much for your time but it wasnt work.
It´s a shame rpg maker do not give us this option to choose sprites to let us to create animations in games without coding or complications.
I think some versions have this option I think it is the RPG Maker XP?
Well, time to get my hands full of animations sprites :/.

Thank you so much, have a nice day.

EDIT:Here it is a print screen what Im doing
Sprites.png

Original thread: https://forums.rpgmakerweb.com/threads/how-i-choose-a-individual-sprite-in-set-movement-route.119407/