Talk:Zombie master

From Valve Developer Community
Jump to: navigation, search


What does the game engine see the zombies as?

I was just curious as to how the code for the zombies was accomplished in this mod. I'm looking at different methods that I could use to make a mod of my own where the player controls a squad instead of an individual. So far, I see only two different ways of doing this.

  1. The game sees the zombies as players, and they are run like bots. The ZM just modifies their states and schedules, rather than AI doing this via conditions.
  2. The game engine operates them as NPCs or "monsters", but with input from the ZM as above also...

Perhaps I'm over-reaching and either "method" would essentially be the same thing. Probably the best way to control a squad would be to make a "dumb" AI NPC that only acted upon the player's commands. The actual players then become just free-floating observers passing the command messages to the server, which then moves the squad members appropriatly. Any suggestions/ideas/thoughts? Hectate 12:22, 8 Nov 2007 (PST)