Stealth Game Enemy States

Get help using Construct 2

Post » Tue Jun 25, 2013 10:07 pm

Trying to get my stealth game to work, and maybe I just have too many states for my EnemyAI, but i seem to fumble on a few things. I have bookmarks at 32, 55 and 59 because i feel that these are the problematic bits.

I'm trying to get the AI to have these states

FindRoute (Doesnt work): find closest waypoint, and go to it

Patrol: Walks waypoints

SuspiciousWalk: Enemy thinks it sees something, so it walks towards.

SuspiciousSTop: Enemy lost sight of curious object

Alerted: walks to the area where the player madea noise or was last seen

Attacking: attacks player


There's a few timers setup to take care of how long an enemy can be in Suspicious mode, and attacking mode.   Some of the timers are triggered when an enemy loses line of sight with player, or if enemy gains line of sight. Is there an easier way to do this, like am I over thinking it?

CApx:
https://www.dropbox.com/s/r2uba4hs3nmy3a8/Prison%20-%2025-06-13%20%20-%20Tweaked%20AI%2C%20STill%20not%20working.capx
B
35
S
5
Posts: 411
Reputation: 3,406

Post » Wed Jun 26, 2013 10:40 pm

i can't find anything helpful on enemy states. It seems that there really isnt a good solution
B
35
S
5
Posts: 411
Reputation: 3,406

Post » Mon Jul 22, 2013 4:52 am

bump: still lookin for some good info on this
B
35
S
5
Posts: 411
Reputation: 3,406


Return to How do I....?

Who is online

Users browsing this forum: Jackriduk, kiki4construct and 32 guests