[LVS] – Flares

If you liked this item, please rate it up on Steam Workshop page.

Author: DolUnity

Last revision: 12 Jan at 19:42 UTC

File size: 181.64 KB

On Steam Workshop

Description:
[LVS] – Flares

IMPORTANT

If you get any error, make sure you have downloaded all required content.

Information

LVS Flares acts as a base to support flares as countermeasures for missiles. It adds a missile lock sound to the first person and flares as a countermeasure. Flares can be deployed by selecting the flares weapon and firing them.

Default Supported Vehicles

This addon automatically adds flares to the following LVS vehicles if installed.

External Supported Vehicles

An incomplete list of other addons supporting flares.

Add flares to your own vehicles

To add flares to any LVS vehicle you like, you need to add the vehicle class. An example configuration is shown below, for more details/advanced options join our discord.
To determine the eject position this tool can help you.

hook.Add("LoadFlareConfiguration", "MySuperCoolVehilce", function () UF:RegisterFlareVehicleConfiguration("lvs_vehicle_class", { { pos = Vector(-95.54, -1.86, -3.59), — Position where to eject flares. dir = UF.CONST.BACKWARDS, — In which direction to eject flares, defaults available: UF.CONST.BACKWARDS, UF.CONST.RIGHT, UF.CONST.LEFT. dirMulti = 1000, — Optional velocity multiplier for ejecting flares. }, }, 1, — Which seat should control the flares. Default 0. 16, — The total times the flares can be used. Default 16. 10 — The amount of individual flares that should be deployed per burst. Default 5. ) end)

Credits

Lua Code – DolUnity
Getting shot down dozens of times during testing – Mig

[discord.gg]

Copyright 2023 DolUnity. This item is not authorized for posting on Steam, except under the Steam account DolUnity

Download
Required items:

Click the title to search on this site.


[LVS] - FrameworkSteam Workshop