Pre-made (Yanfly's) Action Sequence Sharing and Discussions

Naffington

Villager
Member
Joined
May 22, 2014
Messages
17
Reaction score
5
First Language
English
Primarily Uses
I found a weird bug where motion swing: user will not display the weapon in test troop battle, but it display the weapons normally in test play.

It seems to have something to do with having multiple classes on one actor.
 
Last edited by a moderator:

Shiroi Akuma

Shut up and take my Monet    ( ͡° ͜ʖ ͡°)
Veteran
Joined
May 11, 2015
Messages
350
Reaction score
283
First Language
German
Primarily Uses
N/A
Has someone a idea how I can use MOVE user: target, BASE, (frames) but in the same time I would need to change the x or y distance. My enemy has such a form that when he performs a attack that the player is visually save (basically he stands between a sprite gap).

If I use the command MOVE user: target,Back/Front BASE, (frames) then the player isn't still visually hit. So the enemy is way to far in front/back of him due to the enemy sprite size.  

So what I need would be the move to target command, but with adjusting x and y distances. 

Currently, I use this movement formula:

<setup action>
Display Action
immortal: targets, true
CAMERA SCREEN: target, front head, 60
zoom: 130%
wait for zoom
se: Collapse3, 80, 100, 0
hide battle hud
</setup action> 
<target action>
jump user: 30%, 50
move user: target, head, 40
wait for jump
move user: target, base, 1
wait for movement
motion dead: target
shake screen: 3, 9, 30
motion dead: target
ACTION EFFECT: target
se: Explosion8, 60, 100, 0
motion dead: target
jump user: 200, 20
motion dead: target
shake screen: 3, 9, 60
motion dead: target
wait for jump
motion dead: target
jump user: 100, 10
motion dead: target
ACTION EFFECT: target
se: Explosion8, 60, 100, 0
motion dead: target
wait for jump
wait for animation
motion dead: target
ACTION EFFECT: target
se: Explosion8, 60, 100, 0
motion dead: target
</target action>
<follow action>
immortal: targets, false
wait: 12
show battle hud
</follow action>
<finish action>
clear battle log
perform finish
</finish action>
You would need all three of the Action Sequences Plugins

Edit: removed sounds you don't have and the common events. 
 
Last edited by a moderator:

acemjcyap91

Villager
Member
Joined
Nov 11, 2015
Messages
16
Reaction score
4
First Language
English
@Alluria can you make a skill script, like a character fast towards to enemy and make a fast multiple slashing animation. thanks in advanced  :) ​ 
 

Alluria

Villager
Member
Joined
Nov 6, 2015
Messages
18
Reaction score
8
First Language
Portuguese
@Alluria can you make a skill script, like a character fast towards to enemy and make a fast multiple slashing animation. thanks in advanced  :) ​ 
Here

There are 16 slashes in total with a few cinematographic pauses between one or other.

My animation base delay in yanfly battle core is 0 (the default is 8)

and the animation next delay is 0 too (the default is 12)

if yours is a different number increase the Wait in the sequence by a amount you have to test and discover what best applies to your like.

<target action>

motion swing: user

action animation

move user: target, front center, 10

wait: 5

move user: target, back center, 10

wait: 10

opacity user: 0%

wait: 10

opacity user: 20%

wait: 10

opacity user: 40%

wait: 10

opacity user: 70%

wait: 10

motion swing: user

move user: target, front base, 10

face user: backward

wait: 7

jump user: 150%, 15

face user: forward

move user: target, front center, 15

wait: 7

motion swing: user

move user: target, back base, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

motion swing: user

face user: backward

move user: target, back head, 5

wait: 7

motion swing: user

face user: forward

move user: target, front base, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front head, 5

wait: 7

motion swing: user

face user: backward

move user: target, back base, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion thrust: user

face user: forward

move user: target, front center, 10

wait: 7

move user: target, back center, 5

wait: 10

opacity user: 40%

wait: 5

opacity user: 20%

face user: forward

wait: 5

opacity user: 0%

wait: 30

opacity user: 30%

wait: 3

opacity user: 60%

