inigmatus / GAP

Giving Aircraft a Purpose (GAP) - Air Flights, Tours, Coast Guard, STS
http://forum.kerbalspaceprogram.com/index.php?/topic/129208-contract-pack-giving-aircraft-a-purpose-gap-10-beta-air-flights-tours-coast-guard-sts-105jan-4-2016/
MIT License
8 stars 5 forks source link

GAP does not work with AtmosphereAutopilot installed - solution #202

Closed DrRaphello closed 5 years ago

DrRaphello commented 7 years ago

With AA installed, First Flight and Glider contracts will never fulfill their requirements and will never be given to a player. A fix is to make GAP reckognize the different module name with AA installed.

This piece of code makes GAP AA-aware and allows both mods to coexist:

REQUIREMENT:NEEDS[AtmosphereAutopilot]
{
name = PartModuleUnlocked
type = PartModuleUnlocked
partModule = SyncModuleControlSurface
}

It needs to be added to files: ContractPacks\GAP\Milestones (GAP Core)\Wright-FirstFlight.cfg ContractPacks\GAP\Milestones (GAP Core)\Wright-Glider.cfg right after this code:

REQUIREMENT
{
name = PartModuleUnlocked
type = PartModuleUnlocked

partModule = ModuleControlSurface
}
inigmatus commented 7 years ago

Thanks for the code suggestion. Makes adding this much easier. :)

inigmatus commented 5 years ago

Done. Added for next release.