Jump to content

Detection distanced in the detection.lua file


Lookiss

Recommended Posts

Hi there

 

I'd like to experiment with detection distances in the detection.lua file.

 

How do I interpret this correctly?

 

["Ground vehicles"] = {2000.0, 5500.0}, --for ground and airborne detectors

["Infantry"] = {250.0, 800.0}, --for ground and airborne detectors

 

Are these minimum and maximum detection distances? What happens if I increase these?

 

What I'm after is forcing the AI not to detect his next target from too close, so that it takes enough distance first before attacking the next target.

Link to comment
Share on other sites

I don't know exactly what they represent but if I was to hazard a guess it would be;

 

["Unit class"] = {x distance from unit, y distance from unit}

 

x being ground distance

y being height

 

But again this is just a guess. I don't know for certain.

 

P.S. You might have more luck if this was posted in the modding section of the forums?

Intel i5-8600k | EVGA RTX 3070 | Windows 10 | 32GB RAM @3600 MHz | 500 GB Samsung 850 SSD

Link to comment
Share on other sites

Asus Maximus VIII Hero Alpha| i7-6700K @ 4.60GHz | nVidia GTX 1080ti Strix OC 11GB @ 2075MHz| 16GB G.Skill Trident Z RGB 3200Mhz DDR4 CL14 |

Samsung 950 PRO 512GB M.2 SSD | Corsair Force LE 480GB SSD | Windows 10 64-Bit | TM Warthog with FSSB R3 Lighting Base | VKB Gunfighter Pro + MCG | TM MFD's | Oculus Rift S | Jetseat FSE

 

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • Recently Browsing   0 members

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