Skip to content
Bartholomew Ho edited this page Nov 15, 2026 · 1 revision

Livery

The livery editor's layer limits.

New in 0.12.0. ⚠️ Not tested in the game yet.

Example

protected override void OnInit() => Livery.SetLayerLimits(hoodAndSides: 20000, bumpersAndWing: 20000);
Protected Overrides Sub OnInit()
    Livery.SetLayerLimits(20000, 20000)
End Sub

Members

Member What it does
SetLayerLimits(int hoodAndSides, int bumpersAndWing) Raises the layer limits: the hood and both sides (the game's is 3,000 each), the bumpers and the wing (1,000), up to MaxLayerLimit. Call it once, from OnInit. Any thread.
GameHoodAndSidesLimit, GameBumpersAndWingLimit (constants) The game's own limits: 3,000 and 1,000.
MaxLayerLimit (constant) 20,000: the most tested in the game (what FH2 Layer Patcher shipped). The limits are 16-bit.

Notes

  • It changes the numbers in the game's code as the game starts, all four places or none. If any isn't as expected (another game build, or the exe patched on disk by FH2 Layer Patcher), nothing changes and platform.log says why.
  • Once a session: changing it again needs a restart.
  • A livery with more layers than the game's own limits may not open in a game without the change.
  • The same change as FH2 Livery Layer Patch: don't use both.

See also

Clone this wiki locally