Skip to content

Add station fence walls - #450

Open
fidwell wants to merge 5 commits into
OpenRCT2:masterfrom
fidwell:station-walls
Open

fidwell wants to merge 5 commits into
OpenRCT2:masterfrom
fidwell:station-walls

Conversation

@fidwell

@fidwell fidwell commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Adds new wall pieces based on the station fences.

Flat sprites are identical to those seen on coaster stations. Sloped sprites are custom made based on flat sprites.

Screenshot 2026-11-07 203705

@fidwell
fidwell marked this pull request as ready for review November 8, 2026 02:49
@Gymnasiast

Copy link
Copy Markdown
Member

Can you make it so that the flat images reuse the existing g1 images, rather than copying them?

@fidwell

fidwell commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

That was what I tried initially, but it would require setting a manual offset. I don't see any examples in the current code where we have a $G1[xxx] and an offset; it seemed to me you can't have both.

@Gymnasiast

Copy link
Copy Markdown
Member

You can. The castle walls use it to fix the sloped images, for example. You can check those for the syntax.

@ZeeMaji

ZeeMaji commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

For this and any other 'hard coded wall to wall object' conversions you do, I don't think these should be added to the general fences scenery group as it seems a bit strange to me to have these available at all times. They should just add themselves to the scenery groups if they're enabled with the "sceneryGroup" parameter like some other scenery objects do. (eg: RCT1 compat object fences)

@fidwell

fidwell commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Thanks; works perfectly!

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