Skill/Weapon

I have a weird question that might not be possible. I'm trying to create a game that has a similar mechanic to "Mega Man Legends" where you have two guns, the right hand gun is the main gun and the left hand is the special that can be several different types of weapons.

I've downloaded the Yanfly's mod for weapon images, which worked for the main weapon being used:

example.png


But now I want the second weapon to do a special move, which I've made as a animation for it. But when I equip it as a dual wield and second equipment slot, but I'm not able to select that weapon to use in combat. Does anyone know how to do this?
I have a weird question that might not be possible. I'm trying to create a game that has a similar mechanic to "Mega Man Legends" where you have two guns, the right hand gun is the main gun and the left hand is the special that can be several different types of weapons.

I've downloaded the Yanfly's mod for weapon images, which worked for the main weapon being used:

example.png


But now I want the second weapon to do a special move, which I've made as a animation for it. But when I equip it as a dual wield and second equipment slot, but I'm not able to select that weapon to use in combat. Does anyone know how to do this?
Sounds like you'd at least need to create certain skills that use different weapon images and animations. Which it sounds like you have already started on. Also, there are ways you can manipulate action sequencing to create the illusion of a "2nd weapon" being used.

But more importantly, what kind of battle system are you using? Is it sideview, or on the map ABS, or even LMBS?
I'm not sure what ABS or LMBS stands for, but I'm using the side view.

I have it set so that a skill is active if a weapon is equipped. I'm just not sure how to make the animation look like he is using a weapon.

example3.png
After seeing what you have set up, and looking through Yanfly's action sequencing, I may have a solution for you. However, it could require you to change things up a bit in your database in regards to dual wielding and equipment slots for each weapon.

1. First you'll want to remove the dual wield property from everything, so that the next step doesn't create any conflicts.
2. Make all your weapon slots "Right Arm". I assume that's your primary slot.
- Side note: That kind of defeats the purpose of a left arm blaster, I know.
3. Make two common events similar to the ones below:
Spoiler
gc.png

blaster.png
4. For your Ground Crawler skill that you already have set up, make an action sequence similar to this:
Spoiler
<setup action>
common event: 68
wait for common event
display action
perform start
wait for movement
</setup action>

<target action>
motion ATTACK: user
motion wait: user
action animation
wait for animation
action effect: target
death break
</target action>

<finish action>
wait for effect
common event: 69
wait for common event
clear battle log
perform finish
wait for movement
</finish action>

-------------------------------------------------------------

- Side Note: "motion ATTACK" will use whatever animation you set for the weapon currently equipped. Of course, substitute the common event IDs for the correct ones in your database.

So... if you set everything up that way, then your Ground Crawler skill should show the new weapon and the proper animation before swapping back to your original weapon. Yay! 🙂

Oh, and ABS is where you fight on the map (like Zelda games). And LMBS is where you have a linear battlefield and some side scrolling, platforming combat action (think Maple Story or Grand Chase). 😀
Thank you for the quick response. I think I see what you're trying to do to help me with.

If I'm not mistaken, Attack will be Buster, and then the code you gave me should make the Skill "Ground Crawler" do the weapon animation, right?
That's exactly it 🙂

And of course you can use the same action sequence setup and create new common events like those for any other weapons/skills in your arsenal.
It didn't quite work on my end... I'll post up some images to explain what happened on my end in a little bit. I have a errand to run.
Sorry for the late reply, I was trying to get it to work still and it was frustrating me so I just worked on sprites.

I turned off duel weapons, but that doesn't let me have it so I can have a Rock-Buster and a Ground Crawler equipped at the same time?

Was the purpose of this supposed to make the regular attack just plain and the equipped weapon the actual useful one? I tried that way too, but that code didn't quite work, maybe I put it in the wrong place?

I've tried various things, but I can't seem to get it to work... I love the idea though.
If you do it the way I described, then no, you won't be able to have both weapons equipped at the same time. However, the action sequence will allow you to use your secondary weapon and it's animation when using the skill.

You'll need to have Yanfly's Action Sequences installed for this method to work. You put the code in the notetag section of the skill.

Also, you may need to make it where your character learns the skill when they find the weapon in the game. That way, at least as long as you have the weapon in your inventory, you'll be able to use the skill in combat. If for some reason, you lose or sell the weapon, just have the skill removed through an event.

I wish I knew a simpler way for you to accomplish what you're looking for, but this method seems to work fine after testing.
OH! Yanfly's Action Sequences installed. Ok. I didn't have that lol. I don't know why I read over that. I installed YEP_BattleEngineCore and YEP_X_ActSeqPack1 and I'm still not able to get it to work...
I think the "common event" section is from action sequence pack #3. Just get all 3 of the action sequence plugins and add them to your game to be safe. They don't change anything unless you utilize their features.

Original thread: https://forums.rpgmakerweb.com/threads/skill-weapon.79413/