mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
Auto commit by GitHub Actions Workflow
This commit is contained in:
@@ -1760,7 +1760,7 @@
|
||||
|
||||
<ul>
|
||||
<li>Object oriented refactoring of Ciribob's fantastic CSAR script.</li>
|
||||
<li>No need for extra MIST loading. </li>
|
||||
<li>No need for extra MIST loading.</li>
|
||||
<li>Additional events to tailor your mission.</li>
|
||||
<li>Optional SpawnCASEVAC to create casualties without beacon (e.g. handling dead ground vehicles and create CASVAC requests).</li>
|
||||
</ul>
|
||||
@@ -1797,7 +1797,7 @@ Create a late-activated single infantry unit as template in the mission editor a
|
||||
mycsar.coordtype = 1 -- Use Lat/Long DDM (0), Lat/Long DMS (1), MGRS (2), Bullseye imperial (3) or Bullseye metric (4) for coordinates.
|
||||
mycsar.csarOncrash = false -- (WIP) If set to true, will generate a downed pilot when a plane crashes as well.
|
||||
mycsar.enableForAI = false -- set to false to disable AI pilots from being rescued.
|
||||
mycsar.pilotRuntoExtractPoint = true -- Downed pilot will run to the rescue helicopter up to mycsar.extractDistance in meters.
|
||||
mycsar.pilotRuntoExtractPoint = true -- Downed pilot will run to the rescue helicopter up to mycsar.extractDistance in meters.
|
||||
mycsar.extractDistance = 500 -- Distance the downed pilot will start to run to the rescue helicopter.
|
||||
mycsar.immortalcrew = true -- Set to true to make wounded crew immortal.
|
||||
mycsar.invisiblecrew = false -- Set to true to make wounded crew insvisible.
|
||||
@@ -1805,14 +1805,14 @@ Create a late-activated single infantry unit as template in the mission editor a
|
||||
mycsar.mashprefix = {"MASH"} -- prefixes of #GROUP objects used as MASHes. Will also try to add ZONE and STATIC objects with this prefix once at startup.
|
||||
mycsar.max_units = 6 -- max number of pilots that can be carried if #CSAR.AircraftType is undefined.
|
||||
mycsar.messageTime = 15 -- Time to show messages for in seconds. Doubled for long messages.
|
||||
mycsar.radioSound = "beacon.ogg" -- the name of the sound file to use for the pilots\' radio beacons.
|
||||
mycsar.radioSound = "beacon.ogg" -- the name of the sound file to use for the pilots\' radio beacons.
|
||||
mycsar.smokecolor = 4 -- Color of smokemarker, 0 is green, 1 is red, 2 is white, 3 is orange and 4 is blue.
|
||||
mycsar.useprefix = true -- Requires CSAR helicopter #GROUP names to have the prefix(es) defined below.
|
||||
mycsar.csarPrefix = { "helicargo", "MEDEVAC"} -- #GROUP name prefixes used for useprefix=true - DO NOT use # in helicopter names in the Mission Editor!
|
||||
mycsar.csarPrefix = { "helicargo", "MEDEVAC"} -- #GROUP name prefixes used for useprefix=true - DO NOT use # in helicopter names in the Mission Editor!
|
||||
mycsar.verbose = 0 -- set to > 1 for stats output for debugging.
|
||||
-- limit amount of downed pilots spawned by **ejection** events
|
||||
mycsar.limitmaxdownedpilots = true
|
||||
mycsar.maxdownedpilots = 10
|
||||
mycsar.maxdownedpilots = 10
|
||||
-- allow to set far/near distance for approach and optionally pilot must open doors
|
||||
mycsar.approachdist_far = 5000 -- switch do 10 sec interval approach mode, meters
|
||||
mycsar.approachdist_near = 3000 -- switch to 5 sec interval approach mode, meters
|
||||
@@ -1916,7 +1916,7 @@ Create a late-activated single infantry unit as template in the mission editor a
|
||||
|
||||
function my_csar:OnAfterRescued(from, event, to, heliunit, heliname, pilotssaved)
|
||||
... your code here ...
|
||||
end
|
||||
end
|
||||
</code></pre>
|
||||
|
||||
<h2>5. Spawn downed pilots at location to be picked up.</h2>
|
||||
@@ -1927,7 +1927,7 @@ Create a late-activated single infantry unit as template in the mission editor a
|
||||
my_csar:SpawnCSARAtZone( "CSAR_Start_1", coalition.side.BLUE, "Pilot Wagner", true )
|
||||
|
||||
--Create a casualty and CASEVAC request from a "Point" (VEC2) for the blue coalition --shagrat
|
||||
my_csar:SpawnCASEVAC(Point, coalition.side.BLUE)
|
||||
my_csar:SpawnCASEVAC(Point, coalition.side.BLUE)
|
||||
</code></pre>
|
||||
|
||||
<h2>6. Save and load downed pilots - Persistance</h2>
|
||||
@@ -1950,7 +1950,7 @@ There is a risk involved in doing that; if you do not know what that means, this
|
||||
</code></pre>
|
||||
|
||||
<p> <strong>Caveat:</strong>
|
||||
Dropped troop noMessage and forcedesc parameters aren't saved. </p>
|
||||
Dropped troop noMessage and forcedesc parameters aren't saved.</p>
|
||||
|
||||
|
||||
</div>
|
||||
@@ -2717,6 +2717,12 @@ Dropped troop noMessage and forcedesc parameters aren't saved. </p>
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CSAR).inTransitGroups">CSAR.inTransitGroups</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CSAR).index">CSAR.index</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -2866,7 +2872,7 @@ Dropped troop noMessage and forcedesc parameters aren't saved. </p>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CSAR).onbeforeReturning">CSAR:onbeforeReturning(From, Event, To, Heliname, Woundedgroupname, IsAirport, IsAirPort)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>(Internal) Function called before Returning() event. </p>
|
||||
<p>(Internal) Function called before Returning() event.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -4231,7 +4237,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CSAR).FreeVHFFrequencies" ><strong>CSAR.FreeVHFFrequencies</strong></a>
|
||||
|
||||
|
||||
@@ -4588,7 +4594,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<a href="Core.Point.html##(COORDINATE)">Core.Point#COORDINATE</a>
|
||||
|
||||
<a id="#(CSAR).coordinate" ><strong>CSAR.coordinate</strong></a>
|
||||
|
||||
|
||||
@@ -4702,25 +4708,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CSAR).downedPilots" ><strong>CSAR.downedPilots</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Replacement woundedGroups</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).downedpilotcounter" ><strong>CSAR.downedpilotcounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -4844,6 +4836,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
<p> contain a table for each SAR with all units he has with the original names</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
|
||||
<a id="#(CSAR).index" ><strong>CSAR.index</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -4856,7 +4859,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
<p> Set to true to make wounded crew insvisible </p>
|
||||
<p> Set to true to make wounded crew insvisible</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -4992,7 +4995,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
<p> Time to show longer messages for in seconds </p>
|
||||
<p> Time to show longer messages for in seconds</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -5017,7 +5020,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
<p> Downed Pilot will run to the rescue helicopter up to self.extractDistance METERS </p>
|
||||
<p> Downed Pilot will run to the rescue helicopter up to self.extractDistance METERS</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -5049,20 +5052,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).rescuedpilots" ><strong>CSAR.rescuedpilots</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> counter for saved pilots</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -5088,20 +5077,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).rescues" ><strong>CSAR.rescues</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> counter for successful rescue landings at FARP/AFB/MASH</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -5198,7 +5173,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
<p> Use the Prefixed defined below, Requires Unit have the Prefix defined below </p>
|
||||
<p> Use the Prefixed defined below, Requires Unit have the Prefix defined below</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6345,7 +6320,7 @@ callsigns from playername or group name.</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>self </p>
|
||||
<p>self</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -6463,7 +6438,7 @@ callsigns from playername or group name.</p>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code>If missions designers want to spawn downed pilots into the field, e.g. at mission begin, to give the helicopter guys work, they can do this like so:
|
||||
|
||||
|
||||
-- Create casualty "CASEVAC" at coordinate Core.Point#COORDINATE for the blue coalition.
|
||||
my_csar:SpawnCASEVAC( coordinate, coalition.side.BLUE )</code></pre>
|
||||
|
||||
@@ -6596,7 +6571,7 @@ callsigns from playername or group name.</p>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code>If missions designers want to spawn downed pilots into the field, e.g. at mission begin, to give the helicopter guys work, they can do this like so:
|
||||
|
||||
|
||||
-- Create downed "Pilot Wagner" in #ZONE "CSAR_Start_1" at a random point for the blue coalition
|
||||
my_csar:SpawnCSARAtZone( "CSAR_Start_1", coalition.side.BLUE, "Wagner", true, false, "Charly-1-1", "F5E" )</code></pre>
|
||||
|
||||
@@ -7527,7 +7502,7 @@ callsigns from playername or group name.</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Coalition of message. </p>
|
||||
<p>Coalition of message.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -8340,7 +8315,7 @@ callsigns from playername or group name.</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>count </p>
|
||||
<p>count</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -10196,7 +10171,7 @@ callsigns from playername or group name.</p>
|
||||
<h2><a id="#(CSAR).onbeforeReturning" ><strong>CSAR:onbeforeReturning(From, Event, To, Heliname, Woundedgroupname, IsAirport, IsAirPort)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>(Internal) Function called before Returning() event. </p>
|
||||
<p>(Internal) Function called before Returning() event.</p>
|
||||
|
||||
<div id= "#Functions##onbeforeReturning" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10542,7 +10517,7 @@ callsigns from playername or group name.</p>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CSAR).FreeVHFFrequencies" ><strong>CSAR.FreeVHFFrequencies</strong></a>
|
||||
|
||||
|
||||
@@ -10899,7 +10874,7 @@ callsigns from playername or group name.</p>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<a href="Core.Point.html##(COORDINATE)">Core.Point#COORDINATE</a>
|
||||
|
||||
<a id="#(CSAR).coordinate" ><strong>CSAR.coordinate</strong></a>
|
||||
|
||||
|
||||
@@ -11013,25 +10988,11 @@ callsigns from playername or group name.</p>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CSAR).downedPilots" ><strong>CSAR.downedPilots</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Replacement woundedGroups</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).downedpilotcounter" ><strong>CSAR.downedpilotcounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -11155,6 +11116,17 @@ callsigns from playername or group name.</p>
|
||||
|
||||
<p> contain a table for each SAR with all units he has with the original names</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
|
||||
<a id="#(CSAR).index" ><strong>CSAR.index</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -11167,7 +11139,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Set to true to make wounded crew insvisible </p>
|
||||
<p> Set to true to make wounded crew insvisible</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -11303,7 +11275,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Time to show longer messages for in seconds </p>
|
||||
<p> Time to show longer messages for in seconds</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -11328,7 +11300,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Downed Pilot will run to the rescue helicopter up to self.extractDistance METERS </p>
|
||||
<p> Downed Pilot will run to the rescue helicopter up to self.extractDistance METERS</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -11360,20 +11332,6 @@ callsigns from playername or group name.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).rescuedpilots" ><strong>CSAR.rescuedpilots</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> counter for saved pilots</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -11399,20 +11357,6 @@ callsigns from playername or group name.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).rescues" ><strong>CSAR.rescues</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> counter for successful rescue landings at FARP/AFB/MASH</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -11509,7 +11453,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Use the Prefixed defined below, Requires Unit have the Prefix defined below </p>
|
||||
<p> Use the Prefixed defined below, Requires Unit have the Prefix defined below</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -13111,7 +13055,7 @@ callsigns from playername or group name.</p>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CSAR).FreeVHFFrequencies" ><strong>CSAR.FreeVHFFrequencies</strong></a>
|
||||
|
||||
|
||||
@@ -13468,7 +13412,7 @@ callsigns from playername or group name.</p>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<a href="Core.Point.html##(COORDINATE)">Core.Point#COORDINATE</a>
|
||||
|
||||
<a id="#(CSAR).coordinate" ><strong>CSAR.coordinate</strong></a>
|
||||
|
||||
|
||||
@@ -13582,25 +13526,11 @@ callsigns from playername or group name.</p>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CSAR).downedPilots" ><strong>CSAR.downedPilots</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Replacement woundedGroups</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).downedpilotcounter" ><strong>CSAR.downedpilotcounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -13724,6 +13654,17 @@ callsigns from playername or group name.</p>
|
||||
|
||||
<p> contain a table for each SAR with all units he has with the original names</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
|
||||
<a id="#(CSAR).index" ><strong>CSAR.index</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -13736,7 +13677,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Set to true to make wounded crew insvisible </p>
|
||||
<p> Set to true to make wounded crew insvisible</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -13872,7 +13813,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Time to show longer messages for in seconds </p>
|
||||
<p> Time to show longer messages for in seconds</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -13897,7 +13838,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Downed Pilot will run to the rescue helicopter up to self.extractDistance METERS </p>
|
||||
<p> Downed Pilot will run to the rescue helicopter up to self.extractDistance METERS</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -13929,20 +13870,6 @@ callsigns from playername or group name.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).rescuedpilots" ><strong>CSAR.rescuedpilots</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> counter for saved pilots</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -13968,20 +13895,6 @@ callsigns from playername or group name.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CSAR).rescues" ><strong>CSAR.rescues</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> counter for successful rescue landings at FARP/AFB/MASH</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -14078,7 +13991,7 @@ callsigns from playername or group name.</p>
|
||||
|
||||
|
||||
|
||||
<p> Use the Prefixed defined below, Requires Unit have the Prefix defined below </p>
|
||||
<p> Use the Prefixed defined below, Requires Unit have the Prefix defined below</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user