Sandlot Field

In short

Map 1 of 5 and always unlocked. “Short porches. A good place to start.” No wind, normal gravity, no batter penalty. Its special ball is the friendly one: $$$ balls on any pitch, 1 in 6, that pay bonus coins on a home run.

How it works

  • Unlock: first in db.ballparks, so it is open from the start. Beating it on Medium opens Farmyard.
  • Environment: clear-day sky, mowed grass, a padded wall, a full stadium with a thin crowd.
  • Special ball: Ball(BallEffect.Money, 1f / 6f) with no pitch ids, so every pitch type can carry it. A home run off a
  • Targets: two landing zones past the wall, each with a pole marker (it is a stadium). A home run landing inside one multiplies its distance score. See Scoring.
  • Pitchers: the shared pool for innings 1 to 8. Final boss: sandlot.finalBossId = "benny", so inning 9 is always BOSS: Backyard Benny (only here). His own ball is the Wiffle, any pitch, 1 in 4: it drifts sideways up to about 0.39 m by 65% of the flight, then swerves hard back onto its spot at the plate. It stacks with the park’s $$$ ball. See Pitchers and Bosses.
  • The Batting Cage starts on this park (index 0).

Numbers

WhatValueWhere to tune
id / display namesandlot / Sandlot FieldDefaultContent
Unlock order1 of 5 (index 0), goal multiplier x1order of db.ballparks
LF / CF / RF300 / 360 / 300 ftPark(...)
Wall height8 ftPark(...)
Gravity / windx1 / nonegravityScale, windMph
NightnoisNight
Sky / ground / wallClearDay / Mowed / Paddedsky, ground, wallStyle
Grass / wall colour(0.36, 0.72, 0.28) / (0.62, 0.42, 0.22)Park(...)
Seats / crowd density(0.55, 0.4, 0.25) wooden bleachers / 0.35seatColor, crowdDensity
Special ball$$$, any pitch, chance 1/6 (shown “1 in 6”)sandlot.balls
Final bossBackyard Benny (benny): Wiffle, any pitch, 1 in 4sandlot.finalBossId, benny.balls
Batter modifiersnonebatterModifiers
Bleachers start85 ft behind the wall (set by the Billboard: 400 + 30 + 15 - 360)StadiumLayout.GapFt

Targets

LabelSprayDistanceRadiusPaysColour
Billboard0° (dead center)400 ft30 ftx2yellow
Treehouse-35° (left)340 ft25 ftx3(1, 0.5, 0.1)

Inning goals (inning 3, 6, 9 are boss innings)

Difficulty123456789
Normal50062597597512251900190023753725
Medium7008751375137517002675267533505225
Hard95012001850185023253625362545257075

Special ball chance by difficulty (x1 / x1.5 / x2): 1/6, 1/4, 1/3. Benny’s Wiffle: 1/4, 3/8, 1/2.

In the code

FileWhat it does
Assets/_Project/Scripts/Data/DefaultContent.csPark("sandlot", ...), its targets, seats, crowd, Ball(BallEffect.Money, 1f / 6f), finalBossId, Backyard Benny
Assets/_Project/Scripts/Run/RunState.csInningGoal (order 0)
Assets/_Project/Scripts/Batting/AtBatController.csAdds the $$$ coins on a home run

Gotchas

  • Hard inning 2 sits on a rounding tie: 500 x 1.25 x 1.9 = 1187.5. 1.9f is a hair under 1.9, but the single-precision product 625 x 1.9f still rounds to exactly 1187.5, so goal / 25f is exactly 47.5. RunState.InningGoal then does Mathf.RoundToInt(47.5) * 25; RoundToInt rounds halves to even (48), so the goal is 1200. It is the only exact tie in any park’s goal table.
  • The Treehouse is closer than the left-field wall would suggest because the wall at -35° is only about 313 ft.