Skip to main content

XML Includes <include>

Includes are used to split a large and redundant configuration file into multiple smaller files. <include> elements should only be found directly as a child of the main <map> element.

Shared Includes
PathDescription
defaults.xmlIncluded in every map This loads localization for maps. DON'T DELETE THIS!
Shared/groups.xmlShared file loaded for all maps that contains useful groups or "snippets" of code that is used in a lot of maps. This is different from a regular include file because it can contain a wide variety of different feature definitions which can span a variety of gamemodes and that are only loaded by the respective map's XML file directly. Larger things that span multiple modules should generally receive their own include file. The goal of this file if to cut down on excess code duplication and make it easy to change things in Atlas without having to change a lot of XMLs.
Shared/locales/ar_SA.xmlLocalized strings for the english language.
Shared/locales/de_DE.xmlLocalized strings for the english language.
Shared/locales/en_US.xmlLocalized strings for the english language.
Shared/locales/es_ES.xmlLocalized strings for the english language.
Shared/locales/sv_SE.xmlLocalized strings for the english language.
Shared/nebula-shop.xmlContains items a user may buy from the shop.
Shared/reward-one-gap.xmlHelper file to reward an arrow on a kill.

Include


<include src="defaults.xml" />

<!--Default-->

<include src="Shared/reward-one-arrow.xml" />

<!--One arrow on Kill-->

Include Attributes
AttributeDescriptionType
srcThe path to another map configuration file.Text
localIf set to to true, it will search for the import in the same directory as the map.xml, otherwise it searches in the shared maps directory.True/False