# Base Classes

## Create a Class

A Class lets you define what [Contexts](/admin/game-settings.md#context-configuration) are associated with each class. For some games you may not have any classes and can completely ignore this system. Other games might want to take advantage of both the Class system and Heroes.

To create a new Class, navigate to the `Classes & Heroes` tab in the System Settings by clicking the `Systems` menu on the side bar of the Management Interface.

<figure><img src="/files/oRuuh6HEWrFLl3MQUBBS" alt="" width="127"><figcaption></figcaption></figure>

Click `Create New Class` to create a new Base Class for your game. Enter the name of the Base Class. We are going to create two classes, one called `Wizard` and one called `Warrior`.

<div data-full-width="false"><figure><img src="/files/84zNVWryzvIMiklssgpf" alt="" width="375"><figcaption></figcaption></figure></div>

Click the `Create` button to save and create this Class.

### Default Loadout <a href="#default-loadout" id="default-loadout"></a>

The Default Loadout of a Class is used to define what Assets a player with the specific Class will be assigned and equipped when the Class is created. The Default Loadout will usually display empty Context loadout slots that have been assigned to this Class. Since we do not have any Contexts set up, the Default Loadout of our Classes are empty. Contexts are created when you set up Assets in LootLocker. To learn how to do this, visit the [Create Your First Asset](https://github.com/lootlocker/gitbook-sync/blob/main/game-systems/content/working-with-assets/create-your-first-asset.md) how-to guide. Alternatively, read more about Contexts [here](https://github.com/lootlocker/gitbook-sync/blob/main/game-systems/admin/game-settings.md#context-configuration).

We are going to create Contexts associated with different slots that the player can equip Assets to on their Class. To add a Context to a Class's Default Loadout, click on the `Manage Contexts` button next to Equippable Contexts in the Class view. In the Context menu, click `Create Context` and select the Asset Complexity and give the Context a name.

| Name   | Detachable | Complexity    | Class                       |
| ------ | ---------- | ------------- | --------------------------- |
| Weapon | ✔          | Customization | <p>Warrior<br>Wizard</p>    |
| Armor  | ✔          | Generic       | <p>Warrior</p><p>Wizard</p> |

Going back to the Classes page, we can now see the Contexts we associated with the Classes appear in the Default Loadout.

{% tabs %}
{% tab title="Warrior" %}

<figure><img src="/files/0z45z2Hk0KhFB9ErBb5p" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Wizard" %}

<figure><img src="/files/BedsxJNlSAgYD2q2yjp1" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

To add an Asset to a Default Loadout slot, click the `Assign` button in the Default Loadout section and select an Asset from the modal. Once a Class's Default Loadout has been populated, click `Save Settings` to save the loadout.

{% tabs %}
{% tab title="Warrior" %}

<figure><img src="/files/5knqTr03pfxO3LlmwbRK" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Wizard" %}

<figure><img src="/files/AZk7N5ovxFleYjJpqdxA" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

As you can see, we have intentionally left some slots empty, while assigning some slots with different Assets, to show the different states.

{% hint style="success" %}
You have now created your first Classes and assigned them a Default Loadout.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lootlocker.com/game-systems/classes-and-heroes/how-to/base-classes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
