Monday, June 04, 2007

Choke Points and Vantages

I find that, in level design, the interesting elements are choke points and vantages. For example, having a view of the bridge puts you in a strong defensive position, while having to cross the bridge puts you in a bit of a bind.

Of course, bridges aren't the only kind of choke point. An open plain can be a choke point, or a single doorway, or a teleporter, or a roof... a choke point is simply any area where players can't pass through without encountering other players in the area. The terrain of your chokepoints depends on how far the players can see/affect and how obstructed the view is. A forest is not likely a choke point, but cut down all the trees, suddenly passerby are easy to see.

Some choke points have no vantage - such as an important but twisty hallway. Some vantages can see multiple choke points - or no choke points at all. Some games create "fictional" vantages by allowing enemies to teleport into choke points. Some vantages are also choke points. Some choke points can be bypassed, others cannot. There are lots of options.

The pacing of a level is largely determined by how the players encounter choke points, vantages, and "neutral" territory. Since the players are interactive, when the enemy encounters a vantage or choke point, that changes the "value" of the vantage or choke point. You don't want to try to break through a choke point that the enemy has a vantage over. But standing around on a vantage while nobody uses the choke point is pretty useless...

Now: Automated level generators generally don't think in this way. They usually build things pretty much at random, although they may occasionally create a choke point by accident (or something that is supposed to be a choke point, but isn't). In a 1P game this kind of iffyness can be partially dealt with by enemy placement. For example, in Diablo II, the levels were generated with choke points and vantages, and even though the placement made absolutely no sense, they were definitely choke points and vantages because the game put enemies in them.

I don't really think that's the best way we can do it. I think we can generate maps that are much more meaningful by creating meaningful choke points and vantages. If we can "tell" what a choke point controls/limits, we can even create a little story around it - a janitor complaining, or someone who wants to be closer to the action, or a tall tale of a battle, or whatever we please.

Choke points are created because people want to get from point A to point B in a reasonably efficient manner. Choke points are usually the result of natural terrain - either conforming to it (a road) or surpassing it (a bridge over a river). Some choke points are caused as a result of unnatural terrain - such as a castle gate to get through the "natural" castle terrain of being surrounded by a wall. But they still follow the same rule: there is a wall, and the choke point is to surpass it.

You can even go much further with a little more data. The castle is surrounded by a wall. Now we have to decide how easy the owners want people to be able to surpass that wall. Some castles are fortresses with only one, heavily fortified entrance. Others are more marketplaces and palaces, often with dozens of entrances that are barely secured at all. Wealth and size of wall also play a part in how the entrances actually look: a poor keep might only be able to afford a portcullis, while the emperor's treasure fortress might have a fifty-foot-long "airlock" with multiple portculli and lots of places for boiling oil and archers.

This sort of calculation gets more interesting once you realize that things change over time. It isn't at all uncommon for some places to get less popular and others to get more popular, which changes the stress on the various choke points (and, therefore, vantage points). For example, a new city built on the sea might have a serviceable port - until there's suddenly a gold rush and fleets of ships start pouring in with get-rich-quickers. This not only taxes the choke point of the docks, but also the various roads and resources of the city, causing resources to bulge and rearrange in different ways, causing a big change in which people want to go where from where.

I support this kind of "iterative" level construction, whether for a city or an office building. Put down resources and (optionally) a 'natural terrain'. Take turns building barricades to protect the resources; facilities to exploit and transform them; and creating bypasses and roads to get to and from the resources (new and old). You can even make a little bit of history while you're doing this, if you feel up to it.

Hrm.

What does everyone think?

Friday, June 01, 2007

It's my birthday...

And you know what I want for a present? Really really want?

Ring... ring... ring... ring... "Hi, this is Johnny Rad, I'm not in, leave a message."

"Okay... hi-"

"Welcome to our big company's voicemail system. This mailbox is for " "Johnny Rad" ". If you'd like to leave a message, you may do so after the beep. Once you're done, you may either press pound, 9, 6, 7, or 8. Alternately, you may simply hang up the phone when your message is complete. If you want to send a numeric page, press 3. If you'd like to leave a call-back number, press 4. If you'd like to talk to the operator, press five. If you want more options, press star. If you want to talk to an operator, press zero. If you don't have a touch-tone phone, say 'help' in to the headset. If you are deaf or would like these instructions again en espagnol, press el numero uno. If you want to hear a really funny corporate-sponsored joke, press 2. Now we'll wait ten seconds to see if you press a button... ... ... ... ... ... ... ... ... ... ... ... ... Beep."

"ggzzznnzz- huh? Oh, yeah, I was calling someone. Hey, whoever you are, I forgot who I was calling... call me back."

...

Fix it.

Either that or lots of money. Either or. I could go either way.

...

Most popular gift this year: invites to LinkedIn. It's an interesting idea: "Here's absolute proof that I was thinking of you!" I guess it seems like an unimpressive gift until you realize that, until half an hour ago, my portfolio was invisible.

Anyhow, if you want to give the gift that keeps on giving, you too can invite me. It's like a gift, except painless, pointless, and almost completely impersonal since I made it easy.

That was the most popular gift. Biggest gift?

The moon is full. It would be quite pretty, if I could see through the dense haze of New England. Technically, they call it "rain". Really, it's just "New England". The actual land beneath is nameless: the weather is the constant factor. Miserably cold and rainy, or miserably muggy and rainy. Some days New England ceases to exist for a little while and Virginia or Florida rolls in for a day or two. Unfortunately, Virginia and Florida won't have anything to do with the people of this nameless place, and they roll out as quickly as they roll in, leaving it once again New England.

Bastards, both of em.

...

There, that was my birthday post.

Originally, I wanted to talk about how the brain learns, and maybe make some neural net references. But, eh, too much effort. Besides, everyone already knows all that crap.

Wednesday, May 30, 2007

Pandora Redux

I wrote about Pandora a long time ago. Now I'm revisiting it.

In some ways, it is much improved. The ability to have multiple channels (which either didn't exist or I didn't see last time I talked about it) theoretically solves many of the problems I had.

However, I find it still feeds me a steady diet of crap. Perhaps they've focused so carefully on things like secondary harmonics and major progressions that they've forgotten that some songs are simply bad, regardless of the fact that they use my favorite melodic tricks. Perhaps their database, as large as it is, is too small... so when I say that I like or dislike something, it desperately searches for a song - any song - that fills the role.

For example, I've officially marked EVERY modern soul song with a thumbs-down, but it keeps feeding me them because I like classic jazz. And I like David Bowie, so it feeds me random, really bad crap in a desperate attempt to sound like Bowie. A database that's too small, or a total failure to mark crap as crap?

Still, it's MUCH better than it was before, and is now my favorite streaming audio "station". Having to give thumbs-down to literally every other song is still very irritating, but at least it lets me fast forward... so stations with a higher "hit rate" are still more irritating, because I have to live with songs that make my oh-so-spoiled ears bleed.

Obviously, there's still a piece missing. I really don't know whether that piece is being able tell whether a song is crap, or whether that piece is having a much larger song database. There's definitely room for improvement, but they're the best no-DJ "station" on the net, I think.

PS: It doesn't know what "humor" is. "Like Weird Al" just gives random junk.

PPS: Also, you can't listen to it for all that long, because you can't fast forward more than a certain number of times per hour. :P

Tuesday, May 29, 2007

Death By Fire (Emblem)

I'm playing through Fire Emblem: Sacred Stones. As you know, Bob, it's a GBA strategy game similar to Final Fantasy Tactics.

I'm not sure exactly how I feel about the game: I love it, but it's extremely infuriating. Why?

Because when someone dies, they stay dead.

I like the theory. There's a huge amount that can be done with that. But I don't care for the execution.

From strictly a gameplay perspective, it's terrible because the only thing that really threatens you are bosses, which are only found at the end of a fight. Since you can't save partway through a fight, this means that you're basically stuck restarting from the beginning after you've finished getting all the way to the end.

Of course, it's also a positive feedback loop, which is generally a bad thing: if you start losing characters, you get weaker.

However, even if all that wasn't the case, it's still something I can't really bring myself to like. The reason is that it's treated like a standalone event. Someone dies? They spout a line of dialog and vanish from the roster. There are no other repercussions... even their loved ones seem to instantly forget about them.

The drama of death isn't in the dying, it's in the loss it causes everyone. That's why we can kill a million goblins and thousands of people named "mercenary" without a twinge of grief or guilt, but why we feel really bad for an assassin robot in Terminator 2.

They have a unique "talk" system in this game, where various people can talk to each other during battle. This is often used very well - you have to talk to specific enemies with specific people to get them to join you - but is, in general, underutilized. I had two warriors, father and son. The father is dead. The son? Doesn't care. Merely doesn't have anyone to talk to anymore.

I might have done it differently.

I think what I would have done is changed a secondary relationship.

For example, if his father dies, maybe he'll suddenly get the ability to talk to a younger boy in the party, essentially taking on a father role. If his father was alive, maybe the two of them only become friends. Maybe they have no significant relationship at all.

It could also be done via "lonely cut-scenes" where he gets all emo or whatever, but that kind of goes against the mood of the game. Instead, I would have liked to have seen more (optional?) "large" talks - five or six people all talking about things. It's possible to change what individuals would say in such a meeting without changing what others would say (keep scripting to a minimum on that front, at least).

The reason I'm so disappointed in their death mechanic is specifically because they have the loss mechanic in place already. The "talk" mechanic is perfectly suited to dramatize death. It's like someone handing you peanut butter and chocolate, but refusing to mix them. Currrrrses.

What are your thoughts on the matter?

Thursday, May 24, 2007

Montage!

Has anyone else really noticed that almost all the secondary game mechanics in games (such as gaining levels, money, a world map) are basically montage simulations?

Can you think of any games where the secondary mechanic is not a drawn-out montage? Not something that would be shown in a movie via an eight-second clip with peppy music in the background?

"And then Alice killed lots of slimes until she could fight better." "And then Jake worked for the mafia for a while, until he proved himself."

It's just MONTAGE. Unfolded. Decompressed. And wallowed in. It's like "Games are longer than movies, so all that crap we normally take out of movies, we'll just put back in."

But what else should we do?

Wednesday, May 23, 2007

Simulating LARPs

LARPs - big and small, serial and one-shot - use the same two basic dynamics to drive the overall actions of the players. 1) They use simple logic progressions (I want A, B has A, B wants C for A, D has C...). 2) they use opportunism (Someone's fighting over there! Let's check it out!)

These two basic methods can be simulated fairly easily. The problem is that they exist solely to provide grist for the banter mill: a LARP is all about Role Playing, after all. Sometimes, that's person to person RP. Sometimes, that's person to environment RP. Either way, new situations allow you to have new RP, and that's what the logical progressions and opportunism fuel.

That's not something we know how to simulate. Sure, some of the RP is straight forward: "Give me the dongle or I'll keeeeeeeeeell you!" But the best is far more nuanced, funny, self-referential, and situational. RP isn't about running around mindlessly spouting catch-phrases as you pursue an agenda. RP is about exploring a character as the situation around you changes.

While the overall progression of a LARP can be simulated, it's really not a very interesting thing to do unless you're trying to balance your LARP. The good stuff is the moment-to-moment RP, which we haven't really figured out how to simulate yet.

A computer game that tries to make active NPCs is usually, essentially, trying to simulate a LARP. It's the wrong half of the equation to focus on, in my opinion.

What do you think?

Wednesday, May 16, 2007

Not Good vs Evil, Please!

A lot of game designers these days use some kind of reputation/karma system based on good and evil. The idea is a simple one: easy to conceive, easy to program, and strongly rooted in the basic actions that players tend to take. Rescuing princesses and shooting civilians, the basic choices of players.

I don't really like the idea.

Some people don't like it because it is a shallow representation of something rather complex. It's hard to explore the theme of good and evil on a slider, you know?

I don't like it because it's a slider.

To me, the game dynamic is more important than the morale it represents. So, I hold all one-axis sliders in contempt. Good and evil is simply the most common. Other ones I've seen include law and chaos, emotional and reserved, even soft and hard. Sometimes, they are even combined for multiple sliders in one game, presumably to give it more "depth" - as if you won't notice the limits if there are more of them.

But a game is interesting mostly because of the way things are placed in "space". Mario is only interesting because his running and jumping navigates a carefully designed space full of fun obstacles. GTAIII is only interesting because roaming around the city in various ways lets you interact with the various things that are in the city (roads, buildings, people, power-ups) in various ways. The leveling system in an RPG is only interesting because of the "bumps" in the way it progresses - aiming for that next power-up, that new sword, whatever.

A good and evil slider (sliders of any type) don't really seem to fit the bill, not quite. They're not really a very good platform to make things bumpy. There's not really much "bumpiness" in your path to the light or dark, and even if there were, one-dimensional paths don't exactly have any easy ways to detour around bumps. Because they are not intrinsically linked to a space, sliders are kind of... background noise, like being able to choose your radio station in GTAIII. Sure, it adds spice, but it doesn't add gameplay.

Factions are the same way: factions are essentially a crap-ton of sliders, some of which always move in opposite directions. This doesn't lead to agency or choice, it just leads to being swamped with over-simplified "choices" that are never difficult to make. You know the old saying, "if you're a Jet, you're a Jet all the way"... it's never a choice as to whether to help the Sharks or the Jets, although theoretically you could choose your enemies. It may add some replay value, but I don't like sacrificing play for replay, you know?

It might be possible to add bumpiness to sliders, but how about instead we talk about a different method of doing the same kind of thing?

First, let's limit the world. A lot of games these days pride themselves on huge worlds teeming with life. Of course, the difference between any given person or place is nonexistent, which is actually a very depressing thing to suggest. Instead, lets imagine a world like an old-school RPG, where the world has only maybe ten towns, and perhaps twenty people in each town. On such a scale, each person can be a specific, unique person.

I think there's a big future in these "small worlds". I think we'll see a massive increase in the number of games that pack a thousand times the experiences in one-one-thousandth the space.

One of the big things these little worlds can accomplish is a sense of community. A real sense that the individuals matter - both to you and to the world. The feeling that you know specific people and that they know you. And I think that is a much stronger place to come from if you want to explore morality and character. The whole exploration of good and evil often comes down to who you love, who you serve, and who serves you. That's not something that's easy to do when everyone and every place is identical.

The dense, interconnected web of people are the bumpy terrain for the player. Each person is an individual, and can be dealt with as such. Helping or hindering a person will obviously make them tend to like or hate you, with caveats. Also, people feel specific ways about specific other people and things, and this also guides the way they feel about you. And, of course, individuals act on their emotions differently.

To some extent, this can be thought of as a slider for each person, but the key here is that each person is interconnected... and those connections can change as the world and the player interfere. I think that's a good level of bumpiness and complexity.

Now, I'm not talking about complex AI. We are talking about a lot of dialog, at least the normal way you'd do it, but we're not talking about complex AI. Just simple affinities for given people, actions, and things.

This isn't a perfect solution, but I think it walks in the right direction.

Other ideas? Comments?