# Step-By-Step

Use this if you want the clean setup path from zero

{% stepper %}
{% step %}

### Install The Mods

Install on the server

* DawnCosmetics
* Polymer
  {% endstep %}

{% step %}

### Turn Polymer On

Open `config/dawncosmetics/config.json`

Use something like this

```json
{
  "pack": {
    "mode": "polymer",
    "layout": "pack_root",
    "paths": {
      "source_root": "config/dawncosmetics/cosmetics/assets",
      "output_zip": "config/dawncosmetics/assets/cosmetics.zip"
    },
    "build": {
      "on_startup": true,
      "sync_assets": true
    },
    "generation": {
      "generate_defs": true,
      "generate_overrides": true
    }
  }
}
```

{% endstep %}

{% step %}

### Add Your Assets

For the default `pack_root` layout, files usually go here

* `config/dawncosmetics/cosmetics/assets/assets/<namespace>/models/item/*.json`
* `config/dawncosmetics/cosmetics/assets/assets/<namespace>/textures/item/*.png`

Subfolders are fine too

* `.../models/item/backpacks/charizard_wings.json`
* `.../textures/item/backpacks/charizard_wings.png`
  {% endstep %}

{% step %}

### Reload

Run

* `/cosmetics reload`

If you are also changing generated helper files or testing outside Polymer flow, you can still run

* `/cosmetics reload pack`
  {% endstep %}

{% step %}

### Test In Game

* open `/cosmetics`
* equip a cosmetic
* make sure it looks right
  {% endstep %}

{% step %}

### If Something Looks Wrong

Check these

* `pack.mode` is really `polymer`
* your file paths match your chosen `layout`
* the model path points to the right texture
* your item id is real

Then read [Pack Layouts And Assets](broken://pages/8b852341d1d4cf1a8438b04db3e463b4c6fd9c2e)
{% endstep %}
{% endstepper %}


---

# 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://dawnshade.gitbook.io/dawnshade-docs/docs/dawn-cosmetics/summary/polymer/step-by-step.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.
