Skip to content

Add OG_VOID.dat and OG_LSVOID.dat objects - #48

Merged
LeftofZen merged 1 commit into
OpenLoco:mainfrom
hibiii:OG_VOID
Oct 26, 2025
Merged

Add OG_VOID.dat and OG_LSVOID.dat objects#48
LeftofZen merged 1 commit into
OpenLoco:mainfrom
hibiii:OG_VOID

Conversation

@hibiii

@hibiii hibiii commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

Additional object for the void land type as discussed in the Discord. This object does not have an equivalent in vanilla.
OGVOID requires OGLSVOID, which this PR also includes.

There are a couple of things I'd like to mention:

  • I dropped the L from LVOID the mod because when I made the mod I tried to follow CS's .dat naming conventions, the L stood for land. However, none of the lands in OG have the L. LS is kept for the cliff edge because OG cliff edges keep it.
  • OGLSVOID has multiple duplicates of the same sprite to give it “variation” and “make the texure not repeat itself.” This is a hack. I left them there because I do not know how to make the game need only one, I did not see an option in the object editor and I don't mind it because this idea itself is a hack.
  • I made OGVOID have an arbitrarily large cost factor for landscaping (150 vs 112 of OGROCK1). This is meant to disincentivize players not cheating from terraforming the void.
  • I set unk_05 in OGVOID because it gives it a hard edge, more closely resembling the actual edge of the map. I mentioned it in Discord, and a precursory look through the code shows that unk_05 controls only the hard edge.

OGVOID and OGLSVOID compared to vanilla grass and OG grass.
image

@LeftofZen LeftofZen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably could have RLE-compressed the images in cliff, but the full object is only 9kb so we wouldn't be saving much

@LeftofZen
LeftofZen merged commit 7447e39 into OpenLoco:main Oct 26, 2025
1 check passed
@hibiii
hibiii deleted the OG_VOID branch October 26, 2025 18:39
@LeftofZen LeftofZen added og-vanilla Replacement for a vanilla object to be included in the OG vanilla set og-addition New object to be included in the OG vanilla set and removed og-vanilla Replacement for a vanilla object to be included in the OG vanilla set labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

og-addition New object to be included in the OG vanilla set

Development

Successfully merging this pull request may close these issues.

2 participants