VisionX 3.0 - Full Changelog

This update represents a complete re-architecture of the VisionX system, moving from a static script to a fully dynamic and intelligent resource.
What's New

    /vx settings: A new in-game graphical UI to adjust performance settings (Max View Range, Creation Batch Limit, Update Tick Rate) in real-time. Changes are saved server-side and synced instantly with all players.

    /vx stats: A new command to display a statistical breakdown of all unique object models currently on the map, sorted by their automatically detected category (Decoration, Track, Other).

    /vx build: A powerful tool for map developers. It generates a standalone, optimized version of the VisionX script tailored specifically to your map's objects. The generated code for the selected category is copied directly to your clipboard, and uncategorized objects are included in a commented-out section for easy review.

    Manual Refresh Key ('X'): A new keybind ('X') allows for a quick "soft" refresh. This rapidly restarts the cloning process for the currently active mode with a 500ms delay, perfect for a quick visual reset without needing to re-scan the map.

What's Improved

    Dynamic Object Categorization: The core of the script has been completely rebuilt. Instead of relying on a manual list of model IDs in the script, VisionX now performs a one-time scan on startup to automatically identify and classify all objects on the map into "Decoration" or "Track" categories based on a master definition file (objects.xml). This provides far greater accuracy and flexibility.

    Advanced Command Structure: The simple on/off toggle has been replaced with a flexible and powerful command system, allowing for precise control over what gets rendered:

        /vx deco: Clones only "Decoration" objects (buildings, props, rocks).

        /vx track: Clones only "Track" objects (roads, bridges, tunnels).

        /vx all: Clones all categorized objects for maximum visual fidelity.

    Automatic Gamemode Refresh: The script now intelligently detects when you switch from editor_main to a gamemode like race. It automatically triggers a "hard" refresh, which waits 8 seconds for the new world to load, then performs a full, clean re-scan of all objects. This completely resolves the old bug where you had to restart EDD/VisionX to re-apply draw distance when you exit editor and start testing.

Performance Optimizations

    Precision Caching: The core scan is now surgical. It intelligently differentiates between original GTA world objects and custom-placed map objects, caching only custom objects for the cloning process. This dramatically reduces the memory footprint and focuses the script's resources exclusively on your map's content.

The VisionX Builder: A Tool for Map Developers

Empowering the community is a core goal of VisionX 3.0.

    /vx build: This powerful new command opens the Standalone Script Builder. This tool allows developers to generate a completely self-contained, optimized version of the VisionX script tailored specifically for their map. The builder intelligently analyzes the current map and includes only the model IDs for objects that actually exist, creating a lightweight and efficient script perfect for public release. The generated code is copied directly to your clipboard, bypassing any in-game performance issues.

This landmark update transforms VisionX into an essential tool for any server administrator or map developer serious about creating immersive, high-performance environments in MTA.