mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#AWACS - do not convert speed to IAS, as already done in AUFTRAG
This commit is contained in:
parent
5670764f3b
commit
3c2a4dcc70
@ -499,7 +499,7 @@ do
|
|||||||
-- @field #AWACS
|
-- @field #AWACS
|
||||||
AWACS = {
|
AWACS = {
|
||||||
ClassName = "AWACS", -- #string
|
ClassName = "AWACS", -- #string
|
||||||
version = "0.2.53", -- #string
|
version = "0.2.54", -- #string
|
||||||
lid = "", -- #string
|
lid = "", -- #string
|
||||||
coalition = coalition.side.BLUE, -- #number
|
coalition = coalition.side.BLUE, -- #number
|
||||||
coalitiontxt = "blue", -- #string
|
coalitiontxt = "blue", -- #string
|
||||||
@ -1062,7 +1062,8 @@ function AWACS:New(Name,AirWing,Coalition,AirbaseName,AwacsOrbit,OpsZone,Station
|
|||||||
|
|
||||||
local speed = 250
|
local speed = 250
|
||||||
self.SpeedBase = speed
|
self.SpeedBase = speed
|
||||||
self.Speed = UTILS.KnotsToAltKIAS(speed,self.AwacsAngels*1000)
|
--self.Speed = UTILS.KnotsToAltKIAS(speed,self.AwacsAngels*1000)
|
||||||
|
self.Speed = speed
|
||||||
|
|
||||||
self.Heading = 0 -- north
|
self.Heading = 0 -- north
|
||||||
self.Leg = 50 -- nm
|
self.Leg = 50 -- nm
|
||||||
@ -1843,7 +1844,8 @@ function AWACS:SetAwacsDetails(CallSign,CallSignNo,Angels,Speed,Heading,Leg)
|
|||||||
self.AwacsAngels = Angels or 25
|
self.AwacsAngels = Angels or 25
|
||||||
local speed = Speed or 250
|
local speed = Speed or 250
|
||||||
self.SpeedBase = speed
|
self.SpeedBase = speed
|
||||||
self.Speed = UTILS.KnotsToAltKIAS(speed,self.AwacsAngels*1000)
|
--self.Speed = UTILS.KnotsToAltKIAS(speed,self.AwacsAngels*1000)
|
||||||
|
self.Speed = speed
|
||||||
self.Heading = Heading or 0
|
self.Heading = Heading or 0
|
||||||
self.Leg = Leg or 25
|
self.Leg = Leg or 25
|
||||||
return self
|
return self
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user