Friday, 29 July 2011

In Game Story-Telling

As I mentioned in my previous post on the evils of the cutscene, there are always methods to relay story or information to the player without removing them from they're own perspective. Lets explore some of these options.

Monitors and Cameras

One of the most effective methods of doing a cutscene in game is to use a monitor system. Most games are capable of outputting camera feeds to some form of surface within the game itself. This method is fantastic because you can show your cutscene without breaking the players immersion.
Simply gate the player and un-gate when the cutscene has ended on the monitor.

NPC scripted scenes



These are scenes played out around the player within the map. If the player could possibly interrupt the scene then keep them away from the npc actors behind a fence or forcefield etc...
Friendly npc scenes can normally progress with the player in direct contact as the player can normally not inflict damage on friendly npcs.

Enemy NPC scenes are usually best played out when the player is apparently unnoticed by the enemy. Keep the player in a dark spot and light up the area where the scene is played out.

Most of the time the player is happy to let the scene play without attempting to interrupt however you should ensure that the player can't interrupt the action anyway because some players just can't help themselves.

Enemy npc scenes, if not critical for gameplay, can be made interruptable if you so choose. Go play "No One Lives Forever" for interruptable enemy scenes at their best. Good god that game is funny...

Environment Stories



As in Left 4 Dead or Portal, you can apply a story via the game environment. If you haven't realised before, the graffiti on the walls in the L4D saferooms tell multiple stories about survivors who had passed through before you got there.

Tannoy Systems or Walkie Talkies

Having voice messages played out to the player while the game progesses can be very effective.

A tannoy system is great for keeping the player up to date and can also really ratchet up the tension in a map if the player is given a message that the enemy is on their way.
This is probably the most acceptable method of delivering information while the action is ongoing. Just make sure you're in a quiet period if you are going to tell the player anything important.

I like the idea of adding a narrator to a story. So the narrators voice plays at key points in the story recounting what the player has done or is about to do. You could have a lot of fun with this by having the narrator misinterpret the players action for extra comedy.
If you've ever seen Monty Python's Holy Grail think brave Sir Robin and his minstrels and you'll get the idea.

Even better have the narrator tell the story from the enemies perspective, painting the player as the bad guy. I may try this one day but feel free if you want to have a crack at it.

Wednesday, 27 July 2011

Why Cutscenes Are Evil!!

Why cutscenes are evil!

Unlike our console based cousins PC gamers are very lucky in the fact that the culture of the cutscene has been kept to a minimum on our platform. Most PC games will provide you with a cutscene at the beginning of a level and a cutscene at the end. These bookend scenes usually help to provide an introduction to the area or move the story along and then provide a conclusion and show how the player has affected the story.

So what do I mean by cutscene. I'm referring to any moment within a map where the player view is removed from their own perspective and forcibly pointed at other areas of the map in order to draw the players attention to something important or to tell further story.

Anyone who's played an action orientated console game in the last 10 years will know that games built for consoles have an obsession with the cutscene.

So why are cutscenes so evil.

1. It takes control away from the player and removes them from the moment they were in at that time. You spend ages trying to get the player fully engrossed in your map then rip them out of their own view of the environment and that feeling is instantly lost.

2. Its very lazy from a design perspective. Rather than build an intuitive environment where the player can understand what they need to do through exploration, you jam it in their faces by pointing the camera at it.

3. It patronises the player and caters to the lowest common denominator (i.e. dumb people).
In effect by pulling camera control away from the player and pointing it at something important, the developers are saying "we think you might be dumb and not understand what you are supposed to do, so were going to show you... just in case you're dumb!".

It may be that publishers have more say in the development process in the console world. So when the publishers get they're first look at the game they make recommendations of what to change in order to make the game more generally playable for everyone(read.. more accessible for dumb people!).

4: Often the best action scenes are reserved for cutscenes.
Did you ever get shown something in a cutscene that was very exciting after playing through a drab repetitive level and think... hey.. why couldn't I do that in the freakin game!

If what happens in your cutscenes is more interesting or funny or exciting than what happens in your map. Then there's something very very wrong!

5: Cutscenes are used as a supposed reward system.
What's more enjoyable, playing the game or watching a cutscene? It SHOULD be playing the game if the title is any good. So, surely your reward for completing a section of the game should be... well... more game! Unlocking bonus levels perhaps?
I've never understood why watching a cutscene is something the player is supposed to look forward to. To the point where in some games you can go back and re-watch the cutscenes you've unlocked so far.



I think my biggest gripe with the whole cutscene culture would be that's its cheap. Like reality TV, publishers like cutscenes because it takes far less effort and money to produce one than it does to create truly great gameplay and levels.

There's a reason it took Valve 8 years to release HL2 and why console game tie-ins with movies can be punched out in six months. It takes time to make maps that are intuative. It takes time to run through map iterations until playtesters know instictively what to do. Time is money!

An Alternative Approach

My next post will focus on in game story telling methods. Most modern games offer a variety of alternative tools to help the mapper tell the story within the game.

Here's a challenge for you. Before you build your cutscene for your map, try and think of any other way that you can convey the information to the player without taking them out of their perspective. Try and make cutscenes the very last resort for storytelling.

Tuesday, 26 July 2011

Is my story ruining my gameplay?

The Story: Is it ruining my gameplay?

While I was a member of a mod team a while back, for some reason I got lumped with the job of writing the script. I inherited an already done outline and several scenes of dialogue already written.
What had been done up to that point was truly awful. What I tried to do didn't turn out much better unfortunately. It might have made a good TV show but it had no place in a game.
See the problem was, the guys on the team had already selected the environments, the order that they would appear in and the general motivations of the player.
Everything they had done was pretty good but trying to write a story to string it all together was an impossible task. I recall days where the team actually considered altering whole sections of the game in order to try and make the story make sense.. Utter madness...

I learned a valuable lesson from that experience. Make the story as minimal as possible! I mean, one line of text should do it. For example...

Escape from jail
Or
Outrun the bad guys
Or
Get to this place by this time

That's all you need in a custom map. Anything more is overkill and unnecessary.

I don't think I've played a custom map or mod that had a compelling story. I can't say I've played that many games that had an amazing story either. There are rare exceptions of course (Jedi Outcast, Thief 2, X-Wing Alliance) but most game stories are very awkward affairs that never really grab the players attention.

I wish this wasn't true, because when a great game story is created, it can be magical, but alas most fail. Custom map stories are usually incredibly awful...

SO DON'T BOTHER WITH IT!

Stick to good gameplay.. the player will forgive you I promise.
Just set the player up with a basic goal and keep those goals coming each time the complete the last one.

Goals can be delivered by NPCs if you like. It just doesn't have to mean anything. It doesn't have to fit within a larger context.

The moment you find yourself ditching great gameplay idea to service a story for gods sake stop.

Think about Left 4 Dead or Portal. Two amazing games that ditched story almost altogether (some sly graffiti in both adds a bare minimum).

I may give the player a choice in my next map. "Do you really want a story? Break glass to hear story...".

Loops

The mapping method known as looping is the practice of having the player move through the same environment multiple times.

This serves several purposes...

1. You get more gameplay out of a small map space.

2. The player gets to see the area you've created from several different perspectives

3. The player has the nice surprise of discovering that they have returned to a familiar location after a section of gameplay

As a mapper, whenever I create a playing space I'm looking to get the most amount of gameplay out of that space as possible. It can take weeks of work to create a convincing environment so to have the player blast through it in less than a minute is a huge waste of great work.

Consider a map set on a city street.

A single pass at this area may be set at street level. A firefight amongst cars etc..

Now consider how much other playing space has not been used.

