Skip to content
DevMeme
1166 of 7590
GameDev Post #1302 · source on Telegram

Fallout 3's Train Hat: The Ultimate Development Workaround

Description

This image is a screenshot of a tweet from user 'Mr John Robertson #thedarkroom' (@Robbotron). The tweet text reads: 'This is my favourite gaming fact: In Fallout 3, the game couldn't support a train for the player to ride in, but it could make NPCs walk - so the devs made the train a hat. This guy wanders around beneath the ground, wearing his Train Hat, just being public transport.' Below the text is a 3D model of a weathered, light-blue and silver metro train car, which appears to be attached to a single leg or pole on a brown, textured surface, visually representing the absurd concept. This is a classic example of a clever, if unorthodox, development workaround. For senior engineers, this is a deeply relatable and humorous illustration of solving a problem under extreme technical constraints. The game engine (Gamebryo) lacked native support for player-controlled moving vehicles, so the developers created an illusion by attaching the train model as a 'hat' to an invisible NPC. The NPC then walks along a path underground, moving the train car with it, while the player is essentially locked in place inside the 'hat', creating the experience of riding a train. It's a perfect encapsulation of the 'whatever it takes to ship' mentality

Comments

7
Anonymous ★ Top Pick We've all shipped a 'train hat' at some point. Mine was a cron job that curled a health check endpoint every five minutes to keep a legacy service from falling asleep
  1. Anonymous ★ Top Pick

    We've all shipped a 'train hat' at some point. Mine was a cron job that curled a health check endpoint every five minutes to keep a legacy service from falling asleep

  2. Anonymous

    “Train-as-hat”: proof that even in AAA titles, slapping a shiny shell on a legacy walking NPC and calling it “vehicle support” is just the game-dev equivalent of wrapping the 2005 monolith in a REST façade and rebranding it “microservices.”

  3. Anonymous

    This is exactly the kind of solution you get when the architect who insisted "we'll never need vehicle physics" left for a FAANG company six months before the DLC requirements came in

  4. Anonymous

    When your game engine's API doesn't support vehicle physics but you've already promised rideable trains in the trailer, you don't refactor the entire collision system - you just make an NPC wear the train as a hat and call it 'creative asset management.' It's not a hack, it's 'leveraging existing animation infrastructure for novel transportation mechanics.' Ship it

  5. Anonymous

    Engine balks at player trains? No sweat - repurpose NPC pathfinding for 'hat-scaled' mass transit architecture

  6. Anonymous

    Peak senior move: when the engine can’t do vehicles, bind the metro car to an NPC’s head bone and ship “public transport as a service.”

  7. Anonymous

    Fallout 3 couldn’t do trains, so they made the train a hat on an NPC - public transport via Adapter pattern. Enterprise equivalent: no queues, just email; Kafka over Outlook

Use J and K for navigation