Showing posts with label Gameplay. Show all posts
Showing posts with label Gameplay. Show all posts

Wednesday, 11 April 2012

Vehicles and critical allies in HL2

I wanted to share my recent experiences of creating maps designed for the player to drive around in and things to consider when building vehicle based maps.
I've also been working with allied NPCs and critcal allies which can add their own frustrations to proceedings.
Critical Allies
When you introduce a buddy character to the player who must be protected or its game over, you change the nature of a first person shooter. The player has to keep an eye out for a second party. This can be used in a variety of ways that can enhance or destroy gameplay.
Pros:
1: The player no longer has to worry about running out of ammo, they can fall back on their buddies firepower if they need to. Anyone who had completed HL2: Episode One achievement "The One Free Bullet" will understand that it is totally possible to survive this way if you alter your playing style.
2:
Firefights become more dynamic if you set areas up correctly. For example, adding raised areas the NPC ally is happy to move to can give a real sense of teamwork and allow for some strategic thinking by the player.
3:
NPC allies are a great way of controlling the flow of play. Adding gates that only the NPC can open will allow you to control when the player can move forward and can solve many gating headaches. This is seen numerous times with Alyx and the Vortigon in Episodes 1 and 2. Often it allows time to pause, deliver some story or some form of reaction to the situation. All of this makes for a more pleasing game experience if used in the right measure.
4:
Buddy characters can also be used to make the player feel special. Alyx in HL2 repeatedly congratulates the player on being awsome as does the Vortigon. In fact, this mechanic is used so much that its a huge slap in the face when you meet Dr Magnusson at White Forest who does nothing but criticise.
Still, FPS gaming can be a lonely experience sometimes and its nice to have someone telling the player they're smart and skillful.
Cons:
1:
From a map design perspective critical allies can be a real headache. The player must never lose them, they have to be able to reach the player through the majority of the map (aside from areas designed to seperate them). Also, they should never be in a place of danger unless the player can help to defend them.
2:
The player can get frustrated waiting for the buddy to catch up.
Ive heard from players who spent the whole of HL2 trying to ditch Alyx. "she's always there again when the next section loads!" one player moaned "I hate her". Buddy gameplay isnt for everyone but you can certainly make it far more bareable by ensuring that when the player completes a loop in the map and they've left the buddy behind somewhere, that the buddy is right there ready and waiting for them to move forward. If the buddy is half a mile away, the player is going to get peeved, trust me.
3:
The buddy can get in the way. Always make sure your walkways etc.. are wide enough for the player and the buddy to move past each other. As anyone whose ever played Counterstrike will tell you, there's nothing more infuriating than someone camped right behind you, so that when you need to back up, you cant move. Death often follows!
Always give the NPC buddy lots of room to move around so that they can make the best of the "get out of the players way" logic they've been programmed with.
4:
They can reduce the challenge of a map. Because NPC allies often have huge health pools it can often make the game much easier. When it comes to combat, dont be afraid to up the numbers of bad guys as the npc buddy will seriously increase the players damage potential. Playtesting should help you find the right balance.
Thoughts on vehicles
Adding drivable vehicles to your map can add great variety to the gameplay but I've found you'll need to consider some things when designing you playing spaces.
Your map areas are probably going to need to be outdoors due to the large spaces required. This means that you'll need to learn how to make displacements and get good at making them. I have found that creating template sections of maps can be very helpful as these can be used to create various layouts which the mapper can then re-arrange at will. You'll need to create a straight, a sloped straight (to go uphill or downhill) and a 90 degree turn, at minimum. A 45 degree turn section can add a bit more variety and realism. Intersperse these template sections with larger areas with more interesting gameplay.
How do you make sure the player doesn't lose the car?
This is a bit of a tricky one. Where a car can go... people can walk... so how do you make sure that the player brings the car with them into a new section of the map where they are going to need it?
How do  you make sure they dont end up stranded with no transport?
Well I've come up with several potential solutions...
1: add a jump that only the speeding car can clear
2: add a wall/gate that only the player can break through in the car
3: add an electrified floor
(not very realistic...)
4: add more cars. Add a spare car in each new section of the game.
5: build a route for the player to go back and get the car on foot...
I may employ one or more of these methods in Deep Down... we shall see!

Sunday, 8 April 2012

Allowing the player to play... more...

Hi...

A while back I added a post about some prefabs I had created that I added to my map pack Daylight. They didn't have a huge amount of purpose but were added as oddities that the player could interact with and simply made the player experiences a little more fulfilling (or at least that was my intention).

Continuing this theme I think it's really important to make as much as possible in a map, a game for the player. So what do I mean by that?

Consider a standard item pickup. You can add an item anywhere in a level and the player simply has to walk over to it in order to obtain it. Not much fun really.
Why not add a little challenge? Place the item inside something, behind a pane of glass or a fence or something that requires the player to just go that extra step in order to obtain it.

This kind of mini-game challenge is great in an area that has no bad guys in it. The player can take their time and simply enjoy playing with the mini challenge you have set them. These mini puzzles don't have to be complex at all. Just fun...

The best examples of these are the weapon cache items in HL2 Episode 2. Each cache had a mini puzzle or challenge associated to it, short, simple and fun.

Next time you want to add a pick up, think about how you could make it just a little less simple for them. It will add greater playing time to your map and the player will feel that they received a far more detailed experience.

Jim

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.

Monday, 11 July 2011

Fear

"Feel terror cloud your senses, feel its power to distort and know that this power can be yours!" Ras Al Gul, Batman Begins

Manufacturing fear isn't like it used to be. These days it's all about the cheap thrill. The schlocky gross out scenes or long drawn out torture porn movies. Take me back to the days of good old fashioned scares. A better word is creeps...

I've heard friends say that fear is a very personal thing. That what scares one person won't necessarily scare another. I disagree...

Somethings are universally scary and with the right timing and atmosphere you can put anyone on the edge of their seat.

Lets look at some great examples of game based fear.

Left 4 Dead



For all its Romero homage gore based gaming, Left 4 Dead does have a key element of fear to it. The tension is generated by the ever present threat of a zombie rush at any time. The games randomness of zombie spawning thanks to the built in Director gives the players really no place to hide because a rush could come at any time.
I'm sure that many folks who have played Left 4 Dead over and over have become numb to its scary charms but if you recall your first campaign ya gotta admit you were shitting it!

Verdict Fear Type: Fear Of Randomness

Thief 2: The Metal Age



Creeping about hoping to god you don't get discovered by guards is pretty nervewracking stuff at the best of times. When you replace the guard with a steam driven robot that fires deadly cannonballs but talks in a creepy Droopy style mechanical voice you're pretty much hitting the fear button dead on. Even better is a whispering corpse with a sodding great mallet!
Thief took a basic premise "don't get caught" and simply upped the stakes of what might catch you and what they'll do to you when they do. Nice...

Verdict Fear Type: Fear Of Discovery

System Shock 2



Yes those Looking Glass boys again but this time they flipped the idea of Thief on it's head. Rather than the maps being filled with baddies to avoid System Shock 2 filled the map with well... er nothing...

It's you, alone on a sodding great spaceship. Well you're not alone but the creatures are very few and far between. Looking Glass realised something that no other game seems to have twigged onto. Being alone is bloody scary!
If you've ever been in a very large space alone (say a shopping mall or a school after hours) you'll know what I'm getting at. It's freakin creepy...

Verdict Fear Type: Agoraphobia?

Bad Examples Of Fear Based Gaming

Resident Evil



OK Resident Evil started the whole console survival horror genre but the execution was just plain annoying. It wasn't the environment or NPCs that created fear, it was the shitty camera and control system. In a moment of panic you could walk out of shot, change camera angle and end up running back towards the bad guy.
There is a lesson we can learn here, loss of control generates fear too!

