Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Spotlight 1.4

(73 reviews)

6 Screenshots

Installation 

  • Install RAGEPluginHook 1.74+. 
  • Drop the "Spotlight.dll" file and "Spotlight Resources" folder into the "Plugins" folder in your game directory.

 

Controls

This plugin has 3 input layouts:

  • Keyboard:
    For toggling the spotlight press I.
    For moving it use the NumPad (NumPad4, NumPad6, NumPad8 and NumPad2). 
    For tracking peds or vehicles press NumPad3.
  • Controller:
    For toggling the spotlight press LB + X.
    For moving it use the left stick. You can change this to the right stick or the DPad in the General.ini file.
  • Mouse:
    For toggling the spotlight press I.
    For moving it hold down the left control key and move your mouse.

 

And to open the in-game editor press F11.

 

Check General.ini file to change which keys/buttons should be used, or if any controls should be disabled. 

 

 

Source code

What's New in Version 1.4

Released

  • Added support for game version b2545.
  • Added API for developers. Check out the example plugin.

User Feedback

Recommended Comments

Ky1eB513

Members

idk if im going to have to reinstall it but its not working, ill edit and update this when it finally does, but the spot light on one of my cars turns when i press i think 9 or something..idk like i said ill try again

its a simple install so idk why it wont

 

londonrials

Members

Crashes in launch. I reload it via the console, it crashes again. I'll just assume it's outdated.

pcGAMEZguy

Members

54 minutes ago, lujerex said:

Crashes in launch. I reload it via the console, it crashes again. I'll just assume it's outdated.

Double check your install, still works.

londonrials

Members

(edited)

9 hours ago, pcGAMEZguy said:

Double check your install, still works.

It's in the correct spot. In the plugins folder. Both the .dll file and the Spotlight Resources. I know how to follow installation instructions. It just doesn't work on my end. I load it, and it crashes within milliseconds. Things like increasing the plugin timeout threshold to 60,000 is already done as I have a few different plugins in my game that work perfectly fine, some even older than this file.

Edited by lujerex

londonrials

Members

1 hour ago, lujerex said:

It's in the correct spot. In the plugins folder. Both the .dll file and the Spotlight Resources. I know how to follow installation instructions. It just doesn't work on my end. I load it, and it crashes within milliseconds. Things like increasing the plugin timeout threshold to 60,000 is already done as I have a few different plugins in my game that work perfectly fine, some even older than this file.

There was a problem with extracting it with my 7zip, so I had to use the default Windows 10 extraction tool. It works now.

viperwolf

Members

(edited)

8 hours ago, lujerex said:

There was a problem with extracting it with my 7zip, so I had to use the default Windows 10 extraction tool. It works now.

Best thing to do is extract it to your desktop then drag it into your GTA5 Locations. Sometimes, the files get messed up when drag and drop direct from the zip. Winrar works really good for GTA files.

Edited by viperwolf

NascarPerry

Members

Does there exist a list of known vehicle models that work with SpotLight?

ericcelrosu

Members

All vanilla vehicles work with it,tough if you want to make it work properly with some custom ones you need to adjust the offsets accordingly

RidgedDolphin1

Members

Does this work for 5M?

ericcelrosu

Members

(edited)

16 hours ago, RidgedDolphin1 said:

Does this work for 5M?

It's not made for online but if you find someone talented enough maybe 😉

Edited by ericcelrosu

RevReese

Members

(edited)

Just discovered this mod but cannot get it to work with the LSPD Mega Pack.  I have tried I on the keyboard and LB+X on controller and it will not turn on.

I have started the spotlight.dll manually using the Rage console but still no joy.

I really want to get this working as i think it is an awesome addition for immersion.

Can anyone help me figure out what i am doing wrong?

Thanks for your time.

Edited by RevReese

ericcelrosu

Members

(edited)

19 hours ago, RevReese said:

Just discovered this mod but cannot get it to work with the LSPD Mega Pack.  I have tried I on the keyboard and LB+X on controller and it will not turn on.

I have started the spotlight.dll manually using the Rage console but still no joy.

I really want to get this working as i think it is an awesome addition for immersion.

Can anyone help me figure out what i am doing wrong?

Thanks for your time.

It might be turned on but not visible. This can be caused by the vehicle model which is either too high or too big for the coordinates set to the spotlight source by default,so there are no light coming out since the vehicle is a solid object and blocks the light(in some simple words the spotlight can be in the vehicle a bit). Try adjusting the offsets until the light becomes visible,and then position it properly for the model you use.

Edited by ericcelrosu

RevReese

Members

On 6/9/2020 at 3:45 PM, ericcelrosu said:

It might be turned on but not visible. This can be caused by the vehicle model which is either too high or too big for the coordinates set to the spotlight source by default,so there are no light coming out since the vehicle is a solid object and blocks the light(in some simple words the spotlight can be in the vehicle a bit). Try adjusting the offsets until the light becomes visible,and then position it properly for the model you use.

 

Hi, thanks for your helpful reply! I found the offset file but i think the process of tweaking randomly and reloading the game everytime will take forever! thanks anyway i will just remove this mod for now. Have a great weekend!

viperwolf

Members

9 hours ago, RevReese said:

 

Hi, thanks for your helpful reply! I found the offset file but i think the process of tweaking randomly and reloading the game everytime will take forever! thanks anyway i will just remove this mod for now. Have a great weekend!

You can tweak it inside the game with the vehicle, and you can save each edit per car slot.  the editor works in game.

RevReese

Members

Oh, i didn't know about the editor, i will look into it hopefully it is easy to pick up.

Strangely, the mod now works perfectly as of last night even though i changed nothing so i am not sure what happened but i am loving it! the light's origin is a little inside where it should be but it is definitely workable.

I will look up some videos about the editor though for fine tuning, thank you i didn't know you could do that!

(edited)

Thx

 

Nice Script 👍

 

Edited by HDGrandTheftauto

418Gaming

Members

Never had this issue before, but hopefully someone can shed some light... When I open the Editor (F11) my mouse cursor is stuck on the left side of the screen. Anyone else ever have this issue or can offer a solution?

Deactivated Member

Deactivated

This Mods I Amezing Thanks To Create This Mod Relly 

willrs

Members

Does anyone have experience setting up multiple models to be have moving spotlights with this script? I have 2 vehicles in a dlc pack successfully working with moving spotlights, but I can't get a 3rd to work. I think the issue exists in my handling.meta, but cannot figure out exactly what is the issue. When I copy the whole "vehicle weapon handling data" from a working handling entry to the new entry, the spotlight comes on from the middle of the dash and the physical spotlight attached to the car does not move; however if I change which handling entry the same model uses in vehicles.meta, it works exactly how it should with the spotlight in the correct position and moving.

 

Here is some of my handling.meta: 

Spoiler

