Modeling Spotlight to be Compatible with Spotlight Script

  • Hello all!

    I'm trying to make the spotlights on the vehicles I am making compatible with the spotlight mod by alexguirre. I've been able to make the spotlight move how I want it on the x and y axis but I cant seem to get the game to recognize it as a vehicle weapon/spotlight that the script looks for. I've tried looking through the vanilla vehicle files that use a weapon/searchlight in ZMod, I've edited the vehicles.meta, carcols.meta, I cant seem to figure out what I'm missing to get it to work. Any help would be much appreciated, getting this to work is driving me crazy.

    Thanks in advance!

    Edit: For clarity, I am referring to the rotating turret function in the script.