motion thrust: user

wait: 5

move user: target, front center, 5

wait: 20

opacity user: 80%

wait: 5

opacity user: 100%

wait for animation

immortal: target, false

action effect

clear battle log

jump user: 100, 40

move user: return, 40

motion escape: user

wait for movement

perform finish

</target action>
 

acemjcyap91

Villager
Member
Joined
Nov 11, 2015
Messages
16
Reaction score
4
First Language
English
@Alluria Thanks bro for the script  :D  i will put it in a swordsman job class
 

acemjcyap91

Villager
Member
Joined
Nov 11, 2015
Messages
16
Reaction score
4
First Language
English
@Alluria i have a question about animation sounds, i was put a sound like shouting character in a slashing animation then the animation i put it in a skill script, why the sound that shouting sound is late to play?  ;_;
 

GutshotStr8

Veteran
Veteran
Joined
Feb 14, 2014
Messages
51
Reaction score
21
First Language
English
Primarily Uses
Thanks to everyone who's posted sequences and ideas here, I'm loving this thread!

I have a number of skills that deal bonus damage or have some additional effect depending on the enemy's health. Ideally they would show different battle animations depending on whether the bonus condition is met. I think I know enough javascript to write the eval for this, but I'm not sure how to access parameters such as the target's HP.

Basically I want to do something like:

if target's HP < target's MHP

    animation x: target

else

    animation y: target

What do I use for that first line?

Thanks!
 

Blackmage907

Warper
Member
Joined
Jun 23, 2012
Messages
1
Reaction score
0
First Language
English
Primarily Uses
The new updates today should have fixed it: http://yanfly.moe/2015/10/24/plugin-bugfixes-round-2/

Give those a shot to see if the crashes still happen. It should be removed. :)

Anyway, here's a new action sequence for you guys. You can use it with your Attack skill. It will detect if the user is using a melee type attack (thrust or swing) or a ranged attack (missile) and either run up close to attack or shoot the enemy from afar:

<setup action>display actionimmortal: targets, true</setup action><target action>if user.attackMotion() !== 'missile' move user: targets, front, 20else perform startendwait for movementmotion attack: userwait: 10attack animation: targetwait for animationaction effect</target action>Have fun!
this works great, but I have a character that gets 2 attacks and after the first attack he turns around and punches nothing before going home, any idea how to fix this?
 

Alluria

Villager
Member
Joined
Nov 6, 2015
Messages
18
Reaction score
8
First Language
Portuguese
@Alluria i have a question about animation sounds, i was put a sound like shouting character in a slashing animation then the animation i put it in a skill script, why the sound that shouting sound is late to play?  ;_;
Try to put the SE shout sound in the skill script so it will play at the moment you called the SE, the animation tab preview plays the animation at the default values

animation base delay in yanfly battle core is 0 (the default in animation tab is 8)

and the animation next delay is 0 too (the default in animation tab is 12)

so when you test the animation in battle it will be faster than in the animation tab test, you have to create animations knowing about these tempo differences or call the animation and sound effect in the skill script so it will be really accurate.
 

SuperBlaze

Veteran
Veteran
Joined
Oct 29, 2015
Messages
29
Reaction score
12
First Language
Norwegian
Primarily Uses
RMMV
I think the 16 slash from Alluria was real cool. I modifyed it with a lot of action effects like this. if anyone interested its in spoiler.

<target action>

motion swing: user

action animation

move user: target, front center, 10

wait: 5

move user: target, back center, 10

action effect

wait: 10

opacity user: 0%

wait: 10

opacity user: 20%

wait: 10

opacity user: 40%

wait: 10

opacity user: 70%

wait: 10

motion swing: user

move user: target, front base, 10

face user: backward

action effect

wait: 7

jump user: 150%, 15

face user: forward

action effect

move user: target, front center, 15

wait: 7

motion swing: user

move user: target, back base, 5

wait: 7

action effect

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

action effect

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

action effect

motion swing: user

face user: backward

action effect

move user: target, back head, 5

wait: 7

action effect

motion swing: user

face user: forward

move user: target, front base, 5

