Sun Tzu AI

Upload your latest creations here.
Please note that by posting comments to posts in this forum you forfeit your personal copyright on whatever you post. AI Scripters reserves the right to re-use objective comments in script reviews without requiring the posting author's permission. Credit, where appropriate will be given in such cases.
arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Sun Tzu AI

Post by arandi »

Hello everyone, this is the thread about my AI that recently got renamed (Serpent).

The idea behind this AI is early aggression, countering everything opposing AIs might use and most importantly - dealing with current archer/skirm meta. Since I'm still a newbie I'm not able to develop a sophisticated eco/military script in a reasonable time. Instead early rushes feel like the way to go. The AI is still in development and I hope it'll be ready for Kimberly's tournament or at least able to show general idea behind it.

Expect flavour taunt messages (one day) as there's a whole book of them available ;)

Quick explanation of Sun Tzu versions (until I get one that can play all that's mentioned below):
- 0.1 - open maps like Arabia or Gold Rush, 1v1
- 0.2 versions - made for Davis Cup 7
- 0.3 - Arena
- 0.3a and 0.3b - Gold Rush FFA

2023-07-29 Sun Tzu 0.2 changes:
- able to play teamgames
- added 2nd rule set to make sure boars are hunted
- added simple enemy units detection and rules for unit and research switch
- added spearmen, trade carts
- started to clean up script - added files: Buildings, Research, Units, UserPatchConst
- improved first two houses building rules
- scouting for team games
- improved attack rules (still attack-now)
- increased amount of archery ranges and barracks
- added some research, like Chemistry, Ballistics, Pikeman, Capped ram, Gold mining etc.
- adjusted TC avoidance (only one)

2023-08-01 Sun Tzu 0.2a changes:
- Sun Tzu no longer trains hand carts when there are no allies - thanks Fireball/Bandit!
- First 3 militia-line soldiers no longer use stance-defensive
- Selling stone since it's not used (for now), added other resource trades
- Improved house building rules after Dark Age
- added archery-cannon-class and cavalry-cannon-class to enemy search
- added closest enemy targeting - thanks Bandit!
- a bunch of other adjustments

2023-09-28 Sun Tzu 0.2b changes (file attached to my next message in this thread):
- simple anti defensive tower DUC for militia-line
- Sun Tzu no longer sends units from first Barracks towards enemy after 12 minute mark
- Sun Tzu no longer controls units that don't belong to him - control groups quick-fix

Strength: stronger than HD AI
Attachments
Sun Tzu 0.2a.zip
(30.44 KiB) Downloaded 395 times
Sun Tzu 0.2.zip
(29.82 KiB) Downloaded 370 times
Sun Tzu 0.1.zip
(20.41 KiB) Downloaded 387 times
Last edited by arandi on Tue Nov 12, 2024 8:38 am, edited 9 times in total.

User avatar
FireBall37
Swami
Posts: 191
Joined: Sat Aug 22, 2020 10:49 pm

Re: Sun Tzu AI

Post by FireBall37 »

Looking forward to seeing it!

arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Re: Sun Tzu AI

Post by arandi »

Once I get a good enough version of the AI, I'll share it :)
Attachments
Sun Tzu 0.2b - fixed.zip
(34.14 KiB) Downloaded 357 times
Sun Tzu 0.2b.zip
(34.08 KiB) Downloaded 383 times
Last edited by arandi on Sun Oct 01, 2023 9:48 am, edited 4 times in total.

arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Re: Sun Tzu AI

Post by arandi »

It finally happened, AI is ready to fight ;) I'd comment a lot if I wasn't exhausted ^_^

User avatar
wattle
Swami
Posts: 218
Joined: Fri Aug 15, 2014 1:06 pm
Location: Germany

Re: Sun Tzu AI

Post by wattle »

:dance :dance :dance :dance
. . . :dance :dance :dance
:dance :dance :dance :dance
We can wait for the comments in the PoA stream :rolleyes:
MangudAI-all-in (wip, to be continued, when I retire from work :P )
Btw, thank you s64 for your effort. Was a pleasure to cross your way. Have a good time.

arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Re: Sun Tzu AI

Post by arandi »

Sun Tzu 0.2 uploaded for Davis Cup 7, enjoy :)

arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Re: Sun Tzu AI

Post by arandi »

Sun Tzu 0.2a with adjustments for DC7 released, thanks for feedback and help Fireball/Bandit/Wattle

arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Re: Sun Tzu AI

Post by arandi »

Sun Tzu 0.2b has been uploaded :)

arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Re: Sun Tzu AI

Post by arandi »

Sun Tzu 0.2b uploaded again with "- fixed" suffix. Now it shouldn't control units that no longer belong to him ;)

arandi
Forumer
Posts: 99
Joined: Sat Oct 02, 2021 5:56 pm

Re: Sun Tzu AI

Post by arandi »

For now Sun Tzu 0.3 can play Arena only. Civs:
Berbers
Bohemians
Burgundians
Byzantines
Gurjaras
Italians
Lithuanians
Malians
Portuguese
Saracens
Spanish
Teutons
Turks
Attachments
Sun Tzu 0.3.zip
(71.39 KiB) Downloaded 158 times

Post Reply