Rehoboam

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.
Post Reply
TheNightPanda
Forumer
Posts: 7
Joined: Sun May 27, 2018 3:22 am

Rehoboam

Post by TheNightPanda »

Hi all 😊
I’m happy to share my first AI “Rehoboam” with you

Rehoboam only plays DE and is only made for landmaps with standard map ressources and standard settings. It plays 1v1’s, team games and uneven player setups as well.
It’s made to play paladin civs in 1v1’s and as pocket in team games (especially likes Lithuanians) and likes to play Arbalest+Halbadier civs as flank in team games. (especially mayans)

The playstyle of the ai resembles that of the pre WK meta with flanks going for archers and pockets going fc knights. It has somewhat decent anti trush features and will do a little adapting to enemy strategy but not that much. It plays fairly greedy and defensive.
Rehoboam is still quite weak, only slightly stronger than the hard DE/HD ai’s. It plays at full strength at hardest and will cheat for resources at extreme. Difficulties lower than hardest will have weaker eco. Difficulty grading can be turned of by muting the “difficulty grading” load file in from main file.

I’m planning to rewrite and improve just about all aspects of Rehoboam. Currently I’m working on a big update for dark age DUC eco control. It is likely that support for all civs will be added at some point but is not the focus at the moment. Support for userpatch might be added in the far future.

I just started scripting in 2020 with no coding experience and most of Rehoboam is written with 2 months or less scripting experience. Due to this the code is VERY messy and probably quite bug-filled. Also much of the code has been written as a learning experience and in that process I’ve borrowed and altered a few pieces of code posted in the discord chat by other scripters. If any of this code is too close to other scripts I apologize, it will be rewritten from the ground in future updates. (should manly be sheep and deer rules)

Any feedback is welcome but since I plan to rewrite all of the ai at some point there is no need to point out all the small specific bugs, except for one stubborn bug where military units stop at random places around the map instead of attacking in late game team games (I’m using attack groups). Would be very thankfull if anyone figures out how to fix that behavior.
General advice for making future scripts simpler and more effective is also more than welcome.
Attachments
Rehoboam 1.60.rar
(209.03 KiB) Downloaded 20 times
Rehoboam1.51.rar
(70.78 KiB) Downloaded 61 times
Last edited by TheNightPanda on Mon Jan 04, 2021 7:49 am, edited 1 time in total.

TheNightPanda
Forumer
Posts: 7
Joined: Sun May 27, 2018 3:22 am

Update: Rehoboam 1.60

Post by TheNightPanda »

Happy New Year everybody 😊
I’m happy to share my first update for Rehoboam with you!

Changelog from Reboboam 1.51:
-Dark age and feudal age now have 100% DUC controlled economy. Rehoboam now plays fairly similar to how a human might manage its economy in the early game if not harassed. If Rehoboam faces a bug or a situation the DUC eco is not suited for it will go back to the old 1.51 system.
-Castle age and Imperial age has had minor build order adjustments to take advantage of the faster castle age time.
-Major structural changes to the way the code is organized to make editing and future updates easier to script. (No effect on gameplay)
-Now plays on full strength without cheating on both hardest and extreme. Taunt 200 will now turn off new DUC behavior making Rehoboam play like version 1.51. Difficulties below hard will also play without the new DUC behavior. Taunt 201 will turn on ressource cheats. Taunt 202 will turn off ressource cheats. Default is no cheating.
-Win rate vs. Rehoboam 1.51: >95% in both 1v1 and team games.


All comments and advice are welcome. Note that the only focus for this update was early game eco and that other bugs, weaknesses and missing features will be looked at in future updates. The comming update will likely focus on late game eco.

Many thanks to Esty, Marathon, Promiskuitiv, Aleph, Rubberman, Wildbeast, OffTwo and anyone else i might have forgotten for your contenueus guidance and welcoming community.
A special thanks to CheeseOnToast and Leif Ericson. This update would have been impossible without your guys, especially your help with DUC-commands. Also Leif's awesome encyclopedia has been invaluable.
Last edited by TheNightPanda on Mon Jan 04, 2021 1:56 pm, edited 1 time in total.

lolasik43
Forumer
Posts: 7
Joined: Sat Nov 25, 2017 4:05 am

Re: Rehoboam

Post by lolasik43 »

Thank you for AI ;)

FireBall37
Forumer
Posts: 17
Joined: Sat Aug 22, 2020 10:49 pm

Re: Rehoboam

Post by FireBall37 »

Hi NightPanda! Your ai looks pretty advanced for having started so soon. I'm looking forward to hearing more about it! :D

TheNightPanda
Forumer
Posts: 7
Joined: Sun May 27, 2018 3:22 am

Re: Rehoboam

Post by TheNightPanda »

Feel free to ask anything you wish to know about. I’m also on the discord forum :)

Post Reply