Journal ·
Eight weeks from the greybox
On 5 October the depot at Herndon Station was a tan box, the tents were white cones and the sentry was a pillar. Here is the same game eight weeks later, and what those weeks taught us about how to build it.
On 5 October, the second day of this project, we had the game photograph itself.
It was a greybox then: a game built out of plain blocks, so that the rules can be tried before anything is made to look right. The raid on Herndon Station could already be played from one end to the other. You rode in, crept up on the sentries, bound them and rode away. (At night, in that first version. The real raid came a little after noon, and the game has since followed the record.)
What it looked like was another matter. The depot was a tan box with a lid. The Federal camp was a row of white cones. The trees were green balls on sticks, in full leaf in the middle of March. The sentry was a pillar.
Those two frames are forty-six days apart, with well over five hundred changes to the game between them. I direct this game and AI agents build it: they write the code, make the objects, the people and the places, and check one another’s work. The How we work page sets out who does what. Between the first frame and the second, the way we work changed as much as the picture did.
Keeping the ugly picture
The frames of 5 October were taken on purpose, before any art had been made, as the baseline that every later version would be held against. And they were marked.
The marker was the scene critic, an agent whose whole job is to look at a frame from the running game and score it against our style guide. It is never shown how a scene was built. It reads the picture and nothing else, gives the light, the surfaces, the period, the people and the rest each a mark out of five, and passes a frame only if the marks average four with none below three.
It rejected every frame it was shown, with averages from 1.5 to 2.1. It was fair about it. It noted a single lamp throwing a warm pool on cold ground, and the gradient of the night sky, as things worth keeping. Then came the faults, and the first of them was that the trees, the ground, the station, the horse and the sentries were all stock shapes straight out of the engine.
With the frames came a number. The raid held 1,299 copies of those stock shapes, and from that evening the automatic playthrough of the raid failed if the count ever rose. New art could take a placeholder away. Nothing was allowed to add one.
One day
Here is the depot from one of the game’s fixed cameras on 5 October, and from the same camera the next day.
The count of stock shapes fell from 1,299 to 160 in a single change. The ground became wet snow over mud, which is what the sources give for that day. The trees went bare, as they should be in March. The box became a building, and the village around it was laid out from our research into the place. The critic looked again: every frame moved from reject to revise, the best of them at 3.3, and none passed.
A day was enough because none of it was modelled by hand. The buildings are generated by script, the trees are grown in Blender, and the surfaces are free, openly licensed materials. The cameras matter as much. They are fixed in the level so that a view is identical from one run to the next, which is what makes a before and after honest.
By 11 October the project’s own front page had stopped calling the game a greybox.
By 11 November we were filming there. The sentry who had been a pillar is a Vermont cavalryman now, sitting his horse with a newspaper.
The page in his hands is a real one, the front of the issue of 12 March 1863, five days before the raid, from the Library of Congress. Which paper that man carried, if he carried one, nobody recorded. The choice of this one is mine.
Nobody marks their own work
The oldest rule we have about art went in on the first evening: nobody grades their own work. The agent that builds a thing does not judge it. A separate critic does, from pictures alone, and there are eleven of them now, for objects, scenes, faces, hair, clothes, weapons, movement, places, level designs, trains and film shots.
They are hard to please. The first object down the line, a lantern, was rejected for belonging to the wrong decade.
Mosby himself
The same eight weeks can be told through one man.
On the day of the box and the cones the agents also built a first head of Mosby, fitted by measurement to his wartime photographs, with one photograph kept back to test it against.
It is not much like him. But that night it was put to a test we still use. A critic that had no hand in building it was shown the head beside six portraits of men of the period and asked which of them it was. It picked Mosby three times in four, and said each time that it was partly guessing. (We found in November that the photograph we had kept back was a second print of one we had used, which makes that test kinder than it should be.)
The next day the face went into the game, on top of the pillar. The day after that the pillar became a body with clothes on it, in a saddle.
For a while every Ranger wore that face and every Federal wore General Stoughton’s, because those were the two heads we had. By 18 October there were eight Rangers, each built from his own photograph.
In the middle of November we went back to Mosby, to make the hero of the game as true as the process allowed. He got the beard he wears in a photograph taken in Richmond in January 1863. He wrote the caption on it himself: the uniform, he says, is the one he wore on the night he captured General Stoughton. His eyes went blue and his hair light, on the word of men who rode with him, though his photographs print it dark.
It was this face that taught me a critic is not the last word. The critics of faces compare a head with the man’s photographs. Their first verdict on the new one was that it was the wrong person, and over five rounds their advice pushed it toward the gaunt extreme of those photographs: hollow cheeks, sharp cheekbones, weathered skin. Then I looked at the finished face in the game. The cheeks were too hollow and the man was too old. We eased it back, and since then the critics find the faults and I choose the look.
Two days after that close view was taken, he rode out of the smoke.
His men followed. The eight were rebuilt by the process he had been through.
Rules learned by breaking things
The agents work to a rule book. Its first version, written on day one, admits that several of its rules “were learned by breaking things”. It had 39 rules then and has 75 now, and many of the new ones came the same way.
On the second day a change that touched nothing but documents set off a full packaging of the game, which failed. Since then a script works out what each change can actually affect, and only those checks run.
When the agents’ own builds and test runs left my laptop too slow to play the game on, the rule became that my machine is for playing, and the heavy testing happens on others.
Since 5 November every change you can see has to show its pictures, before and after where they exist. There are 183 sets of them now, and they are much of the reason I can show you this road at all.
And on 7 November the rule about placeholders was turned on its head. On day one it said placeholder art was fine. It now says there are to be none: no stand-in models, movements, sounds or effects.
The tests grew alongside. On the first day the game’s rules were held by 79 automated tests. Today there are nearly 4,800, and every change is run against them.
Playing it
None of this says whether the game is any good to play. Only playing does, so I play it and say what I see, and how we handle what I say has changed as much as anything.
After the playtest of 31 October my notes became 37 separate tickets. By the middle of November one weekend’s play produced 113 findings, and the method had settled: my notes kept word for word and numbered, matched to frames from the session, and every suspected cause marked as either verified in the code or still a guess. That last habit matters more than it sounds. An agent that fixes a guess leaves the fault where it was.
The playtest of 16 November found a bridge standing in a river, and I asked for every crossing to have a bridge that goes right across. The agents traced the first to the deck being sized to the creek’s width. The game cuts the banks wider than the creek, and a road that meets a creek at a slant has more than the width to cross. The countryside now has 911 timber bridges, each as long as the cut it spans and some turned twenty degrees to meet the creek square, and 62 fords where a crossing could not be bridged.
Pointing a camera at it
The cameras arrived on 18 October: a photo mode, and a way to capture footage straight from the game. In the middle of November we built the shot lab, a small film stage inside the game where a shot for the trailer can be set up, filmed and filmed again, and a recorder that keeps what happened in a raid, so it can be played back and filmed afterwards from wherever a camera is wanted.
The frame at the top of this post and the one of Mosby in the smoke both came out of the shot lab, from two takes of the same charge. Mosby did lead a charge down that street at Aldie, on 2 March 1863. The line of dismounted men and the volley they fire are our staging for the trailer. The record describes neither.
The trailer cuts the charge three ways, to Mosby’s face, to the view from his pistol and to a Federal’s eyes.
And this week the game learned what time it is. The fight at Miskel’s farm came just after sunrise on 1 April 1863. Mosby remembered the Federal squadron coming on with “their sabres flashing in the rays of the morning sun”, and our mission is even called Sunrise at Miskel’s. Until this week it was lit like every other daytime raid, with the sun high in the sky. On 28 November the agents put the sun low in the east by hand, to see what that morning would do to the farm, and photographed it from the fixed cameras. One of the frames came out like this.
Nobody staged it. Riders happened to come through the gateway while the cameras were firing. We want the trailer to open at that gate, and this was the nearest thing to that shot the game could make that night. Now the game works out where the sun stood over that farm at a quarter past six that morning, low and almost due east, and lights the raid from there.
Nineteen minutes earlier, ten minutes after sunrise, the same camera has the sun itself in the frame. From low in the field at 6:16 the gate stands against the sky with the yard beyond it.
What the critic says now
On 28 November the scene critic, the same one that rejected the box and the cones, was shown four frames of Miskel’s farm as the game then staged it. None passed. The averages ran from 2.0 to 2.4.
That is not far above where Herndon began. The critic marks against a photograph of Virginia in 1863, and by that measure the farm still has a clean white yard where there should be hoof-churned mud and slush, a gate with no hinges, and haystacks like domes. Under the low sun we can see more for ourselves, and you can see it in the frame of the gate above: the horses read as smooth plastic, the clouds are flat cut-outs, and the opened gate behind the rider looks like bent wire. Most of the trailer is still to be filmed.
If I had to start again tomorrow, I’d keep the method before any of the pictures. Take the picture early, however ugly it is. Have it judged by something that had no hand in making it. Count what is wrong and never let the count rise. When something breaks, write the rule down. And keep playing, because a critic can tell me that a gate has no hinges, but not whether the raid is worth riding.
Marty