Enable Weapons for Helicopter Pilot and Passenger 1.0
823
38
823
38
Mod description/features:
So you spawned an enemy pilot in a buzzard and you want it to fire its weapons at you, but all it does is just fly around you...NOT ANYMORE!
This script forces pilots to use their assigned helicopter weapons. Now, that pilot will fire its weapon at you! This script works for all available weaponized helicopters.
This script also works for special helicopters such as the Hunter where the passenger seat has an MG which without this script, the ped does not use the mounted MG.
Please note that this script uses a degree of vision so if a ped is not within 90 degrees of vision of the front nose of the helicopter, the ped will not fire which I've purposely set to add realism(sort of) because wouldn't it be weird if a pilot was shooting bullets from its butt.
So far, this script only utilizes the main weapon of that helicopter. For example, when you first enter the buzzard, your first main weapon is the machine guns, so the pilot will use that only. I'm currently experimenting on ways to enable the PED to cycle its weapons. You can change the main starting weapon of a helicopter by editing its
VehicleWeaponHandlingData in their handling.meta.
Example: I want the Hunter to use its barrage against me (very dangerous btw), but it uses the default homing rockets as its first main weapon. Simply change the starting weaponhash for it. For the Hunter, the MG is for the passenger so don't change the order for it. See below or screenshots.
Before:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_MISSILE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_BARRAGE
After:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_BARRAGE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_MISSILE
I've added in an ini that can let you play around with this degree of vision while also allowing you set whether or not, the pilot can target the player.
Requirements:
Script Hook V
Script Hook V Dot Net
How to install:
Place all contents within the ZIP into your Scripts folder.
Release notes:
Version 1.0 - First release
Enjoy!
Disclaimer:
This script was created using ChatGPT so I did not "make" this script, but helped guide it in the direction for this script to function.
So you spawned an enemy pilot in a buzzard and you want it to fire its weapons at you, but all it does is just fly around you...NOT ANYMORE!
This script forces pilots to use their assigned helicopter weapons. Now, that pilot will fire its weapon at you! This script works for all available weaponized helicopters.
This script also works for special helicopters such as the Hunter where the passenger seat has an MG which without this script, the ped does not use the mounted MG.
Please note that this script uses a degree of vision so if a ped is not within 90 degrees of vision of the front nose of the helicopter, the ped will not fire which I've purposely set to add realism(sort of) because wouldn't it be weird if a pilot was shooting bullets from its butt.
So far, this script only utilizes the main weapon of that helicopter. For example, when you first enter the buzzard, your first main weapon is the machine guns, so the pilot will use that only. I'm currently experimenting on ways to enable the PED to cycle its weapons. You can change the main starting weapon of a helicopter by editing its
VehicleWeaponHandlingData in their handling.meta.
Example: I want the Hunter to use its barrage against me (very dangerous btw), but it uses the default homing rockets as its first main weapon. Simply change the starting weaponhash for it. For the Hunter, the MG is for the passenger so don't change the order for it. See below or screenshots.
Before:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_MISSILE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_BARRAGE
After:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_BARRAGE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_MISSILE
I've added in an ini that can let you play around with this degree of vision while also allowing you set whether or not, the pilot can target the player.
Requirements:
Script Hook V
Script Hook V Dot Net
How to install:
Place all contents within the ZIP into your Scripts folder.
Release notes:
Version 1.0 - First release
Enjoy!
Disclaimer:
This script was created using ChatGPT so I did not "make" this script, but helped guide it in the direction for this script to function.
Πρωτοανέβηκε: 18 Δεκέμβριος 2023
Πιο πρόσφατη ενημέρωση: 18 Δεκέμβριος 2023
Last Downloaded: πριν 1 μέρα
23 σχόλια
More mods by MegaDeveloper:
Mod description/features:
So you spawned an enemy pilot in a buzzard and you want it to fire its weapons at you, but all it does is just fly around you...NOT ANYMORE!
This script forces pilots to use their assigned helicopter weapons. Now, that pilot will fire its weapon at you! This script works for all available weaponized helicopters.
This script also works for special helicopters such as the Hunter where the passenger seat has an MG which without this script, the ped does not use the mounted MG.
Please note that this script uses a degree of vision so if a ped is not within 90 degrees of vision of the front nose of the helicopter, the ped will not fire which I've purposely set to add realism(sort of) because wouldn't it be weird if a pilot was shooting bullets from its butt.
So far, this script only utilizes the main weapon of that helicopter. For example, when you first enter the buzzard, your first main weapon is the machine guns, so the pilot will use that only. I'm currently experimenting on ways to enable the PED to cycle its weapons. You can change the main starting weapon of a helicopter by editing its
VehicleWeaponHandlingData in their handling.meta.
Example: I want the Hunter to use its barrage against me (very dangerous btw), but it uses the default homing rockets as its first main weapon. Simply change the starting weaponhash for it. For the Hunter, the MG is for the passenger so don't change the order for it. See below or screenshots.
Before:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_MISSILE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_BARRAGE
After:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_BARRAGE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_MISSILE
I've added in an ini that can let you play around with this degree of vision while also allowing you set whether or not, the pilot can target the player.
Requirements:
Script Hook V
Script Hook V Dot Net
How to install:
Place all contents within the ZIP into your Scripts folder.
Release notes:
Version 1.0 - First release
Enjoy!
Disclaimer:
This script was created using ChatGPT so I did not "make" this script, but helped guide it in the direction for this script to function.
So you spawned an enemy pilot in a buzzard and you want it to fire its weapons at you, but all it does is just fly around you...NOT ANYMORE!
This script forces pilots to use their assigned helicopter weapons. Now, that pilot will fire its weapon at you! This script works for all available weaponized helicopters.
This script also works for special helicopters such as the Hunter where the passenger seat has an MG which without this script, the ped does not use the mounted MG.
Please note that this script uses a degree of vision so if a ped is not within 90 degrees of vision of the front nose of the helicopter, the ped will not fire which I've purposely set to add realism(sort of) because wouldn't it be weird if a pilot was shooting bullets from its butt.
So far, this script only utilizes the main weapon of that helicopter. For example, when you first enter the buzzard, your first main weapon is the machine guns, so the pilot will use that only. I'm currently experimenting on ways to enable the PED to cycle its weapons. You can change the main starting weapon of a helicopter by editing its
VehicleWeaponHandlingData in their handling.meta.
Example: I want the Hunter to use its barrage against me (very dangerous btw), but it uses the default homing rockets as its first main weapon. Simply change the starting weaponhash for it. For the Hunter, the MG is for the passenger so don't change the order for it. See below or screenshots.
Before:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_MISSILE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_BARRAGE
After:
VEHICLE_WEAPON_HUNTER_MG
VEHICLE_WEAPON_HUNTER_BARRAGE
VEHICLE_WEAPON_HUNTER_CANNON
VEHICLE_WEAPON_HUNTER_MISSILE
I've added in an ini that can let you play around with this degree of vision while also allowing you set whether or not, the pilot can target the player.
Requirements:
Script Hook V
Script Hook V Dot Net
How to install:
Place all contents within the ZIP into your Scripts folder.
Release notes:
Version 1.0 - First release
Enjoy!
Disclaimer:
This script was created using ChatGPT so I did not "make" this script, but helped guide it in the direction for this script to function.
Πρωτοανέβηκε: 18 Δεκέμβριος 2023
Πιο πρόσφατη ενημέρωση: 18 Δεκέμβριος 2023
Last Downloaded: πριν 1 μέρα
doesn't work for me
@L1somniak You need a PED to actually be in combat with another PED or the player yourself for AI to kick in. You can test this via Menyoo by spawning a PED and a helicopter like the buzzard, and have it enter the helicopter. Then make it an enemy and shoot at it. It should eventually fire at you or any other PED that it is an enemy with.
@MegaDeveloper I tried every way possible, task sequence or not, no way to make them react
@L1somniak Hm, do you happen to have Script hook V Dot net installed? You should have ScriptHookVDotNet3.dll in your main directory. And how are they reacting to you out of curiosity? I know for a fact that Menyoo peds(generally all peds) tend to fly away in "fear" if they are not given a weapon (any weapon like the pistol).
it works, great job
@MegaDeveloper i installed it but there are no difference, they just sanding still
@L1somniak If you are using Menyoo to test this, make sure to set the relationship factor to "Enemy", and the option, "Is Still" unchecked because this what makes them stand still in your case. All peds in GTA 5 react if they are threatened or provoked, even without this script.
At least this mod adds more danger when facing combat helis.
@MegaDeveloper Unrelated question - why did you delete all the CoD SAS Models and some other CoD Models? :c
@WalterWhiteGamer I don't exactly remember, but I think I was planning to release them in higher quality. My old drive that had all the models though were wiped so I'm not sure if I want to remake them again. I also can't find them in my unpublished mods section so I assume they were also removed.
@MegaDeveloper maybe I did something wrong when editing the XML files, but to be honest, I copied and paste what you wrote and that very annoying me this isn’t working for me
@L1somniak For the xml part, that’s completely optional and I’m not sure what would happen if you replace helicopter weapons with others not intended for them. Also, if you copied what I wrote in the description, ensure that they have the proper tags like the ones in the screenshot. What I would advise doing is perhaps replacing the police helicopter in the dispatch.meta with for example the buzzard, and see if the cops or swat use the buzzard weapon against you. And make sure that the buzzard in its handling.meta is not using other weapons not intended for it like the barrage.
Very good! Enable Weapons for Planes too?
can this work for weaponized ground vehicles?
Hello, i was wondering if this mod will get peds sitting on the side of the helicopter to shoot me with their assault rifles. Can't get it to work with task sequences.
The mod is working as intended, however when i try to change degree of vision nothing happens. Can yo explain how to fix it?
Do you intend to update?
@MegaDeveloper I have the SAS Models, so if you would allow me to do so, I could reupload them with a few changes.
@MegaDeveloper Is it okay to combine this with this? https://www.gta5-mods.com/misc/snipers-no-sniping-stop-police-helicopters-from-shooting-at-you
can you fix buzzard attack chopper? the buzzard always attack me even "CanTargetPlayer=False"