# General Info

When an officer approaches an intersection with lights on,\*\* Our Opticom\*\* script scans nearby traffic lights and flips the **light in front of them to green**, while turning **side and rear directions red** for a true Opticom-style effect.

**Features:**

* Automatic Opticom behavior when emergency lights are active
* Smart **front-cone detection** – only the direction you’re heading goes green
* Cross-traffic and rear-facing lights forced red for clean, cinematic approaches
* Works with **vanilla and add-on emergency vehicles**
* Fully client-side and lightweight for minimal performance impact
* Configurable radius, cone angle, and emergency-vehicle rules

🎥 **Preview Video:**

[Click me to watch!](https://youtu.be/WtAk41Sklf0)

📦 **Installation:**

* Drop the resource folder into your `resources` directory
* Add `ensure static_opticom_entity_v4` (or your folder name) to your `server.cfg`
* Restart the server and hit the streets with Opticom-enabled units
