Jump to content

Recommended Posts

Posted

Usually I simply give a perform task, attack group for ai CAS, But sometime work and sometime doesn’t. After many tested I found out during the night time, Ai just want to go back home and sleep. Any tips for fix? Thanks

Posted

Does it work during the day? If so, you can give this a try.

 

Scripts\AI\Detection.lua

 

Line 24

sky_bodies_illumination_factor = true,

Try setting it to false.

 

Line 26

darkness_threshold = 0.05, --no effect if sun_illumination factor disabled

Try 0 or higher number like 1.

 

But I'm pretty sure this will apply to AI enemy units as well.

Posted

An important thing: you don't want to put an attack action too far from its waypoint, otherwise there are chances the AI aircraft will ignore this action.

---

Posted
Is it "sky_bodies_illumination_factor" mean "sun_illumination factor", are they same thing?

 

Everything's changing all the time so this is just my guess but I think they changed sun_illumination to sky_bodies_illumination to implement Moonlight.

 

Just save the lua file and restart. This is if the issue is because your wingman can't see at night. If the issue is elsewhere, this wont do anything so... if the problem persists, change it back.

Posted
Everything's changing all the time so this is just my guess but I think they changed sun_illumination to sky_bodies_illumination to implement Moonlight.

 

Just save the lua file and restart. This is if the issue is because your wingman can't see at night. If the issue is elsewhere, this wont do anything so... if the problem persists, change it back.

 

Yes, I tried and your tips can save me. thanks, but other question if I make a night mission for my friend, so he cant play unless he change the lua file as well? is there any option like trigger, mission start, run script file... something like that?

Posted
Yes, I tried and your tips can save me. thanks, but other question if I make a night mission for my friend, so he cant play unless he change the lua file as well? is there any option like trigger, mission start, run script file... something like that?

 

Unfortunately, no. This is just a hack and just hope ED fixes it properly.

Posted

@MivwTaupos: Could you please share a track file so we can try to reproduce the issue and look for a solution? If you can't reproduce the issue 100% of the time, you can just share your mission file.

---

  • Recently Browsing   0 members

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