From The Depths

From The Depths

Hover gunship/airplane AI (OBSOLETE)
Showing 1-10 of 11 entries
< 1  2 >
Update: 6 Dec, 2017 @ 1:32pm

When the controlling mainframe is "off" parking will do a better job at reducing speed to 0.

Update: 6 Sep, 2017 @ 10:19am

Added missing pitch stabilization to attackrun mode if pitch isn't used for altitude control.

Update: 5 Sep, 2017 @ 2:15pm

New features:

  • Differential thrust for yaw/pitch control
  • Attack run mode for fighters/bombers
  • Option to use pitch for altitude control

Update: 9 Jun, 2017 @ 12:49pm

Fixed a problem that caused some jets to be used below maximum output in rare configurations.

Update: 13 Oct, 2016 @ 6:08pm

Fixed a problem in repairmode that stopped the script from working.

Update: 29 Sep, 2016 @ 2:40pm

Agility/adaptability upgrade

  • Can properly use dediblades/jets on spinblocks.
  • Components dynamically change roles depending on their orientation. For example, if your right side thrusters that managed roll get shot down and the vehicle rolls at a high angle yaw thrusters can step in to help keeping the craft in the air.
  • Added option to pitch/roll into movement.
  • In gunship mode vertical evasion is disabled if absolute pitch is >45°

Note that not all spinblocked jets work in manual mode, there's no way to solve that without manual configuration.

Update: 23 Sep, 2016 @ 1:02pm

Generic improvements

  • Frontal fight mode won't use slip evasion until the target is within 10° azimuth. That way evasion won't hog yaw power while the potentially vulnerable sides are exposed.
  • Added "matchAltitude" option with a default value set to false. On true gunship/orbiter mode will match the target's altitude in combat.
  • Added slip compensation to patrol mode, to remove overshoots from craft with low thrust-to-weight ratios.
  • In fleetmove mode the formation rotates with the flagship.

Update: 18 Aug, 2016 @ 6:57am

Generic fixes/improvements

  • If there is no hydrofoil on the craft for altitude control it'll use optimalAltitude as a default instead of (min + max) / 2
  • Can be restricted to only use left or right side in orbiter mode
  • Repair and orbiter mode will use the proper altitude(repair mode is relative to the repair target)
  • Repair mode will properly fall back to patrol/fleetmove when there is no valid repair target
  • Satellite mode added, will make the craft turn its bottom towards the target
  • A goto/continue pair could cause the Lua box to crash on Macs, replaced with a proper if structure

Update: 5 Jul, 2016 @ 12:59pm

  • PID integrals fixed, they were overwritten every frame so just acted as a second proportional part. Also used the full error without taking the integral multiplier into account.
  • Terrain avoidance now uses max terrain height + optimalAltitude instead of max terrain height + minimalAltitude

Update: 29 Jun, 2016 @ 3:17pm

Orbiter mode added

  • Circles optimalDistance away from the target, at optimalAltitude height.
  • If the target is within a 40° arc from being directly to either side it'll roll to align to it. This will help to perfectly aim 1-axis(or even fixed), 3° restricted particle cannons.
  • If maxPitchMagnitude is not 0 it'll swing around between -maxPitchMagnitude and maxPitchMagnitude, evading cannons and most missiles. Will only pitch to correct altitude while evading.
  • The range of evasion can be further modified by changing evasiveAltitudeChange.