Ability/Skill Feedback

Hello!  First post, etc, etc.  Probably posting this in the wrong section, but it is half mechanical, half thematic.  Problems arose because of side-view.


So the general idea is for a set of survivalists and hunters.  My plan was that all the actual weapon items would be melee only (axes, daggers, swords, etc) and the only options for ranged weapons would be "dummy" weapons I create as, effectively, accessories.  In this way, they can grant skills that replicate firing them.  Those skills will then cost ammunition types (exclusive to the accessory item, so pistol shot, crossbow bolts, arrows, etc).  Advanced dummy weapons would grant more powerful versions of the attacks and perhaps even more abilities.


The reason that I want to do this is because of the formations plugin- I want front-row combatants to have the option of using ammunition-based ranged weapon attacks on targets beyond the front row as a tactical decision, but allow them to rely more on melee attacks and other skills (flavored as martial arts, fighting techniques, and survival tactics) for the most part.


Does this sound at all interesting or fun?  Or would it be more frustrating?


Mechanically, I have no idea how to get this to work- I'm really scratching my head with it.  I cannot for the life of me seem to get a skill to display the animation for a weapon other than the one that the character currently has equipped.  In example, a character that has a sword equipped has a skill called "Shoot" wherein he pulls out a bow and fires it at his opponent.


Any help or feedback would be appreciated, and I'm glad to be here.
Yanfly got some plugins that could help you.


Besides Row Formation, there is Skill Cost Items for ammunition use. No idea about the animation though... There was a topic on the MV Support recently about someone asking this, I remember, but not the answer.
My only concern would be whether or not the Accessories would break? It might be easier, and less frustrating to have them be consumable items rather than accessories. You'd run into less bugs, and it would kind of be cool in a world of " survivalists and hunters" that the ammunition would be shared universally amongst the group. You have ten "slings", and all ten are shared amongst the four party members. same would go for anything else. I guess in this version of it, the items wouldn't do any stat augmentation. But with some scripting depending on whether or not you're using plugins (i might be able to help depending on if you're using Yanfly's stuff), they could all do varying amounts of damage. Items with base RMMV can also apply states, if that was something the accessories were going to do.
Yeah, party formations and skills cost items are basically a must.  Ammunition basically being a defunct item that doesn't really do anything other than allow the use of an ability.  


In regards to making them consumables, I'd originally thought about doing that as well, but even if I moved over to that option, I would still need to figure out how to make their on-use animation into the weapon attack, which seems to be what I'm struggling with the most.  So far I've messed around some with both Weapon Animations and Action Sequences, but can't quite find the combination I'm looking for (if it even exists at all).
@AJRDeck Are you using yanfly's plug ins? If anything, heres an action sequence i found on steam. 


YEP_BattleEngineCore
YEP_X_ActSeqPack1
YEP_X_ActSeqPack2

 

Spoiler
Then use:

<target action>
MOTION ATTACK: user
wait: 30
action effect
animation 91: target
wait: 5
action effect
animation 91: target
wait: 5
action effect
animation 91: target
wait: 5
<\target action>

(91 is Shoot Normal animation)

This allows my archer to fire her bow (using the default attack animation, cause she equipped a bow) doing the skill animation and hitting 3 times while using the skill. I use wait so it looks a bit more natural.

I've actually tested this cause I was interested as well. 

This might take some tweaks to make it look right but it should work.



If all else fails, you could use that action sequence, turn the item into a consumable that grants access to a new weapon type, use yanflys equip core and some common eventing so you can have the user switch weapons to the bow or shotgun, then for one turn, they can use it.


Basically do something like this


1)Create a state that would allow for the character for 1 or as many turns as you would like, use a bow/shotgun/etc.


2) Make the item apply the state by 100%


3) Make a weapon corresponding to the item. Give it it's own damage formula/state applications. 


4) Use equip core by yanfly to allow equipment changing in battle


5) make a common event that would perhaps force open the equipment menu, or force an equip change to the bow or whatever. 


6) the battler would then for that turn use the bow or whatever the item makes it.


7) The state ending should remove the bow and you might need to re-equip their normal weapon.


This is all theory crafted though. I can't promise it would work 100% but you should try it out.
Thank you for the assistance!  As I was reading here and seeing suggestions (using states, item abilities, etc) and started poking around, I forced myself to go over everything again and you know what?  I figured it out!  Basically I added a state which, using Yanfly's Weapon Animation plugin, changed the equipped weapon over (the state was working fine, I just couldn't get the skill to add it to the attack being used currently), and I apparently missed, believe it or not, the add/remove state option for Action Sequence 1.  


Somehow.


In the end, the note ends up looking like this-

Spoiler
<Target Action>


add state 11: user


motion swing: user


perform action


motion wait: user


action animation: target


wait for animation


action effect: target


death break


perform finish


remove state 11: user


</Target Action>



This allows the character to have the bow/shotgun/whatever (state 11 in my test project is "Bow Equipped" for example) for only the specific skill that uses it.  Combined with "Skills cost items," this should do exactly what I wanted it to.


Thank you all for the insight!
Whoohoo! I have yet to add action sequences cause i wanna do that all last haha

Original thread: https://forums.rpgmakerweb.com/threads/ability-skill-feedback.69666/