Luyren's AI and Combat Pack

Luyren

  • *
  • Posts: 2506
You use the "Command List" behavior for the whole thing. In this case you won't use the "Ground Melee Attack" behavior. So plan all the conditions and events of your attack, set up the combo trigger at the appropriate time and configure all the following parts of the combo in different attacks. Remember that each facing is a different attack.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

tabletop

  • Posts: 377
Would you mind sending a screenshot? Of which exact menu and which areas to type this

Luyren

  • *
  • Posts: 2506
As I said, it's the "Command List" behavior. Attach it to your actor (and follow the instructions on the basic setup for other required behaviors as written in the documentation), customize the events, conditions and inputs as you want them and go to town. Use the sample game Mage actor for reference on some of the conditions to use, such as checking for ground, facing directions and combos.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

tabletop

  • Posts: 377
Could you post a screenshot of what to type in for just a melee attack with three different animations like in Zelda if you press the button three times in a row.

I couldn't comprehend the documentation at all.

Luyren

  • *
  • Posts: 2506
Look at the sample game then. The Fireball actions for the Mage actor is a simple projectile attack, you'd just set the damager event to fixed instead of bullet. Likewise the FireBreath and FireBreathCombo actions have an example of the combo trigger event usage.

You have to breakdown your actions into individual components (setting damage, animation change, damager creation etc) and use the appropriate events. If you provide a screenshot of your attempt, then I can suggest improvements to achieve what you need.

If anything on the documentation is unclear, I'd also appreciate if you could point out at the specific parts of it so I can explain it better and improve it.

« Last Edit: December 27, 2020, 08:03:56 am by Luyren »
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

tabletop

  • Posts: 377
I actually tried quite a bit, but still a failure.

Do you mind showing me how to do any attack with two different animations/possibly damagers if the button is pressed 3 times in a short window?

Luyren

  • *
  • Posts: 2506
I actually tried quite a bit, but still a failure.
Show me what you tried. The behaviors you have attached, the settings you chose, and the configurations in the Command List behavior for the attacks you tried. Only then I can provide any sort of assistance.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter


Luyren

  • *
  • Posts: 2506
The image with input has only copies of the fireball and fireblast skills from the sample game, and the input for a command called "Combo Trigger" with no conditions or input associated with it. The second image doesn't exist. So that's not much to work with.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Luyren

  • *
  • Posts: 2506
This pack has been updated with a revamp and new features for the 4 basic attack behaviors.

  • Added option to release the key to perform a basic attack.
  • Replaced "Position Data List" with a map attribute, to make it slightly easier to configure.
  • Added new "Attack Movement Map" attribute. It contains information to move and stop the actor during the attack. For the melee attacks, it also has the option to push-back on hit. This push-back can also be used for bounce attacks. You can specify enemies that can and cannot trigger the push-back.
  • Added a 3-hit combo for the "Mage" actor in its Command List behavior. The sample input and action event files have been update with those attacks.
  • The ‚ÄčExplode ‚Äčbehavior now has the option to deal damage along with the explosion.

To get these changes, you'll need to redownload the pack. If you were using a previous version of the pack in your game, you'll need to remove the pack and all its resources, and reimport the new version.

As always, you can get the most up-to-date version here: https://luyren.itch.io/luyren-ai-and-combat-pack

« Last Edit: Today at 07:06:33 am by Luyren »
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter