From the moment of its conception, we knew that we wanted Star Wars™: Squadrons to be fully playable in VR. Ever since I was a kid, building cockpit simulators out of wood and scrap metal or going to the arcade to fly X-wings in vector-based graphics simulations, I dreamed of sitting in an authentic Star Wars cockpit and being immersed in one of those epic space battles. As we developed the initial pitch for the game, it was encouraging to see that we weren’t the only ones excited at the prospect; teammates, Motive directors, and EA executives all immediately saw the potential and pledged their support.
As a long-time proponent of VR, and having experience developing independent VR games, I knew Squadrons was an excellent candidate for VR. Great strides had already been made with the Rogue One VR Mission, which was very well received, so we knew that we had the technology and the audience for this to be a success. That said, there’s a lot more to making an engaging VR experience than just rendering a game in a VR headset.
With VR still in its infancy and not yet widely adopted, making a dedicated VR-only game was not an option. Our game would also need to be entirely playable on conventional screens in order to reach a wider audience. We refused to compromise on the VR aspect, however.
Building on our experience and data from the Star Wars™ Battlefront 2 single-player campaign, we very quickly had functional prototypes of our starfighters, and within a week or two beyond that, we had them flyable in VR. This was an encouraging start, and proved we could make this game without spending years in R&D, but there were still design challenges to overcome.
One of our most interesting challenges was designing the starfighter cockpits to be functional, aesthetic, and ergonomic in either the 2D or VR modes (we wanted as little deviation as possible between the two modes for consistency, and to smooth the transition between them). Additionally, every cockpit, especially in the New Republic ships, is totally unique and requires its own design and iteration.
We wanted to make the ultimate Star Wars pilot experience, and since pilots in the films are never seen to be using Heads-Up Displays (HUDs), relying instead on physical instruments and screens on their cockpit dashboards, we were committed to building as much of the critical game feedback (radar, target information, threat indicators, damage feedback, ammo count, speed gauges, etc.) directly into the “physical” components of the cockpit, rather than relying on immersion-breaking UI.The UI counterparts of those components would still exist as an option for more casual players, but could be turned off to better simulate the “authentic” starfighter pilot experience.
Working in collaboration with concept art, modelling, UX, and animation teams, we designed the configuration of each ship’s cockpit, dashboards, and controls. After much iteration, resizing, repositioning and reshaping the individual components, we managed to fit all of the critical information that a player would need in combat onto display screens, status lights, throttle gauges, and counters that were built into the cockpit models. We also had to fit them within the safe area where someone playing on a conventional 2D screen would have access to all of the required information. Fortunately, this did not compromise the VR experience as it is also beneficial to restrict the important feedback to areas where the player can see them either directly or peripherally, without turning their head.
The increased interest in VR over the past decade has resulted in many key learnings and strategies for mitigating one of the biggest factors preventing its more widespread adoption: VR sickness.This is a condition that many people suffer when experiencing virtual reality, where the discrepancy between the motion perceived in the virtual space, and the motion (or lack thereof) registered by their own bodies, results in a feeling comparable to motion sickness.
For Squadrons, we used a variety of techniques to minimize this effect. First and foremost, we needed to maintain a solid framerate, and this was achieved through a combination of clever optimizations and advanced rendering techniques, which you can learn about in this article. We also had to ensure that the views between left and right eyes were consistent, so any deviations were addressed as quickly as possible by our engineers (eg. seeing shadows in one eye but not the other could be extremely unpleasant for the eyes).
On the design side, we also applied several techniques that contributed to reducing nausea:
Some have wondered why we only provided a first-person perspective view. While some players prefer a third-person exterior camera for flight combat games, a real-world pilot doesn’t typically fly their vessel from a position floating several meters behind it, so this ran counter to our goal of creating a fully immersive, Star Wars pilot experience. From a balancing perspective, since 3P permits a wider view of the space around the player’s ship, it would give an unfair advantage to those players willing to sacrifice immersion for a competitive edge. This is a common problem in games that offer both options, which forces players to play in 3P in order to remain competitive, who otherwise would prefer to play from a more realistic viewpoint.
Control input across all supported peripherals was critical for Squadrons. Preventing any one controller type from having a distinct advantage over the others was a constant balancing act, and drove many of our choices about button mapping and control schemes.We had to make sure players could perform the same maneuvers, regardless of whether their preferred controller was a gamepad, joystick, HOTAS, or mouse and keyboard.
Since you can’t see your controller while immersed in VR, we also needed to make the controls as intuitive and simple as possible, which was a challenge considering the depth of control we wanted to provide. Wherever possible, we tried to make the controls mimic what the player sees in VR, so for example, if the throttle control for the ship is on the left, then by default the throttle control on the gamepad is mapped to the left stick. Similarly, cockpit readouts for primary and secondary weapons are placed on the same sides of the dashboard as they are on the controller. Of course the player is always free to use a different preset control scheme or remap the buttons however they like, but for players that are new to space combat simulations, we hoped this strategy would make learning the controls slightly more intuitive.
HOTAS support was a wishlist feature that we definitely wanted regardless of mode, but they are particularly well-suited for VR. They generally have more inputs, which can be navigated by touch, so they don’t have to rely on buttons serving multiple purposes or complex button combinations. They are also meant to increase immersion in flight sims, so that when combined with VR, the players get an even more complete pilot experience.
Tracked controllers were also considered early in production. As they have fewer inputs, and since the gestures which normally compensate for this are slower to execute and less precise than button and stick inputs, we could not devise a control scheme that would be competitive against the other controller types, which would render them essentially unusable in online matches. Though we would have loved to provide the option anyway, ultimately the development time and cost greatly outweighed the benefit to the game and the relatively small audience, so we reluctantly cut the feature.
Audio is another factor that can greatly increase immersion in VR. Our audio team put tremendous effort into ensuring that the cockpit experience was totally convincing. All of the sound effect emitters were positioned at their in-game sources; engine roar comes from the rear of the ship, laser blast effects follow the trajectory of the projectiles, damage sounds come from the direction of impact, your droid bleeps at you from it’s position above and behind your head, etc. The starfighter chassis creaks and groans with excessive speed and maneuvers. Close fly-bys of large structures and flying through tunnels reflect the sounds of your engines back at you appropriately. TIE fighters roar past your cockpit with the expected doppler effect. Binaural audio techniques were implemented to maximize the 3D positional audio effect, even when wearing headphones. All of this contributed to an authentic audio environment that greatly amplified the VR experience.
Testing the game, especially at the start of production, presented its own challenges. VR has a tendency to provoke nausea in some people, particularly in first-person action games. As part of our iterative process, we scheduled regular play sessions where the team could play together and provide feedback. Our first play sessions left some team members reeling, to the extent that we started providing anti-nausea remedies for the more susceptible players. As we researched mitigating techniques and performance improved, the effects became much less evident, and more players were able to enjoy the experience.
Star Wars™: Squadrons was the culmination of a lifelong dream to insert myself into the Star Wars universe in the most realistic way possible. The technology had finally caught up to that ambition and allowed a group of motivated developers to provide the means for others to live out that fantasy in a galaxy far, far away. Judging by the response we’ve received from fans, many of them claiming that Squadrons has fulfilled similar childhood dreams, and the encouraging ratio of players who have experienced it in VR, I believe we’ve achieved some success. As an advocate for VR, I also hope that it has in some way contributed to more widespread adoption of the technology, and that we can look forward to seeing more games and other applications taking advantage of its tremendous potential.
“Lucasfilm, the Lucasfilm logo, STAR WARS and related properties are trademarks and/or copyrights, in the United States and other countries, of Lucasfilm Ltd. and/or its affiliates. © & ™ 2021 Lucasfilm Ltd. All rights reserved.”
In addition to pitching the initial concept for Star Wars™: Squadrons, James served as both Lead Gameplay Designer and Technical Design Director on the game. He is an avid VR enthusiast and lifelong Star Wars fan, and you can chat with James about these and other topics on Twitter at @DarthDisembowel, or find him cosplaying at Star Wars Celebration.