Skip to content
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

add exclusion zone via zeus module #57

Merged
merged 1 commit into from
Apr 5, 2020
Merged

Conversation

Fusselwurm
Copy link
Member

@Fusselwurm Fusselwurm commented Mar 21, 2020

depends on ZEN which lets you add area markers as Zeus.

as Zeus

  • create area marker using ZEN module (look in "Misc")
  • select the GRAD_CIVS "ADD EXCLUSION ZONE" module and click somewher within the area you just created
  • DONE! no new civs will spawn in that area or create waypoints there

note: we cannot click on the area marker, b/c ZEN has registered the click handler for opening a dialog

note: as we're storing a reference to the area itself, you can edit the area using ZEN and the exclusion zone will change with it.

@Fusselwurm
Copy link
Member Author

Fusselwurm commented Mar 22, 2020

edit: ugh, locality issues with this:

  • first, need to make it global (easy, publicVariable the exclusion zone)
  • but also: ZEN areaMarkers have global visbility, so... meh, not what we want.
    • one solution: add exclusion zone not as marker reference, but from area -> zeus can delete ther marker afterwards. still ugly af and confusing to players

@Fusselwurm
Copy link
Member Author

workaround zen-mod/ZEN#342

depends on ZEN which lets you add area markers as Zeus
@Fusselwurm Fusselwurm merged commit b407396 into master Apr 5, 2020
@Fusselwurm Fusselwurm deleted the exclusion-module branch April 5, 2020 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant