TopDown Engine Tutorial : Advanced AI

  Рет қаралды 24,730

More Mountains

More Mountains

Күн бұрын

Пікірлер: 70
@BadBanana
@BadBanana Жыл бұрын
This is worth what you charge for the entire package alone mate. Extraordinary machine, i plan to use this on my server
@_MoreMountains
@_MoreMountains Жыл бұрын
Thanks for the kind words!
@PreRendered
@PreRendered 11 ай бұрын
This is such a classy implementation of the state machine for AI. I've learned SO MUCH from reading your code. I can see all the years of hard work in the polish behind the scenes. Thank you for this asset!
@_MoreMountains
@_MoreMountains 11 ай бұрын
Thank you for the kind words, I'm glad you appreciate the craft :)
@Omhetehmo
@Omhetehmo 11 ай бұрын
I've just bought this amazing asset and after a few tutorials I feel so powerful and free to just start making a game without all the extra hassle. Much respect!
@_MoreMountains
@_MoreMountains 11 ай бұрын
I'm glad you're enjoying it :)
@merrick20
@merrick20 3 жыл бұрын
It amazes me how good these assets are... good job!
@_MoreMountains
@_MoreMountains 3 жыл бұрын
Thank you!
@KoshakiDev
@KoshakiDev Жыл бұрын
The implementation of the state machine is genius. So elegant!
@_MoreMountains
@_MoreMountains Жыл бұрын
I'm glad you appreciate the craft!
@SuperZanlith
@SuperZanlith 4 жыл бұрын
Thank you for explaining. I was really confused before that video!
@satoshisaito842
@satoshisaito842 2 жыл бұрын
Thank you for this ! It helped me a lot, I'm forever in debt to you !
@_MoreMountains
@_MoreMountains 2 жыл бұрын
I'm glad it helped!
@Cactus0
@Cactus0 5 жыл бұрын
Thanks for all of these awesome tutorials! 👍👍👍
@_MoreMountains
@_MoreMountains 5 жыл бұрын
You're welcome!
@zZMazeZz
@zZMazeZz 5 ай бұрын
This is amazingly beautiful
@_MoreMountains
@_MoreMountains 5 ай бұрын
Thank you!
@gthpgth
@gthpgth 2 жыл бұрын
It's a beautiful structure.
@ausername4meplease
@ausername4meplease 2 жыл бұрын
Hello, is it possible to create "faction" like AI behaviour? Meaning, if the player shoots an NPC then other NPCs of the same "faction" or type also starts shooting on the player? (otherwise they remain standing) Like a "loyalty" system?
@_MoreMountains
@_MoreMountains 2 жыл бұрын
There's no such feature (it's quite specific), but yes, it's absolutely possible to implement it. I think a new type of AI Decision, that would look at some global "loyalty" reference would work quite well.
@ausername4meplease
@ausername4meplease 2 жыл бұрын
@@_MoreMountains A true! Thank you. Another thing, I am looking for a way to use "memory" when creating AI for an NPC. Like if the player attacks an NPC and then runs away and returns to the area where the NPC is again the NPC "remembers" the players attack and shoots. The same solution as for factions?
@_MoreMountains
@_MoreMountains 2 жыл бұрын
@@ausername4meplease Yes, it could be as simple as changing a bool state somewhere, or as complex as you want it to be.
@TUPGD
@TUPGD 9 ай бұрын
Why is it that some people can get a response or answer but others are sent to the “support form”? Do you not know the answers to your own creation?
@nicejke9630
@nicejke9630 2 ай бұрын
Hi, I'm using your engine and I ran into a little problem. I use AIActionMoveTowardsTarget3D to send bots to attack a stationary player, but only the first one reaches the attack radius, the rest stick into his back. Can I fix this with the tools available in the engine?
@_MoreMountains
@_MoreMountains 2 ай бұрын
You'd use a pathfinding action for that, not a simple Move one.
@nicejke9630
@nicejke9630 2 ай бұрын
@@_MoreMountains I'm just an idiot. I did not understand that 2 actions can be linked to one state and I can move and pathfinding at the same time. Ty for reply!
@_MoreMountains
@_MoreMountains 2 ай бұрын
@@nicejke9630 Happy to help!
@nabil6254
@nabil6254 8 ай бұрын
can you tell how to use swap brain? I want to make a boss that has 2 phases. Pleasee, thank you.
@_MoreMountains
@_MoreMountains 8 ай бұрын
It's a very simple action, you add it to your brain, bind the new brain you want it to swap to, and you use it in a state.
@nabil6254
@nabil6254 8 ай бұрын
@@_MoreMountains I create an empty object with an AIBrain Component in it, what else component should i add? I want the brain to perform an attack.
@_MoreMountains
@_MoreMountains 8 ай бұрын
@@nabil6254 th evideo you're on, or the corresponding documentation section explains that in details. if you still have questions after checking them and the many examples out, don't hesitate to use the support form.
@alengazibegovic3485
@alengazibegovic3485 4 жыл бұрын
does your ai include gridmovement script too?
@EDW4RD249
@EDW4RD249 2 жыл бұрын
How can you add a melee enemy, that uses the LoftAISword prefab included in the engine? I added it to an enemy but it does not cause any damage to the player (it has the player layer as the target for damage)
@_MoreMountains
@_MoreMountains 2 жыл бұрын
Please use the support form if you need support.
@ausername4meplease
@ausername4meplease 2 жыл бұрын
How about AI for none violent encounters? For example if I create a game where their are NPCs walking around in a shop and sometimes pick things up and walk to the checkout and buy the products. Can I do that with this AI?
@_MoreMountains
@_MoreMountains 2 жыл бұрын
It's an AI system, you can use it for anything you want. If you implement dedicated actions for the stuff you describe, the system will support it.
@ausername4meplease
@ausername4meplease 2 жыл бұрын
@@_MoreMountains Great to hear! Would be cool to see a tutorial video about how to use the AI in other contexts than combat. Thank you for an excellent library.
@deveshsingh0904
@deveshsingh0904 10 ай бұрын
It's Amazing work!! Having an experience of past 3years I could definitely say this would really save a dozens of my hour in future run . Just Getting stuck at a problem : How could I use the inventory to the AI character.like I want to create an AI with dufferent Guns but at Initial weapons its only One weapon slot where I couldn't See any update If I put forward another weapon other then sword?? Could you please just Write a format of scripts I need to align to get this gun shooting working??
@_MoreMountains
@_MoreMountains 10 ай бұрын
There's already a ChangeWeapon AI action to cover that use case. If you have more questions, please reach out via the support form, thanks.
@deveshsingh0904
@deveshsingh0904 10 ай бұрын
Thanks Trying it now
@limoludek
@limoludek Жыл бұрын
Is there any way to make ai target character when they get shot?
@_MoreMountains
@_MoreMountains Жыл бұрын
There's the AIDecisionHit you can use for that. See topdown-engine-docs.moremountains.com/advanced-ai.html#decisions
@jiancui1520
@jiancui1520 2 жыл бұрын
I didn't check the AI code yet, have a quick question, if i have multiple Bosses, and I want them to have different kind of AI Combat, this Advanced AI supports this or I should extend and build my own. Thanks
@_MoreMountains
@_MoreMountains 2 жыл бұрын
Sure, that's possible.
@SuddenlySlanted
@SuddenlySlanted 4 жыл бұрын
Hello, quick question about this. I've looked at the ninja in the demo and he only has to aim his hitbox left and right. There is no way with a melee weapon to aim the hurtbox up and down. I've tried doing the same thing as you showed in your previous "animations" video (weaponaim2d script set to primary movement) but that doesn't move the hitbox like it does for a player character. I'm curious how this would even work with an AI character.
@TUPGD
@TUPGD 9 ай бұрын
It won’t. Is why you won’t get a reply about it. A lot of things that don’t work or work how you’d think they would, you won’t get responses for. That’s how they (the creators do) It’s a great system but you won’t be able to make what you really want. You’ll have to make something out of what’s already there.
@ThePixelitomedia
@ThePixelitomedia 4 жыл бұрын
Does it have "hearing" and "searching" at the last known position for a radius or time? Can the AI call backup? Will they go into melee when the enemy is too close? Do they have limited ammo and will search for weapons or ammo? Can we set the aim quality of the ai?
@_MoreMountains
@_MoreMountains 4 жыл бұрын
It's an atomic AI system. It does whatever you tell it to do. If you create an action for the AI to "call backup", it will. I'd recommend watching the tutorial or reading the documentation to get a better understanding of how it works.
@itsJDarts
@itsJDarts Жыл бұрын
Phenomenal
@СергейТюльпин-г3п
@СергейТюльпин-г3п 3 жыл бұрын
hi i bought a top down engine, i can't make an ally AI. help me please
@_MoreMountains
@_MoreMountains 3 жыл бұрын
Without knowing anything about what you did, that's gonna be hard. I'd recommend checking the documentation (topdown-engine-docs.moremountains.com/advanced-ai.html), it explains all there is to know about the AI system. If your issue persists, please use the support form, not youtube comments, and provide more info about your context, what you did, and what exactly doesn't work.
@harrison1657
@harrison1657 5 жыл бұрын
How do you make 2D enemies use ranged weapons? I've tried to give ninjas a koala rifle, but they can't aim with it. I checked FaceTarget/AimAtTarget and added AIActionAimWeaponAtMovement for Attacking, but none of that worked. Also, thanks for these tutorials they're really helpful!
@harrison1657
@harrison1657 5 жыл бұрын
Nvm, all I had to do was to set Aim Control to Script. But now they're acting weird when you come too close, quickly changing their aim from left to right. Also, they won't shoot at you if you stand still... >_>
@_MoreMountains
@_MoreMountains 5 жыл бұрын
Please use the support form for support questions, thanks.
@MagenkyoHellAngeal
@MagenkyoHellAngeal 2 жыл бұрын
Move away from the target no longer exist as an ai action, why did this happen?
@_MoreMountains
@_MoreMountains 2 жыл бұрын
Yes, it does still exist. Both in 2D and 3D versions.
@TheCykid
@TheCykid 4 жыл бұрын
is there any 2d Pathfinding?
@_MoreMountains
@_MoreMountains 4 жыл бұрын
Not at the moment.
@TheCykid
@TheCykid 4 жыл бұрын
@@_MoreMountains okay, thanks for the quick reply, I was able to solve the whole thing with the free version of the asset "A* project", the adjustments that were necessary for this could be implemented well. All in all I am very happy with my purchase :) Thanks for the tutorials as well as the good documentation.
@_MoreMountains
@_MoreMountains 4 жыл бұрын
@@TheCykid Usint the A* Project for this is absolutely what I recommend, good pick!
@theplaymakerno1
@theplaymakerno1 2 жыл бұрын
I feel like Top Down Engine is Super Bloated.
@_MoreMountains
@_MoreMountains 2 жыл бұрын
Bloated by what? Everything is built in an atomic way, you don't need to use everything in it, it's a framework. Everything you don't use won't have any impact on anything (build size, performance, etc).
@theplaymakerno1
@theplaymakerno1 2 жыл бұрын
@@_MoreMountains I apologize. I didn't know that the channel belonged to More Mountains, who I believe are the creators.
@_MoreMountains
@_MoreMountains 2 жыл бұрын
No need to apologize, you're entitled to your opinion, it's fine :) But please don't hesitate to elaborate, "bloated" is a strange criticism to make to a framework built like that one.
@theplaymakerno1
@theplaymakerno1 2 жыл бұрын
@@_MoreMountains it is not a criticism. Most software these days is bloated
@francescosiciliano1368
@francescosiciliano1368 2 жыл бұрын
@@theplaymakerno1 I'd rather call it exhaustive.
TopDown Engine Tutorial : Weapons
40:00
More Mountains
Рет қаралды 32 М.
TopDown Engine Tutorial : Character Abilities
15:46
More Mountains
Рет қаралды 25 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 222 М.
TopDown Engine Tutorial : Animations
24:36
More Mountains
Рет қаралды 27 М.
TopDown Engine Tutorial : How to create a Character?
26:28
More Mountains
Рет қаралды 55 М.
TopDown Engine : What's new in version 2.0?
51:19
More Mountains
Рет қаралды 21 М.
The Trick I Used to Make Combat Fun! | Devlog
8:12
Game Endeavor
Рет қаралды 1,7 МЛН
2D PATHFINDING - Enemy AI in Unity
23:13
Brackeys
Рет қаралды 832 М.
ChatGPT Vs DeepSeek VS Qwen 2.5 Max: Which One’s BETTER?
12:44
Julian Goldie AI
Рет қаралды 398
TOP DOWN MOVEMENT in Unity!
22:30
Brackeys
Рет қаралды 1,2 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН