Jets When Wanted

Scramble jets (of your choice, including add-on jets) to attack the player when the player is wanted and in a helicopter/plane.


Installation

Copy CustomWantedAirTraffic.dll and CustomWantedAirTraffic.ini to your /scripts directory

Requirements

ScriptHookVDotNet 3 .NET Runtime 4.8


Usage

Jets are scrambled automatically.
The number of jets at each wanted level can be changed in .INI.
Models of jets scrambled can be changed in .INI

Settings

Models

A comma-separated list of the jet models to be spawned. Add-on jet model names are allowed. Models are selected randomly. Custom weapon are supported, provided you've formatted this setting correctly.

Optional: to make a jet use a custom weapon, format a model name like so: [model_name]:[weapon_name].
For example, if you'd like to use Voltrock & SkylineGTRFreak's F/A-18F Super Hornet as a intercepting jet, but would like the pilot to use his cannon: fa18f:VEHICLE_WEAPON_FA18F_GUN.
Separate your models list using commas like so: models=fa18f:VEHICLE_WEAPON_FA18F_GUN,lazer,hydra.

weapon_name is found in the jet's handling.meta file, under <Item type="CVehicleWeaponHandlingData">.

<SubHandlingData> <!-- ... --> <Item type="CVehicleWeaponHandlingData"> <uWeaponHash> <Item>VEHICLE_WEAPON_FA18F_GUN</Item> <!-- these are the weapon names --> <Item>VEHICLE_WEAPON_FA18F_ROCKET</Item> <Item /> </uWeaponHash> <!-- ... -->

Aircraft Only

If aircraftOnly setting is true, jets will only be scrambled if you are in a helicopter or plane.

Below Radar

If belowRadar setting is true, no jets will be scrambled if you are less than 100 meters above the ground. Any jets already spawned and chasing you will continue to chase you, even if you drop below 100 meters.
This setting applies even if aircraftOnly is false. If you want jets to be scrambled while you're on foot or in a car on the ground, you must set belowRadar=false.

Cheats (shortcuts)

In cheats, type:


Development

Source code on GitHub
Release on GTA5 Mods

Changelog

1.1:

1.0.2:

1.0.1:

1.0:

0.3:

0.2.5:

0.2.4:

0.2.3:

0.2.2 (unreleased):

0.2.1:

0.2: