Jump to content

GSh_23_2_tail_defense function in aircraft_guns.lua


Recommended Posts

Red aircraft (Tu-95MS, Tu-22M3,Tu-142, IL-76MD) being attacked from the rear by a blue client aircraft does not react by evading or firing backwards (GSh_23_2_tail_defense function in aircraft_guns.lua with aft_gun_mount parameter set to true).

 

Setting ROE to OPEN_FIRE, WEAPON_FREE or Reaction to threat to PASSIVE_DEFENCE, etc. either in the mission editor or changing the these options using script have no effect.

 

Above scenario work perfectly well in single player mode or on the host server itself. Also work when both red and blue aircraft are driven by the AI and the ROE parameters are set to WEAPON_FREE.

 

Tested the above scenario using three computers; server and two client computers.

 

Yours

Anubis


Edited by AnubisYinepu
Link to comment
Share on other sites

Bomber aircraft do not react to clients joining the server

 

With reference to above post, attached please find a mission to show the red bomber aircraft responses to setting ROE to WEAPON_HOLD when a blue aircraft is more than 600m away from the red bomber aircraft and setting ROE to OPEN_FIRE_WEAPON_FREE when a blue aircraft is within 600m from the red bomber aircraft.

 

This mission plays out on the Caucasus map DCS version 1.5.3.52724.

 

The IL-76MD aircraft lack of response are probably due to the lack of sensors in the IL-76MD.lua. Giving it the same sensors as the Tu-22M3 aircraft:

Sensors = {

RADAR = "PNA-D Leninets",

OPTIC = nil,

RWR = "Abstract RWR"

},

solves the problem but the aircraft still do not react to blue clients joining the server.

 

The same lack of sensors on the IL-78M tanker aircraft probably give rise to the fact that there is no REACTION_ON_THREAT in SP or MP.

 

Yours

Anubis

Testing bomber control.miz

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...