Skip to content

Disable AlphaImage during Buildup - #2319

Merged
Coronia merged 7 commits into
Phobos-developers:developfrom
DeathFishAtEase:NoAlphaImageOnBuildup
Aug 10, 2026
Merged

Disable AlphaImage during Buildup#2319
Coronia merged 7 commits into
Phobos-developers:developfrom
DeathFishAtEase:NoAlphaImageOnBuildup

Conversation

@DeathFishAtEase

Copy link
Copy Markdown
Collaborator
  • Now you can disable AlphaImage before the building is completed.

In rulesmd.ini:

[AudioVisual]
NoAlphaImageOnBuildup=false  ; boolean

[SOMEBUILDING]               ; BuildingType
NoAlphaImageOnBuildup=       ; boolean, defaults to [AudioVisual] -> NoAlphaImageOnBuildup

@DeathFishAtEase DeathFishAtEase self-assigned this Aug 1, 2026
@DeathFishAtEase DeathFishAtEase added Needs testing ⚙️T1 T1 maintainer review is sufficient labels Aug 1, 2026
@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/688/1

@github-actions

github-actions Bot commented Aug 1, 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.

Comment thread src/Misc/Hooks.AlphaImage.cpp Outdated
Manually placing a building let ObjectClass::Unlimbo create an AlphaShape
before the building entered Mission::Construction, flashing a single frame
at the start of the buildup. Buildings with NoAlphaImageOnBuildup now skip
that creation at the alpha guard (0x5F5045), so no flash appears.
@DeathFishAtEase

Copy link
Copy Markdown
Collaborator Author

@DeathFishAtEase DeathFishAtEase added Tested Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions. and removed Needs testing labels Aug 9, 2026
@Coronia
Coronia merged commit 1a039d2 into Phobos-developers:develop Aug 10, 2026
7 checks passed
@DeathFishAtEase
DeathFishAtEase deleted the NoAlphaImageOnBuildup branch August 10, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️T1 T1 maintainer review is sufficient Tested Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants