# Config

shared/config.lua

```lua
Config = {}

--[[====[ ECLIPSE-DEVELOPMENTS ]====]]
-- Thank you for buying this resource!
-- DOCS - https://eclipse-developments.gitbook.io

--[[====[ GENERAL SETTINGS ]====]]
Config.GuideMode = false -- Only use while following the guide in the docs.
Config.DetectionRate = 250 -- How often the system scans the area for projectiles (Lower Rate = Higher Ms Usage)
Config.EnableAlerts = true -- Enable Home Front Command alerts (התראות פיקוד העורף)

--[[====[ MACHINE SETTINGS ]====]]
Config.ProjectileInterceptionTime = 1500 -- The time it takes for a projectile to be intercepted.
Config.VehicleInterceptionTime = 3000 -- The time it takes for a vehicle to be intercepted.
Config.Cooldown = 0.3 -- Time (in seconds) the machine waits before trying to intercept another target.
Config.ExplodeVehicle = true -- True means the vehicle will explode, False means the vehicle's engine will stop.

--[[====[ INTERCEPTOR & DETECTION SETTINGS ]====]]
Config.SupportedWeapons = {"w_lr_rpg_rocket"} -- Learn how to add more by following the guide in the docs (CUSTOM PROJECTILES).
Config.SupportedVehicles = {"hydra"}  -- Learn how to add more by following the guide in the docs (CUSTOM VEHICLES).
Config.MinimumHeight = 10 -- The minimum height difference required between the machine and the threat for interception.
Config.interceptionChance = 90 -- The probability (0-100%) it will choose not to intercept the target.

--[[====[ HEALTH/DAMAGE SETTINGS ]====]]
Config.ExplosionDamage = 20 -- The amount of damage each explosion can deal to a machine.

--[[====[ MACHINES ]====]]
Config.Machines = { -- Here you can add machines, below is a machine added as an example.
    { -- EXAMPLE
        PropName = "hei_prop_carrier_defense_01", -- DONT TOUCH IF YOU DONT KNOW WHAT YOU ARE DOING
        CityName = "רמת דוד",
        Location = vector4(-2089.35, 2821.19, 64.86, 85), -- The location of the machine
        DetectionRadius = 1500.0, -- The radius within which a threat must be to be intercepted
    },
}

```


---

# 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/laserinterceptor/config.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.
