User Tools

Site Tools


Sidebar

feature_tags

Feature Tags


Overview

Level Feature Tags are tags placed on Group Objects in level Layouts. Level Rule Sets are used to define a list of Level Feature Tags which should be present in the level when it loads. As the Groups are loaded the selected Level Feature Tags are counted and if no more Group Objects with a specific Level Feature Tag are needed any additional Group with that Level Feature Tag will not be loaded. Level Layouts are loaded in a random order so that the Feature Tags don't all appear in the first few Layouts.

The tags are defined in a hierarchy similar to Unit Types and can be edited using the Feature Tag Editor.

Data

Here's the data as it appears in a Level Rule Set:

[FEATURE_TAGS]
	[TAG]
		<STRING>NAME:CHEST LOCKED
		<INTEGER>MINCOUNT:1
		<INTEGER>MAXCOUNT:1
	[/TAG]
	[TAG]
		<STRING>NAME:CHESTS STANDARD
		<INTEGER>MINCOUNT:1
		<INTEGER>MAXCOUNT:3
	[/TAG]
	[TAG]
		<STRING>NAME:SHRINE LOOTABLE
		<INTEGER>MINCOUNT:0
		<INTEGER>MAXCOUNT:1
	[/TAG]
	[TAG]
		<STRING>NAME:CHESTS RARE
		<INTEGER>MINCOUNT:0
		<INTEGER>MAXCOUNT:1
	[/TAG]
	[TAG]
		<STRING>NAME:ROAD ACT1
		<INTEGER>MINCOUNT:1
		<INTEGER>MAXCOUNT:1
	[/TAG]
[/FEATURE_TAGS]

Tag Properties

  • NAME
    • (string) The name of the tag to fulfill.
  • MINCOUNT
    • (integer) The minimum number of instances of features which fulfill this tag.
  • MAXCOUNT
    • (integer) The maximum number of instances of features which fulfill this tag.
  • CHANCE
    • (float) The percent chance from 0.0 - 1.0 to use this feature tag.
      • Chance will override count.
Tutorials

Reference

feature_tags.txt · Last modified: 2015/10/19 09:26 by anarch16sync