Skip to content

Customize several behavior of mission area guard#2082

Open
TaranDahl wants to merge 4 commits intoPhobos-developers:developfrom
TaranDahl:ExtendedAreaGuard
Open

Customize several behavior of mission area guard#2082
TaranDahl wants to merge 4 commits intoPhobos-developers:developfrom
TaranDahl:ExtendedAreaGuard

Conversation

@TaranDahl
Copy link
Contributor

Customize several behavior of mission area guard

  • In vanilla, technos in area guard mission will use the focus as the center of targeting and stray.
    • Now you can change the center to itself by using AreaGuard.UseSelfAsCenter=true. (For stray, what is checked is the distance between the techno and the current target)
  • In vanilla, technos in area guard mission will do targeting in an extended range (roughly 2 times of the guard range).
    • Now you can change the range to the guard range by using AreaGuard.TargetingInRange=true.
  • In vanilla, technos in area guard mission will not stray unless it has no destination.
    • Now you can change the behavior by using AreaGuard.StrayIgnoreDestination=true.

In rulesmd.ini:

[General]
AreaGuard.UseSelfAsCenter=         ; boolean
AreaGuard.TargetingInRange=        ; boolean
AreaGuard.StrayIgnoreDestination=  ; boolean
In vanilla, if `GuardRange` is not set, then the guard range will be automatically deduced based on the weapon range.

@TaranDahl TaranDahl added Needs testing ⚙️T1 T1 maintainer review is sufficient ❓Unhardcoding / Customization Make something more tweakable labels Feb 4, 2026
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

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.

@TaranDahl
Copy link
Contributor Author

TaranDahl commented Feb 5, 2026

Bounty: 10 CNY for the 1st reviewer who gives valid review
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bounty available ⚙️T1 T1 maintainer review is sufficient Tested ❓Unhardcoding / Customization Make something more tweakable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments