Unfortunately this only makes timed attacks work with action sequences, not button combinations to trigger action sequences branching. I have asked about this and there is no reply yet. Also asked about characters having their weapons held out during battle in an idle stance and no word yet. Seems easy
Pre-made (Yanfly's) Action Sequence Sharing and Discussions
Javascript/Plugin SupportUnfortunately this only makes timed attacks work with action sequences, not button combinations to trigger action sequences branching. I have asked about this and there is no reply yet. Also asked about characters having their weapons held out during battle in an idle stance and no word yet. Seems easy
@sirgames - It's cool, but it visually obscures and slows the pace of battle. I guess I could use it for special break out skills or something though.
I wish Yanfly could update this tag so you can copy specific segments (like setup alone, for example):
<action copy: x:y>
Replace x with “item” or “skill” to set the type for the action list code to directly copy. The integer y
is then the ID assigned for that particular object type. For example, to copy 45th skill’s action sequences,
the code would be <action copy: skill:45> for anything that will accept these action codes. If you do use
this notetag, it will take priority over any custom that you’ve placed in the notebox.
I wish Yanfly could update this tag so you can copy specific segments (like setup alone, for example):
<action copy: x:y>
Replace x with “item” or “skill” to set the type for the action list code to directly copy. The integer y
is then the ID assigned for that particular object type. For example, to copy 45th skill’s action sequences,
the code would be <action copy: skill:45> for anything that will accept these action codes. If you do use
this notetag, it will take priority over any custom that you’ve placed in the notebox.
I'm trying to make a reference skill whose animation either involves the user moving up and hitting or hitting from afar. It makes it easier for me when applying the <action copy> tag. I'm using
if (this.skill().damage.elementId === physical)
but getting an "undefined is not a function" error. Not sure if I can't use that evaluation or I'm making a mistake. Code:
if (this.skill().damage.elementId === physical)
but getting an "undefined is not a function" error. Not sure if I can't use that evaluation or I'm making a mistake. Code:
<target action>
if (this.skill().damage.elementId === physical)
move user: targets, front, 20
wait for movement
motion attack: user
wait: 10
action animation: target
wait for animation
else
motion attack: user
wait: 10
animation 1: target
wait for animation
end
action effect
wait for movement
wait: 5
remove state 176: user
</target action>
if (this.skill().damage.elementId === physical)
move user: targets, front, 20
wait for movement
motion attack: user
wait: 10
action animation: target
wait for animation
else
motion attack: user
wait: 10
animation 1: target
wait for animation
end
action effect
wait for movement
wait: 5
remove state 176: user
</target action>
I could be worng but it seems to use the <Setup Action></Setup Action> as another attack phase, don't know if it is possible tough as I don't have the program for testing but I suppose it should be something like.
<setup action>
perform action
move user: targets, back base, 12
animation (the lowkick animation): targets
action effect
wait: 12
float targets: 150%, 60
</setup action>
The sequence when he goes attacking radnomly is probably like this, and the action is set to target 4 random enemies or it is using his target core for random five enemies
<target action>
move user: target, back base, 12}
action animation (this one seems to be the normal attack animation)
action effect
</target action>
The last action doesn't make sense to me is either a whole action with a different formula(which I don't know if it is possible), or it calls a common event that calls a different action, it should be soemthing like
it also seems to be a forced critical hit so... it is probably another action. goign to test it more tonight, sorry ofor the delay.
<whole action>
move user: targets, front base, 12
animation X: targets
action effect
</whole action>
Well you are using
this.skill().damage.elementId
Maybe with the element id intead of the name? for example by default physical doens't have an Id but you could add it at the end and it would be like 9 or something.
if not maybe this.isPhysical() could also work, the skill would need to be physical intead of magical or certain.
Nope, at least not right know, the actor possitions are prestablished by a core plugin, and byt that I mean one that makes the programm work, so right know is impossible to do.
You can ask and we will deliver, but it would be best if you try and learn.
One of Yanfly plug ins I belive it was Weapon Animation it allows you to define with notetags all the weapons a character can use and also what is the weapon he uses in attack you can make a character use an infinite number of weapons using states and if conditionals, or 3 different weapons (one for each motion sequence swing, thurst, missile) not using either.
You can't, not because it is impossible, you just need to be a talented artis as is not a question of plugin but of art, to edit any of the motions in the battler sheet o to display a weapon with them.
@emelian65 thanks but where can I learn how to set up custom battlers? It would need to be larger than the current player generator sheet size to fit their weapon in manually. Also frankly cutting and pasting a weapon graphic into the battler would be extremely easy, I just don't know the code or whatever is needed to choose the frames from the sheet.
You can use this: Templates and Guideline's for the frames and I believe you can use custom sheets without muhc problem, you just need to make sure that they are dividible, by 9 W and 6 H, but I don't actually know that.
Ah, true. Oh and I was referring to the element, as in fire, physical, etc (So not physical/magical/certain). I switched physical to a number, but still get the same error.
I worked around with user.isLearnedSkill(x) and taught my actors additional skills for the new conditional check (it works).
Weapon Animation cannot be applied to skills. My skills use different weapons. However, I created multiple states for each weapon. My skill now calls the relevant state and removes it at the end. The action motion by the skill uses the correct weapon now.
However! How may I obtain a chant-like motion with the book?
motion swing/thrust/missile causes the weapon to be swung, etc.
motion chant/spell/etc does not display any weapon.
I would like to have the item displayed, but not swung. The book in particular (29th item on Weapon3.png) has a nice graphic (the left-most image of the three books where it appears "still"/"in place")... but I do not know how to have that particular image appear alone to give the impression as if the actor is charging/using the spell book.
Also, I have skills that "throw" the weapons. I'm just having the actor stay in place and use the motion swing animation. However, for Bow the left-most image of the three bow images appears as well (that's where the arrow actually appears alongside the bow). It gives the impression as if the bow is being fired, which I do not want.
Is it also possible to have a motion swing animation stay out for a longer period of time? If yes, I could summon an invisible actor... apply the animation to that invisible actor and then move that actor to the target - It would look as if the weapon is flying, but since it only lasts for a short while, it would disappear too soon.
Any help?
Have you tried
this.Skill().damage.elementId
remeber that javascript is case sensitive or I remeber Yanfly using this one
this.item().damage.elementId
it was use in a reaction effect, but it should work.
As I said to @astergilgamesh a little while ago, you'll need to edit the battler motions for it to work, like, adding the book during the chant motion, will make it to appear, but that is art, not a plug-in.
The second point, cannot be made with Yanfly, I know for fact that Victor can use throwable object icons, but Yanlfy hasn't implemented that.
The last point I don't believe is possible, why, the motion is only 3 frames long, and Yanfly doesn't have a wait motion, don't know if Victor has, but if I remeber correctly neither is compatible with the other.
@emelian65
Ohhh @ Edit battler motions. Are you referring to the SV Attack Motions in System? Are they drawing those images from the Weapon sheet under the systems folder? Is it possible to make additional Attack Motions (I can't figure out how to, so thinking not).
For the second point and throwing objects, I tried:
I have a new question. I'm not sure if it's due to the Battle Engine, Action Sequences, ATB system or other.
Whenever my actors are set to execute any type of skill, they're doing the chant motion. I don't know where to set that to otherwise, because only spells should have them using the chant motion before they execute the skill. I'm not seeing an option to set the default "waiting" motion before a skill is executed. I've noticed they enter the chant motion during the skill as well (so if the executing skill does a swing motion, they'd immediately enter chant afterwards, but they do resume normal (standing normal) at the end of the skill).
Ohhh @ Edit battler motions. Are you referring to the SV Attack Motions in System? Are they drawing those images from the Weapon sheet under the systems folder? Is it possible to make additional Attack Motions (I can't figure out how to, so thinking not).
For the second point and throwing objects, I tried:
camera focus: target
zoom: 100%, 20
camera offset: right, 50
wait: 20
common event: 44 // toggles between adding or removing an invisible actor 8
flash screen: white, 10 // was for testing (move character 8: user, center, 1 was giving an error)
motion attack: user // to show the user swinging ("throwing") the weapon
wait: 20
move character 8: target, center, 120 //for the thrown weapon to "fly"
flash screen: blue, 10 //was for testing
motion swing: character 8 // *** Since you said it lasts only 3 frames, I wondered if I could repeat the beginning part of the motion and avoid the left-most image, so it appears as if the "weapon" is still. 120 & 40 frames are terribly off, but was just testing.
wait: 40
motion swing: character 8
wait: 40
motion swing: character 8
wait: 40
common event: 44
animation 1: target
wait for animation
// The motion swing didn't appear at all though. The shadow of the invisible actor is still visible and you could see it flying towards the enemy, but the weapon didn't show. I'm assuming either it just couldn't work or the actor being invisible caused the weapon part of the motion to be invisible as well.
// However, I've tried this by playing a single animation on actor 8 while moving and I achieve the thrown effect. So I think I'd have to make a custom animation with each weapon "still".
zoom: 100%, 20
camera offset: right, 50
wait: 20
common event: 44 // toggles between adding or removing an invisible actor 8
flash screen: white, 10 // was for testing (move character 8: user, center, 1 was giving an error)
motion attack: user // to show the user swinging ("throwing") the weapon
wait: 20
move character 8: target, center, 120 //for the thrown weapon to "fly"
flash screen: blue, 10 //was for testing
motion swing: character 8 // *** Since you said it lasts only 3 frames, I wondered if I could repeat the beginning part of the motion and avoid the left-most image, so it appears as if the "weapon" is still. 120 & 40 frames are terribly off, but was just testing.
wait: 40
motion swing: character 8
wait: 40
motion swing: character 8
wait: 40
common event: 44
animation 1: target
wait for animation
// The motion swing didn't appear at all though. The shadow of the invisible actor is still visible and you could see it flying towards the enemy, but the weapon didn't show. I'm assuming either it just couldn't work or the actor being invisible caused the weapon part of the motion to be invisible as well.
// However, I've tried this by playing a single animation on actor 8 while moving and I achieve the thrown effect. So I think I'd have to make a custom animation with each weapon "still".
I have a new question. I'm not sure if it's due to the Battle Engine, Action Sequences, ATB system or other.
Whenever my actors are set to execute any type of skill, they're doing the chant motion. I don't know where to set that to otherwise, because only spells should have them using the chant motion before they execute the skill. I'm not seeing an option to set the default "waiting" motion before a skill is executed. I've noticed they enter the chant motion during the skill as well (so if the executing skill does a swing motion, they'd immediately enter chant afterwards, but they do resume normal (standing normal) at the end of the skill).
Not exactly, when you generate a character a sv_battler can also be generated, right, you have to edit that sheet to altered the motions, for example, adding a weapon to the battler idle motion so it appears in the game, the weapons in the system sheet can be edited, but they are mostly change to, the program draws the actor from the battler sheet and then draws the weapon when used.
you can create a sheet that has the weapon static, although probably you should also use Yanfly Weapon Animation. instead of editing any of the three sheets
that one is easy 😛
<setup action>
display action
immortal: targets, true
perform start
animation X: user //this one is you cast animation
wait for animation
</setup action>
it simply as that. If you are interested the reason has to do with Battle engine, as it has a default way of castng eahc skill
@emelian65
It's not as simple as drawing a weapon to the character sheet. There is no space available for a weapon to be added. This is the premise to my problem of adding a weapon that would always be visible.
It's not as simple as drawing a weapon to the character sheet. There is no space available for a weapon to be added. This is the premise to my problem of adding a weapon that would always be visible.
I did told you that you'll need to be an amaixing artist, it was not to discourage you, but it was a simpke fact
You can check vibrato's sv battler they are bigger than the generators
akashics also has some sv battler that are bigger, they could help you form a template to maybe enkarge the images
Motion* not animation. I can get any animation I have available.
But the actors enter a chant motion whenever I execute a skill and until they're finished executing the skill.
Regardless of the skill being physical, magical or certain.
Regardless of the skill having action sequence tags or not.
I've watched other videos - their actors are not in this constant chant motion. I think I have a default *something* set to it, but don't know what.
I have been using Yanfly Weapon Animation and it was explained above that it cannot work because it only lasts for a few frames. That's why I considered using an animation instead for a static weapon image.
One little trick I have found effectively doubles the number of SV Actor animation types available. What you do is use the common event tag to swap out an Actor's Battler spritesheet. And then another common event to swap it back.
The application I've used it for thusfar is a sniping skill. Where it replaces the missile animation with one where the actor is prone. I took the 'dead' animation and replaced the head and deleted the forward hand (so the weapon isn't hidden by it). Then raised the whole thing up a few pixels to match with the weapon used. Of course I had to remove the shadow to avoid it looking like the actor was floating.
Worked out pretty nicely. But of course the uses are infiinite. Say for example you're using a sword strike and you want them to strike forward like a fencing maneuver instead of a normal swing, but still want swing, thrust, and missile available for normal attacks. This method would allow you do do that. You can use Common Event: # in the setup action and another Common Event: # in the follow action. Or really at anytime you wish to change it right before using Motion.
Heck you could use 6 Common Events to quintuple the animations if needed.
The application I've used it for thusfar is a sniping skill. Where it replaces the missile animation with one where the actor is prone. I took the 'dead' animation and replaced the head and deleted the forward hand (so the weapon isn't hidden by it). Then raised the whole thing up a few pixels to match with the weapon used. Of course I had to remove the shadow to avoid it looking like the actor was floating.
Worked out pretty nicely. But of course the uses are infiinite. Say for example you're using a sword strike and you want them to strike forward like a fencing maneuver instead of a normal swing, but still want swing, thrust, and missile available for normal attacks. This method would allow you do do that. You can use Common Event: # in the setup action and another Common Event: # in the follow action. Or really at anytime you wish to change it right before using Motion.
Heck you could use 6 Common Events to quintuple the animations if needed.
It is for motion
<setup action>
display action
immortal: targets, true
perform start
animation 123: user, mirror
wait for animation
</setup action>
For example I use this one, and the character just perform his action without the chanting motion, when you add the battle engine, it divides the skill in the five necessary steps for the Action Sequence to work with, each step is filled with action and motions according to the database data. It not something you can do with an option,
This feels like a dumb question, but I wasn't able to figure it out. Is there a way to move an actor 18 pixels down during an action sequence?
I've tried float -18 but it didn't recognize it as a negative.
I've tried float -18 but it didn't recognize it as a negative.
Well I used that code and my character is still doing the chant motion. I've attached a picture to show you. You can see the red-hair (Roy) doing the chant motion while his skill is still loading up indicated by the ATB gauge. He would only stop the chant motion after he's executed the skill.
For the full code:
<setup action>
display action
immortal: targets, true
perform start
animation 123: user, mirror
wait for animation
add state 176: user
</setup action>
<target action>
move user: targets, front, 20
wait for movement
change variable 68 = subject.actorId()
common event: 34
motion attack: user
wait: 10
action animation: target
wait for animation
action effect
wait for animation
wait for movement
wait: 5
remove state 176: user
</target action>
display action
immortal: targets, true
perform start
animation 123: user, mirror
wait for animation
add state 176: user
</setup action>
<target action>
move user: targets, front, 20
wait for movement
change variable 68 = subject.actorId()
common event: 34
motion attack: user
wait: 10
action animation: target
wait for animation
action effect
wait for animation
wait for movement
wait: 5
remove state 176: user
</target action>

Mhmmm i see what you mean, are you sure in the videos you are talking about they are using Yanfly ATB? to be hinest I don't use it, so I don't know if maybe there is an option to turn off the waiting chant, sorry.
@emelian65 I actually just turned off the ATB and tested it and he immediately enters the chant motion after selecting a skill :|
I've went through the battle pluggins at least twice looking for settings, but I'd try again :|
I've went through the battle pluggins at least twice looking for settings, but I'd try again :|
Sounds like an issue you can fix in the Database.
Go to your Database.
Then the System Tab.
On the right hand side, check to make sure only magic is in the [SV] Magic Skills. Well whatever you want to be using the Chant animation is listed in there.
You were right, that is the 'default' setting you are referring to. I had this issue myself not too long ago.
Original thread: https://forums.rpgmakerweb.com/threads/pre-made-yanflys-action-sequence-sharing-and-discussions.46691/