Jump to content

MOD : r28-bot (Bot for the release version of the game with advanced settings)


mod_3d
 Share

Recommended Posts

Screenshot_20260210_200236.thumb.png.e38c18d04d7895ea553c18947b3ea841.png

 

Early access for players testing versions R28 or R29 of the game.

It's basically Petra, but with customization options and for game >= R28. Some features from Petra_Expert have been added.

Added the ability to customize the bot before starting the game. Values are not saved when exiting the game or returning to the previous menu.
More detailed description of parameters:

Spoiler
## Economy Parameters
 
### popPhase2
- **Default:** 80
- **Description:** Number of units the AI aims to have before advancing to Phase 2 (Town Phase). Higher values mean the AI will wait longer before advancing to the next phase.
 
### workPhase3
- **Default:** 150
- **Description:** Number of workers the AI wants to have before advancing to Phase 3 (City Phase).
 
### workPhase4
- **Default:** 200
- **Description:** Number of workers the AI wants to have before advancing to Phase 4 or higher.
 
### popForDock
- **Default:** 25
- **Description:** Population threshold at which the AI considers building a dock. Lower values mean the AI will build docks earlier.
 
### targetNumTraders
- **Default:** 1
- **Description:** Target number of traders the AI will create for trade routes between markets.
 
### targetNumFishers
- **Default:** 1
- **Description:** Target number of fishing ships per sea. Higher values increase food gathering from fishing.
 
### supportRatio
- **Default:** 0.3
- **Description:** Fraction of the workforce that should be support workers (female citizens). Value of 0.3 means 30% of all units will be support units.
 
### provisionFields
- **Default:** 2 (disabled)
- **Description:** Number of farms the AI will build initially. In mod, Default = 15.
 
## Military Parameters
 
### rushAttack
- **Default:** 500
- **Description:** Priority value for rush attacks. Higher values make the AI more likely to execute early rush strategies.
 
### hugeAttack
- **Default:** 400 (not > rushAttack)
- **Description:** Priority value for large-scale attacks. Controls the AI's tendency to mass large armies before attacking.
 
### defaultAttack
- **Default:** 300 (not > rushAttack)
- **Description:** Priority value for standard attacks. This is the baseline attack priority for normal situations.
 
### towerLapseTime
- **Default:** 360
- **Description:** Time in seconds to wait between building 2 defensive towers.
 
### fortressLapseTime
- **Default:** 390
- **Description:** Time in seconds to wait between building 2 fortresses.
 
### popForBarracks1
- **Default:** 25
- **Description:** Population threshold for building the first barracks/range/stable. Lower values mean earlier military building construction.
 
### popForBarracks2
- **Default:** 55
- **Description:** Population threshold for building the second set of military buildings.
 
### popForForge
- **Default:** 65
- **Description:** Population threshold for building a forge..
 
### numSentryTowers
- **Default:** 1
- **Description:** Number of sentry towers the AI will build in the early game.
 
## Priority Parameters(value > 0)
 
These parameters control the AI's decision-making priorities. Higher values make the AI prioritize that action more. Some priorities may change during the game.
 
### support
- **Default:** 1500
- **Description:** Priority for training support workers (female citizens).
 
### citizenSoldierMelee
- **Default:** 1500
- **Description:** Priority for training defense soldiers.
 
### trader
- **Default:** 1
- **Description:** Priority for training traders.
 
### healer
- **Default:** 20
- **Description:** Priority for training healer units.
 
### ships
- **Default:** 1
- **Description:** Priority for building naval units.
 
### house
- **Default:** 250
- **Description:** Priority for building houses. Higher values mean the AI will prioritize population growth more.
 
### dropsites
- **Default:** 950
- **Description:** Priority for building resource dropsites.
 
### field
- **Default:** 880
- **Description:** Priority for building farms.
 
### dock
- **Default:** 90
- **Description:** Priority for building docks.
 
### corral
- **Default:** 1
- **Description:** Priority for building corrals for livestock.
 
### economicBuilding
- **Default:** 700
- **Description:** Priority for economic buildings (markets, farms, etc.).
 
### militaryBuilding
- **Default:** 330
- **Description:** Priority for military buildings (barracks, ranges, stables).
 
### defenseBuilding
- **Default:** 70
- **Description:** Priority for defensive structures (towers, walls, fortresses).
 
### civilCentre
- **Default:** 1
- **Description:** Priority for building additional civil centers (town centers).
 
### majorTech
- **Default:** 400
- **Description:** Priority for major technologies (phase advancements, important upgrades).
 
### minorTech
- **Default:** 450
- **Description:** Priority for minor technologies (unit upgrades, economic improvements).
 
### wonder
- **Default:** 1
- **Description:** Priority for building wonders.
 
### emergency
- **Default:** 1000
- **Description:** Priority used only in emergency situations. Should be the highest priority to ensure critical actions are taken when needed.


Added the ability to recruit support units from houses.

Screenshot_20260210_202417.thumb.png.d2069cbe081602f77c9e34a306cfed91.png


The number of barracks has been increased to 5.

The Research Manager has been slightly redesigned (instead of searching for technologies in a cycle, all technologies are stored in the cache and selected by a direct key: name or modifier by 1 step, the cache is updated when moving to the next phase or after the construction of a building is completed).

Technologies from the Storehouse, Forge, and Champions remain in place, while the rest are currently disabled.

With certain settings, the bot can reach up to 200 units in 11-12 minutes of play.


Mod support:

Spoiler

You can support the mod via the Steam platform.
Gift certificate or Steam wallet top-up code.
More details:
https://help.steampowered.com/en/faqs/view/2C02-3563-B72F-F117
For user (ko3dzi):
https://steamcommunity.com/profiles/76561199257648735

 

r28-bot.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...