Skip to the content
Level for Jedi Knight: Dark Forces II Foosball Stadium

Foosball Stadium

Kyle represents Gold and Jerec represents Red at the occupied table; a scorer raises their arms to cheer.
Kyle represents Gold and Jerec represents Red at the occupied table; a scorer raises their arms to cheer.
  • A goal plays the custom cheer on both peers, then returns the representative to the selected handle pose.
  • Jerec holds the selected handle and uses the same shove/yank animation for sliding and spinning.
  • Foosball Stadium in a Nar Shaddaa sports bar.
  • Brighter editor-baked light pools surround the unchanged rig; native point lights retain its model shading.
  • Only the metal shaft changes color locally; the handle keeps its normal appearance. Spinning locks gaze sliding; W/S switches the lock to button sliding.
  • A higher, closer viewpoint gives a clearer downward view of the field. Seated player bodies are hidden from all peers.
  • A late observer sees the occupied game without floating player bodies beside the table.
  • Native third-person orbit keeps the accepted control point. Returning to first person preserves its exact position.
  • A full-size multiplayer Kyle stands beside the smaller counter, stools and backbar.
  • Editor-baked pools remain visible with both runtime point lights disabled.

Download it to play in Jedi Knight: Dark Forces II

Download

A Nar Shaddaa sports bar with a reusable 1v1 foosball table: Kyle versus Jerec in three-minute matches, with animated representatives and local voice announcements.

Can a reusable stock-JK class cog deliver responsive 1v1 foosball with bounded network traffic?

Research notes

A table that can become a mod object

The demonstration level places one table in a stock-textured sports bar. Its class COG owns the game, creates the rods, miniatures and scoreboards, and keeps state separately for up to eight tables. Leaving a side preserves the table and score.

A fixed-height ball simulation bounds every substep inside the rails and resolves goals and spinning feet on the host. Clients predict motion and recover from periodic absolute snapshots. The owner's restore guard rebuilds the local heap and children after a single-player load.

Animated teams and local sound

A larger Kyle or Jerec stands at each occupied side, follows its selected handle, shoves or yanks during actions, and cheers after scoring. Four measured handle poses per team, action keys and a cheer use the stock character rigs. Your own representative is hidden in first person and visible in third person.

Three-minute matches use the requested retail voice bank for hits, denials, scoring, remaining time, two lead-update opportunities and results. Separate Gold, Red and announcer queues prevent a character from speaking twice at once. Goal and ending effects precede responses. The 38 selected WAVs use 22050 Hz mono 16-bit PCM; final spoken digits fit below .90 seconds.

Stock resources and contrasting light

Each side uses one character throughout its rows and goal: scaled stock Kyle versus Jerec. The room shell was authored through a leased SED bridge; stock Nar Shaddaa materials and procedural signs supply the bar. Bar and dining furniture use stock Kyle as a scale reference, while the foosball rig keeps its original dimensions.

All new textures cost $0 of the authorized $3 budget. Two native point lights shape the models against lower room lighting. Long-lived local emitters retain their fractional power on joining clients; one heapless local lighting COG recreates them after saved-game loads. The static checker budgets eight tables and their local children at 432 of retail JK's 640 thing slots.

What this build taught us

Build 10 releases both players automatically when the three-minute match ends. A complete native 180-second run verifies exact appearance restoration, real walking, preserved final scores and completed winner audio on both peers. The table stays idle until two fresh USE joins start another 3, 2, 1 countdown. Build 9 established the twelve-check baseline for controls, physics, animation, lighting and saved-game recovery. Both owners' A/D and W/S inputs drive actual custom KEY tracks and visible arms. The 38 requested stock cues use separate local Gold, Red and announcer queues with checked FX-before-speech ordering. Matching three-peer on/off captures verify the dynamic lights; a local repair restores emitters after saved-game loads. Steady traffic is 16.83 packets per second per recipient; budget 432/640 things; art $0. The owner accepted human gameplay; retail verification remains outstanding.

The download

The GOB carries its own level, cogs, models, materials, and sounds. These are living projects, not finished releases. A level is rebuilt whenever something is learned — a lighting rule, a texture orientation, a whole detail pass — and it keeps its filename through all of it. The build number is how to tell which one you have: it is printed in the readme inside every zip, and it only moves when the level's bytes actually change.

Features

  • Always 1v1: eleven Kyle Katarns versus eleven Jerecs
  • Three-minute matches with scoreboards and a 3, 2, 1 serve countdown
  • Select a row by gaze; spin with A/D and slide by gaze or W/S
  • Animated representatives grip the handles and celebrate goals
  • Character voices and match announcements use separate local queues
  • Both players regain normal movement automatically when the match ends