The sewers under the street, the floors of the buildings on either side, the rooftops, you could add balconies or scaffolding.

By having the player pass through the area several times, winding back forth through it, an area that once offered a two minute firefight can now incorporate around fifteen minutes of gameplay if done correctly.

Looping isn't just to make the mappers life easy. I think players don't like to have too many environments thrown at them too quickly. If bombarded with too many areas too quickly the player can often feel overwhelmed and disorientated.

Finally there's the loading times issue to consider. Lots of gameplay within one area means the game engine only has to worry about rendering one location for much of the map. It can improve performance within map and also shorten loading times as well which is always welcome from a players perspective.

Loop Creatively

Did you ever play a map where you seem to be heading backwards as much as you were forwards? I've played maps like this and walked way with the feeling that I'd just completed a slightly enjoyable Disneyland ride queue.

Loops are good but the player must feel like their making progress or they're gonna get very frustrated very quickly. Try and make each loop move through a areas that have different looks and feels to them.

Differ the gameplay on each loop to keep the player involved.

Monday, 25 July 2011

Their First Time...

One of my major challenges in mapping is presenting a world the player can understand the first time they encounter it.
It takes refinement and playtesting and can sometimes really stand in the way of a great idea being implemented.

But should it?

Consider this example:
Say I want to implement an Indiana Jones style moment of action where the player is chased by a huge boulder down a tunnel. The player jumps down into the tunnel and the ball starts rolling, only at top speed can the player outrun the ball.

Exciting stuff, but the player has no warning of what is about to happen and almost no chance of getting out of the situation alive unless they're incredibly lucky.

So, is it fair or right for the player to have to learn through death or injury?

Should a map always be completable the very first time the player plays it?

I've played many official games and maps where the learning through death approach is taken and it can be very frustrating.

To counterpoint this though, a map that you can breeze through in 5 minutes may be fun but not really any challenge.

Also... some events work better if the player has no warning or pre-knowledge.

So how can I know which events the player needs to be warned about or not?

Playtesting will only get you so far on this issue as it's often a case of play style preference.

A good example is found in a recent map of mine.

I added a jump to my map where the player must jump diagonally down and through a window across a gaping chasm. Traditionally, glass doesn't break in HL2 if you jump at it horizontally. So the player has to take a leap of faith at this point.

Its all carefully set up so that the player has no where else to go, a shotgun (first weapon after going a map and a half with only the grav gun) and heathpack are on the other side of the window as a lure but still playtesters said they were reluctant to jump.

When they finally plucked up the courage they were thrilled by the fact they'd made the jump, broken through the window, snatched the shotgun and killed the combine guard patrolling on the other side all in one swift movement.

So common sense gameplay training would indicate that I should train the player to understand the new glass breaking rule, however if I did it would detract something special from the experience. The unwillingness of the player to make the jump adds a huge amount to the triumph when they do.

All this can get rather complex... this is where instincts come in as to what I feel the player experience should be...

Sometimes you just know when something is going to work and it's worth pushing that idea through.

Thursday, 21 July 2011

I will let you down, I will make you hurt!

I like to think of player health as currency. They begin with a full account, it is then whittled down by NPCs or map events and they earn it back as a reward for surviving these events.

Players will take great offense to their health cash being taken from them due to circumstances beyond their control.
So if a jump is a little too high in your map and the landing causes damage, I've essentially just mugged the player.

I don't see myself as the mugging type really. I'm more partial to petty theft or casual vandalism...

Free credit!

When I build my maps I try and consider how much cash the players going to need up front for the next section. If it's a puzzle where the penalty for failure is death (falling off a bridge or something) then I'll avoid giving them any. If it's a big action moment then I'll throw in a full health charger before they reach the action zone. Think of this as free credit which they'll have to pay off in chunks of their own ass in the future.

Up front payment can of course be avoided by issuing small health loans within the action zone itself. This ups the pressure on the player as they actively seek out heath stashes and I try to use this approach only towards the end of a map where the difficulty is at its highest.

