Page 1 of 2

Panda Tutorial AI

Posted: Sat Jul 31, 2021 3:22 am
by TheNightPanda
Hey everyone

For some time I've thought about doing some ai scripting tutorials from a bit of a different angle than what is currently available to new scripters. If you would like to be part of this project just let me know. This project is probably not something I'll be actively working on untill 2022, but I thought I might as well let the unfinished AI used for these tutorials compete in tournaments like King of Arabia 2 and Davis Cup 6. The AI is currently about 1300 lines of code + the usepatch constants. It is still very incomplete and is currently not suited for any educational use so don't expect anything in that compartment as of now.

Settings:
200 pop
Standard ressources.
Dark age start
Civ: Malians and goths. Strongest with malians.
Game versions: DE and UP

Re: Panda Tutorial AI

Posted: Sun Aug 29, 2021 5:07 pm
by TheNightPanda
Updated.

-Prevented excessive boar shooting and army retreating.
-Improved feudal time
-Various bug fixes

Re: Panda Tutorial AI

Posted: Sun Aug 29, 2021 9:01 pm
by halcyon88
I wonder how it will match up against Shadow now that it won't retreat as much :D

Re: Panda Tutorial AI

Posted: Tue Aug 31, 2021 1:06 pm
by TheNightPanda
halcyon88 wrote: ↑
Sun Aug 29, 2021 9:01 pm
I wonder how it will match up against Shadow now that it won't retreat as much :D
Alot better :)

Re: Panda Tutorial AI

Posted: Wed Sep 01, 2021 1:03 am
by halcyon88
Awesome.

Extra bugfixes

Posted: Fri Sep 03, 2021 3:27 am
by TheNightPanda
Small update

-Fixed a bug where units would stutter when attacked while retreating
-Fixed a bug where the AI would sometimes delay castle age by several minutes.

Re: Extra bugfixes

Posted: Fri Sep 03, 2021 4:18 am
by halcyon88
TheNightPanda wrote: ↑
Fri Sep 03, 2021 3:27 am
Small update

-Fixed a bug where units would stutter when attacked while retreating
-Fixed a bug where the AI would sometimes delay castle age by several minutes.
Dang. Now I can NEVER outmicro or outmacro it 1111111

Re: Panda Tutorial AI

Posted: Fri Sep 03, 2021 4:26 am
by TheNightPanda
Hopefully you can still beat the tutorial ai 11

Re: Panda Tutorial AI

Posted: Fri Sep 03, 2021 4:31 am
by halcyon88
OH LMAO I thought this was the Rehoboam thread bahahahahaha.

Well, yes, hopefully. Haven't tried. Maybe I should try a 2v1 :D

I think Rehoboam's epic micro does stutter a bit sometimes though.

Re: Panda Tutorial AI

Posted: Fri Sep 03, 2021 5:34 am
by TheNightPanda
halcyon88 wrote: ↑
Fri Sep 03, 2021 4:31 am
OH LMAO I thought this was the Rehoboam thread bahahahahaha.

Well, yes, hopefully. Haven't tried. Maybe I should try a 2v1 :D

I think Rehoboam's epic micro does stutter a bit sometimes though.
It does though it’s a tricky thing to fix as there can be multiple reasons, the most common being insufficient computer specs for most people which cant be fixed exept turning off the micro. If you find a situation with the newest version that seems to lead to bugs in several games on a pc with a benchmark over 1100 let me know.