wait: 7

action effect

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

action effect

motion swing: user

face user: forward

move user: target, front head, 5

wait: 7

action effect

motion swing: user

face user: backward

move user: target, back base, 5

wait: 7

action effect

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

action effect

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

action effect

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

action effect

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

action effect

motion thrust: user

face user: forward

move user: target, front center, 10

wait: 7

action effect

move user: target, back center, 5

wait: 10

opacity user: 40%

wait: 5

opacity user: 20%

face user: forward

wait: 5

opacity user: 0%

wait: 30

opacity user: 30%

wait: 3

opacity user: 60%

motion thrust: user

wait: 5

action effect

move user: target, front center, 5

wait: 20

opacity user: 80%

wait: 5

opacity user: 100%

wait for animation

immortal: target, false

action effect

clear battle log

jump user: 100, 40

move user: return, 40

motion escape: user

wait for movement

perform finish

</target action>


I made it with a long animation like penta slash approximately 3 frames long slashes.
 

acemjcyap91

Villager
Member
Joined
Nov 11, 2015
Messages
16
Reaction score
4
First Language
English
@Alluria i make the se shout just like this.

<target action>motion swing: user

action animation

move user: target, front center, 10

wait: 5

move user: target, back center, 10

wait: 10

opacity user: 0%

wait: 10

opacity user: 20%

wait: 10

opacity user: 40%

wait: 10

opacity user: 70%

wait: 10

motion swing: user

move user: target, front base, 10

face user: backward

wait: 7

jump user: 150%, 15

face user: forward

move user: target, front center, 15

se: shout, 60, 20, 0

wait: 7

motion swing: user

move user: target, back base, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

motion swing: user

face user: backward

move user: target, back head, 5

wait: 7

motion swing: user

face user: forward

move user: target, front base, 5

se: shout, 60, 20, 0

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front head, 5

wait: 7

motion swing: user

face user: backward

move user: target, back base, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

se: shout, 60, 20, 0

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion thrust: user

face user: forward

move user: target, front center, 10

wait: 7

move user: target, back center, 5

wait: 10

opacity user: 40%

wait: 5

opacity user: 20%

face user: forward

wait: 5

opacity user: 0%

wait: 30

opacity user: 30%

wait: 3

opacity user: 60%

motion thrust: user

wait: 5

move user: target, front center, 5

se: shout, 60, 20, 0

wait: 20

opacity user: 80%

wait: 5

opacity user: 100%

wait for animation

immortal: target, false

action effect

clear battle log

jump user: 100, 40

move user: return, 40

motion escape: user

wait for movement

perform finish

</target action>
but the shout se always delayed, it shouts after all the animation skill are done. how to timing the short se sound is there a setting script for se timing?  and why se still playing after battle?
 
Last edited by a moderator:

DCF

Villager
Member
Joined
Feb 6, 2014
Messages
24
Reaction score
15
First Language
English
Thanks to everyone who's posted sequences and ideas here, I'm loving this thread!

I have a number of skills that deal bonus damage or have some additional effect depending on the enemy's health. Ideally they would show different battle animations depending on whether the bonus condition is met. I think I know enough javascript to write the eval for this, but I'm not sure how to access parameters such as the target's HP.

Basically I want to do something like:

if target's HP < target's MHP

    animation x: target

else

    animation y: target

What do I use for that first line?

Thanks!

For the if else statements you can use Yanfly's built in if/else action found in the ActSeqPack1 help file.

For code to access the object value you are interested in, NoInkling showed me a trick over in the script call topic that can be adopted here using the developer console (F8)

Try adding the action:

eval: blah=target;or

eval: blah=user;Then go to playtest and use the skill in battle. Hit the F8 button and type the code below in the developer console:

blahThe developer console will return the data structure you assigned to blah (in your case the target). You can then type the same variable with a period at the end into the developer console.

blah.A dropdown menu will appear that has all possible functions for the object. Selecting any of these will give you a description of the function. To actually call it make sure to put () after the function with any necessary arguments.

