Info Objectives

From Mod Wiki
Revision as of 19:49, 21 November 2007 by 192.168.0.159 (talk) (Common entity keys)
An Advanced Map
1. Introduction and goals of the tutorial
2. Necessary map declarations
3. Caulk hull
4. Creating a simple terrain
5. Adding an atmosphere
6. Adding player spawns
7. Adding base structures
8. Adding base vehicles
9. Creating a constructible Bridge
10. Adding an MCP escort objective
11. Adding a Shield Generator hack objective
12. Creating a destructible objective
13. Adding Objective spawns and vehicles
14. Info Objectives
15. Deployzones
16. Playzones
17. Masks
18. Barebones Map script
19. Creating a command map
20. Levelshot

Info_objective entities provide objective information to the player during the game such as;

  • The objective description the player will see in the limbo menu and in game.
  • The icon to display in the world
  • The icon and objective number on the command map

Their position in the world, just like the spawn masters, determine the objective position on the command map. An info_objective has been placed under each of the four objectives in the example map.

Entity keys

Bridge info_objective

  • objective_index 0
The game uses objective_index to determine which objective this is. First objective is 0, second is 1 ect.
  • mtr_icon hud/icons/missionsystem/obj_build
Icon used to represent the objective.
  • mtr_icon_number hud/objectives/marker_01
Objective number to show on the command map.
  • text_objective_gdf maps/valley/obj01_gdf
Objective text for GDF.
  • text_objective_strogg maps/valley/obj01_strogg
Objective text for Strogg.
  • text_short_objective_gdf maps/valley/obj01_gdf_short
Shortened objective text for GDF.
  • text_short_objective_strogg maps/valley/obj01_strogg_short
Shortened objective text for Strogg.
  • mtr_objective_gdf hud/icons/missionsystem/obj_build
Icon used to represent the objective to the GDF.
  • mtr_objective_world_icon_strogg hud/icons/missionsystem/obj_defend
World icon used to represent the objective to the Strogg.
  • mtr_objective_world_icon_gdf hud/icons/missionsystem/obj_build
World icon used to represent the objective to the GDF.

MCP info_objective

Shield generator info_objective

Destruction info_objective

Common entity keys

These are common entity key pairs across all info_objectives in all ETQW maps.

  • icon_size_cm 24
Size of objective type icon on command map
  • icon_size_number_cm 24
Size of objective number icon on command map
  • icon_offset_cm 8 8 0
Offset of objective type icon on command map

And since strogg defend this map, they will get defend icons for each info_objective;

  • mtr_objective_strogg hud/icons/missionsystem/obj_defend
Objective type icon
  • mtr_objective_strogg_desat hud/icons/missionsystem/obj_defend_desat
Objective type icon
  • mtr_objective_world_icon_strogg hud/icons/missionsystem/obj_defend
Objective type icon