Zombie Panic! Source: ZPO: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
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]].   


Please see the tutorial on creating objectives for a basic list of common objective's used in zpo maps.
Please see the [[Basic_Objective_Tutorial]] for a basic list of common objective's used in zpo maps.


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

Revision as of 02:35, 16 March 2012

Zombie_Panic!_Source_Level_Creation

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.

Please see the Basic_Objective_Tutorial for a basic list of common objective's used in zpo maps.

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