Jump to content

Recommended Posts

Posted

Hi Guys,

 

I'm seeing inconsistent initial behavior when spawning aircraft. To construct the simplest case:

 

1] Add an FW190 AI aircraft group and tick the late activation box

2] Add a second waypoint, set the speed at both waypoints to 500 kph.

3] Execute the follow lua at mission start to spawn the aircraft (I'm using MOOSE)

 

local spawnGroup = SPAWN:New( "BluePlane" ):InitLimit( 50,50 )

local g = spawnGroup:Spawn()

 

In some executions, the speed of the AC immediately begins to drop. In others, it stays pinned at 500kph (~450IAS). I've set up a loop to repeatedly spawn AC and print velocity after a short duration. Even within the same mission, half the spawns are nominal, half show the drop. What gives?

 

Note: If the execution starts with a slow down, i find it impossible to recover. The AC will continue to slow down even if a new mission task is set (via RouteToVec3(), etc).

Posted

Well... Once the AI has a life and is spawned, it will follow the route outlined using the route parameters. But AI has its own brain... You have this fenomenon with every airplane and helicopters? And also in 1.5.6 (forget 1.5.7, because that is a mess)...

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Posted

Its a known AI issue that can occur even with units placed in the editor. Annoyingly it occurs randomly so a 100% fix hasn't been nailed down. Here is a thread on it

 

https://forums.eagle.ru/showthread.php?t=188695

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

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