"At last week’s Game Developers’ Conference I delivered a talk titled “AI-driven Dynamic Dialog”, describing the dialog system used in Left4Dead, Dota, and basically all of Valve’s games since The Orange Box." This is a brilliant talk – really worth going through the PDF for. In a nutshell, it's how the Left4Ddead conversation works – something I tried emulating with my Twitter bots a while back – but also sheds light on how I could have sped up some of the decision-making code on Hello Lamp Post. It's also good on what designing (andwriting) for this kind of work looks like. Might have to write something longer on this.
"I wanted to present a version of what The Aleph might look like now, designed as an endless stream of descriptive passages pulled from the web. For source texts, I took the complete Project Gutenberg as well as current tweets. I searched for the phrase "I saw.""
17 January 2012
A new year, and a new toy to begin it.
This all began when Tom started tweeting the prose from the back of a chocolate box.
One look at that and, having gagged a little on the truly purple prose, there was only one obvious continuation: a machine to churn out chocolate descriptions infinitely.
Which was as good a time as any to play with Markov chains. Wikipedia will explain in more detail, but if you’ve never encountered them, a very rough explanation is: Markov chains are systems that model what the next item in a list will be based on the previous ones. The more previous items you have, the better it can predict the next thing.
They’re often used in toy text generators. You give them source text to seed them, randomly pick a word from the source text, and then start choosing what should come next. What’s nice about this is with nothing other than a piece of maths, and a tight corpus, we can produce things that usually read like English without having to teach a computer something as complex as grammar. Of course, sometimes you get grammatical-yet-nonsensical English out, but that’s hardly in a problem in our case.
So I took the full prose from the back of Tom’s chocolates (Thornton’s Premium selection, for reference), some Markov text-generation code from an illuminating installment of Rubyquiz, and fiddled for a bit.
A short piece of work later and I had Markov Chocolates.
Roughly once every four hours (but it varies), you’ll get a fresh, tasty new Markov Chocolate in your Twitter feed. It’s another of my daft toys, but it still makes me chuckle. I’m thinking of expanding the corpus soon, and I hear the Markov coroporation are keen to branch out into new product lines. For now, you can get your chocolate fix here.
"The (for now) final end product seems incredibly obvious. And popular.
Yet it took decades of iterative innovation, from some of the cleverest minds in the field, to make something so apparently simple yet powerful.
And every step was astonishing." This is great stuff from Francis.
"So, as some of you may know, the old shrine got re-activated as a working shrine a few days ago, and the Church classroom cleared away for meditation and contemplation, led by Fa Zang (Rinpoche), the guy in the buddhist monk robe who has been doing a lot of sewing in the craft area recently." I love mailing lists. And this is a remarkable post.
"Using vim is like talking to your editor in ‘verb modifier object’ sentences, turned into acronyms." Which is a good way of thinking of it.
"Calepin reads Markdown-formatted, plain-text files stored in your Dropbox and converts them into blog posts for you." Which is pretty clever.
"Velocity, depth, breadth. These are the dimensions we can add to books, that are the gifts of a digital age, not gimmicks, glossy presentation and media-catching stunts. The text works. It stands and speaks for itself. It is not what we need to change." Yes, yes, yes, this, a hundred times over.
"One succeeds because it leverages the player's motivated, explorative, self-driven experience; the other fails because it relies on a hackneyed, disjointed "epic" plotting (told in 3 separate plot-lines via cutscenes) with incongruous settings and 2-dimensional characters. One succeeds because its formal systems directly feed the player's connection to the world and characters; the other fails because its formal systems bear no discernible relationship to the stories the game wants to tell." This is strong stuff from Michael; I am increasingly fed up of the focus on (poorly-told) stories in games.
"Know that there are no "accidents" in this game design. Everything you notice about the game, and every subtle interaction that you experience, is intentionally packed with meaning." (Gravitation, still, being my favourite of Rohrer's games, I think).
"Crucially, Goodrich entreats the public to note the following: "this change should not directly affect gamers, as it does not fundamentally alter the gameplay." This one statement should cause considerable distress, as it suggests a troubling conclusion about Medal of Honor as a work of public speech.<br />
To wit: it suggests that the Taliban never had any meaningful representation in the game anyway. If a historically, culturally, and geographically specific enemy can simply be recast in the generic cloth of "opposition," then why was it was called "Taliban" in the first place?<br />
And if the Afghan war in which the new Medal of Honor is set was one explicitly meant to drive the Taliban from their strongholds in Afghanistan, why should it matter that the game is set in that nation in the present day at all? In short, how was this Medal of Honor title meant to be a game about this war in particular?" This is a marvellous, critical piece of writing from Bogost.
Nice post on Awk basics – most of which I knew, but the examples are still great, especially those involving variables. The links out to the Hacker News and Reddit threads are also full of good stuff.
07 July 2009
After a long period underground, Ubisoft’s Splinter Cell: Conviction emerged at E3 substantially different to its previous incarnations. And whilst I, for one, am grateful for the removal of Sam Fisher’s trampy hairdo, the new feature that got me really, really excited seems to have passed with relatively little fanfare. Here it is:
Mission objectives – or, at least, reminders thereof – written into the environment, mapped over space, appearing to the player along; subjective and stylistic, but never part of a HUD. It’s classy and striking, and not something people are playing with in games nearly enough. Prior to this, easily my favourite type design in games came from Codemasters’ GRID:
which placed text into the world as first-class 3D objects, and let the player spin and pivot the camera around it, as if to emphasise both its subjectivity and genuine 3D-ness.
But this has been a thing in movies and TV for a while, now. Here’s JJ Abrams’ Fringe:
which even nails the reflections in the water. And, of course, one of the earliest points of reference for this in genuine 3D is David Fincher’s Panic Room:
which, as Ben has pointed out, owes a great debt to Saul Bass’ titles for North by Northwest:
which makes quite a nice list.
"Fast-forward ten years, and I'm now using all those accessibility features on a daily basis. At some point during the dot-com bust it turned out that the written word was the payload, and regular people started using alternative (browsing) devices to access text from the web. Arguments about device-independent, semantic markup and graceful degradation suddenly have an additional halo of legitimacy because they affect everyone."
"LEDs pulse back and forth in the mantle to indicate roughly how many friends are on Xbox Live. It goes into red alert if anyone's playing Left 4 Dead." Nicely done; might poke something similar into life for myself, just for kicks.
Tim O'Reilly on what he learned from studying the classics at University. Simply because of competence at the languages, I know more of the Romans than the Greeks, but this is thoughtful stuff. I was often asked at school by peers why I'd study something of "no practical value"; O'Reilly has some smart answers.
"I think that there are really obvious reasons this isn't currently happening. Tech-oriented, web-trained, fast-paced, hard-nosed Silicon Valley culture is not really that similar to game developer culture. Outside of GDC Austin… I haven't seen a lot of opportunities for the two industries to mix. Most crucially, everybody's too damn busy trying to get their jobs done to really spend a lot of time or thought on the issue." That gap in culture is something that still fascinates me.