Migrating from v1.0.5 to v1.1.0
Spotlight v1.1.0 changes vehicle configuration from config.json to spotlights.json, with resource settings now stored in config.cfg. Your v1.0.5 vehicle mappings are not loaded directly by v1.1.0, so migrate them before replacing your live configuration.
Back up your v1.0.5 config.json before updating Spotlight. Keep the backup until every vehicle has been tested in v1.1.0.
Overview
- Back up your v1.0.5
config.json. - Update Spotlight to v1.1.0 and install its new
config.cfg. - Copy the backed-up configuration into the updated resource as
old-config.json. - Run the in-game
/spotlight convertcommand. - Replace the contents of
spotlights.jsonwith the generated configuration, review it, and restart Spotlight.
The converter migrates vehicle definitions only. Configure v1.1.0 resource settings, such as keybinds, ignored vehicles, permissions, and default spotlight appearance, in config.cfg.
Values That Require Manual Review
The converter does not migrate the old global config.json values, including the command name, keybinds, ignored vehicles, and default spotlight appearance. Configure their v1.1.0 equivalents in config.cfg.
Old VehicleSpotlightIgnores and VehicleCustomRGB entries also require manual review. v1.1.0 uses per-spotlight definitions and per-spotlight configuration overrides instead; use the Spotlight Tool to recreate the intended behaviour.
The global values in ic_spot_defaultSpotlightConfiguration apply whenever a spotlight definition does not supply its own appearance or movement value.
Convert Vehicle Definitions In-Game
The in-game converter reads all three legacy vehicle-definition lists from the old configuration:
VehicleExtras→extrasVehicleMods→modsVehiclePersistents→persistents
For legacy extras, it temporarily spawns each vehicle model, applies the enabled extra, and finds the extralight_1 through extralight_4 bone nearest to the configured driver or passenger seat. This produces a vehicle-relative light-source position that a web tool cannot determine accurately.
Modkit and persistent entries retain their existing legacy LightPosition. The converter also preserves EnableHighBeams when it is set.
Prepare the Old Configuration
- Find the backed-up v1.0.5
config.jsonthat contains your oldVehicleExtras,VehicleMods, and/orVehiclePersistentsentries. - Copy that file into the root of the updated
inferno-spotlightresource folder—the same folder that containsfxmanifest.lua,config.cfg, andspotlights.json. - Rename the copied file to
old-config.json. - Do not replace
spotlights.jsonyet.old-config.jsonmust contain the complete oldconfig.jsoncontents, not only one of its arrays. - Ensure the player running the command has the
InfernoSpotlight.ToolACE permission.
Run the Conversion
Run the following command in-game:
/spotlight convert
If you changed ic_spot_command, replace spotlight with your configured command name.
The command shows a copyable, complete spotlights.json document with extras, mods, and persistents arrays.
Copy the entire generated document and replace the complete contents of the spotlights.json file in the root of the inferno-spotlight resource folder. Do not paste the generated document inside an individual array.
If you have already added v1.1.0 definitions to spotlights.json, merge the generated entries into its matching extras, mods, and persistents arrays instead, taking care not to duplicate a model and side.
The converter skips invalid entries. Extra entries require a valid vehicle model, the configured seat bone, and an extralight_* bone. Modkit and persistent entries require a model name and legacy LightPosition; modkit entries also require ModType, EnabledMod, and DisabledMod. Check the client console for each skipped entry, then create it manually with the Spotlight Tool.
The converter preserves the legacy model name, side, enabled/disabled extras or mods, light position where available, and EnableHighBeams. Review the resulting placement and appearance in the Spotlight Tool before using it live.
Finish the Upgrade
- Place the reviewed
spotlights.jsonin the root of theinferno-spotlightresource folder. - Confirm
server.cfgincludesexec @inferno-spotlight/config.cfgbefore ensuring the resource. See the installation guide. - Restart Spotlight.
- Test each migrated vehicle from both the driver and passenger seats.
- Use the Spotlight Tool to correct placement, extras, modkits, colours, high beams, or movement settings as needed.
Once every definition has been verified, you can remove old-config.json from the resource folder.
If you need assistance, feel free to join the Discord.