mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update Airboss.lua
This commit is contained in:
parent
24b47b02e0
commit
42e7e3f94f
@ -2874,7 +2874,12 @@ end
|
|||||||
function AIRBOSS:SetGlideslopeErrorThresholds(_max,_min, High, HIGH, Low, LOW)
|
function AIRBOSS:SetGlideslopeErrorThresholds(_max,_min, High, HIGH, Low, LOW)
|
||||||
|
|
||||||
--Check if V/STOL Carrier
|
--Check if V/STOL Carrier
|
||||||
if self.carriertype == AIRBOSS.CarrierType.INVINCIBLE or self.carriertype == AIRBOSS.CarrierType.HERMES or self.carriertype == AIRBOSS.CarrierType.TARAWA or self.carriertype == AIRBOSS.CarrierType.AMERICA or self.carriertype == AIRBOSS.CarrierType.JCARLOS or self.carriertype == AIRBOSS.CarrierType.CANBERRA then
|
if self.carriertype == AIRBOSS.CarrierType.INVINCIBLE or
|
||||||
|
self.carriertype == AIRBOSS.CarrierType.HERMES or
|
||||||
|
self.carriertype == AIRBOSS.CarrierType.TARAWA or
|
||||||
|
self.carriertype == AIRBOSS.CarrierType.AMERICA or
|
||||||
|
self.carriertype == AIRBOSS.CarrierType.JCARLOS or
|
||||||
|
self.carriertype == AIRBOSS.CarrierType.CANBERRA then
|
||||||
|
|
||||||
-- allow a larger GSE for V/STOL operations --Pene Testing
|
-- allow a larger GSE for V/STOL operations --Pene Testing
|
||||||
self.gle._max=_max or 0.7
|
self.gle._max=_max or 0.7
|
||||||
@ -2883,8 +2888,8 @@ function AIRBOSS:SetGlideslopeErrorThresholds(_max,_min, High, HIGH, Low, LOW)
|
|||||||
self.gle._min=_min or -0.5
|
self.gle._min=_min or -0.5
|
||||||
self.gle.Low=Low or -1.2
|
self.gle.Low=Low or -1.2
|
||||||
self.gle.LOW=LOW or -1.5
|
self.gle.LOW=LOW or -1.5
|
||||||
-- CVN values
|
|
||||||
else
|
else
|
||||||
|
-- CVN values
|
||||||
self.gle._max=_max or 0.4
|
self.gle._max=_max or 0.4
|
||||||
self.gle.High=High or 0.8
|
self.gle.High=High or 0.8
|
||||||
self.gle.HIGH=HIGH or 1.5
|
self.gle.HIGH=HIGH or 1.5
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user