CHAPTER 97: The Weapon and the Eye (Patreon)
Content
CHAPTER 97: The Weapon and the Eye
George told the team something unexpected from the mouth of the director of a game with gangs and shootouts:
"The combat is the least important thing in the game."
Silence in the conference room. Thirty-two people who had spent months building an engine for a game with weapons, gangs, and a wanted-level screen with up to five stars, looking at George like someone who hears the chef say that the food isn't the important thing about the restaurant.
"Los Santos is a game of exploration and narrative," George continued. "The player drives, discovers, meets characters, lives a story. The combat is a tool that appears when the story requires it and that disappears when it doesn't. If the player spends more time shooting than driving, we did something wrong. The combat has to work. It has to feel good. But it doesn't have to be deep. We're not making a shooter. We're making a world that has shootouts sometimes."
It was the design statement that defined everything that came next: a combat system that was competent, responsive, satisfying, and simple. Without the parry frames of Hollow Knight or the skill ceiling of the nail bounce. Without the depth of a dedicated action game. Enough for the mission shootouts to feel tense and for the police chases to be thrilling. A tool, not an experience.
*
Aiming was the first problem. In a first-person game, aiming was natural: the player moved the crosshair directly with the mouse or the stick. In third person, with the camera behind CJ, aiming was indirect: the player had to control CJ, the camera, and the direction of the weapon at the same time. Three systems competing for the player's input.
George implemented assisted lock-on. On pressing the aim button, the camera shifted to CJ's right shoulder (over-the-shoulder) and fixed on the nearest enemy within a 45-degree cone in front of CJ. The selected enemy was marked with a subtle visual indicator: an orange border around its silhouette, visible without being intrusive. The player could switch targets by moving the right stick, and the camera pivoted smoothly to the new target.
The lock-on was generous. George calibrated the detection cone to capture enemies slightly outside CJ's direct line of sight, compensating for the imprecision of the analog control of the PS2 and Xbox controllers. On PC with a mouse, the lock-on was optional: the player could aim freely without assistance, more precise but more demanding.
"The lock-on is an insult to a PC player," said Alex, who had been playing shooters with keyboard and mouse since Quake.
"The lock-on is a necessity for a PS2 player who aims with an analog stick of one centimeter of travel," George answered. "The game has to work on both platforms. The lock-on is the solution that works for everyone."
"And if the PC player doesn't want lock-on?"
"He can turn it off in the options. But the difficulty balance is designed assuming lock-on. Without lock-on, the game is harder. Not because the enemies are stronger but because aiming manually in third person is harder than in first."
*
George designed six main weapons with properties that made them useful in different situations.
The 9mm pistol was the base weapon. CJ started the game with it and never ran out of ammunition because pistol ammo was found everywhere: in the cars, in the houses, on the dead enemies. High precision, low damage, medium rate of fire. It was the weapon of the calm missions, of the long-range shootouts, of the player who preferred control over power.
The Uzi was the next step: very high rate of fire, low damage per bullet, low precision. It emptied a magazine in two seconds and made a lot of noise and little damage individually, but the volume of fire compensated. It was the weapon of the drive-by: CJ could fire it from a moving vehicle, which made it the only weapon usable in vehicle chases without stopping.
The shotgun was destruction at short range. Massive damage in a wide spread cone that made precise aiming unnecessary. But the rate of fire was slow (one shell per second because CJ had to pump the shotgun between shots) and the range was short: beyond 15 meters the pellets dispersed so much that the damage was negligible. It was the weapon of interiors, of alleys, of the moments where the enemy was too close to think.
The AK-47 was the assault weapon. Automatic, with a rate of fire that emptied 30 bullets in three seconds and a damage per bullet that killed a normal NPC in 4 hits. The precision decreased with each consecutive shot: the first 5 bullets went to the center of the crosshair, the following ones dispersed progressively. The player who fired in short bursts was more effective than the one who held the trigger down. George designed it that way because he wanted the AK to require a minimum of discipline without being technically demanding.
The M4 was the refined AK: same damage, same rate of fire, but with a spread that stayed stable during the first 10 bullets instead of 5. It was objectively superior to the AK and that's why it was rarer: it was only found in Act 2 missions and in the most expensive gun shops.
The sniper rifle was the exception to the rule that the combat wasn't deep. It had a zoom mode that replaced the third-person camera with a first-person telescopic-sight view. The zoom was 4x, enough to see details at 200 meters. The shot was a single round with a 2-second reload: kill or miss, with nothing in between. George included it because the original he carried in his memory had it and because the sniper turned the assassination missions into puzzles of positioning and patience.
Each weapon had an associated CJ stat: the more CJ used a type of weapon, the better he handled it. At the maximum pistol level, CJ could aim with two pistols at once. At the maximum AK level, the spread was reduced 30%. The stats were the RPG-lite progression of the combat system: the player who always used the same weapon got better with it, which incentivized specialization without penalizing experimentation.
*
The melee combat was three hits and a kick.
George kept it deliberately simple. A combo of three punches the player executed by pressing the attack button three times, with a timing pause between the second and third hits that, well executed, turned the third hit into an uppercut that knocked the enemy down. Plus a kick with a separate button that had more range than the punches but was slower. And a block that reduced the damage taken by 50% if the player activated it before the impact.
There were no 10-hit combos or special moves or a martial arts system that unlocked techniques with practice. CJ was a gang member who knew how to throw punches, not a trained fighter, and he used them when he didn't have a pistol or when the situation was too personal for a bullet.
The cover system was equally basic. CJ could press a button near a wall to stick to it. Stuck, he could lean out to the sides to fire and go back to cover. There were no complex cover-to-cover transitions, slides, or the cover system the shooters would develop in the following years. Just a wall and a button that made CJ safer if the player used them and that didn't penalize the one who preferred not to.
"The cover system of Los Santos has one rule," George told Elena when she asked how to design the shootout missions. "No mission requires cover to be completed. The cover is an option that makes the missions easier. The player who runs and shoots without taking cover can complete everything. The cover isn't a mandatory mechanic but a convenience."
*
The wanted level turned the streets of Los Santos into the biggest enemy in the game.
George implemented it with 5 levels of escalation that corresponded to the severity of the crime and the police response.
One star: the player had committed a minor crime in view of a cop or a civilian who called the police. A patrol car appeared and chased the player. Easy to lose: leaving the search radius or hiding for 30 seconds reset the level.
Two stars: violent crime. Two patrol cars, more aggressive, with cops who fired from the cars. The search radius expanded. Losing two stars required 45 seconds outside the radius or a change of vehicle that confused the police.
Three stars: serious crime or accumulation of crimes. A police helicopter that flew over the area marking the player's position for the patrols. Three simultaneous patrol cars. The helicopter made it much harder to lose the wanted level because the player could hide from the cars but not from the air.
Four stars: SWAT. Armored trucks with tactical teams that used siege tactics: they positioned themselves at the intersections to block the player's escape routes. The SWAT weapons did more damage than those of the regular cops. The helicopter now fired.
Five stars: military response. Tanks, barricades, gunship helicopters. It was the level the player reached if he killed dozens of cops and that was deliberately unfair: five stars wasn't designed to be survived. It was designed for the player to know he had crossed a line the city wasn't going to forgive him for.
The search radius was an invisible circle around the player's last known position. The cops headed to that point. If the player moved outside the circle without being seen, the wanted level started to blink and after a timer reset. If the player was seen inside the circle, the center updated to his new position. Killing a cop inside the radius added a star.
George calibrated the system as a natural escalation. The player who stole a car in front of a cop got a star he could lose in 30 seconds. The one who shot a cop got two that took him a minute to lose. The one who started a war against the LAPD reached five stars and discovered it was a war he couldn't win, which was the point: the wanted level worked as a system of consequences before a system of difficulty.
*
The camera was the player's eye. And the eye had to lie constantly.
George implemented the third-person camera as a floating point that followed CJ from behind and above with an adjustable offset. The player could rotate it around CJ with the right stick, bring it closer and farther, and look up and down. The camera was an invisible drone that orbited the character and showed the world from a slightly elevated perspective that gave the player spatial awareness without losing the connection with CJ.
The problem was the geometry. Los Santos was full of buildings, walls, poles, trees, vehicles, and hundreds of other objects between which CJ walked and through which the camera had to navigate without passing through anything. If CJ stood against a wall and the camera was behind the wall, the camera needed to move so as not to show the empty interior of the building or clip through the geometry.
George implemented camera collision with a spring system: the camera had a desired position (behind CJ at the configured distance) and a current position (where it actually was). A raycast from CJ to the desired position detected whether there was an obstacle in the way. If there was, the camera moved closer to CJ until it was in front of the obstacle. If the obstacle disappeared, the camera returned to its desired position with the smoothness of a spring that returns to its rest.
And then there were the 200 lies.
George called them that because they were 200 special conditions where the camera did something that wasn't physically correct but that felt correct. The camera was an invisible narrator that decided what to show and from where, more than a realistic drone, and the narrator's decisions didn't always follow the laws of physics.
Condition 23: if CJ was in a narrow alley and the camera couldn't orbit for lack of space, it automatically rose to give an overhead view of the alley. It wasn't a position a real drone would take (it would crash into the roofs) but it showed the alley in a playable way.
Condition 87: if CJ got into a vehicle, the camera transitioned from its on-foot position to a higher and farther position in 15 frames, showing more of the environment so the player could see the traffic around. The transition included a subtle change of field of view: from 60 degrees on foot to 70 in a vehicle, which widened the peripheral vision without the player noticing it consciously.
Condition 142: during the cutscenes, the camera abandoned its orbital position and cut to cinematic angles George and the writer defined for each scene. A dialogue between CJ and Sweet was filmed with shot-reverse-shot. A vehicle chase was filmed with a lateral camera that showed the two cars in parallel. A dramatic moment was filmed with a close-up of CJ's face. The gameplay camera and the cinematic camera were the same system with completely different parameters, and the transition between the two was a 10-frame fade that gave the player a moment to adjust his perception.
Condition 198: if CJ was aiming and walked backward, the camera turned to show what CJ saw instead of what was behind CJ. It was the only condition where the camera broke its "always behind" rule because showing CJ's back while he aimed forward and walked backward was disorienting.
Two hundred conditions. Each one a case George discovered by playing, finding a camera angle that felt wrong and writing a rule that corrected it. The camera came out of a base algorithm that worked in 90% of the cases and 200 manual exceptions that covered the other 10%, not a single general algorithm that produced a perfect camera in all situations. Inelegant in the code and perfect in the experience.
*
George tested the complete combat for the first time at the end of September.
The scene: CJ standing on a corner of Grove Street (Marcus's cubes) with a 9mm pistol. Three enemy NPCs (red mannequins) at the end of the street. The five-in-the-afternoon NGN sun painting everything orange.
George pressed aim. The camera shifted to CJ's shoulder in 4 frames. The lock-on captured the nearest red mannequin and marked it with the orange border. George fired. The recoil shook CJ's arms in the 4-frame additive animation. The red mannequin took the hit: a flash at the point of contact and the mannequin stepped back from the knockback. Second shot. Third shot. The mannequin collapsed into ragdoll, the arms opening, the body falling against the wall of the nearest cube and sliding to the ground.
George switched targets with the stick. The camera pivoted smoothly to the second mannequin. Three shots. Ragdoll. The third mannequin started to run (the basic AI the team was implementing: on detecting gunfire, the NPCs fled or attacked according to their aggression parameter). George chased it, running with the blending from walking to running to sprinting, aiming while running with layer 2 of animation keeping the arms in the firing position while the legs ran.
A shot on the move. The mannequin fell into ragdoll in the middle of the street, rolling two meters from the inertia of the bullet.
A wanted-level star appeared in the HUD. A siren sound in the distance. George looked at the star blinking in the corner of the screen and knew that in thirty seconds a patrol car was going to turn the corner looking for him.
George got into a car. The camera transitioned to the vehicle position in 15 frames, higher, wider, with the field of view expanded. He accelerated. The sedan left Grove Street with the inertia of its four wheels on dry asphalt, the streetlamps turning on because the five in the afternoon of the day/night cycle had dropped the ambient light below the threshold. The streaming loaded the next chunk without George noticing. The sunset smog tinted the horizon orange through the windshield.
Behind him, three red mannequins lay in ragdoll on a street of cubes. Ahead, the siren approached.
It wasn't Los Santos yet. But the player could shoot, kill, flee, and drive, and each system worked with the others: the animation with the combat, the combat with the ragdoll, the ragdoll with the physics, the physics with the vehicles, the vehicles with the streaming, the streaming with the lighting. Ten systems of NGN working together like the organs of a body, each one doing its function, and the function of the whole being something none of them could produce alone.
George drove until the star disappeared. Then he parked the car, got out, and stood on the sidewalk looking at the NGN streetlamps turning on one by one with their random delay while the sky transitioned from orange to purple to black.
Ten of thirteen systems. Three more months and the engine would be complete.
End of Chapter 97