The developer console will even tell you where the function was defined (so you can keep track of which plugins you are relying on if not using the builtin functions). Yanfly has a lot of useful functions already defined to return object variables which I've been calling in my own code.

With this method you should be able to find any game variable you are looking for. Hope this helps!
 

Alluria

Villager
Member
Joined
Nov 6, 2015
Messages
18
Reaction score
8
First Language
Portuguese
@Alluria i make the se shout just like this.

<target action>motion swing: user

action animation

move user: target, front center, 10

wait: 5

move user: target, back center, 10

wait: 10

opacity user: 0%

wait: 10

opacity user: 20%

wait: 10

opacity user: 40%

wait: 10

opacity user: 70%

wait: 10

motion swing: user

move user: target, front base, 10

face user: backward

wait: 7

jump user: 150%, 15

face user: forward

move user: target, front center, 15

se: shout, 60, 20, 0

wait: 7

motion swing: user

move user: target, back base, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

motion swing: user

face user: backward

move user: target, back head, 5

wait: 7

motion swing: user

face user: forward

move user: target, front base, 5

se: shout, 60, 20, 0

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front head, 5

wait: 7

motion swing: user

face user: backward

move user: target, back base, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion swing: user

face user: forward

move user: target, front center, 5

se: shout, 60, 20, 0

wait: 7

motion swing: user

face user: backward

move user: target, back center, 5

wait: 7

motion thrust: user

face user: forward

move user: target, front center, 10

wait: 7

move user: target, back center, 5

wait: 10

opacity user: 40%

wait: 5

opacity user: 20%

face user: forward

wait: 5

opacity user: 0%

wait: 30

opacity user: 30%

wait: 3

opacity user: 60%

motion thrust: user

wait: 5

move user: target, front center, 5

se: shout, 60, 20, 0

wait: 20

opacity user: 80%

wait: 5

opacity user: 100%

wait for animation

immortal: target, false

action effect

clear battle log

jump user: 100, 40

move user: return, 40

motion escape: user

wait for movement

perform finish

</target action>
but the shout se always delayed, it shouts after all the animation skill are done. how to timing the short se sound is there a setting script for se timing?  and why se still playing after battle?
Your shout command call is really delayed, you called se: shout, 60, 20, 0

Where 60 is volume, 20 is the pitch and 0 is the pan.

The problem is the pitch, 20 will make the sound delay hard because thats what the pitch do, more pitch more fast and acute, less pitch more slow and ponderous.
 

acemjcyap91

Villager
Member
Joined
Nov 11, 2015
Messages
16
Reaction score
4
First Language
English
Your shout command call is really delayed, you called se: shout, 60, 20, 0

Where 60 is volume, 20 is the pitch and 0 is the pan.

The problem is the pitch, 20 will make the sound delay hard because thats what the pitch do, more pitch more fast and acute, less pitch more slow and ponderous.
oh i get it now, thanks again  :D
 

Iliketea

Tea lover
Veteran
Joined
Oct 28, 2015
Messages
848
Reaction score
949
First Language
German
Hi guys, I hope you guys can help me with this :/ I just cant get it to work.

Its my first try at an animation sequence so I wanted to start with something easy.

This is want I want to do:

Move to the target, use the attack motion, use the attack animation and then move back.

this is my sequence:

<target action>

perform start

move user : target center

motion wait: user

motion attack: user

motion wait: user

action animation : target

wait for animation

move user : home

action effect: target

death break

</target action>
Does anyone can help me?
 

Sol Rising

Veteran
Veteran
Joined
Oct 25, 2015
Messages
162
Reaction score
21
First Language
English
Hi guys, I hope you guys can help me with this :/ I just cant get it to work.

Its my first try at an animation sequence so I wanted to start with something easy.

This is want I want to do:

Move to the target, use the attack motion, use the attack animation and then move back.

this is my sequence:

Does anyone can help me?

<target action>

perform start

move user: target, center, 40

wait for movement

motion attack: user

wait for motion

attack animation: target

wait for animation

action effect

move user: return, 40

death break

</target action>

Not sure if this was what you were trying to do, but i edited some of your commands since some of them were the wrong command/purpose. Try it out and see if it works
 
