Skip to content

[Customized] Customized bib & impassable rows & weapons factory direction #1812

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

@CrimRecya CrimRecya commented Aug 14, 2025

  • Now you can use ExtendedWeaponsFactory to remove the hard coding of WeaponsFactory position and direction, and adjust the position of the generated unit and the direction of the unit's exit separately through the original ExitCoord and the newly added WeaponsFactory.Dir. Similarly, the directions of Bib and NumberImpassableRows can also be modified through Bib.Dir and NumberImpassableRows.Dir respectively.

In rulesmd.ini:

[General]
ExtendedWeaponsFactory=false  ; boolean

[SOMEBUILDING]                ; BuildingType
Bib.Dir=2                     ; integer
NumberImpassableRows.Dir=2    ; integer
WeaponsFactory.Dir=2          ; integer
- The available directions are:
  - 0 - North (top right)
  - 2 - East (bottom right)
  - 4 - South (bottom left)
  - 6 - West (top left)

多向重工
In combination with #1479

Copy link

github-actions bot commented Aug 14, 2025

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.

@CrimRecya CrimRecya added Needs testing ⚙️T1 T1 maintainer review is sufficient ❓Unhardcoding / Customization Make something more tweakable labels Aug 15, 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 ❓Unhardcoding / Customization Make something more tweakable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant