Follow Freeman - or at least try!

corkscru74

Newbie
Joined
Nov 26, 2004
Messages
265
Reaction score
0
Hi, I'm trying to create a series of Single player maps with a Zombie theme to them. Basically having the player roaming around, avoiding getting killed and generally surviving.

It's a pretty complicated thing to do for my first attempt, I agree, but I'm slowly learning how to use Hammer.

A couple of questions I haven't been able to find answers to even after searching these forums and a couple of Tut sites, and was wondering if anyone here could help:

1. Is there a way to set how powerful the Zombies are when they attack i.e. how much damage they do to the player with each swipe.

and 2. Is there a way to get the zombies to "chase" the player? In Zombie movies you always have the characters being persued relentlessly, no matter where they go. At the moment, when the player goes into a house he'll be lucky to have 1 or 2 zombies follow him in - let alone look like they want to get him. Is there a way to set the player as some sort of target for the AI to follow with a bit more eagerness? I've tried setting up an Assault on the house but either it doesn't work with anyone other than Combine or I did it wrong.

Any help would be hugely appreciated.

Edit: By the way there isn't a door on the house preventing the zombies going in - it's a regular, door shaped hole.
 
Not sure about setting the damage... I'm thinking you would have to code that in. However getting the zombies to chase you a little better could possibly done with info_hint. Info_hint entities are basically clues for the AI as to what to do, and you could direct them with that.
 
You could try a trigger that sets all the zombies to have a move target (path corner) based on an entity that follows the player around? It's much easier to do with code, though.

-Angry Lawyer
 
Create an entity (aka cookie) that the player cant see or interact with but the computer ai (zombie) can 'see' and wants. Then set a time frequency for the player to spawn the cookies thus they will leave a trail of cookies for the zombie to follow, plus if the player camps they will create a huge cache of cookies that should attract more zombies.

The zombies main goal is always the humans and next the cookies, that way they will go after the humans instead of eating cookies.

The cookies should also have a life span otherwise youll have too many entities, and if a player does camp create a cookie bag to hold all the cookies so you can also limit the entities. Plus you may want to think about mutiplayer, if 2 players are running together that should be a more attractive cookie than if a player is alone.

damage would have to be set as a weapon type most likly
 
I don't know why, but suddenly I'm hungry for cookies.

You think it'd work with other food objects, perhaps pie, instead of cookies ?
 
Hmmm Cookies you say? Sounds good to me, I'll give it a go. Cheers everyone that's posted!
 
Back
Top