> For the complete documentation index, see [llms.txt](https://travljen.gitbook.io/unit-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://travljen.gitbook.io/unit-system/getting-started/create-units/faction-purple-cubes.md).

# Faction (Purple Cubes)

Steps to create and configure the faction:

* Select **Faction** type
* Click **Create New** button
* Set **name** and **description** of the faction
* Set **default actions**. These would be the actions generally shown when builders are selected, to support placement of new units. You can check examples provided with the demo.
* Expand the **Start Data** section and configure starting data defined on the faction:
  * **Population** - initial capacity & hard limit. Initial capacity is what the player starts with and hard cap will make sure he never exceeds certain population limit, regardless of structures built.
  * **Units** - initially spawned and placed units
  * **Resources** - initial resources applied to the player
  * **Resource Capacities** - works with unique resource capacity on player's `ResourceModule`
  * **Research** - initial research applied to player,
  * **Limits** - specify limit for specific unit's; if applicable. This will prevent player from producing any more units of the specified type once limit is reached. Most commonly this is used on the main structure (such as HQ) and housing for population of the faction.

<figure><img src="https://3582497942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy2G6fDLEPuCAcuABMl6j%2Fuploads%2FwuKhQPcLuRCYYWm0whTS%2Fimage.png?alt=media&amp;token=824a64e6-118b-4632-8b14-8760afa7f54a" alt=""><figcaption><p>Example of Purple Cubes Faction</p></figcaption></figure>