Health can also be used as a lure into a trap or as an indication of the way forward. The player is always seeking health. It is the only sure route to survival.

I try and be flexible with health. After playtesting, try and remove any surplus health that I feel isn't absolutely necessary.
If the player is constantly at 100 health then there is really no challenge there at all.

The best use of health I've found is using it to make the player move in moments of high action. If you place the health around an area at a significant distance apart then the player is forced to keep on moving in order to stay alive.

It can add a whole new dimension to a battle.

Thursday, 14 July 2011

Play Area Types

While putting together maps using a modular method I've discovered that most single player map areas can be classified into a variety of types.

Arena

An arena is a locked off gaming area that the player cannot leave until a battle is complete. These areas usually have multiple circular paths running through them and can often be very similar to multiplayer deathmatch maps in terms of layout. In fact, back in the Quake 3 engine days it was not uncommon to see arena sections of SP maps cut out and sealed off in order to be used as an MP map.
Like MP maps, arenas should have free flowing gameplay with little obstruction to players movement. I would also recommend that the MP rule of making sure that there is no spot in the arena where the player can not be flanked, be observed. There should be no safe place in an arena map.
My final observation about arenas is that the player has to pass a point of no return into the arena. A locking door or a small drop into the area is usually the best method I find.

The stunning Bespin Carbon Chamber from Jedi Outcast was used as a dueling arena in multiplayer...



Puzzle areas

The player is gated and has to solve a puzzle to progress. NPCs should not be in direct contact with the player at these times. It's best to allow the player to focus on the puzzle. If you want to up the pressure you could add an npc shooting from a distance but definitely no close contact.

No enemy's just a good ole hunting the batteries puzzle from HL2



Progression Battles

The player has to fight their way forward through a section of the map. Full combat NPCs should retreat as the player presses forward and denies them cover points. At no point should an NPC be behind the player, these sections are always about clearing the map ahead.

Nearly the whole game of Farcry was based on progression battle areas.. it got a bit dull after a while, I thought...



Fiddly Bits

This title refers to map sections where the player has to traverse difficult ground that requires them to concentrate on walking and jumping carefully. Put the player off their stride by throwing some minor NPCs at them when it gets to the most tricky point.

Careful there! The toe curling and amazing bridge span in HL2...


Pressure Points

The player is driven forward by some form of deadly force (rising water, rolling boulder etc...) player must traverse tricky ground ahead of them or simply stay ahead of the deadly force in order to reach safety and survive.

Jedi Academy's Giant Mutant Rancor forces you forwards in one map. Shame about the rest of the game...



Hold Outs

The player has to wait for something to happen and in the mean time fight off a slew of bad guys. Endless spawning NPCs, probably better to be melee orientated as opposed to projectile based, this puts pressure on the player to keep them at a distance.
Projectile based can be used too of course, I've just found it to be less fun.

The No Mercy Rooftop... nuff said!



Rest Stops

An area where the player can take a break from the madness. Usually at the start, middle or end of a map. No bad guys here obviously but a good place to add cool effects or impressive mapping work, friendly NPCs to explain whats coming next or some form of overview of the next map section.
Pay special attention to detailing in these areas. The player has all the time in the world to appreciate it.

Chillax! Nothing to do but listen in and take in the details



Connectors

Connecting halls, alleyways or other pathways between one gameplay area and the next. Try to reserve only minor bad guys for these sections. Small annoyances rather than big foes. Add in minor hazards to slow the players progress a little. Make them fun little mini-puzzles like a gated doorway that needs to be blasted open or a platform that must be raised with a winch or something. Anything the player can interact with. It will improve the overall playtime of your map without diminishing the fun factor.

A HL2 Connector. Completely unnecessary but it all adds to the fun and makes the level last longer.




That's all I've come up with so far... still very useful I think.