Verdict Fear Type: Loss Of Control!

F.E.A.R



Having played through the original and the sequel I can honestly say that I didn't find it scary at all. The slow motion action was fun though!
F.E.A.R made a fatal mistake when implementing it's horror elements, it took control away from the player. Many of the flashbacks and clever screen elements that were supposed to mimic a modern horror simply didn't work because the player had no interaction with them. Once the flashback was over the game simply returned you to the same drab warehouse or whatever you were doing before. The actual maps themselves and gameplay did nothing to even make you hesitate when moving forward.

Verdict fear type: None at all!



So what have I learned from all this?

1: That if you want the player to experience fear the scares must happen around them while they are in control of the game.

2: That a constant threat of attack builds a great atmosphere in which fear can flourish

3: That knowing that something is coming for you and there's nothing you can do about it is damn scary.

4: That a creature that stalks you rather than attack is scarier than the attack itself.

5: That an empty open space with a hint of threat is scarier than a room full of creatures

6: That being hunted, for any creature is terrifying

What scares the hell out of you guys?

Friday, 8 July 2011

I am one with the darkness...

... a shadow, of a cat, in the night...

Torches are a pain in the ass.

You spend days of your life getting the lighting just right on your map and all the player has to do is hit the torch button and it's ruined.

Bastards!

Recently I've tried my hand at creating an almost pitch black level in order to creep the player out. The concept was pretty straightforward...

The player moves through a section of the level which is in total darkness. All the while creepy monsters move around them. Across pipes above, along walls adjacent to the player path, under floor grating.

The idea was to make the player feel surrounded by something they only caught glimpses of. I had the monsters (in this case the NPC_fastzombie from HL2) only move when the player performed an action like opening a door or jumping down onto a new ledge.

In practice however, I've found that total darkness is no fun at all. It puts the player under pressure but they quickly lose patience with the inability to see anything and the game play suffers greatly as unless the player is looking directly in the direction of an oncoming creature, they miss their entrance and end up just fumbling around in the dark.

So I added some lights, fairly minimal at first. You know what I found? Having just a few small lights is even more annoying!

Eventually I found the solution. Have alternating dark and light areas for the player to move through. Always give the player a light to go for in the distance. The light areas act as rest stops and relieve the pressure of being in total darkness.

I'm not saying that dark levels can't be fun, Valve proved it could be done well in HL2:Episode 1 but it requires a lot more skill to make it fun, than I thought it would require.

If you're interested in making a dark section for your valve based map I totally recommend you look into the env_flare entity. I pretty much does what it says on the tin. It's a flare, but it's very pretty, gives out minimal red light and can really add atmosphere to a map. Basically it creates a small island of light in a sea of darkness but the player feels totally isolated. Very cool!

env_flare

Friday, 1 July 2011

Weapon Progression

In many custom HL2 maps I've played the authors add an element of weapon progression from Crobar through to Rocket Launcher. In smaller maps these weapons are delivered to the player thick and fast so by about 4 mins into the map they're fully kitted out with a complete arsenal.

It seems to me though, that unless weapon progression is going to serve the gameplay, you might as well avoid it completely and simply give the player all the weapons at the start of the map.

Here's some thoughts on the various functions weapon progression can serve.

That Good Ole Feeling..

Each weapon has a certain feel to it. This can really help when trying to convey a feeling across to the player.

Taking HL2 weaponry as an example... if you want the feeling of motion and swift firefights then the SMG, grenades and AR2 are probably you're best options.

If you want the player to feel powerful then the Shotgun and Magnum and Grav Gun are probably good choices.

For a more considered and slow approach the Pistol and Crossbow should fit the bill.

And for all out destruction, even at targets on the ground, the Rocket Launcher is the daddy but it's slow to reload don't forget so the player is left a little vunerable.



Weapon Absence

I would argue that not having the right weapon or not having a weapon at all makes for some pretty interesting gameplay.
Players aren't used to running away from the bad guys. It takes a hell of a lot of coersion to make them. The players natural reaction to an enemy is to attack. That's what games have been teaching players to do for years.
At the beginning of HL2 when Gordon was on the run, it takes about 5 NPCs all telling you to run away just to convince the player to do so.
I've been dying to put together a map where the main aim is to outrun the bad guys. To make it through some crazy assault course with the bad guys chasing you all the way.
One day I'll crack it...

Also, by denying the player a gun I force them to think creatively. A situation that could be resolved swiftly with a few shotgun shells becomes a mad scramble to stay alive using other methods provided to the player by the mapper.

No Gun Just Run!!!! Point Insertion From HL2


The Right Tool For The Right Job

Its often the case that the player is given the weapon that is most effective against a particular NPC just before they meet them in the map. I often think this is a bit of a wasted opportunity and comes across as quite contrived.
Surely it's more challenging and more fun to have the player meet that NPC before they find the appropriate weapon? Make them fight hard to reach the weapon that will make their lives easier.

A great example of this is the Surface Tension map for HL1. The player spend lots of time running away from the Apache chopper then finally get rewarded with the weapon they need to take it down. The victory is very sweet indeed when it comes...

Alternatively, I can make that weapon the objective of an area. The player can see the weapon they need but just can't get to it without a fight or puzzle with the tricky NPC hassling them every step of the way.

Too easy or too hard?

A major consideration on weapon progression is how a particular weapon will affect future encounters later in the map. What weapons will the player have in their arsenal at that time. Later NPC encounters in my map need to be much more dynamic as to how the player can assault the enemy. If they have a long range weapon at the time it gives the player more choice as to the style of the assault. My map has to provide cover for sniping positions.

I can also manage weapon usage through the provision of ammo but that's not a certain method to ensure the player wont have access to that weapon at any time. Some players enjoy being frugal with their bullets.

Weapon Stripping

Sometimes, in order to justify a certain type of action, removing all the players weapons is necessary. I would be very careful with this though. I mustn't forget that the player worked really hard to get the weapons in the first place. It seems very mean to take them away and the player could hate me for it.

Also, working in a plausible reason why all they're weapons are being taken can be tough.
The most obvious is a capture scenario. The player is thrown in jail and has to escape and reclaim all their weapons. This is very cliched though and I'm sure we can can come up with something a little more interesting.

Weapon delivery and weapon gates

Creating various ways of delivering weapons to the player can also be a little difficult. I don't want my player to miss a weapon pick up, so I need to find a way to make sure they actually have picked up the weapon they need.
I covered weapon gates in my earlier post so I wont go back into the idea but if at all possible I must make sure that the player picked up the weapon before they proceed. A nice way is to place it in a tight doorway or crawl space where the player cant miss it.
I could also use an NPC gate where the NPC wont open the way forward for the player until the weapon is picked up.

In addition I would say that I try to make the placement of the weapon pick up as logical as possible.

Simply having a loaded shotgun lying on the floor in the middle of a hallway doesn't sit well with me.

I mean some kid could just come along and pick it up!!!

I try to place weapons next to dead soldiers, on tables with NPCs near by, or on a weapon rack in a secure room. I try to make the weapon pick up placement fit and blend with the environment as much as possible while still being obvious to the player.

Hope this was an interesting read.

Thursday, 23 June 2011

Gating player progress

Player gating is a term that is used to describe the various methods of halting a players progress through a map.
Without them players could charge through every encounter like an 8 year old in a particularly boring museum.

Player gating can be a seriously frustrating business. How do I make sure the player kills all the bad guys before the move on?

Its a simple enough problem however trying to make the reasons for player gating plausible to the game world can be a real problem. Heres some of the various methods Ive seen used.

The Puzzle Gate

The simplest form of gate. Solve the puzzle to access the exit.
Think about the breezeblock seesaw puzzle near the beginning of HL2.



