Aircraft + AAI Unnerfed


aai programmable vehicles, whether intentional or not, nerfs the weapon loadouts of the planes from the Aircraft mod. When both Aircraft and AAI Programmable Vehicles is active, the flying fortress loses its machine gun, the jet loses its rocket laucher and the cargo plane loses its machine gun. This mod patches it so that the player controlled versions of these vehicles have all their original weapons restored.

Tweaks
1 year, 3 months ago
1.1
1.44K
Combat

g Just FYI Yes it is intentioned

1 year, 3 months ago
(updated 4 months ago)

From the AAI data
prototypes\ai-vehicles.lua
Starting at line:22

-- aircraft mod
if data.raw.car["cargo-plane"] then
  -- hauler types should not have guns
  data.raw.car["cargo-plane"].guns = nil
end

-- more than 2 variants is excessive
if data.raw.car["gunship"] then
  data.raw.car["gunship"].guns = { "aircraft-machine-gun", "aircraft-rocket-launcher"}
end
if data.raw.car["jet"] then
  data.raw.car["jet"].guns = { "aircraft-machine-gun", "napalm-launcher"}
end
if data.raw.car["flying-fortress"] then
  data.raw.car["flying-fortress"].guns = { "aircraft-cannon", "flying-fortress-rocket-launcher"}
end

New response