mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-17 12:50:22 +00:00
#RAT - dimensions workaround for Saab 340
This commit is contained in:
@@ -2135,7 +2135,12 @@ function RAT:_InitAircraft(DCSgroup)
|
|||||||
self.aircraft.length=16
|
self.aircraft.length=16
|
||||||
self.aircraft.height=5
|
self.aircraft.height=5
|
||||||
self.aircraft.width=9
|
self.aircraft.width=9
|
||||||
|
elseif DCStype == "Saab340" then -- <- These lines added
|
||||||
|
self.aircraft.length=19.73 -- <- These lines added
|
||||||
|
self.aircraft.height=6.97 -- <- These lines added
|
||||||
|
self.aircraft.width=21.44 -- <- These lines added
|
||||||
end
|
end
|
||||||
|
|
||||||
self.aircraft.box=math.max(self.aircraft.length,self.aircraft.width)
|
self.aircraft.box=math.max(self.aircraft.length,self.aircraft.width)
|
||||||
|
|
||||||
-- info message
|
-- info message
|
||||||
|
|||||||
Reference in New Issue
Block a user