Difference between revisions of "Info Objectives"

From Mod Wiki
(Entity keys)
 
Line 117: Line 117:
 
* {{keyname|mtr_objective_world_icon_strogg}} {{keyvalue|hud/icons/missionsystem/obj_defend}}
 
* {{keyname|mtr_objective_world_icon_strogg}} {{keyvalue|hud/icons/missionsystem/obj_defend}}
 
: World icon used to represent the current objective to the Strogg.
 
: World icon used to represent the current objective to the Strogg.
 +
 +
== Worldspawn keys ==
 +
 +
The info_objective entities require the following worldspawn keys;
 +
 +
* {{keyname|"script_obj1_marker"}} {{keyvalue|info_objective_1}}.
 +
* {{keyname|"script_obj2_marker"}} {{keyvalue|info_objective_2}}.
 +
* {{keyname|"script_obj3_marker"}} {{keyvalue|info_objective_3}}.
 +
* {{keyname|"script_obj4_marker"}} {{keyvalue|info_objective_4}}.

Latest revision as of 14:08, 23 November 2007

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 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 lateral position in the world determine the objective position on the command map. An info_objective has been placed for each of the four objectives in the example map. Their vertical position is not important, but for neatness just place them somewhere easily selectable.

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 current 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_gdf_desat hud/icons/missionsystem/obj_build_desat
Icon used to represent an inactive objective to the GDF.
  • mtr_objective_world_icon_gdf hud/icons/missionsystem/obj_build
World icon used to represent the objective to the GDF.

MCP info_objective

  • objective_index 1
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_mcp
Icon used to represent the current objective.
  • mtr_icon_number hud/objectives/marker_02
Objective number to show on the command map.
  • text_objective_gdf maps/valley/obj02_gdf
Objective text for GDF.
  • text_objective_strogg maps/valley/obj02_strogg
Objective text for Strogg.
  • text_short_objective_gdf maps/valley/obj02_gdf_short
Shortened objective text for GDF.
  • text_short_objective_strogg maps/valley/obj02_strogg_short
Shortened objective text for Strogg.
  • mtr_objective_gdf hud/icons/missionsystem/obj_goal
Icon used to represent the objective to the GDF.
  • mtr_objective_gdf_desat hud/icons/missionsystem/obj_goal_desat
Icon used to represent an inactive objective to the GDF.
  • mtr_objective_world_icon_gdf hud/icons/missionsystem/obj_goal
World icon used to represent the objective to the GDF.

Shield generator info_objective

  • objective_index 2
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_hack
Icon used to represent the current objective.
  • mtr_icon_number hud/objectives/marker_03
Objective number to show on the command map.
  • text_objective_gdf maps/valley/obj03_gdf
Objective text for GDF.
  • text_objective_strogg maps/valley/obj03_strogg
Objective text for Strogg.
  • text_short_objective_gdf maps/valley/obj03_gdf_short
Shortened objective text for GDF.
  • text_short_objective_strogg maps/valley/obj03_strogg_short
Shortened objective text for Strogg.
  • mtr_objective_gdf hud/icons/missionsystem/obj_hack
Icon used to represent the objective to the GDF.
  • mtr_objective_gdf_desat hud/icons/missionsystem/obj_hack_desat
Icon used to represent an inactive objective to the GDF.
  • mtr_objective_world_icon_gdf hud/icons/missionsystem/obj_hack
World icon used to represent the objective to the GDF.

Destruction info_objective

  • objective_index 3
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_destroy
Icon used to represent the current objective.
  • mtr_icon_number hud/objectives/marker_043
Objective number to show on the command map.
  • text_objective_gdf maps/valley/obj04_gdf
Objective text for GDF.
  • text_objective_strogg maps/valley/obj04_strogg
Objective text for Strogg.
  • text_short_objective_gdf maps/valley/obj04_gdf_short
Shortened objective text for GDF.
  • text_short_objective_strogg maps/valley/obj04_strogg_short
Shortened objective text for Strogg.
  • mtr_objective_gdf hud/icons/missionsystem/obj_destroy
Icon used to represent the objective to the GDF.
  • mtr_objective_gdf_desat hud/icons/missionsystem/obj_destroy_desat
Icon used to represent an inactive objective to the GDF.
  • mtr_objective_world_icon_gdf hud/icons/missionsystem/obj_destroy
World icon used to represent the objective to the GDF.

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
Icon used to represent the current objective to the Strogg
  • mtr_objective_strogg_desat hud/icons/missionsystem/obj_defend_desat
Icon used to represent an inactive objective to the Strogg
  • mtr_objective_world_icon_strogg hud/icons/missionsystem/obj_defend
World icon used to represent the current objective to the Strogg.

Worldspawn keys

The info_objective entities require the following worldspawn keys;

  • "script_obj1_marker" info_objective_1.
  • "script_obj2_marker" info_objective_2.
  • "script_obj3_marker" info_objective_3.
  • "script_obj4_marker" info_objective_4.