AH-9 Pawnee AA Beep Warning

AH-9 Pawnee AA Beep Warning

« posted: Jan 11, 2019, 03:46 PM »
First I'm sorry for my English.
I would like to know how I put audible warning on the AH-9 when an AA missile is chasing the helicopter, because I have a server, but I do not know where to put it and which script to use, if someone can help me, I'm very grateful, the right place, I'm sorry for anything
  • Offline Animatek
  • SNET Admin
  • First Blood
  • ***
  • Posts: 61
  • Editor de Profesión - ArmA III Admin from Cuba

Re: AH-9 Pawnee AA Beep Warning

« Reply #1 posted: Jan 13, 2019, 02:23 AM »
What you ask is something complicated to include in any configuration, be it the server or the mission. I recommend that you install an addon that has similar helicopters that do have missile approach detectors.

The fact that this helicopter does not have that type of alert is part of the mechanics of the game, where you must strategically economize the available resources according to the capabilities of the available technology. I mean, do not take that helicopter to hostile territory where there may be AA defenses.
Soy administrador de ArmA III en una intranet en Cuba. No tengo experiencia en códigos ni programación, pero con ayuda he logrado un servicio eficiente y duradero, todo offline y sin internet.
  • Offline Animatek
  • SNET Admin
  • First Blood
  • ***
  • Posts: 61
  • Editor de Profesión - ArmA III Admin from Cuba

Re: AH-9 Pawnee AA Beep Warning

« Reply #2 posted: Jan 13, 2019, 03:13 AM »
Or maybe you'll find a way to add a radar to that helicopter. If that can be done, I'm sure it will be in the vehicleSetup.sqf file

Something like:

Code: [Select]
case ({_class isKindOf _x} count ["B_Heli_Light_01_F", "B_Heli_Light_01_armed_F"] > 0):

{ // Add something as close to a radar here, I don't know.
_vehicle addWeaponRadar? ["This_is_just_an_example", [-1]];
};
Soy administrador de ArmA III en una intranet en Cuba. No tengo experiencia en códigos ni programación, pero con ayuda he logrado un servicio eficiente y duradero, todo offline y sin internet.

Re: AH-9 Pawnee AA Beep Warning

« Reply #3 posted: Feb 12, 2019, 08:04 AM »
  It's the information I'm looking for as well.

Re: AH-9 Pawnee AA Beep Warning

« Reply #4 posted: Feb 13, 2019, 09:09 AM »
Unfortunately whether a vehicle has radar or not is handled at the addon config level, and isn't exposed or editable via script.

If you want to have a required mod on your server, you could create a heli that inherits from the AH-9 except give it radar, then replace all instances of the vanilla class name with your new one.
  • Offline Animatek
  • SNET Admin
  • First Blood
  • ***
  • Posts: 61
  • Editor de Profesión - ArmA III Admin from Cuba

Re: AH-9 Pawnee AA Beep Warning

« Reply #5 posted: Feb 13, 2019, 08:17 PM »
@BIB_Monkey
But, you know, there are ways to add countermeasures to the Pawnee in the vehicleSetup.sqf file, as well as the amount of them.
It may be that if the correct "add" is added to that scrip, the vanilla version of the radar is added to that vehicle. do not?
Soy administrador de ArmA III en una intranet en Cuba. No tengo experiencia en códigos ni programación, pero con ayuda he logrado un servicio eficiente y duradero, todo offline y sin internet.

Re: AH-9 Pawnee AA Beep Warning

« Reply #6 posted: Feb 13, 2019, 09:45 PM »
Countermeasures are a weapon that can be added to the default turret (-1), radar is not.
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2523

Re: AH-9 Pawnee AA Beep Warning

« Reply #7 posted: Feb 14, 2019, 03:51 AM »

Re: AH-9 Pawnee AA Beep Warning

« Reply #8 posted: Feb 14, 2019, 05:12 AM »
Or you could completely bypass the radar system and use an eventhandler ;D

I love it!