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

-Rena-

Villager
Member
Joined
Dec 17, 2018
Messages
13
Reaction score
1
First Language
German
Primarily Uses
RMMV
I think I'm just too stupid, but I don't understand how to copy code from this forum here displayed in the "code" tag or whenever people write this stuff without spaces haha

for example this:

Code:
<setup action>display actionimmortal: targets, truewait: 40hide battle hudopacity not focus: 0%camera focus: user, front center, 45zoom: 1.2, 45wait: 40motion chant: usermotion wait: userse: Darkness8opacity user: 55%, 20wait: 20opacity user: 100%, 20wait: 20se: Darkness8opacity user: 55%, 20wait: 20opacity user: 100%, 20wait: 20se: Darkness8opacity user: 55%, 20wait: 20opacity user: 100%, 20wait: 20motion guard: usermotion wait: useranimation 52: userwait for animation</setup action><Target Action>motion spell: usermotion wait: userwait: 30camera focus: target, front center, 45wait: 45action animation: targetwait for animationaction effect: targetdeath breakclear battle logwait: 20reset zoom: 20reset camera: 20perform finishwait: 20opacity not focus: 100%</Target Action><follow action>show battle hud</follow action>

When I copy & paste it I have to set the spaces manually, like
<setup action>
display action
immortal: targets, true

.. etc. because it doesn't recognize the code otherwise. There's a lot of really cool stuff here I want to look into because I'm pretty newbish, what am I doing wrong? o: Please excuse the super stupid question!
 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,757
Reaction score
1,681
First Language
English
Primarily Uses
RMMV
I think I'm just too stupid, but I don't understand how to copy code from this forum here displayed in the "code" tag or whenever people write this stuff without spaces haha

for example this:

Code:
<setup action>display actionimmortal: targets, truewait: 40hide battle hudopacity not focus: 0%camera focus: user, front center, 45zoom: 1.2, 45wait: 40motion chant: usermotion wait: userse: Darkness8opacity user: 55%, 20wait: 20opacity user: 100%, 20wait: 20se: Darkness8opacity user: 55%, 20wait: 20opacity user: 100%, 20wait: 20se: Darkness8opacity user: 55%, 20wait: 20opacity user: 100%, 20wait: 20motion guard: usermotion wait: useranimation 52: userwait for animation</setup action><Target Action>motion spell: usermotion wait: userwait: 30camera focus: target, front center, 45wait: 45action animation: targetwait for animationaction effect: targetdeath breakclear battle logwait: 20reset zoom: 20reset camera: 20perform finishwait: 20opacity not focus: 100%</Target Action><follow action>show battle hud</follow action>

When I copy & paste it I have to set the spaces manually, like
<setup action>
display action
immortal: targets, true

.. etc. because it doesn't recognize the code otherwise. There's a lot of really cool stuff here I want to look into because I'm pretty newbish, what am I doing wrong? o: Please excuse the super stupid question!

It's not a stupid question and you're not stupid for asking it.

If some people's action sequences in code tags have messed up spaces and are single line, it's either their own fault or the forums somewhere along the line screwed them up. Either way, you're not doing anything wrong. if anything, copying from RM and pasting into the forums adds an extra line break:

Note: this isn't a yanfly action sequence so don't use it because it won't work. (It's for a custom thing I'm working on and just so happen to have open, but it's the same principle)

In RM, there's no line double-spacing, but when I post it here, it adds an extra linebreak for every line for some reason, like so:
Code:
<Whole Action>

wait: 60

action animation: targets

wait: 15

hp: same, -variance(damage(a.atk, 5, b.def), 0.1);

wait: 60

action animation: targets

wait: 15

mp: same, -variance(damage(a.atk, 3, b.def), 0.1);

wait: 60

action animation: targets

wait: 15

tp: same, -variance(damage(a.atk, 2, b.def), 0.1);

wait: 60

action animation: targets

wait: 15

tpb: same, -50%

wait: 60

animation: 46, targets

wait: 15

hp: same, variance(damage(a.atk, 5, b.def), 0.1);

wait: 60

animation: 46, targets

wait: 15

mp: same, variance(damage(a.atk, 3, b.def), 0.1);

wait: 60

animation: 46, targets

wait: 15

tp: same, variance(damage(a.atk, 2, b.def), 0.1);

wait: 60

animation: 46, targets

wait: 15

tpb: same, 50%

wait: 60

animation: 1, targets

wait: 15

hp: same, 0

wait: 60

</Whole Action>

When I copy/paste something that's properly linebreaked from the forums though, it works fine and should for you as well.
 

phamthienbao

Warper
Member
Joined
Aug 2, 2015
Messages
2
Reaction score
0
Primarily Uses

Here is a charge type skill that I thought you guys might be interested in!

In the video it's called vira's will

<target action>

se: TO7BTL_1096

ACTION CUTIN USER: template horizontal

Wait: 100

opacity all actors: 0%, 20

opacity enemies: 0%, 20

opacity user: 100%, 20

common event: 2

-----<movement>------

se: crossbow

motion evade: user

move user: forward, 150, 12

jump user: 30, 12

wait for movement

motion idle: user

wait: 10

-----<movement>------

battleback 3 add: battlebacks1, SpeedlineverticalBW

battleback 3 scroll speed y: -300

camera screen: user, base top, 15

zoom: 200%, 15

wait: 30

zoom: 100%, 120

se: TO7BTL_1101

------Charge Skill-------

animation 201: user

animation 204: user

shake screen: 3, 5, 60

custom motion charge: user

action effect: user

wait for animation

wait for camera

battleback 3 remove

common event: 3

opacity all actors: 100%, 20

opacity enemies: 100%, 20

reset camera

reset zoom

--------Charge Skill------

