🔦Take-downs
Light up the area in front of your patrol vehicle at the press of a button or by using high-beams.
Introduction
LVCs first plugin, "takedowns" moves previously implemented take down features to this plugin. The take downs plugin allows clients to activate a bright light in front of their vehicle at the push of a button. The use is to imitate real life take-downs, which are used for illuminating traffic stops and increasing visibility in the dark when attempting to locate persons or things.
It works by using CFX native DrawSpotlight(...). It does not, modify any extras, but can integrate with your vehicles high-beam system to either trigger on high-beams or trigger high-beams on take-down activation.
Configuration
Ensure that
plugins_installedis set to true in/SETTINGS.lua.Open the SETTINGS.lua located in
/PLUGINS/takedowns. Adjust settings to your liking.Variable NameActionData Constraintstkd_masterswitchToggles if plugin is enabled. Disabling this removes it from plugin menu, stops it's functionality.
true / false
tkd_keyKey that activates take-downs, if tkd_combokey is depressed or disabled.
Static Control #
tkd_combokeyActivates tkd_key when depressed if not set to 0.
Static Control #
tkd_intensity_defaultSets default brightness of take-down light
0-150
tkd_radius_defaultSets default spread angle in reference to vehicle.
0-90
tkd_distance_defaultSets default max distance light is visible, brightness effected by fall-off at distance.
0-250
tkd_falloff_defaultSets default distance that the light begins to dim due to distance.
0-2000
tkd_sync_radiusDistance at which take-downs are synced to other users. ⚠️ This has extreme implications on performance, 400 or less is recommended.
0-10500
tkd_highbeam_integration_defaultSets default state for high-beam integration.
1-3
Finished, configure your personal settings in game under in-game 'Plugins->Takedowns' menu.
Last updated
Was this helpful?