One of the key innovations in GTA 5 is about to be replicated in GTA 6 — character switching. We’ve already seen this in the trailers, as the player switched control between driver and gunner while evading police. While GTA 6 features dual protagonists, Jason and Lucia, you can freely switch between, GTA 5 had three of them: Franklin, Trevor, and Michael. Out in the open world, you could switch and the camera would shoot into the sky for a satellite view of the city before zooming back down to the character you’d chosen.

That satellite view was a fancy way of hiding a loading screen while getting across the scale of Los Santos at the same time. In-mission character switches were a different, more complicated problem though.

“During the heist missions — I don’t think a lot of people noticed this because we were doing it so seamlessly — we would have swaps between characters that were on completely different sides of the map, and we were not allowed to go to that satellite screen to mask the loading,” Matt Freedman, who was a technical designer on the game working out of Rockstar Toronto, told IGN.

The Best GTA Protagonists

Freedman worked at Rockstar for almost nine years, starting as a level designer for Max Payne 3 before moving onto a technical design role for GTA 5 and a wider game design role on Red Dead Redemption 2. For GTA 5 he designed and implemented this complex player character switching system that allowed cinematic and dynamic open-world switching sequences mid-mission.

“So, effectively, like we were trying to get like an NVMe-speed world transition, like the kind of stuff that they would have in like the portal sequence for Ratchet & Clank [on a PS5 SSD], and trying to get that to run on a PS3 and an Xbox 360. I probably spent two years on what amounts to about two, maybe three minutes of actual gameplay.”

Initially, Freedman achieved this through clever camera tricks, such as starting the switched character leaning against a wall with the camera zoomed in on their hand, giving the world around them a chance to load before the player took control. For the perfectionists at Rockstar leadership, this wasn’t good enough because players didn’t get to see the star of the show: the city itself.

“I’d always get these notes saying, ‘No, no, we have to see the city skyline,’” Freedman explained. “I’m like, ‘Let me tell you how loading works on our engine. We cannot have two copies of the city loaded at the same time. We need to allow this stuff to go into memory.’ At the end of the project, those weren’t recommendations; those were mandates. You had to see the city skyline.

“Details matter. I was very proud of the system that we made, and the fact that it held up so well. And like, you do see a little bit of streaming when we do the transition, but it’s usually very far in the distance.”

Freedman made it work by implementing gradual level-of-detail (LOD) changes based on radius from the player. Distant traffic became single light sources, far buildings became flat and undefined, the lack of detail masked by smart use of depth of field effects. The designers would ensure the character was always doing something interesting so the skyline became a backdrop rather than a focal point.

“We then would very rapidly turn on those streaming systems,” Freedman said. “And like you know, if you wanted to sit there with a sniper rifle and look off in the distance, you would see things loading in. But most players didn’t do that.

It wasn’t just streaming textures that caused problems with character switching, either. A good example is the mission Three’s Company, where the trio of criminals have to extract a terrorist suspect from the IAA building — a huge skyscraper in the middle of Los Santos’ downtown area with the sprawl of the city all around it.

Trevor flies a helicopter in, Franklin sits across from the building on another rooftop with a sniper rifle, and Michael rappels down the building from the helicopter to stage the hostage retrieval. Players switch between all three characters, the city stretched out below and seen from multiple angles, and the camera has to zip between the characters in a few seconds — one of which is hanging from a rope, another flying a helicopter the player can freely control.

“We had to put in so much tech to make sure that we were respecting any player’s gameplay choices because that helicopter kept screwing us because it can be upside down, it can be banking, it can be doing anything,” Freedman explained. “Whenever I work on something, taking away player control is never the answer. If we literally are hours away from shipping the game, I will consider it. But until then, I will put in the hours to keep that player control there.

“The camera normally would just do a straight interpolation between two points (rotation and position). However, because the helicopter can potentially have an arbitrary rotation and position, it would oftentimes wind up with a transition to or from it that felt to the player that it was moving in the wrong direction — for example if the helicopter was upside down, then the player would see the camera seeming to flip, then go downwards instead of up.”

Character switching ended up being one of GTA 5’s defining features, but Freedman initially thought players wouldn’t notice. When reviews dropped, however, one at a major outlet featured a montage of his team’s work, highlighting the slick camera transitions.

“It was me and another designer who were working on these at the same time,” Freedman remembered. “We were having a competition with each other over who did the best ones, and he came over to my desk. He’s like, ‘Check out the GameSpot review, five of yours and five of mine.’ And that was he was right. They showed exactly five of my transitions and five of his transitions. So we’re like, ‘All right, at the end, we tied.’ But I think that was one of my proudest moments.”

On the eve of GTA 6’s release, it’s systems like seamless character swapping in the previous game that have cemented Rockstar’s reputation for insane level of detail and high quality. And we’re just hours away from seeing it in action in GTA 6 for ourselves.

While you wait for GTA 6 to unlock we’ve got loads of great coverage for you to check out, including Gangland Tales From the Frontline of Rockstar’s Real-Life Grand Theft Auto Research, and How Gaming’s Top Content Creators Are Preparing for GTA 6’s Launch and Beyond.

Kirk McKeand is a Contributor on IGN News. Find him on Twitter @MckKirk

Share.
Exit mobile version