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

Discussion in 'Javascript/Plugin Support' started by Blue001, Oct 24, 2015.

  1. Blue001

    Blue001 Veteran Veteran

    Messages:
    189
    Likes Received:
    91
    Location:
    Maine, USA
    First Language:
    English
    As Yanfly's Battle Engine Core and Action Sequences 1-3 basically add a new type of resource to the game that can be created/shared/requested (in the form of completed action sequences), I thought it would be a cool idea to have a thread where people can share any sequences that they would like, and maybe have people also be able to request to see how certain sequences could be done.


    For example, if someone figures out how to do a omnislash like sequence and would like to share it, they now have a place.


    Be sure to thank/credit whomever created a sequence if you use it in your game.


    Please include a note on if the end user will need to have action sequence plugin 1, 2, 3 or all of them for the shared sequence.


    - For example, User SOC shared the following sequence (in another thread) to make your character swing their weapon when using the skill that contains this notetag.


    SWING WEAPON WHEN USING THIS SKILL<Target Action>motion swing: userperform actionmotion wait: useraction animation: targetwait for animationaction effect: targetdeath breakperform finish</Target Action>


    It seems simple, but to some users, they may look at this an get confused, especially when trying to make it on their own. Having examples they can copy/paste to achieve a desired effect will help a lot.


    A big thank you to Yanfly for creating the plugins!
     
    Last edited: May 20, 2017
    #1
  2. Scepii

    Scepii Villager Member

    Messages:
    15
    Likes Received:
    1
    First Language:
    Norvegian
     

    Great idea! Having trouble with this!
     
    #2
  3. Bearsmith

    Bearsmith Villager Member

    Messages:
    22
    Likes Received:
    5
    First Language:
    English
    I've made a sequence that changes based off a switch. 

    if $gameSwitches.value(1) MP +variable 1: userelse TP +variable 1: userendI use the MP or TP restore for my specific purposes, but you could put anything in there. You could do a *lot* with stuff like this. Maybe there's a side quest that adds an extra hit to one of your abilities?

    if $gameSwitches.value(1) action effectendVery simple and basic, but powerful if you get creative. I'll be messing around with action sequences a lot so I'll post more if I get something really cool.
     
    #3
  4. SOC

    SOC "God is my Judge" Veteran

    Messages:
    502
    Likes Received:
    375
    Location:
    KY, USA
    First Language:
    English
    Primarily Uses:
    RMMV
    This is a great thread, I was gonna' make one my self once I got some more examples up. I'll edit this post and reply (if not double post) when I come up with more cool stuff. Right now, I'm trying to mimic the "Deathblow" FF7 skill Yanfly shows in one of their videos where you jump and swing back down. I got the jump I think but I need to get the actor movement working better.

    FF7 Deathblow:

    <Target Action>

    move user: target, front base, 30

    wait for movement

    jump user: 200, 20

    motion swing: user

    perform action

    action animation: target

    wait for animation

    action effect: target

    death break

    perform finish

    </Target Action>

    For jump user, the first number is the height, the second number is how many frames (time) it takes for the jump animation. The higher the first number, the further up your character will jump. The higher the second number, the slower their jump animation will be.
     
    Last edited by a moderator: Oct 24, 2015
    #4
    Mcmaster, Vincent Chu, Regino and 5 others like this.
  5. Jetan

    Jetan Warper Member

    Messages:
    4
    Likes Received:
    25
    First Language:
    English
    I've been working on an animation for Slash Special 1 (Animation). It looks like the penta slash used in the Yanfly video and I think I've got something pretty similar down. However at the time my character doesn't disappear. I have the action effect set to five times (One for each slash)

    Gif of animation preview: 

    http://i60.tinypic.com/300yzgp.jpg

    The noteline code is as follows:

    (Fixed it!)

    <Target Action>

    move user: target, front head, 5

    wait for movement

    motion swing: user

    action animation

    move user: target, back, 5

    motion swing: user

    wait for movement

    move user: target, back center, 5

    motion swing: user

    wait for movement

    move user: target, front head, 5

    motion swing: user

    wait for movement

    move user: target, back head, 5

    motion swing: user

    wait for movement

    move user: target, front center, 5

    motion swing: user

    wait for movement

    move user: target, front, 5

    motion swing: user

    wait for movement

    move user: target, back center, 5

    motion swing: user

    wait for movement

    move user: target, front center, 5

    motion swing: user

    wait for movement

    wait: 20

    move user: target, back center, 5

    motion swing: user

    action effect

    action effect

    action effect

    action effect

    action effect

    </Target Action>
     
    Last edited by a moderator: Oct 24, 2015
    #5
  6. Blue001

    Blue001 Veteran Veteran

    Messages:
    189
    Likes Received:
    91
    Location:
    Maine, USA
    First Language:
    English
    That's kinda awesome. I gotta say. Thanks for sharing that one!
     
    #6
  7. Yanfly

    Yanfly Developer

    Messages:
    1,690
    Likes Received:
    2,220
    Here's the version I made for Penta Slash:

    <target action>camera focus: targetzoom: 120%, 30wait for zoomopacity not focus: 0, 60wait for opacitymove user: targets, back, 5wait for movementface user: targetmotion attack: useraction animationani wait: 2action effectmove user: targets, front center, 5face user: targetmotion attack: userani wait: 3action effectmove user: targets, back top, 5face user: targetani wait: 3action effectmove user: targets, front, 5face user: targetmotion attack: userani wait: 3action effectmove user: targets, back center, 5face user: targetmotion attack: userani wait: 5action effectmove user: targets, front, 10immortal: target, falsejump user: 200%, 10face user: forwardwait for animationwait for movement</target action><follow action>zoom: 100%, 60opacity not focus: 100%, 60wait for opacity</follow action>I think, after a few days, once I manage to get together some time, I'll put together a small Action Sequence demo project for you guys to download~
     
    #7
    SaucissonSec, Mcmaster, Raol and 32 others like this.
  8. YEEART

    YEEART Super Highschool Level... Veteran

    Messages:
    90
    Likes Received:
    40
    Location:
    In the world of twelve.
    First Language:
    English
    Primarily Uses:
    N/A
    Eyyyy, Yanfly saving the day once again.

    Hoping there're some gun ones by chance :>
     
    #8
  9. Jetan

    Jetan Warper Member

    Messages:
    4
    Likes Received:
    25
    First Language:
    English
    Oh wow. I was completely off. Thanks for sharing the code for that, Yanfly. It'll definitely help going forward with our projects.
     
    #9
  10. Marvelous TK

    Marvelous TK Veteran Veteran

    Messages:
    23
    Likes Received:
    6
    First Language:
    English
    Here's an annoyingly simple one I need help with: I'm basically just looking to do a tiny edit on SOC's skill swing for a very simple thing: it's an 'Attack Random Enemies' skill, but it does each attack one at a time (Hit, damage, hit, damage, hit, damage) and I want them all to go off simultaneously (hit-hit-hit, damage-damage-damage). I've been poking around at it, and while that's given me a lot of ideas for more difficult things to pull off, the simple one I'm trying to do still doesn't want to work! What do I have to do here?
     
    #10
  11. Jetan

    Jetan Warper Member

    Messages:
    4
    Likes Received:
    25
    First Language:
    English
    Got a new one, noticed that Yeeart mentioned wanting some gun skills so I thought I'd give a shot at it. It's pretty basic, jump up in the air, shoot a guy a lot and then finish with an explosive shot to the enemies chest. It does use two separate animations. The first one is for Shoot Barrage and the second I actually had to make myself, which was a combination of normal shot and parts of the "Gun2" images. Overall pretty simple and could use some improvement, so if anyone wants to take what I've got here and spice it up you're welcome to do so.

    Gif preview: http://i.imgur.com/tzpcz1C.gif

    Code:

    <Target Action>

    move user: target, front center, 5

    wait for movement

    jump user: 300, 35

    motion swing: user

    action animation

    wait for animation

    move user: target, front center, 5

    face user: target

    wait for movement

    motion swing: user

    animation 121: target

    wait for animation

    action effect

    action effect

    </Target Action>
     
    #11
    Vincent Chu, Regino, DJK and 4 others like this.
  12. Trilient

    Trilient Veteran Veteran

    Messages:
    43
    Likes Received:
    7
    First Language:
    English
    I can't get the camera focus to do anything... Here's what I have for a skill. It's meant to basically be like one of moves from anime where the player slashes through an enemy and appears on the other side, with the effect happening a few moments later. The skill itself works, but the camera controls aren't working properly.

    EDIT: Nevermind, I figured it out. The note tag is ZOOM:,  not CAMERA ZOOM:. In case someone else has this problem in the future.

    Code:
    <setup action>display actionimmortal: targets, truemove user: target, front base, 30wait for movement</setup action><target action>camera focus: targetcamera zoom: 120%, 10wait for zoommotion swing: userflash screen: white, 15move user: target, back base, 5wait for movementaction animationwait for animationaction effectdeath break</target action><follow action>immortal: targets, falsereset zoom: 10</follow action>
     
    Last edited by a moderator: Oct 25, 2015
    #12
    Feli and muwawya like this.
  13. Marvelous TK

    Marvelous TK Veteran Veteran

    Messages:
    23
    Likes Received:
    6
    First Language:
    English
    scratch this whole thing

    this was the simplest of simple

    i am apparently very bad at simple

    once i figured it out it took me all of ten seconds to get it to work like i wanted because it was that simple

    ugh i embarrass myself
     
    #13
    kaukusaki likes this.
  14. lohenien

    lohenien Veteran Veteran

    Messages:
    153
    Likes Received:
    6
    First Language:
    english
    The penta strike animation here crashes the game if used by an enemy. Do we need to disable them someway or is there something we need to do to make them cross compatible for players and enemies?
     
    #14
  15. Blue001

    Blue001 Veteran Veteran

    Messages:
    189
    Likes Received:
    91
    Location:
    Maine, USA
    First Language:
    English
    Yanfly is already aware of the enemy crashing. Said a Fix was incoming.
     
    #15
  16. Yanfly

    Yanfly Developer

    Messages:
    1,690
    Likes Received:
    2,220
    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!
     
    #16
    SaucissonSec, TWings, Regino and 18 others like this.
  17. Trilient

    Trilient Veteran Veteran

    Messages:
    43
    Likes Received:
    7
    First Language:
    English
    Thanks! I had already set this very thing up using two separate attack skills, I was unaware you could use JS in the notetags :D
     
    Last edited by a moderator: Oct 25, 2015
    #17
  18. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,181
    Likes Received:
    644
    First Language:
    English
    Your best bet would be to make enemies their own attacks until something is released that allows them to use the same ones as well.

    Here's an ability I created.

    Do note, it's an AOE ability, so if you wanted to change it to single target change the <whole action> to <target action>

    The character jumps into the enemy pile swings his weapon - deals damage, swings weapon again - deals damage again, then swings weapon one last time - dealing damage for the 3rd time.

    I'm also using camera panning/zooming, and hiding the HUD during my attacks, so if you don't like that effect, just delete those lines.

    Code:
    <whole action>hide battle hudcamera focus: user, HEAD, 40zoom: 1.35, 45wait for camerajump user: 150%, 30motion victory: userwait: 60move user: target, BASEwait: 10motion attack: usermotion wait: useraction animation: targetshake screen: 3, 9, 15action effect: targetwait: 10face user: backwardmotion attack: usermotion wait: useraction animation: targetshake screen: 3, 9, 15action effect: targetwait: 10face user: forwardmotion attack: usermotion wait: useraction animation: targetshake screen: 3, 9, 15action effect: targetwait: 30move user: target, FRONT BASEface user: forwardmotion guard: usermotion wait: userwait: 45death breakperform finishclear battle log</whole action><follow action>wait: 20show battle hud</follow action>
     
    Last edited by a moderator: Oct 25, 2015
    #18
    Feli, markp80nj and Halcyon Days like this.
  19. Bearsmith

    Bearsmith Villager Member

    Messages:
    22
    Likes Received:
    5
    First Language:
    English
     Thanks for the code. I just wanted to point out that it's easier to copy and read your code if you use the code tag. I changed it in my quote to show the difference.
     
    Last edited by a moderator: Oct 25, 2015
    #19
    Fernyfer775 likes this.
  20. Tobbx

    Tobbx Veteran Veteran

    Messages:
    45
    Likes Received:
    22
    Location:
    Sweden
    First Language:
    Swedish
    <target action>opacity user: 25%, 30wait for opacityhide battle hudwait: 10move user: target, back head, 5wait for movementaction animationaction effectwait: 10move user: target, front base, 5wait for movementaction animationaction effectwait: 10move user: target, back base, 5wait for movementaction animationaction effectwait: 10move user: target, front head, 5wait for movementaction animationaction effectwait: 10move user: homewait for movementface user: forwardopacity user: 100%, 30wait for opacityshow battle hud</target action> Inspired by Sabins Blitz skills from final fantasy VI. I use a simple attack animation that flash the enemy and play a sweeping sound.
     
    #20

Share This Page