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 AppearsOnMapPreview #15731
Add AppearsOnMapPreview #15731
Conversation
d4189c0
to
c16d5ad
Compare
I assume you want to put RenderOnMapPreview on ^Building as well https://github.com/OpenRA/OpenRA/pull/15731/files#diff-5b0780203fcfc47fcb88e0b8d6d306b9R638 |
This is a high impact feature, so adding it to the milestone. |
d1568d4
to
72c2424
Compare
72c2424
to
967c602
Compare
0bcd9a9
to
a07c596
Compare
I have pushed over this with some changes to streamline the feature plumbing. 👍 to that part of the PR now. Two things left to go:
|
Ping @MustaphaTR |
I would have really liked this for the current release, but the amount of work here (including regenerating all maps and getting them on the resource center) is too risky for the short window that remains for prepping a christmas playtest. Bumping to Next + 1. |
I think last we agreed that you were going to do this and i would do the updating the shipped maps. |
I've been waiting for the other mods to be updated, which is checked in the list above but not actually done!? |
Ok, i thought i've done that, but it appears that i have actually only appied it to RA. Will rebase this first and do so. |
a07c596
to
c84d73f
Compare
Allows preplaced actors to be rendered on map preview when saving the map. Also removes requirements for ResourceLayer in OpenRA.Game and moves it to OpenRA.Mods.Common.
c84d73f
to
65ee435
Compare
Updated. |
Updated. |
I'll file a followup PR that makes some tweaks to the map.yaml formatting, adds a new |
To Walls, (Tib)Trees, Ore/Gem Mines and Tech Structures.
65ee435
to
cc918b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that AppearsOnMapPreview
is now declared on all actors that use RadarColorFromTerrain
plus tech structures and walls. The rest of the code still LGTM.
Adds required logic to fix "#12097 and #13823". Tho i haven't actually updated any map to actually fix the issue.
I put a testcase for stuff that preferably be rendered on RA mod. You can test by opening a map and saving it (seems like it requires a restart so it'll show the new preview).