<Item type="CHandlingData">
      <handlingName>PSTANIER</handlingName>
      <fMass value="1400.000000"/>
      <fInitialDragCoeff value="6.0299997"/>
      <fDownforceModifier value="1.500000"/>
      <fPercentSubmerged value="80.000000"/>
      <vecCentreOfMassOffset x="0.000000" y="0.200000" z="0.040000"/>
      <vecInertiaMultiplier x="1.000000" y="1.070000" z="1.280000"/>
      <fDriveBiasFront value="0.000000"/>
      <nInitialDriveGears value="5"/>
      <fInitialDriveForce value="0.23204"/>
      <fDriveInertia value="0.986"/>
      <fClutchChangeRateScaleUpShift value="1.200000"/>
      <fClutchChangeRateScaleDownShift value="1.300000"/>
      <fInitialDriveMaxFlatVel value="133.2"/>
      <fBrakeForce value="0.380000"/>
      <fBrakeBiasFront value="0.525100"/>
      <fHandBrakeForce value="0.901000"/>
      <fSteeringLock value="36.000000"/>
      <fTractionCurveMax value="1.500000"/>
      <fTractionCurveMin value="1.270000"/>
      <fTractionCurveLateral value="19.500000"/>
      <fTractionSpringDeltaMax value="0.150000"/>
      <fLowSpeedTractionLossMult value="0.322"/>
      <fCamberStiffnesss value="0.000000"/>
      <fTractionBiasFront value="0.48521"/>
      <fTractionLossMult value="1.040000"/>
      <fSuspensionForce value="2.0925"/>
      <fSuspensionCompDamp value="1.210000"/>
      <fSuspensionReboundDamp value="0.430000"/>
      <fSuspensionUpperLimit value="0.096000"/>
      <fSuspensionLowerLimit value="-0.139000"/>
      <fSuspensionRaise value="0.000000"/>
      <fSuspensionBiasFront value="0.515000"/>
      <fAntiRollBarForce value="0.000000"/>
      <fAntiRollBarBiasFront value="0.600000"/>
      <fRollCentreHeightFront value="0.454000"/>
      <fRollCentreHeightRear value="0.454000"/>
      <fCollisionDamageMult value="0.700000"/>
      <fWeaponDamageMult value="1.000000"/>
      <fDeformationDamageMult value="0.510000"/>
      <fEngineDamageMult value="1.500000"/>
      <fPetrolTankVolume value="65.000000"/>
      <fOilVolume value="5.000000"/>
      <fSeatOffsetDistX value="0.000000"/>
      <fSeatOffsetDistY value="0.000000"/>
      <fSeatOffsetDistZ value="0.000000"/>
      <nMonetaryValue value="35000"/>
      <strModelFlags>000010</strModelFlags>
      <strHandlingFlags>820100</strHandlingFlags>
      <strDamageFlags>0</strDamageFlags>
      <AIHandling>AVERAGE</AIHandling>
      <SubHandlingData>
        <Item type="CCarHandlingData">
          <fBackEndPopUpCarImpulseMult value="0.090000"/>
          <fBackEndPopUpBuildingImpulseMult value="0.030000"/>
          <fBackEndPopUpMaxDeltaSpeed value="0.600000"/>
        </Item>
        <Item type="CVehicleWeaponHandlingData">
          <uWeaponHash>
            <Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
            <Item />
            <Item />
          </uWeaponHash>
          <WeaponSeats content="int_array">
            0 
            0 
            0 
          </WeaponSeats>
          <fTurretSpeed content="float_array">
            1.000000	
            0.000000	
          </fTurretSpeed>
          <fTurretPitchMin content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchMin>
          <fTurretPitchMax content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchMax>
          <fTurretCamPitchMin content="float_array">
            0.000000	
            0.000000	
          </fTurretCamPitchMin>
          <fTurretCamPitchMax content="float_array">
            0.000000	
            0.000000	
          </fTurretCamPitchMax>
          <fBulletVelocityForGravity content="float_array">
            0.000000	
            0.000000	
          </fBulletVelocityForGravity>
          <fTurretPitchForwardMin content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchForwardMin>
          <fUvAnimationMult value="0.000000" />
          <fMiscGadgetVar value="0.000000" />
          <fWheelImpactOffset value="0.000000" />
        </Item>
        <Item type="NULL"/>
      </SubHandlingData>
    </Item>
	<Item type="CHandlingData">
      <handlingName>PTORRENCE</handlingName>
      <fMass value="1950.000000"/>
      <fInitialDragCoeff value="3.7"/>
      <fDownforceModifier value="1.330000"/>
      <fPercentSubmerged value="78.000000"/>
      <vecCentreOfMassOffset x="0.000000" y="-0.060000" z="-0.240000"/>
      <vecInertiaMultiplier x="1.160000" y="1.000000" z="1.580000"/>
      <fDriveBiasFront value="0.000000"/>
      <nInitialDriveGears value="5"/>
      <fInitialDriveForce value="0.211628"/>
      <fDriveInertia value="1"/>
      <fClutchChangeRateScaleUpShift value="1.700000"/>
      <fClutchChangeRateScaleDownShift value="1.800000"/>
      <fInitialDriveMaxFlatVel value="168"/>
      <fBrakeForce value="0.255000"/>
      <fBrakeBiasFront value="0.482450"/>
      <fHandBrakeForce value="0.800000"/>
      <fSteeringLock value="33.600000"/>
      <fTractionCurveMax value="1.390000"/>
      <fTractionCurveMin value="1.126000"/>
      <fTractionCurveLateral value="16.500000"/>
      <fTractionSpringDeltaMax value="0.129000"/>
      <fLowSpeedTractionLossMult value="0.308"/>
      <fCamberStiffnesss value="0.000000"/>
      <fTractionBiasFront value="0.48363239"/>
      <fTractionLossMult value="1.260000"/>
      <fSuspensionForce value="2.2785001"/>
      <fSuspensionCompDamp value="1.500000"/>
      <fSuspensionReboundDamp value="0.460000"/>
      <fSuspensionUpperLimit value="0.114000"/>
      <fSuspensionLowerLimit value="-0.138000"/>
      <fSuspensionRaise value="-0.009000"/>
      <fSuspensionBiasFront value="0.495000"/>
      <fAntiRollBarForce value="0.000000"/>
      <fAntiRollBarBiasFront value="0.540000"/>
      <fRollCentreHeightFront value="0.281000"/>
      <fRollCentreHeightRear value="0.279000"/>
      <fCollisionDamageMult value="0.700000"/>
      <fWeaponDamageMult value="0.700000"/>
      <fDeformationDamageMult value="0.700000"/>
      <fEngineDamageMult value="1.300000"/>
      <fPetrolTankVolume value="65.000000"/>
      <fOilVolume value="5.000000"/>
      <fSeatOffsetDistX value="0.000000"/>
      <fSeatOffsetDistY value="0.000000"/>
      <fSeatOffsetDistZ value="0.000000"/>
      <nMonetaryValue value="35000"/>
      <strModelFlags>440010</strModelFlags>
      <strHandlingFlags>820100</strHandlingFlags>
      <strDamageFlags>0</strDamageFlags>
      <AIHandling>AVERAGE</AIHandling>
      <SubHandlingData>
        <Item type="CCarHandlingData">
          <fBackEndPopUpCarImpulseMult value="0.050000"/>
          <fBackEndPopUpBuildingImpulseMult value="0.030000"/>
          <fBackEndPopUpMaxDeltaSpeed value="0.600000"/>
        </Item>
        <Item type="CVehicleWeaponHandlingData">
          <uWeaponHash>
            <Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
            <Item />
            <Item />
          </uWeaponHash>
          <WeaponSeats content="int_array">
            0 
            0 
            0 
          </WeaponSeats>
          <fTurretSpeed content="float_array">
            1.000000	
            0.000000	
          </fTurretSpeed>
          <fTurretPitchMin content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchMin>
          <fTurretPitchMax content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchMax>
          <fTurretCamPitchMin content="float_array">
            0.000000	
            0.000000	
          </fTurretCamPitchMin>
          <fTurretCamPitchMax content="float_array">
            0.000000	
            0.000000	
          </fTurretCamPitchMax>
          <fBulletVelocityForGravity content="float_array">
            0.000000	
            0.000000	
          </fBulletVelocityForGravity>
          <fTurretPitchForwardMin content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchForwardMin>
          <fUvAnimationMult value="0.000000" />
          <fMiscGadgetVar value="0.000000" />
          <fWheelImpactOffset value="0.000000" />
        </Item>
        <Item type="NULL"/>
      </SubHandlingData>
    </Item>
	<Item type="CHandlingData">
      <handlingName>PALAMO</handlingName>
      <fMass value="1850.000000"/>
      <fInitialDragCoeff value="4.6399999"/>
      <fPercentSubmerged value="85.000000"/>
      <vecCentreOfMassOffset x="0.000000" y="0.065000" z="-0.061000"/>
      <vecInertiaMultiplier x="1.000000" y="1.090000" z="1.210000"/>
      <fDriveBiasFront value="0.270000"/>
      <nInitialDriveGears value="6"/>
      <fInitialDriveForce value="0.20093599"/>
      <fDriveInertia value="0.95999998"/>
      <fClutchChangeRateScaleUpShift value="2.900000"/>
      <fClutchChangeRateScaleDownShift value="3.300000"/>
      <fInitialDriveMaxFlatVel value="132"/>
      <fBrakeForce value="0.245000"/>
      <fBrakeBiasFront value="0.602800"/>
      <fHandBrakeForce value="0.600000"/>
      <fSteeringLock value="37.000000"/>
      <fTractionCurveMax value="1.450000"/>
      <fTractionCurveMin value="1.240000"/>
      <fTractionCurveLateral value="16.500000"/>
      <fTractionSpringDeltaMax value="0.130000"/>
      <fLowSpeedTractionLossMult value="0.56"/>
      <fCamberStiffnesss value="0.000000"/>
      <fTractionBiasFront value="0.48412541"/>
      <fTractionLossMult value="0.870000"/>
      <fSuspensionForce value="1.86"/>
      <fSuspensionCompDamp value="1.650000"/>
      <fSuspensionReboundDamp value="0.400000"/>
      <fSuspensionUpperLimit value="0.140000"/>
      <fSuspensionLowerLimit value="-0.122000"/>
      <fSuspensionRaise value="0.000000"/>
      <fSuspensionBiasFront value="0.530000"/>
      <fAntiRollBarForce value="0.090000"/>
      <fAntiRollBarBiasFront value="0.530000"/>
      <fRollCentreHeightFront value="0.210000"/>
      <fRollCentreHeightRear value="0.200000"/>
      <fCollisionDamageMult value="0.200000"/>
      <fWeaponDamageMult value="1.000000"/>
      <fDeformationDamageMult value="0.600000"/>
      <fEngineDamageMult value="1.300000"/>
      <fPetrolTankVolume value="65.000000"/>
      <fOilVolume value="5.000000"/>
      <fSeatOffsetDistX value="0.100000"/>
      <fSeatOffsetDistY value="0.000000"/>
      <fSeatOffsetDistZ value="0.000000"/>
      <nMonetaryValue value="50000"/>
      <strModelFlags>440010</strModelFlags>
      <strHandlingFlags>820100</strHandlingFlags>
      <strDamageFlags>0</strDamageFlags>
      <AIHandling>AVERAGE</AIHandling>
      <SubHandlingData>
        <Item type="CCarHandlingData">
          <fBackEndPopUpCarImpulseMult value="0.100000"/>
          <fBackEndPopUpBuildingImpulseMult value="0.030000"/>
          <fBackEndPopUpMaxDeltaSpeed value="0.600000"/>
        </Item>
		<Item type="CVehicleWeaponHandlingData">
          <uWeaponHash>
            <Item>VEHICLE_WEAPON_SEARCHLIGHT</Item>
            <Item />
            <Item />
          </uWeaponHash>
          <WeaponSeats content="int_array">
            0 
            0 
            0 
          </WeaponSeats>
          <fTurretSpeed content="float_array">
            1.000000	
            0.000000	
          </fTurretSpeed>
          <fTurretPitchMin content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchMin>
          <fTurretPitchMax content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchMax>
          <fTurretCamPitchMin content="float_array">
            0.000000	
            0.000000	
          </fTurretCamPitchMin>
          <fTurretCamPitchMax content="float_array">
            0.000000	
            0.000000	
          </fTurretCamPitchMax>
          <fBulletVelocityForGravity content="float_array">
            0.000000	
            0.000000	
          </fBulletVelocityForGravity>
          <fTurretPitchForwardMin content="float_array">
            0.000000	
            0.000000	
          </fTurretPitchForwardMin>
          <fUvAnimationMult value="0.000000" />
          <fMiscGadgetVar value="0.000000" />
          <fWheelImpactOffset value="0.000000" />
        </Item>
        <Item type="NULL"/>
      </SubHandlingData>
    </Item>

 

The PALAMO entry is the one that makes the spotlight originate from inside the dash. The PSTANIER and PTORRENCE entries make the same model work perfectly fine. The vehicle weapon handling data in the PALAMO entry is copied from both the PSTANIER AND PTORRENCE entries.

Zir.

Members

My spotlight works just fine, but I can't get it to move. Can anyone help?

 

ericcelrosu

Members

On 8/17/2020 at 4:37 AM, Zir said:

My spotlight works just fine, but I can't get it to move. Can anyone help?

 

Well you can move it by pressing 2,4,6,8 on numpad or by holding Ctrl and moving the mouse

Zir.

Members

On 8/19/2020 at 2:43 AM, ericcelrosu said:

Well you can move it by pressing 2,4,6,8 on numpad or by holding Ctrl and moving the mouse

yeah i realised this by turning on numlk. 😆

AustinGaming

Members

I was trying to use this mod and it made my game have latency and crash everytime... do you know how to fix this issue alex?

ericcelrosu

Members

7 hours ago, AustinC2005 said:

I was trying to use this mod and it made my game have latency and crash everytime... do you know how to fix this issue alex?

Check carefully since when your game started to not work properly,it might be a script or plugin slowing it down. The spotlight plugin is well optimized I can assure you.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.