# GUIDE: Adding Custom Projectiles

Step 1:\
Set the guide mode in <kbd>shared/config.lua</kbd> to <kbd>**TRUE**</kbd>

<pre class="language-lua"><code class="lang-lua"><strong>Config.GuideMode = true
</strong></code></pre>

Step 2:\
Make sure you're in range of an iron dome interceptor, fire your selected projectile into the air.\
Now open your console (F8) and look for a message saying something like this:

> "Add this model to the allowed projectiles, shared/config.lua: (long number here)"

Take the number from that, and add it to the <kbd>Config.allowedProjectiles</kbd> table in <kbd>config.lua</kbd> like this below:

```lua
Config.allowedProjectiles = {
    -- THE LINE BELOW IS WHAT MATTERS
    [number from console] = true,
}
```

Save, turn off the guide mode and restart the script. Voilà!


---

# 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://spark-developments.gitbook.io/dev/military/missileinterceptor/guide-adding-custom-projectiles.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.
