Zombie Panic! Source: ZPO: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (clean up, replaced: See Also → See also)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[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:
You will need several ZP:S specific entities to make an objective (zpo) map work properly:


game_win_human
game_win_human
game_win_zombie (optional)
game_win_zombie (optional)
info_objective_list
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:
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
<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]]. 


Please see the tutorial on creating objectives for a basic list of common objective's used in zpo maps.
==See also==
[[Basic Objective Tutorial]]


--[[User:Ratboy601|Ratboy601]] 02:20, 16 March 2012 (PDT)
--[[User:Ratboy601|Ratboy601]] 02:20, 16 March 2012 (PDT)
[[Category:Zombie Panic! Source]]

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)