Atlas Map Documentation

A comprehensive guide on creating maps and game modes for Atlas.

Module Groups<load-group><module-group>

Module groups allow groups of modules to be referenced by an ID and then loaded later based on various circumstances. The group ident elements must be at the top level but the load elements can be anywhere. These can be combined with conditionals.

An example use-case of this would be having a lot of different groups in an include file and then loading them in the XML.

Group

<module-group id="vel-zone">
  <zone velocity="$vel">
    <region>
      <cuboid min="$min" max="$max" />
    </region>
  </zone>
</module-group>

<zones>
  <load-group id="no-build" />
  <load-group id="vel-zone" vel="0, 3.3, 0" min="92, 65, 37" max="95, 66, 40" />
  <load-group id="vel-zone" vel="0, 3.8, 0" min="88, 65, 37" max="91, 66, 40" />
  <load-group id="vel-zone" vel="0, 2.8, 0" min="84, 65, 37" max="87, 66, 40" />
</zones>

Group Attributes
AttributeDescriptionTypeDefault
id

The globally unique ID of this feature.

This can be used to reference this feature from other parts of the XML.

Feature ID
chance

The chance of this group being loaded when the load tag is called.

Integer Range

0-1
1