Jump to content

Ai see through fog


Migow

Recommended Posts

hi

i made a test mission with fog (fog visibility set to 800 m , width 800 m)

- one ka50 (me)

- zu23 mount on truck( ai on high)

a target point on zu23

 

the target shooted at me from 2.5km (as if there is'nt any fog).

it should only shoot at 800m

 

i use a modified \DCS World\Mods\aircrafts\Ka-50\FM\FMOptions.lua

my modifed version

HelicopterTrimmerTauInverse = 0.0

(the trim no longer recenter cyclic and rudder in game but still tell autopilot where i move the stick and rudder)

 

track fogaibug.trk

debrief fogaibug.txt

 

my comment :

there is a line in DCS World\Scripts\AI\detection.lua

visual_detection = {
   terrain_LOS_test = true,
   Earth_curvature_LOS_test = true,
   objects_LOS_test = false,
   trees_LOS_test = false,
   
   sun_illumination_factor = true,
   other_light_sources_illumination_factor = true, --no effect if sun_illumination factor disabled
   darkness_threshold = 0.085, --no effect if sun_illumination factor disabled
recognition_distance_ratio_threshold = 0.25, --target will be recognized if ratio between the distance and the maximal detection distance is less than this value
   overcast_test = true,
   [b]fog_test = true[/b],

fog_test has never been implemented i guess ? :helpsmilie:


Edited by Fifou265

VEAF 735th - www.veaf.org - Formateur Ka50

Escadrille Francophone évoluant sur DCS.

En savoir plus : http://www.veaf.org/fr/735-escadrille-virtuelle-dcs-fancaise

Nous rejoindre : http://www.veaf.org/fr/nous-rejoindre

Link to comment
Share on other sites

  • Recently Browsing   0 members

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