Skip to content

Implement fix for Skyscraper Scamper Act 1 (Day) building drawing incorrectly#1738

Open
DeaTh-G wants to merge 1 commit intomainfrom
empire-city-building-fix
Open

Implement fix for Skyscraper Scamper Act 1 (Day) building drawing incorrectly#1738
DeaTh-G wants to merge 1 commit intomainfrom
empire-city-building-fix

Conversation

@DeaTh-G
Copy link
Contributor

@DeaTh-G DeaTh-G commented Feb 28, 2026

Modifies the asset of the building at runtime (whilst checking for hash to not cause problems with mods) so that all the meshes use the opaque mesh slot.

To achieve this the mesh group's name offset parameter is reused as it happens to be just before where the offset for the opaque meshes point to.

As such we can write the value from the transparent mesh slot there and adjust the offset, the mesh counts and the offset table to combine the two mesh slots into the opaque slot.

Fixes #478.

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.

Missing piece of building in Skyscraper Scamper is dependent on the system's loading order.

1 participant