Zombie Panic! Source: ZPO: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Addded Category)
m (clean up, replaced: See Also → See also)
 
Line 1: Line 1:
[[Zombie_Panic!_Source_Level_Creation]]
[[Zombie Panic! Source Level Creation]]


==ZPO Necessary Entities==
==ZPO Necessary Entities==
Line 15: Line 15:
  <output>; game_win_human; end game
  <output>; game_win_human; end game


It is good practice to use the [[info_objective_list]] entity for any descriptive text which will be displayed in the upper left hand corner of the HUD for all players.  If you need more customized HUD text, you will have to use [[game_text]].   
It is good practice to use the [[info objective list]] entity for any descriptive text which will be displayed in the upper left hand corner of the HUD for all players.  If you need more customized HUD text, you will have to use [[game text]].   


==See Also==
==See also==
[[Basic_Objective_Tutorial]]
[[Basic Objective Tutorial]]


--[[User:Ratboy601|Ratboy601]] 02:20, 16 March 2012 (PDT)
--[[User:Ratboy601|Ratboy601]] 02:20, 16 March 2012 (PDT)

Latest revision as of 07:59, 5 January 2024

Zombie Panic! Source Level Creation

ZPO Necessary Entities

First, name your map with the prefix "zpo_". This tells the game which game mode to operate in. In this case, the game will require a trigger to complete the round in favor of either Zombie team or Survivor team.

You will need several ZP:S specific entities to make an objective (zpo) map work properly:

game_win_human
game_win_zombie (optional)
info_objective_list

You will need to set up an output from the final entity that triggers the end of game, which should look like this:

<output>; game_win_human; end game

It is good practice to use the info objective list entity for any descriptive text which will be displayed in the upper left hand corner of the HUD for all players. If you need more customized HUD text, you will have to use game text.

See also

Basic Objective Tutorial

--Ratboy601 02:20, 16 March 2012 (PDT)