Page 1 of 3
AI tutorial
Posted: Thu Nov 19, 2015 10:53 pm
by mitra76
Here my (long) tutorial video which explains the concepts necessary to use the AI of divisions and brigades at corps level; I hope is sufficiently clear. More videos in future for explain more in detail single concepts.
Re: AI tutorial
Posted: Fri Nov 20, 2015 1:05 am
by Deeter
Thanks for this, but I'm having trouble getting through it. The video keeps advancing before I've read everything. Can this be made available as a document?
Deeter
Re: AI tutorial
Posted: Fri Nov 20, 2015 1:09 am
by mitra76
Thanks for this, but I'm having trouble getting through it. The video keeps advancing before I've read everything. Can this be made available as a document?
The attachment HowToUsetheAI.zip is no longer available
Here the pdf of main text, but I think use "pause" in the video is more rapid in order to readh also the notes of gameplay

Re: AI tutorial
Posted: Fri Nov 20, 2015 3:13 am
by Marching Thru Georgia
Well done. This has been needed for awhile. I have a question. Is the infantry reaction distance of 150 yd. based on the maximum weapon range of a hardcoded number?
Re: AI tutorial
Posted: Fri Nov 20, 2015 1:36 pm
by mitra76
Thanks
Is the infantry reaction distance of 150 yd. based on the maximum weapon range of a hardcoded number
No is not harcoded in the code but it is always the max range of weapon read in the csv file of rifles (the last column of unitattributes for cavalry).
Re: AI tutorial
Posted: Sat Nov 21, 2015 3:36 am
by skelos
Well, after watching the video, I am even more impressed with the underlying detail and my further lack of knowledge!
Thank you mitra76
Re: AI tutorial
Posted: Sun Nov 29, 2015 2:59 pm
by mitra76
Re: AI tutorial
Posted: Sun Dec 06, 2015 5:58 pm
by mitra76
Re: AI tutorial
Posted: Tue Dec 08, 2015 12:09 am
by SJDI
I normally keep troops "TCed" because of problems.
I tried to go back to allowing AI control.
With Respect
Work has been done with the AI, But
Why (sometimes):
does the brigade commander face his troops in the opposite/wrong direction?
do regiments face the wrong way (opposite direction)when firing at the enemy?
regiments fail to form square when threatened by Calvary (brigade commander had hold at all costs stance)?
regiments come out of square when threatened by Calvary (brigade commander had hold at all costs stance)?
does the battery commander face his artillery in the opposite/wrong direction?
does the battery commander keep changing the facing of the artillery to point of exhaustion?
does artillery show a target is blocked when there are no friendly's in front or around them?
For me its back to keeping my troops "TCed"
Re: AI tutorial
Posted: Tue Dec 08, 2015 12:51 am
by mitra76
The reasons can be many for the things you listed, I need a more contextualized situation in order to give the exact reason (it can be also a bug in some cases I don't know), if you send me specific saves about the cases you find anomalouses I can check it and give you an exact answer for the specific case.