Search and Destroy—Squad Gameplay with Less Work, More Fun
Our "One-Touch Squad" control was designed to provide the player with all of the fun of a squad game without all the work. But, less work for the player often meant more work for the development team, and creating A.I. for friendly characters is one of the biggest challenges in game development today.
As such, creating a successful squad experience for Star Wars Republic Commando™ was an immense challenge for the entire development team, involving cooperation from level designers, sound designers, artists, animators, and programmers—but it has been hugely rewarding.
In many squad-based first-person shooters (FPS), the squad spends much of its time following the player and is thus out of the player’s field of view, sometimes so much so that the player is hardly aware of the squad at all. One of the top design priorities for the squad in Star Wars Republic Commando was to make sure that the player is constantly aware of the squad, usually keeping them in front of the player … leading the way, but not getting in the way.
To eliminate micromanagement, some games exclude squad control entirely and script everything. However, we wanted the player to have the ability to control the squad through commands and contextual actions. Our squad is almost never scripted; it is always reacting to the environment and to the player behavior.
Out of these requirements, our “Search and Destroy” command was born. Search and Destroy is our default squad stance and puts the squad into action. The squad charges ahead of the player, led by a set of objectives for a level specified by the level designer. In this mode, the squad moves towards its next objective, taking up cover positions, fighting enemies, and backing up the player while he performs an action, while never moving too far ahead and always staying nearby. To avoid getting in the way, the squad takes up cover positions in a battle, knows to duck if they cross the player’s line of fire, and moves aside if nudged by the player.
Our Search and Destroy mode provides the goal-directed behavior of scripted squad experiences, but without the brittleness of strict scripted control. The player can always choose to have the squad do something else. If a player prefers to lead the squad into battle, the player can use the “Form Up” stance to have the squad follow him. In Form Up, the squad won’t fire unless it's fired upon by enemies or the player starts firing his own weapon. The “Secure Area” stance can be used to command the squad to take up positions near a player-specified location. We also have a wide variety of context-specific maneuvers that the player can use in addition to the always available basic stances.
To implement our vision, we constantly had to invent new A.I. technologies for Republic Commando. Traditional A.I. architectures didn’t gracefully handle the number and variety of behaviors that we needed the squad to display, so we had to create new ones. We worked on novel methods to make scripting less error-prone and brittle. We developed new algorithms to help our wide variety of A.I. navigate efficiently and effectively. We developed the most elaborate A.I.-driven voice system that we know of, consisting of thousands of A.I.-triggered lines sorted into more than 180 different categories or cues.
We’re proud that our squad system is something fundamentally different than what’s gone before. It fulfills our vision of less work and more fun, and we hope you enjoy playing the game as much as we enjoyed making it.