Countermeasures (Flares) & Plane Bombs

Countermeasures (flares) & plane bombs

Simple resource that implements flares as countermeasures for some helicopters and the jetpack (thruster), as well as plane bombs (explosive, incendiary, gas, cluster bombs).

How to use:

  1. Get a compatible plane or helicopter.
  2. Give it the proper vehicle mods for countermeasures or bomb installations.
  3. Follow the prompts that appear on screen when you’re flying those vehicles.

Note:
When using the bomb option, as soon as you open the bomb bay doors the plane will fly for you. You won’t be able to fly the plane yourself until you close the bomb bay doors again.

Download

No support at all will be provided for this resource. It’s something I’ve had laying around for a while now and finally decided to release it since I don’t plan on finishing it or cleaning it up.

Enjoy.

12 Likes

Interesting idea, I like it. Adds more options for planes with bomb bays!

First post, and I want to say THANK YOU. Got flares working on Add-on vehicles atm! Super awesome.

Hey, how can I give a Plane the Right Vehicle mods?

2 Likes

Does anyone know how to use this?

How? Can you please explain

It says that no support is provided.

You can make Smugler’s Run and Cayo Perico planes work like this:

Edit cflares.lua file

after line 53 add this :

SetVehicleModKit(vehicle,0)
SetVehicleMod(vehicle,1,1,false)

after line 162 add this :

SetVehicleModKit(vehicle,0)
SetVehicleMod(vehicle,1,1,false)

for custom planes you will have to change the the meta files on each plane you add .

1 Like

hi is this script work for you ?

for me it doesn’t work

what the keybind to deploy the flares?

It works . I’ve just changed the cflares.lua file and all Smugler’s Run and Cayo Perico planes have the bombs and the flares working .

1 Like

I have the LEFT SHIFT to release flares but you can change it in cflares.lua at line 92 :
" if IsControlJustReleased(0, 21) then " .

Check the key codes here :
" Controls - Cfx.re Docs "

hi how can i make this script work with addon flight
can you make a tutorial ?
thanks

bro how you even install this, there no damn video how to install this

1 Like

When I had this installed on my server, it interfered with the ability to use modkits on cars (mainly the front bumper). I know there’s no support for this mod but I’m hoping someone else had this issue or knows a fix

Hello it seems that some changes were made, after line 162 it can not be changes as that’s the hash list for set vehicles.
So was this change part of the function CanShootFlares(vehicle) & function CanDropBombs(vehicle).
Thanks.

does anyone know how to let vehicles have flares?

Were you able to do that?

with this script you cant add flares or bombs for addon vehicles but with this you can add flares to your addon vehciles

Cool, are there bombs for add-on transport?