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

Allow to disable Actor Previews in BuildingPlacement #16538

Open
evgeniysergeev opened this issue May 14, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@evgeniysergeev
Copy link
Contributor

commented May 14, 2019

Some mods (d2 mod) need to draw only rectangle during building placement without actual building preview.
Current code do not allow that. And overlap any PlaceBuildingDecoration trait with Actor Preview.
Need to add bool to BuildingPlacement, named DisableActorPreview with default value: False, that will prevent Actor Previews. In map editor, preview will be allowed, but in game, DisableActorPreview can be set to True.

Expected for d2 mod:
placement-expected

Current:
placement-current

( This is need for OpenRA/d2#110 )

@abcdefg30 abcdefg30 added the Feature label May 14, 2019

evgeniysergeev added a commit to evgeniysergeev/OpenRA that referenced this issue May 15, 2019

evgeniysergeev added a commit to evgeniysergeev/OpenRA that referenced this issue May 15, 2019

Merge pull request #1 from evgeniysergeev/disable-actor-preview-20190314
Allow to disable Actor Previews in BuildingPlacement OpenRA#16538

@pchote pchote referenced a pull request that will close this issue May 18, 2019

Open

Overhaul building placement previews #16553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.