Last edited by a moderator:

MikePjr

Artist
Veteran
Joined
Nov 7, 2012
Messages
758
Reaction score
468
First Language
English
Primarily Uses
I had an idea of trying to do something.

Is it possible to change up some poses to only use 1 frame like casting?

Freeing up some other spots for other animations you could then sort of patch together to form new things?

And for that matter, is a custom victory pose possible?

I'd like to have a victory pose that has like.. a pre pose.. put a weapon away, then do a little repeating dance.

I'm just trying to wrap my brain around what ever i can pull off first.
 

dragonhart2

Villager
Member
Joined
Oct 5, 2015
Messages
28
Reaction score
4
First Language
English
Hi again guys! I'd like to ask for help for notetags regarding the following.

1. If a certain state is active, normal attacks(Skill # 1) will consume a percentage of Max HP.

    A.  The value of the lost HP will add up to the damage of the normal attack.

(This is much like Ragnarok Online's Sacrifice skill of the Paladin. but for normal attacks)

2. If a certain skill is used, it will leave you with 1 HP. The actual value lost will add up to the attack damage of the skill. The more HP the better.

    EX: User has 1000 HP. User casts skill, eating away 999 HP, leaving him with 1 HP. The 999 HP lost will add to the base attack value of the skill.

3. If a certain skill is used, it will leave you with 1 MP. The actual value lost will be multiplied by(example) 5 and will add up to the attack damage of the skill. Pretty much the same as the one above except that there will be a multiplier since MP values are lower than HP values.

Thank you so much, please let me know if I should ask this somewhere else.
 

AirshipCanon

Veteran
Veteran
Joined
Oct 27, 2015
Messages
54
Reaction score
11
First Language
English
Ok, so I think this is possible--
I have a boss that has an attack that fires off 6 attacks.

Each attack is basically just gonna hit for my game's damage [2*a.atk - b.def]
Now the catch:

It's not single target.

These 6 attacks are randomly assigned.
It can drop all 6 on one character, or it could go 3-1-1-1, or 2-1-1-2, etc.
It CANNOT hit dead people, making the boss get deadlier if people go down [less soaking for this attack-- lose one, and 2-2-2 is suddenly happening just a bit more... lose 2 and 3-3, lose 3/4 and the only result is going to be 6 on 1 (turning an otherwise mundane AoE attack into an Execute)]


I want the screen to go black, then action effects are applied. Screen returns to normal.
I can figure out how to do that, but not how to assign the charges of the attack as it were...
 
 

Iliketea

Tea lover
Veteran
Joined
Oct 28, 2015
Messages
848
Reaction score
949
First Language
German
<target action>

perform start

move user: target, center, 40

wait for movement

motion attack: user

wait for motion

attack animation: target

wait for animation

action effect

move user: return, 40

death break

</target action>

Not sure if this was what you were trying to do, but i edited some of your commands since some of them were the wrong command/purpose. Try it out and see if it works
Jup, that works. Seems like I mixed up wait for motion and motion wait.

Thank you very much!
 

Latest Threads

Latest Profile Posts

Working on a case. Get all the evidence to prosecute some bad guys. :kaojoy:
But, the game development schedule delayed. :kaoswt2:
The moral of the story: No good deed goes unpunished... I guess...
Now, hopefully, some certain people will not be stupid enough to leak my name on the reports.
just beat ff7 original for the first time since 2010. having played remake last year, I have a much better appreciation for the original oddly enough. I still like some of the character presentation in remake more, but the original's got a lot going for it.
Ever reach that moment in your life when your juggling a dozen or more projects that you know will never be made but don't have the heart to delete them? Ugh, I hate those moments...
:kaosigh: Why must you hurt me so?
my main character isn't the warrior of light or the chosen one, he's a self righteous, invasive try hard who gets ahead of himself and makes a critical error, resulting in a downward moral spiral that, eventually, leads him to truths that make him a better man, and im DAMN proud of that.

Forum statistics

Threads
111,448
Messages
1,061,176
Members
144,814
Latest member
berkut
Top