DaemosChronicle

Villager
Member
Joined
May 28, 2020
Messages
19
Reaction score
1
First Language
English
Primarily Uses
RMMV
I honestly don't get what I'm doing wrong. I watched the video for the plugin, but it doesn't really cover the "attacking" portion, the whole reason anyone would use this plugin.

From what I've been told you "program enemy battlers the same way you do the player battler", but it doesn't seem to be working for me. I have some experience with animating player skills, and they work just fine.

Here is my code for a player skill:

<setup action>

display action

immortal: targets, true

WAIT FOR ANIMATION

</setup action>

<Whole Action>

motion escape: user

move user: targets, base, 25, offset x +90 y -10

face user: home

wait: 24

face user: target

wait for movement

</Whole Action>

<target action>

motion thrust: user

wait: 25

animation 0122: target

action effect

</target action>

<follow action>

face user: forward

jump user: 50, 25

move user: return, 25

motion escape: user

wait for movement

immortal: targets, false

</follow action>

I know it's odd to have "face user: home" in the "Whole Action" segment, but if I don't do that first, then the player battler will dash backward. Is that a bug with this plugin?

Anyways, I put this skill for the enemy to use as a test.

Here is a video of me testing the sideview battler with the same code as I would for a skill the player uses.


Facing the wrong direction, ends up behind the player (easily fixed by changing the offset). Literally the ONLY thing that works is it does the appropriate attack animation.

What am I doing wrong? In theory, this should work perfectly.



Is it seriously limited to just the Enemy Notetags for that plugin?
 
Last edited:

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,231
Reaction score
709
First Language
Poland
Primarily Uses
RMMV
I don't quite understand your problem, seems to me to be all ok with that code. Is that the wolf scratches your hero from back? Or it is hero is dashing toward opponent backward?

If it is the second case then remove
face user: home

but if it is case of wolf, then you gave us wrong skill preview and notetag sequence.
 

DaemosChronicle

Villager
Member
Joined
May 28, 2020
Messages
19
Reaction score
1
First Language
English
Primarily Uses
RMMV
I don't quite understand your problem, seems to me to be all ok with that code. Is that the wolf scratches your hero from back? Or it is hero is dashing toward opponent backward?

If it is the second case then remove
face user: home

but if it is case of wolf, then you gave us wrong skill preview and notetag sequence.

It's the second problem. And yeah, removing that ends up with the same result. The wolf dashes backwards no matter what I change. That's why it's driving me crazy.
 
Last edited:

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,231
Reaction score
709
First Language
Poland
Primarily Uses
RMMV
Strange... I removed that code:
face user: home and it is working OK. I have similar skill for my warrior:
Code:
<setup action>
wait: 24
clear battle log
display action
motion abnormal: user
wait for animation
wait: 10
motion idle: user
</setup action>


<target action>
jump user: 170, 16
move user: target, BASE, 16
wait: 16
MOTION ATTACK: user
wait for animation
animation 12: target
motion damage: target
wait: 8
action effect
wait for animation
</target action>

<follow action>
wait: 30
perform finish
</follow action>

<finish action>
move user: return, 30
wait for movement
clear battle log
</finish action>

It should work as you want, but you need to adjust few things while testing

 

DaemosChronicle

Villager
Member
Joined
May 28, 2020
Messages
19
Reaction score
1
First Language
English
Primarily Uses
RMMV
Strange... I removed that code:
face user: home and it is working OK. I have similar skill for my warrior:
[...]

Like here, it works perfectly and I have no issues with my player skills. Weird you didn't have the issue when you tried it, if I understand correctly. I have Action Sequences 1-3. Could I be missing something for this not mentioned?
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,231
Reaction score
709
First Language
Poland
Primarily Uses
RMMV
No, there were only three action sequence plugins. It would be great if show me also attack skill of that wolf from video.
 

DaemosChronicle

Villager
Member
Joined
May 28, 2020
Messages
19
Reaction score
1
First Language
English
Primarily Uses
RMMV
No, there were only three action sequence plugins. It would be great if show me also attack skill of that wolf from video.
It's the same code. I used the same as a player skill to test it initially.
 

DaemosChronicle

Villager
Member
Joined
May 28, 2020
Messages
19
Reaction score
1
First Language
English
Primarily Uses
RMMV
I got a little creative and exchanged "evade" for "escape". No matter what I tried, the wolf either stayed in the idle stance and moved forward, or did the escape backwards. So I used evade and some offset x and y and got something acceptable.


Thanks for the help anyways.
 

Latest Threads

Latest Profile Posts

Doing RPG Maker News for 26th September 2021

Well... it's been a while since I was last here :kaoswt: I don't want to say I'm officially 'back' yet, but I've recently started working with RM again, so I might become active here again :kaohi:
Mmmm I love Coca Cola candy! :kaoluv:
aaaand my power is out. I sometimes think that I'm cursed.

Forum statistics

Threads
115,386
Messages
1,089,489
Members
150,115
Latest member
tmar
Top