Skip to content

[Customized] AI base construction modification #1470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

CrimRecya
Copy link
Contributor

  • AI can now have some new behaviors.
    • AIAutoDeployMCV controls whether AI will still automatically deploy the mcv after owning a construction yard.
    • AISetBaseCenter controls whether AI will still set the newly deployed construction yard as the base center after owning a construction yard.
    • AIBiasSpawnCell controls whether AI will preferentially select the construction yard close to the birth point as the base center (useless in campaign).
    • AIForbidConYard controls whether AI cannot place buildings with ConstructionYard=true. AI will try to build one after a construction yard is destroyed but will not put it down. After that, it will continue to build other buildings. Building a construction yard will still take some time. You can try to reduce the build time of it.

In rulesmd.ini:

[AI]
AIAutoDeployMCV=true   ; boolean
AISetBaseCenter=true   ; boolean
AIBiasSpawnCell=false  ; boolean
AIForbidConYard=false  ; boolean

Copy link

github-actions bot commented Dec 28, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

Copy link
Contributor

@Coronia Coronia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine in code style but still needs more testing

Copy link
Contributor

@Coronia Coronia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly fine

@Coronia Coronia added Needs testing ⚙️T1 T1 maintainer review is sufficient labels Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs testing ⚙️T1 T1 maintainer review is sufficient
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants