Skip to content

[Customization] Customize the country displayed in Sight - #2391

Open
Fly-Star-him wants to merge 4 commits into
Phobos-developers:developfrom
Fly-Star-him:RevealHouses
Open

[Customization] Customize the country displayed in Sight#2391
Fly-Star-him wants to merge 4 commits into
Phobos-developers:developfrom
Fly-Star-him:RevealHouses

Conversation

@Fly-Star-him

@Fly-Star-him Fly-Star-him commented Sep 6, 2026

Copy link
Copy Markdown
Contributor
  • You can now customize which countries the Sight unit for that nation provides map visibility to.

  • 自定义国家单位的Sight可以给哪些国家显示视野.

In rulesmd.ini:

[AudioVisual]
RevealHouses=team       ; Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|neutral|all)

[SOMECOUNTRY]           ; Country
RevealHouses=           ; Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|neutral|all), defaults to [AudioVisual] -> RevealHouses.

@phoboscn-bot

Copy link
Copy Markdown

To Chinese users:
This pull request has been mentioned on Phobos CN. There might be relevant details there:

致中文用户:
此拉取请求已在 Phobos CN 上被提及。那里可能有相关详细信息:

https://www.phoboscn.top/t/topic/764/1

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

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.

@BlackgamerzVN

Copy link
Copy Markdown

Not to be picky, but idk what's the practicality of customizing what Sight unit provide visiblity to for per Countries is for?
Why not make it per TechnoType?

@Fly-Star-him

Fly-Star-him commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

Not to be picky, but idk what's the practicality of customizing what Sight unit provide visiblity to for per Countries is for? Why not make it per TechnoType?

Well, because I haven't figured out yet how many I need to enter in TechnoType to achieve the same effect as in Countries.

Do you need to implement this requirement on a single TechnoType? if you need it, then I will add the TechnoType tag.

@BlackgamerzVN

BlackgamerzVN commented Sep 7, 2026

Copy link
Copy Markdown

Well, because I haven't figured out yet how many I need to enter in TechnoType to achieve the same effect as in Countries.

Do you need to implement this requirement on a single TechnoType? if you need it, then I will add the TechnoType tag.

Well, yes I do. I believe that there is a much higher practicality for seperate Sight on individual TechnoType. The best use case for instance, is that it can reveal Tech structures to all players without transfering ownership to them. If set in [Neutral], everything Neutral has, including props and neutral civ structures, will be also effectively revealed and revealing most of the maps, unless it's set for custom non-controllable countries that has RevealHouses set to true.

I can list other utilities it can help provide for per-Technotype too, but I believe it's highly dependant on mod design.

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.

3 participants