Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [HELP] AGK Tier1 AI Behavior Codes

Author
Message
Quell Dieu
7
Years of Service
User Offline
Joined: 8th Feb 2017
Playing: Genres: Action, MOBA, FPS, Fighting, TBS, RTS, Puzzle.
Posted: 15th Mar 2017 17:49 Edited at: 17th Mar 2017 16:32
I need some reference code for AppGameKit Tier1 AI


AI vision range

Attacking/chasing the player when player is near the vision range

How to make an AI search for the player when it leaves its vision range

Patrolling

AI changing target - so its like when there's a lower health unit the AI would attack that instead the current target its attacking
so its target priority right? how to do that?



Thank You in Advance
Playing Codes from Documentation
Jack
19
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 17th Mar 2017 21:11
Hello Quell Dieu,

it would be far more easy, if you could provide your current progress state (code),
so it would be easier for us to help you.

Let me drop the first stone into the river:

The first step to a good enemy AI is the correct structure of the enemy creation and handling.

The following code demonstrates a basic enemy creation method.






[/url]

Login to post a reply

Server time is: 2024-04-24 13:21:30
Your offset time is: 2024-04-24 13:21:30