The Weapon Gate

The player must obtain a new weapon in order to break through a barrier.
This is a great way to ensure the player doesnt skip a new weapon that they will need later in the map.

HL2:EP1 Pistol Weapon Gate


The NPC Break In Gate

Once the action has finished in the area, a previously blocked route is unblocked by a new enemy NPC being introduced, normally by smashing or blasting through the door.
The slightly overused combine door lock blasts in HL2:EP1 are ax good example of this. The nice tuing about this method is that it keeps the action going.

HL2:EP1 Break In Gate


The Slow Mover Gate

The player activates the gate opening mechanism but it take a very long time for the gate to open. While waiting the player normally has to deal with a slew of enemies and survive long enough to escape.

This is seen over and over again in the Left 4 Dead games and suits the play style well. The other typical scanario is activativing THE SLOWEST LIFT IN THE WORLD!

The crane scene in the Left 4 Dead: Dead Air campaign is a great example of a slow mover gate...



The only downside for SP is that its a timed event, which means that the player can escape without clearing out all the enemies.. thats probably mostly OK though.

The Death Throw Gate

As an enemy dies it's last actions are scripted and open up a new route for the player.
This one is tough to pull off because the NPC once defeated has to perform a number of scripted actions before they finally shuffle off the mortal coil. It stretches the imagination a little but can be more plausible for flying enemies or really big boss npcs that can fall in a certain direction to smash through a wall or something.

Mate Opens Gate

A friendly NPC appears and opens the route forward for you. This will require NPC scripting and can be fun if its done well but its not my preference. The less help the player gets from NPCs the better in my opinion.

Examples of this are prolific in HL2 with Alex hacking combine terminals over and over again.

The Eye Candy Gate

A jaw dropping moment for the player to watch and enjoy that open up a new route for the player. Think the plane crash in the L4D Dead Air campaign. Will take you ages to build but may be well worth it as you know the player will be fully focussed on all your hard work.

The Astounding Dead Air Plane Crash


Let me know if I have missed any methods... or if youve seen any other really cool ways to gate the player.

Falling Into Player Gating Traps

Heres a good example of how a mapper can fall into a player gating trap.

In my map Ep2_aquaduct_4-5 the whole sequence of events begins with the player turning a valve to make water rise in order for them to reach the first level of the chamber.

In order to add some necessary action to the early part of the map I had a nice firefight going on with combine on the higher levels of the chamber shooting down onto the player.

I dont want to lose that but how can I prevent the player from turning the valve and making the water rise before the attacking combine are dead.

I tried having the water rise anyway but the combination of the player having to swim whilst being fired upon was too annoying for playtesters and just wasnt any fun.

In the end I had to settle for a rather unrealistic approach. The combine dont attack until the player turns the valve (at which point the sound of rushing water can be heard) but the water level doesnt rise until the combine are all dead.
You could explain this away as it simply took that long for the water to rise but playtesters also commented that it seemed to take forever for the water level to begin rising...

I can think of no other way that the death of the combine could realistically provide access to the valve..

Heres a link to the map if you want to see for yourself how this works...

Here's the link: http://www.mediafire.com/file/uuszylzw6nfqdzs/ep2_aquaduct-4_5.bsp

Wednesday, 22 June 2011

A Feeling must be earned...

I base my maps on how I want the player to feel. I have ideas of huge revelations to the player, moment of intense emotions like fear, elation, power, revulsion, relief etc...

While I may never manage to actually get a player to feel these intense emotions I think if you aim for them youre on the right track.

What I've learned is that these feelings cant be achieved through quick scenarios, they must be earned through the map sections prior to that moment.

A stressed out player (who is having fun being stressed, hopefully) is much more likely to succumb to these feelings.

If your map is too easy, the player never feels in danger and therefore never emotionally invests in the game experience.

Bottom line... Im learning why all those twists and turns along the way are so necessary... its all about building up to these big moments.