mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
RAT v2.3.7
Added EPLRS datalink option.
This commit is contained in:
parent
dca772cac6
commit
85febea3d9
@ -151,6 +151,7 @@
|
|||||||
-- @field #boolean parkingscanscenery If true, area around parking spots is scanned for scenery objects. Default is false.
|
-- @field #boolean parkingscanscenery If true, area around parking spots is scanned for scenery objects. Default is false.
|
||||||
-- @field #boolean parkingverysafe If true, parking spots are considered as non-free until a possible aircraft has left and taken off. Default false.
|
-- @field #boolean parkingverysafe If true, parking spots are considered as non-free until a possible aircraft has left and taken off. Default false.
|
||||||
-- @field #boolean despawnair If true, aircraft are despawned when they reach their destination zone. Default.
|
-- @field #boolean despawnair If true, aircraft are despawned when they reach their destination zone. Default.
|
||||||
|
-- @field #boolean eplrs If true, turn on EPLSR datalink for the RAT group.
|
||||||
-- @extends Core.Spawn#SPAWN
|
-- @extends Core.Spawn#SPAWN
|
||||||
|
|
||||||
--- Implements an easy to use way to randomly fill your map with AI aircraft.
|
--- Implements an easy to use way to randomly fill your map with AI aircraft.
|
||||||
@ -430,6 +431,7 @@ RAT={
|
|||||||
parkingscanscenery=false, -- Scan parking spots for scenery obstacles.
|
parkingscanscenery=false, -- Scan parking spots for scenery obstacles.
|
||||||
parkingverysafe=false, -- Very safe option.
|
parkingverysafe=false, -- Very safe option.
|
||||||
despawnair=true,
|
despawnair=true,
|
||||||
|
eplrs=false,
|
||||||
}
|
}
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
@ -548,7 +550,7 @@ RAT.id="RAT | "
|
|||||||
--- RAT version.
|
--- RAT version.
|
||||||
-- @list version
|
-- @list version
|
||||||
RAT.version={
|
RAT.version={
|
||||||
version = "2.3.6",
|
version = "2.3.7",
|
||||||
print = true,
|
print = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1642,6 +1644,19 @@ function RAT:Invisible()
|
|||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Turn EPLSR datalink on/off.
|
||||||
|
-- @param #RAT self
|
||||||
|
-- @param #boolean switch If true (or nil), turn EPLRS on.
|
||||||
|
-- @return #RAT RAT self object.
|
||||||
|
function RAT:SetEPLSR(switch)
|
||||||
|
if switch==nil or switch==true then
|
||||||
|
self.eplrs=true
|
||||||
|
else
|
||||||
|
self.eplrs=false
|
||||||
|
end
|
||||||
|
return self
|
||||||
|
end
|
||||||
|
|
||||||
--- Aircraft are immortal.
|
--- Aircraft are immortal.
|
||||||
-- @param #RAT self
|
-- @param #RAT self
|
||||||
-- @return #RAT RAT self object.
|
-- @return #RAT RAT self object.
|
||||||
@ -2164,6 +2179,11 @@ function RAT:_SpawnWithRoute(_departure, _destination, _takeoff, _landing, _live
|
|||||||
self:_CommandImmortal(group, true)
|
self:_CommandImmortal(group, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Set group to be immortal.
|
||||||
|
if self.eplrs then
|
||||||
|
group:CommandEPLRS(true, 1)
|
||||||
|
end
|
||||||
|
|
||||||
-- Set ROE, default is "weapon hold".
|
-- Set ROE, default is "weapon hold".
|
||||||
self:_SetROE(group, self.roe)
|
self:_SetROE(group, self.roe)
|
||||||
|
|
||||||
|
|||||||
@ -72,6 +72,7 @@
|
|||||||
-- * [[MOOSE] Airboss - Groove Testing (WIP)](https://www.youtube.com/watch?v=94KHQxxX3UI)
|
-- * [[MOOSE] Airboss - Groove Testing (WIP)](https://www.youtube.com/watch?v=94KHQxxX3UI)
|
||||||
-- * [[MOOSE] Airboss - Groove Test A-4E Community Mod](https://www.youtube.com/watch?v=ZbjD7FHiaHo)
|
-- * [[MOOSE] Airboss - Groove Test A-4E Community Mod](https://www.youtube.com/watch?v=ZbjD7FHiaHo)
|
||||||
-- * [[MOOSE] Airboss - Groove Test: On-the-fly LSO Grading](https://www.youtube.com/watch?v=Xgs1hwDcPyM)
|
-- * [[MOOSE] Airboss - Groove Test: On-the-fly LSO Grading](https://www.youtube.com/watch?v=Xgs1hwDcPyM)
|
||||||
|
-- * [[MOOSE] Airboss - Carrier Auto Steam Into Wind](https://www.youtube.com/watch?v=IsU8dYgsp90)
|
||||||
--
|
--
|
||||||
-- ### Lex explaining Boat Ops:
|
-- ### Lex explaining Boat Ops:
|
||||||
--
|
--
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user