</target action>
Thank for your awesome sharing. These action is very epic. Did you use ACTION CUTIN plugin? and which sv_actor did you use for
 

-Rena-

Villager
Member
Joined
Dec 17, 2018
Messages
13
Reaction score
1
First Language
German
Primarily Uses
RMMV
It's not a stupid question and you're not stupid for asking it.

If some people's action sequences in code tags have messed up spaces and are single line, it's either their own fault or the forums somewhere along the line screwed them up. Either way, you're not doing anything wrong. if anything, copying from RM and pasting into the forums adds an extra line break:

Note: this isn't a yanfly action sequence so don't use it because it won't work. (It's for a custom thing I'm working on and just so happen to have open, but it's the same principle)

In RM, there's no line double-spacing, but when I post it here, it adds an extra linebreak for every line for some reason, like so:
Code:
<Whole Action>

wait: 60

action animation: targets

wait: 15

hp: same, -variance(damage(a.atk, 5, b.def), 0.1);

wait: 60

action animation: targets

wait: 15

mp: same, -variance(damage(a.atk, 3, b.def), 0.1);

wait: 60

action animation: targets

wait: 15

tp: same, -variance(damage(a.atk, 2, b.def), 0.1);

wait: 60

action animation: targets

wait: 15

tpb: same, -50%

wait: 60

animation: 46, targets

wait: 15

hp: same, variance(damage(a.atk, 5, b.def), 0.1);

wait: 60

animation: 46, targets

wait: 15

mp: same, variance(damage(a.atk, 3, b.def), 0.1);

wait: 60

animation: 46, targets

wait: 15

tp: same, variance(damage(a.atk, 2, b.def), 0.1);

wait: 60

animation: 46, targets

wait: 15

tpb: same, 50%

wait: 60

animation: 1, targets

wait: 15

hp: same, 0

wait: 60

</Whole Action>

When I copy/paste something that's properly linebreaked from the forums though, it works fine and should for you as well.
Ahhh, thank you! :) This confused me a lot and I thought I missed something!
 

jonenglish91

Villager
Member
Joined
Aug 23, 2015
Messages
28
Reaction score
30
First Language
English
Primarily Uses
RMMV
Thank for your awesome sharing. These action is very epic. Did you use ACTION CUTIN plugin? and which sv_actor did you use for
Thanks! Yes I did use that plugin, These are custom made sideview actors.

I posted the incomplete sheets here as we revamped the sprites.
 
Joined
Apr 21, 2021
Messages
2
Reaction score
1
First Language
Portuguese
Primarily Uses
RMMV
Hey guys, I'm a noob programmer in need of assistance :elswt:
I'm having trouble to do some pretty simple animations, and hoped you guys could help me.

The first skill is the "attack" default action, and I wanted to make a condition where... if the character is holding a "dagger" weapon-type, he does one more attack. Heres the notetag I'm using:

<Setup action> move user: target, front, 20 wait for movement </Setup action> <Target action> Motion attack: user action animation: target wait for animation action effect normal critical if user.attackMotion() == 'Thrust' wait: 20 Motion attack: user action animation: target wait for animation action effect normal critical end </Target action>

The line "if user.attackMotion" works fine, but thats not what I wanted, because a spear or punch weapon would activate this as well. I wanted to change the "motion" to "type", but dont know if theres a code for that. Do you guys know what code I could insert? Thanks!
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
452
Reaction score
360
First Language
English
Primarily Uses
RMMV
Try this, instead of attackMotion

if user.isWtypeEquipped(ID)

For clarity, that's the type not the ID of the weapon itself
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
888
Reaction score
475
First Language
English
Primarily Uses
RMMV
The first skill is the "attack" default action, and I wanted to make a condition where... if the character is holding a "dagger" weapon-type, he does one more attack. Heres the notetag I'm using:
The answer you got about the weapon type will fix your problem - I just wanted to point out that you have some lines in your sequence that don't appear to be doing anything.

The documentation for "normal critical" says "This forces the following action effects in the action sequence..." and you are putting them after your action effect, so it wouldn't do anything. Also, I don't see anyplace in the sequence that's initially forcing it to have/not have criticals, so I don't understand the point of returning it to the normal critical setting.
 
Joined
Apr 21, 2021
Messages
2
Reaction score
1
First Language
Portuguese
Primarily Uses
RMMV
Try this, instead of attackMotion

if user.isWtypeEquipped(ID)

For clarity, that's the type not the ID of the weapon itself
It worked! Thanks alot :elhappy:

The answer you got about the weapon type will fix your problem - I just wanted to point out that you have some lines in your sequence that don't appear to be doing anything.

The documentation for "normal critical" says "This forces the following action effects in the action sequence..." and you are putting them after your action effect, so it wouldn't do anything. Also, I don't see anyplace in the sequence that's initially forcing it to have/not have criticals, so I don't understand the point of returning it to the normal critical setting.
Yeah, I didnt know if it was needed haha I was just copying from some videos about notetags, still a huge noob on programming. Thanks for the info!
 
Last edited:

Latest Threads

Latest Profile Posts

Just finished my first Slip into Ruby since last July! It'll be up and added to the main post tomorrow, along with a new Jump into Javascript.
to pass the time.pngTesting out making boxes and packs of items. These things are always fun to do.
Rural Japan Tiles, Giant Dragon Sprite, Paint Icons? & Game Spicy Pixel Fonts | RPG Maker News #31

just hopped into project recruitment... hoping to maybe find some artists to help with parallax maps and whatnot. I could do them myself, but I'm not really good at it so I'd prefer to stick to my strengths which is character art and SOME UI elements.

Forum statistics

Threads
111,102
Messages
1,058,288
Members
144,305
Latest member
Fertrick
Top