Register    Login    Forum    Search    FAQ Awesomenauts



Post new topic Reply to topic

Author Message
 Post subject: i need help with AI
 Post Posted: Fri Mar 10, 2017 2:18 pm 
Offline
User avatar

Joined: Fri Mar 10, 2017 2:12 pm
Posts: 14
i need some help with rocco AI
he cant move away from target :tear:
his aim isn't very good :rocco:
he only retreat when his only have less then 100HP

_________________
mains: :LeonWink: :sleep: :lolstar:
sub: :think: :ix: :tear:


Top 
 Profile  
 
 Post subject: Re: i need help with AI
 Post Posted: Fri Mar 10, 2017 3:17 pm 
Offline
User avatar

Joined: Mon Sep 02, 2013 5:16 pm
Posts: 1605
Location: Dænmårk
It's hard to help you fix your problems if we cannot see your bot.
If you put a link to the bot's files here it'd be easy to go through the bot.


Top 
 Profile  
 
 Post subject: Re: i need help with AI
 Post Posted: Fri Mar 10, 2017 5:27 pm 
Offline
User avatar

Joined: Fri Mar 10, 2017 2:12 pm
Posts: 14
:arrow: :arrow: https://docs.google.com/uc?export=downl ... W1Yd3NkRW8

note: i am working on the build later :arrow:

_________________
mains: :LeonWink: :sleep: :lolstar:
sub: :think: :ix: :tear:


Top 
 Profile  
 
 Post subject: Re: i need help with AI
 Post Posted: Fri Mar 10, 2017 6:00 pm 
Offline
User avatar

Joined: Mon Sep 02, 2013 5:16 pm
Posts: 1605
Location: Dænmårk
1. Loads of BehaviourTrees
You're importing loads of BehaviourTrees, some of those I can understand, like VeankoAI and Wozzle.
Others I don't recognize, or are probably already inside VeankoAI.

The following trees are already in VeankoAI:
- VeankoCheckIfEnemyInCombatRange
- VeankoFindAndTargetEnemiesShortRange
- VeankoFocusEnemy
- VeankoStatusChecker

You don't have to have these in your bot. Just VeankoAI.

You also have AwesomebotsCommonLib. I don't know what this is, but if you're sure you need this, I guess it's fine.

2. Left click
Left click is only checking for destroyable objects. It isn't checking for enemies.
You hold the button for 0.01 seconds, but Awesomenauts ticks every 0.1 second. You should set it to 0.1 seconds as well.

3. Aim
It looks like you've copied a lot of stuff for his right click. Most of it seems to come from the Lonestar bot. It's a fine starting point, but now that you have your bot up and running I suggest you try to make the AI yourself. It gives you more control over what you're doing and you will actually understand the "code" and reasoning behind it.

4. Retreating
I assume he retreats very late because of all the BehaviourTrees are confusing him. Too many movement logics calling at once.


Last edited by FlawlessHair on Sat Mar 11, 2017 1:03 am, edited 1 time in total.

Top 
 Profile  
 
 Post subject: thanks
 Post Posted: Fri Mar 10, 2017 7:55 pm 
Offline
User avatar

Joined: Fri Mar 10, 2017 2:12 pm
Posts: 14
thanks i really appricate it :D :D

_________________
mains: :LeonWink: :sleep: :lolstar:
sub: :think: :ix: :tear:


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic