Home » MODDING HQ 1.13 » v1.13 Coding Talk » Learning how the tactical AI works
Re: Learning how the AI works[message #274338]
|
Wed, 23 February 2011 17:36
|
|
MorgluM |
|
Messages:24
Registered:March 2004 Location: Qu |
|
|
Just learned about the "Source Insight" program. Allowed me to generate to the following "relation graphs", might be interesting.
WinMain --> HandledWinMain --> InitializeStandardGamingPlatform --> InitializeGame --> GameScreens --> MainGameScreenHandle --> ExecuteOverhead --> HandleSoldierAI
And then:
HandleSoldierAI calls
1) TurnBasedHandleNPCAI which calls 1a) DecideAction and 1b) ExecuteAction
2) RTHandleAI , which calls 2a) RTDecideAction and 2b) ExecuteAction
DecideAction, ExecuteAction and (eventually) RTDecideAction are where it's at.
Maybe adding an action "Move to cover AND shoot" would be the way to go.
I'll try to figure out how to compile a "debug" version, to see which of the many "move" orders are being used when the AI is stuck on a window...
[Updated on: Wed, 23 February 2011 17:38] by Moderator Report message to a moderator
|
Private 1st Class
|
|
|
|
|
Learning how the tactical AI works
By: MorgluM on Tue, 22 February 2011 07:54
|
|
|
Re: Learning how the AI works
|
|
|
Re: Learning how the AI works
By: MorgluM on Tue, 22 February 2011 15:30
|
|
|
Re: Learning how the AI works
|
|
|
Re: Learning how the AI works
By: MorgluM on Tue, 22 February 2011 15:57
|
|
|
Re: Learning how the AI works
|
|
|
Re: Learning how the AI works
By: MorgluM on Tue, 22 February 2011 20:03
|
|
|
Re: Learning how the AI works
By: Buns on Wed, 23 February 2011 15:59
|
|
|
Re: Learning how the AI works
By: MorgluM on Wed, 23 February 2011 17:34
|
|
|
Re: Learning how the AI works
By: MorgluM on Wed, 23 February 2011 17:36
|
|
|
Re: Learning how the AI works
By: Buns on Wed, 23 February 2011 18:24
|
|
|
Re: Learning how the AI works
By: MorgluM on Wed, 23 February 2011 21:13
|
|
|
Re: Learning how the AI works
By: JMich on Wed, 23 February 2011 21:27
|
|
|
Re: Learning how the AI works
By: MorgluM on Wed, 23 February 2011 21:32
|
|
|
Re: Learning how the AI works
By: MorgluM on Wed, 23 February 2011 21:42
|
|
|
Re: Learning how the AI works
By: MorgluM on Wed, 23 February 2011 21:57
|
|
|
Re: Learning how the AI works
By: MorgluM on Thu, 24 February 2011 01:22
|
|
|
Re: Learning how the AI works
By: MorgluM on Thu, 24 February 2011 23:27
|
|
|
Re: Learning how the AI works
By: JMich on Thu, 24 February 2011 23:41
|
|
|
Re: Learning how the AI works
By: tais on Fri, 25 February 2011 00:07
|
|
|
Re: Learning how the AI works
By: MorgluM on Fri, 25 February 2011 06:02
|
|
|
Re: Learning how the AI works
By: MorgluM on Fri, 25 February 2011 06:09
|
|
|
Re: Learning how the AI works
By: JMich on Fri, 25 February 2011 09:05
|
|
|
Re: Learning how the AI works
By: MorgluM on Tue, 01 March 2011 20:08
|
|
|
Re: Learning how the AI works
By: Buns on Tue, 08 March 2011 17:26
|
|
|
Re: Learning how the AI works
By: JMich on Tue, 08 March 2011 17:47
|
|
|
Re: Learning how the AI works
By: Buns on Tue, 08 March 2011 19:39
|
|
|
Re: Learning how the AI works
By: JMich on Tue, 08 March 2011 20:13
|
|
|
Re: Learning how the AI works
By: Buns on Wed, 09 March 2011 14:51
|
|
|
Re: Learning how the AI works
By: JMich on Wed, 09 March 2011 16:05
|
|
|
Re: Learning how the AI works
By: Buns on Wed, 09 March 2011 17:34
|
|
|
Re: Learning how the AI works
By: SharkD on Sun, 20 March 2011 14:57
|
|
|
Re: Learning how the AI works
By: Buns on Sun, 20 March 2011 15:19
|
|
|
Re: Learning how the AI works
By: SharkD on Tue, 22 March 2011 03:08
|
|
|
Re: Learning how the AI works
By: Buns on Tue, 22 March 2011 14:53
|
|
|
Re: Learning how the AI works
By: MorgluM on Wed, 06 April 2011 01:45
|
|
|
Re: Learning how the AI works
By: JMich on Wed, 06 April 2011 10:39
|
|
|
Semi-Success , and question re: working directory
By: MorgluM on Thu, 07 April 2011 15:26
|
|
|
Re: Semi-Success , and question re: working directory
By: JMich on Thu, 07 April 2011 16:29
|
|
|
Re: Semi-Success , and question re: working directory
By: MorgluM on Fri, 08 April 2011 00:46
|
|
|
Re: Semi-Success , and question re: working directory
|
|
|
Re: Semi-Success , and question re: working directory
By: MorgluM on Fri, 08 April 2011 02:28
|
|
|
Re: Semi-Success , and question re: working directory
By: MorgluM on Fri, 08 April 2011 03:06
|
Goto Forum:
Current Time: Tue Feb 11 12:16:15 GMT+2 2025
Total time taken to generate the page: 0.01596 seconds
|