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

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

  1. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,201
    Likes Received:
    660
    First Language:
    English
    @Hydro_Sapien: Change it to "motion attack: user" instead. :)
     
  2. hydro_sapien

    hydro_sapien Veteran Veteran

    Messages:
    51
    Likes Received:
    8
    First Language:
    English
    Nope, still uses the generic open palm stance while the weapon just kinda flies in the back.
     
  3. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,201
    Likes Received:
    660
    First Language:
    English
    I think it's the order in which you have your sequence. Put the "motion wait: user" BEFORE the perform action and see if that works.
     
  4. hydro_sapien

    hydro_sapien Veteran Veteran

    Messages:
    51
    Likes Received:
    8
    First Language:
    English
    Nope, same result.... I'm probably gonna give up. I've been at this all day.

    Thank for all your help though, your time was appreciated :)
     
    Last edited by a moderator: Oct 30, 2015
  5. Kinger556

    Kinger556 Villager Member

    Messages:
    10
    Likes Received:
    11
    First Language:
    English
    Made a sequence for Slash Special 2, I think it looks pretty nice but lemme know if you guys think I should change anything.

    Edit: I fixed it so that it actually works now lol. I made the mistake of using X and Y coordinates and then realized that not everyone will have the same enemy positions as me. The X and Y looked a little better to me, but at least everyone can use it now.

    Code:
    <target action>jump user: 150%move user: target, back head, 8wait for movementmotion swing: useraction animationmove user: target, base, 8wait for movementwait: 26motion swing: userjump user: 150%move user: target, front head, 3wait for movementwait: 8motion victory: userwait: 20action effectaction effect</Target Action>
     
    Last edited by a moderator: Oct 30, 2015
  6. Adlw

    Adlw Villager Member

    Messages:
    14
    Likes Received:
    1
    Location:
    Île de France
    First Language:
    French
    Thanks guy for your example its little bit difficult for person that the firts time to create fight ^^ !
     
  7. ARKS  STUDIO

    ARKS STUDIO Villager Member

    Messages:
    24
    Likes Received:
    4
    First Language:
    english
    I would like to change the basic attack animation for both sides enemys and party so they run up to the target and go back to there place
     
  8. jgleazy

    jgleazy Villager Member

    Messages:
    7
    Likes Received:
    0
    First Language:
    english
    I noticed when I was using the above posted method to have the user swing their weapon when using a skill the animation looks a little funky.  For example here is what it looks like when the user is doing a normal attack:

    Untitled.png

    The user's hand appears to be holding the sword as it should

    Here is an example when the user swings their weapon in a skill with the actions sequence:

    Untitled2.png

    the sword isn't actually being held it's a little off.  Is this supposed to look like this or am I doing the tag wrong?  It's not a big deal just wondering :)
     
  9. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,201
    Likes Received:
    660
    First Language:
    English
    @Virun91: It was posted a bit earlier in the thread, but here it is.

    Code:
    <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 effectwait: 40clear battle logperform finish</target action><follow action>immortal: targets, falsewait: 20show battle hud</follow action>
     
  10. ARKS  STUDIO

    ARKS STUDIO Villager Member

    Messages:
    24
    Likes Received:
    4
    First Language:
    english
    Can some one help me out I am in need of a motion set for my gunner when she uses her skill. I tried to make but failed epicly.

    I wanted the camera to zoom in on her and she would charge the shot like she was taking aim with se and then the animation for the attack.

    this stuff is hard lol
     
  11. gloopmaster

    gloopmaster Villager Member

    Messages:
    16
    Likes Received:
    9
    First Language:
    English
    Hey, guys. I decided to try my hand at modifying Yanfly's attack action sequence (where it detects whether the user is using a 'missile' type weapon), and adding a few other things to it. Figured I'd drop it here, if anyone else wants it. I've put it in a spoiler as it is rather long, but here's a summary of what it does:

    • The skill user only moves if it is an actor; if the skill user is an enemy, the skill user flashes white instead.
    • As in Yanfly's script, the actor moves all the way to their target if using a melee (non-'missile') weapon.
    • If the target is an enemy, blinks the target upon dealing damage.
    • An actor using this skill will face homeward, start their walking animation, then move back in the same amount of time it took them to move in the first place, if they had moved over to their target. This behavior is slightly different than just calling perform finish outright. 
    Code:
    <setup action>display actionimmortal: targets, trueif user.isActor() === true && user.attackMotion() !== 'missile'   motion walk: user   move user: targets, front, 20   wait for movementendif user.isActor() === true && user.attackMotion() === 'missile'   perform start   wait for movementendif user.isActor() !== true   enemy effect: user, whitenend</setup action><whole action></whole action><target action>if user.isActor() === true   motion attack: userendwait: 10attack animation: targetwait for animationaction effectif target.isActor() !== true   enemy effect: target, blinkendwait: 10</target action><follow action></follow action><finish action>clear battle logimmortal: targets, falseif user.isActor() === true && user.attackMotion() !== 'missile'   face user: home   motion walk: user   move user: home, 20   wait for movementendperform finishwait for movement</finish action> 
     
  12. Kinger556

    Kinger556 Villager Member

    Messages:
    10
    Likes Received:
    11
    First Language:
    English
    I'm kinda just going through the list of RTP skills to make sequences to practice, so I'll post them here when I finish.

    Special Slash 3: (NoteFor Special Slash 3 to look right you need to go into Animation in the database and change its position to 'Center')

    <target action>jump user: 800%move user: target, base, 10wait for movementmotion swing: useraction animationwait: 15jump user: 500%move user: forward, 25move user: target, base, 10wait for movementmotion swing: userwait: 15jump user: 500%move user: forward, 100, 3wait for movementmove user: target, back head, 5wait for movementmove user: target, front base, 5motion swing: userwait: 15jump user: 400%move user: backward, 250, 20wait for movementmove user: target, back head, 5wait for movementmotion swing: useraction effectaction effectaction effectaction effect</Target Action> 
    Claw Special

    <target action>move user: target, front head, 10wait for movementmotion swing: useraction animationwait: 5move user: target, base, 5wait for movementmove user: target, back base, 5wait for movementmotion swing: usermove user: target, front base, 5wait for movementwait: 2motion swing: usermove user: target, front head, 5wait for movementmove user: target, back head, 5wait for movementmove user: target, back center, 5wait for movementmotion swing: usermove user: target, front base, 5wait for movementmove user: target, base, 5wait for movementmove user: forward, 50wait: 15jump user: 300%motion swing: usermove user: target, front head, 5wait for movementaction effectaction effectaction effectaction effectaction effect</target action>
    Body Slam:

    Code:
    <target action>move user: target, front base, 15wait for movementaction animationjump user: 50%move user: forward, 100, 5wait for movementmotion dead: usermove user: forward, 50, 8motion dead: useraction effect</target action> 
     
    Last edited by a moderator: Oct 31, 2015
    HumanNinjaToo, Regino, Rink27 and 4 others like this.
  13. hydro_sapien

    hydro_sapien Veteran Veteran

    Messages:
    51
    Likes Received:
    8
    First Language:
    English
    Have alot of ideas for attacks, I'm failing miserably at these lol.

    Maybe some one can help.

    This is a ninja skill that makes the user disappear and reappear around the enemy while the animation plays between disspearances.

    The issues: weapon is swinging multiple times when the user reappears

    Code:
    <target action>camera focus: targetzoom: 120%, 30wait for zoomopacity not focus: 0, 60wait for opacityopacity user: 0%, 15wait for opacityaction animationani wait 15move user: targets, back base, 5face user: targetwait for movementopacity user: 100%, 15wait for opacitymotion attack: useraction effectopacity user: 0%, 15wait for opacityani wait 15move user: targets, front center, 5face user: targetwait for movementopacity user: 100%, 15wait for opacitymotion attack: useropacity user: 0%, 15wait for opacityani wait 15move user: targets, back head, 5face user: targetwait for movementopacity user: 100%, 15wait for opacitymotion attack: useropacity user: 0%, 15wait for opacityani wait 15move user: targets, front base, 5face user: targetwait for movementopacity user: 100%, 15wait for opacitymotion attack: useropacity user: 0%, 15wait for opacityani wait 15move user: targets, back base, 5face user: targetwait for movementopacity user: 100%, 15wait for opacitymotion attack: userwait for animationwait for movement</target action><follow action>zoom: 100%, 60opacity not focus: 100%, 60wait for opacity</follow action>
     
  14. Trilient

    Trilient Veteran Veteran

    Messages:
    43
    Likes Received:
    7
    First Language:
    English
    I get an error when an enemy uses an action sequence. It works fine on characters, but enemies give me this:

     

    Code:
    rpg_managers.js:1618 TypeError: undefined is not a function    at file:///E:/MVGAMES/Pplayin/PlayinAround/js/plugins/YEP_X_ActSeqPack2.js:751:29    at Array.forEach (native)    at Function.BattleManager.actionMotionTarget (file:///E:/MVGAMES/Pplayin/PlayinAround/js/plugins/YEP_X_ActSeqPack2.js:749:14)    at Function.BattleManager.processActionSequence (file:///E:/MVGAMES/Pplayin/PlayinAround/js/plugins/YEP_X_ActSeqPack2.js:491:17)    at Function.BattleManager.processActionSequence (file:///E:/MVGAMES/Pplayin/PlayinAround/js/plugins/YEP_X_ActSeqPack3.js:382:58)    at Function.BattleManager.updateActionTargetList (file:///E:/MVGAMES/Pplayin/PlayinAround/js/plugins/YEP_BattleEngineCore.js:1380:15)    at Function.BattleManager.update (file:///E:/MVGAMES/Pplayin/PlayinAround/js/plugins/YEP_BattleEngineCore.js:1211:12)    at Scene_Battle.updateBattleProcess (file:///E:/MVGAMES/Pplayin/PlayinAround/js/rpg_scenes.js:2050:23)    at Scene_Battle.update (file:///E:/MVGAMES/Pplayin/PlayinAround/js/rpg_scenes.js:2042:14)    at Function.SceneManager.updateScene (file:///E:/MVGAMES/Pplayin/PlayinAround/js/rpg_managers.js:1673:25)    at Function.SceneManager.updateMain (file:///E:/MVGAMES/Pplayin/PlayinAround/js/rpg_managers.js:1641:10)
     
  15. wizaerd

    wizaerd Adventurer Member

    Messages:
    219
    Likes Received:
    26
    First Language:
    English
    I am only using Yanfly plugins, most of them... only left out a few of the utility ones.  In using this Action Sequence, with a character that has 100% chance of counterattack, the enemy runs over, hits the character (actor?), the character counterattacks, but the enemy seems to be knocked upwards before going back to it's origin point... Nothing else fancy going on, other than the yanfly plugins everything else is at the defaults...
     
  16. Tobbx

    Tobbx Veteran Veteran

    Messages:
    45
    Likes Received:
    22
    Location:
    Sweden
    First Language:
    Swedish
    Does someone know how to use variables for target seletion? Example:   opponent x: Where X is the Value of Variable 1

    Cause i'm making a skill called spray and pray. I have it set to repeat 4 times with target type 4 random enemies. The problem with this is that my actor will always shower 1 enemy with four shots then the target actions repeat again for target number 2. I would like to have it so that all of the 16 shots select a random enemy. 

    So i tried this instead..

    I've come up with thus much myself but then there is the problem that if the enemy x does not exist my actor attacks thin air... Common Event 31 sets variable 101 random 1-3

    Code:
    common even: 31if $gameVariables.value(101) == 1motion attack: userwait: 4action animation: enemy 1wait for animation action effect: enemy 1else if $gameVariables.value(101) == 2motion attack: userwait: 4action animation: enemy 2wait for animation action effect: enemy 2else motion attack: userwait: 4action animation: enemy 3wait for animation action effect: enemy 3endwait: 5/* ATTACK  (reapeat this 16 times)
     
    Last edited by a moderator: Nov 1, 2015
  17. Yanfly

    Yanfly Developer

    Messages:
    1,690
    Likes Received:
    2,226
    http://yanfly.moe/plugins/en/YEP_X_ActSeqPack2.js

    This should fix that. Thanks for finding the bug!
     
  18. Trilient

    Trilient Veteran Veteran

    Messages:
    43
    Likes Received:
    7
    First Language:
    English
    You're awesome Yanfly! That did it, though the animation for some reason is rotated incorrectly. Should be horizontal (the skill I'm using uses a horizontal slash animation), but it's rotated vertically for some reason. Only on enemies, once again. Not a major issue, just thought you'd like to know.
     
  19. wizaerd

    wizaerd Adventurer Member

    Messages:
    219
    Likes Received:
    26
    First Language:
    English
    Could someone test a simple attack sequence, nothing fancy against a character that has 100% counter attack and tell me if I'm going bonkers or not?  After the enemy attacks, and my actor counterattacks, the enemy's position moves upwards before going back to their home position.  It only does it on counterattacks.

    Code:
    <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 for motionattack animation: targetwait for animationaction effectwait for actionclear battle logperform finish</target action><follow action>immortal: targets, falsewait: 20show battle hud</follow action> 
     
  20. gloopmaster

    gloopmaster Villager Member

    Messages:
    16
    Likes Received:
    9
    First Language:
    English
    I get an error when using the "collapse: targets" action from the first action sequence pack. This error seems to occur due to the plugin treating the arguments as an array, which it isn't, in this case.

    Code:
    TypeError: Cannot read property 'toUpperCase' of undefined    at Function.BattleManager.actionCollapse (YEP_X_ActSeqPack1.js:1026)    at Function.BattleManager.processActionSequence (YEP_X_ActSeqPack1.js:771)    at Function.BattleManager.processActionSequence (YEP_X_ActSeqPack2.js:530)    at Function.BattleManager.processActionSequence (YEP_X_ActSeqPack3.js:382)    at Function.BattleManager.processActionSequence (YEP_X_SkillCooldowns.js:585)    at Function.BattleManager.updateActionList (YEP_BattleEngineCore.js:1369)    at Function.BattleManager.update (YEP_BattleEngineCore.js:1213)    at Scene_Battle.updateBattleProcess (rpg_scenes.js:2050)    at Scene_Battle.update (rpg_scenes.js:2042)    at Scene_Battle.update (YEP_BattleEngineCore.js:3056)
    The action sequence I'm using is as follows:
    Code:
    <setup action>display actionimmortal: targets, truecamera focus: user, center, 20zoom: 150%, 20wait for camerawait for zoomif user.isActor() === true && user.attackMotion() !== 'missile'   motion walk: user   move user: targets, front, 20   wait for movementendif user.isActor() === true && user.attackMotion() === 'missile'   perform start   wait for movementendif user.isActor() !== true   enemy effect: user, whitenend</setup action><whole action></whole action><target action>if user.isActor() === true   motion attack: userendcamera focus: target, center, 10wait for cameraattack animation: targetwait for animationaction effect: targetif target.isActor() !== true   enemy effect: target, blinkend</target action><follow action></follow action><finish action>clear battle logimmortal: targets, falsecollapse: targetswait for effectif user.isActor() === true && user.attackMotion() !== 'missile'   face user: home   motion walk: user   move user: home, 20endreset camera: 20reset zoom: 20wait for camerawait for zoomwait for movementperform finishwait for movement</finish action>
     
    Last edited by a moderator: Nov 2, 2015

Share This Page