mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
MOOSE generated documentation [skip ci]
This commit is contained in:
@@ -1711,7 +1711,8 @@ Create the late-activated troops, vehicles, that will make up your deployable fo
|
||||
["Mi-24P"] = {type="Mi-24P", crates=true, troops=true, cratelimit = 2, trooplimit = 8, length = 18, cargoweightlimit = 700},
|
||||
["Mi-24V"] = {type="Mi-24V", crates=true, troops=true, cratelimit = 2, trooplimit = 8, length = 18, cargoweightlimit = 700},
|
||||
["Hercules"] = {type="Hercules", crates=true, troops=true, cratelimit = 7, trooplimit = 64, length = 25, cargoweightlimit = 19000},
|
||||
["UH-60L"] = {type="UH-60L", crates=true, troops=true, cratelimit = 2, trooplimit = 20, length = 16, cargoweightlimit = 3500},
|
||||
["UH-60L"] = {type="UH-60L", crates=true, troops=true, cratelimit = 2, trooplimit = 20, length = 16, cargoweightlimit = 3500},
|
||||
["AH-64D_BLK_II"] = {type="AH-64D_BLK_II", crates=false, troops=true, cratelimit = 0, trooplimit = 2, length = 17, cargoweightlimit = 200},
|
||||
</code></pre>
|
||||
|
||||
<h3>2.1.2 Activate and deactivate zones</h3>
|
||||
@@ -1871,12 +1872,13 @@ Currently limited CTLD_CARGO troops, which are build from <strong>one</strong> t
|
||||
|
||||
<h2>5. Support for Hercules mod by Anubis</h2>
|
||||
|
||||
<p>Basic support for the Hercules mod By Anubis has been build into CTLD - that is you can load/drop/build the same objects as the helicopters.
|
||||
To also cover objects and troops which can be loaded from the groud crew Rearm/Refuel menu, you need to use <a href="##(CTLD_HERCULES).New">CTLD_HERCULES.New</a>() and link
|
||||
this object to your CTLD setup. In this case, do <strong>not</strong> use the <code>Hercules_Cargo.lua</code> or <code>Hercules_Cargo_CTLD.lua</code> which are part of the mod
|
||||
<p>Basic support for the Hercules mod By Anubis has been build into CTLD - that is you can load/drop/build the same way and for the same objects as
|
||||
the helicopters (main method).
|
||||
To cover objects and troops which can be loaded from the groud crew Rearm/Refuel menu (F8), you need to use <a href="##(CTLD_HERCULES).New">CTLD_HERCULES.New</a>() and link
|
||||
this object to your CTLD setup (alternative method). In this case, do <strong>not</strong> use the <code>Hercules_Cargo.lua</code> or <code>Hercules_Cargo_CTLD.lua</code> which are part of the mod
|
||||
in your mission!</p>
|
||||
|
||||
<h3>5.1 Create an own CTLD instance and allow the usage of the Hercules mod:</h3>
|
||||
<h3>5.1 Create an own CTLD instance and allow the usage of the Hercules mod (main method)</h3>
|
||||
|
||||
<pre><code> local my_ctld = CTLD:New(coalition.side.BLUE,{"Helicargo", "Hercules"},"Lufttransportbrigade I")
|
||||
</code></pre>
|
||||
@@ -1897,30 +1899,42 @@ in your mission!</p>
|
||||
<pre><code> my_ctld.useprefix = true -- this is true by default and MUST BE ON.
|
||||
</code></pre>
|
||||
|
||||
<h3>5.2 Integrate Hercules ground crew loadable objects</h3>
|
||||
<h3>5.2 Integrate Hercules ground crew (F8 Menu) loadable objects (alternative method)</h3>
|
||||
|
||||
<p>Add ground crew loadable objects to your CTLD instance like so, where <code>my_ctld</code> is the previously created CTLD instance:</p>
|
||||
<p>Integrate to your CTLD instance like so, where <code>my_ctld</code> is a previously created CTLD instance:</p>
|
||||
|
||||
<pre><code> local herccargo = CTLD_HERCULES:New("blue", "Hercules Test", my_ctld)
|
||||
<pre><code> my_ctld.enableHercules = false -- avoid dual loading via CTLD F10 and F8 ground crew
|
||||
local herccargo = CTLD_HERCULES:New("blue", "Hercules Test", my_ctld)
|
||||
</code></pre>
|
||||
|
||||
<p>You also need:</p>
|
||||
<p>You also need: </p>
|
||||
|
||||
<ul>
|
||||
<li>A template called "Infantry" for 10 Paratroopers (as set via herccargo.infantrytemplate). </li>
|
||||
<li>Depending on what you are loading with the help of the ground crew, there are 42 more templates for the various vehicles that are loadable. </li>
|
||||
<li>A template called "Infantry" for 10 Paratroopers (as set via herccargo.infantrytemplate). </li>
|
||||
<li>Depending on what you are loading with the help of the ground crew, there are 42 more templates for the various vehicles that are loadable. </li>
|
||||
</ul>
|
||||
|
||||
<p>There's a <strong>quick check output in the <code>dcs.log</code></strong> which tells you what's there and what not.
|
||||
E.g.:</p>
|
||||
<pre><code> ...Checking template for APC BTR-82A Air [24998lb] (BTR-82A) ... MISSING)
|
||||
...Checking template for ART 2S9 NONA Skid [19030lb] (SAU 2-C9) ... MISSING)
|
||||
...Checking template for EWR SBORKA Air [21624lb] (Dog Ear radar) ... MISSING)
|
||||
...Checking template for Transport Tigr Air [15900lb] (Tigr_233036) ... OK)
|
||||
E.g.: </p>
|
||||
|
||||
<pre><code> ...Checking template for APC BTR-82A Air [24998lb] (BTR-82A) ... MISSING)
|
||||
...Checking template for ART 2S9 NONA Skid [19030lb] (SAU 2-C9) ... MISSING)
|
||||
...Checking template for EWR SBORKA Air [21624lb] (Dog Ear radar) ... MISSING)
|
||||
...Checking template for Transport Tigr Air [15900lb] (Tigr_233036) ... OK)
|
||||
</code></pre>
|
||||
|
||||
<p>Expected template names are the ones in the rounded brackets.</p>
|
||||
|
||||
<h3>5.2.1 Hints</h3>
|
||||
|
||||
<p>The script works on the EVENTS.Shot trigger, which is used by the mod when you <strong>drop cargo from the Hercules while flying</strong>. Unloading on the ground does
|
||||
not achieve anything here. If you just want to unload on the ground, use the normal Moose CTLD (see 5.1).</p>
|
||||
|
||||
<p>There are two ways of airdropping: </p>
|
||||
|
||||
<p>1) Very low and very slow (>5m and <10m AGL) - here you can drop stuff which has "Skid" at the end of the cargo name (loaded via F8 Ground Crew menu) <br/>
|
||||
2) Higher up and slow (>100m AGL) - here you can drop paratroopers and cargo which has "Air" at the end of the cargo name (loaded via F8 Ground Crew menu) </p>
|
||||
|
||||
<p>Standard transport capabilities as per the real Hercules are:</p>
|
||||
|
||||
<pre><code> ["Hercules"] = {type="Hercules", crates=true, troops=true, cratelimit = 7, trooplimit = 64}, -- 19t cargo, 64 paratroopers
|
||||
@@ -6856,6 +6870,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div class="fields w3-container w3-theme-l2">
|
||||
<h2>Field(s)</h2>
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CTLD).CargoCounter" ><strong>CTLD.CargoCounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
@@ -6964,7 +6989,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="#(CTLD).CtldUnits" ><strong>CTLD.CtldUnits</strong></a>
|
||||
|
||||
|
||||
@@ -6986,7 +7011,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="#(CTLD).DroppedTroops" ><strong>CTLD.DroppedTroops</strong></a>
|
||||
|
||||
|
||||
@@ -7025,11 +7050,14 @@ 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="#(CTLD).EngineersInField" ><strong>CTLD.EngineersInField</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p>holds #CTLD_ENGINEERING objects</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -7061,7 +7089,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="#(CTLD).FreeFMFrequencies" ><strong>CTLD.FreeFMFrequencies</strong></a>
|
||||
|
||||
|
||||
@@ -7088,6 +7116,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Beacons</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -7213,11 +7244,14 @@ 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="#(CTLD).PilotGroups" ><strong>CTLD.PilotGroups</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> tables</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -7301,6 +7335,17 @@ 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="#(CTLD).TroopCounter" ><strong>CTLD.TroopCounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -7739,7 +7784,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">
|
||||
|
||||
|
||||
#number
|
||||
<a id="#(CTLD).troopdropzoneradius" ><strong>CTLD.troopdropzoneradius</strong></a>
|
||||
|
||||
|
||||
@@ -14416,6 +14461,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div class="fields w3-container w3-theme-l2">
|
||||
<h2>Field(s)</h2>
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CTLD).CargoCounter" ><strong>CTLD.CargoCounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
@@ -14524,7 +14580,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="#(CTLD).CtldUnits" ><strong>CTLD.CtldUnits</strong></a>
|
||||
|
||||
|
||||
@@ -14546,7 +14602,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="#(CTLD).DroppedTroops" ><strong>CTLD.DroppedTroops</strong></a>
|
||||
|
||||
|
||||
@@ -14585,11 +14641,14 @@ 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="#(CTLD).EngineersInField" ><strong>CTLD.EngineersInField</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p>holds #CTLD_ENGINEERING objects</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -14621,7 +14680,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="#(CTLD).FreeFMFrequencies" ><strong>CTLD.FreeFMFrequencies</strong></a>
|
||||
|
||||
|
||||
@@ -14648,6 +14707,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Beacons</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -14773,11 +14835,14 @@ 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="#(CTLD).PilotGroups" ><strong>CTLD.PilotGroups</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> tables</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -14861,6 +14926,17 @@ 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="#(CTLD).TroopCounter" ><strong>CTLD.TroopCounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -15299,7 +15375,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">
|
||||
|
||||
|
||||
#number
|
||||
<a id="#(CTLD).troopdropzoneradius" ><strong>CTLD.troopdropzoneradius</strong></a>
|
||||
|
||||
|
||||
@@ -16817,6 +16893,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div class="fields w3-container w3-theme-l2">
|
||||
<h2>Field(s)</h2>
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CTLD).CargoCounter" ><strong>CTLD.CargoCounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
@@ -16925,7 +17012,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="#(CTLD).CtldUnits" ><strong>CTLD.CtldUnits</strong></a>
|
||||
|
||||
|
||||
@@ -16947,7 +17034,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="#(CTLD).DroppedTroops" ><strong>CTLD.DroppedTroops</strong></a>
|
||||
|
||||
|
||||
@@ -16986,11 +17073,14 @@ 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="#(CTLD).EngineersInField" ><strong>CTLD.EngineersInField</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p>holds #CTLD_ENGINEERING objects</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -17022,7 +17112,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="#(CTLD).FreeFMFrequencies" ><strong>CTLD.FreeFMFrequencies</strong></a>
|
||||
|
||||
|
||||
@@ -17049,6 +17139,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Beacons</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -17174,11 +17267,14 @@ 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="#(CTLD).PilotGroups" ><strong>CTLD.PilotGroups</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> tables</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -17262,6 +17358,17 @@ 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="#(CTLD).TroopCounter" ><strong>CTLD.TroopCounter</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -17700,7 +17807,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">
|
||||
|
||||
|
||||
#number
|
||||
<a id="#(CTLD).troopdropzoneradius" ><strong>CTLD.troopdropzoneradius</strong></a>
|
||||
|
||||
|
||||
@@ -21541,6 +21648,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
<p>Can transport crate.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CTLD.UnitCapabilities).length" ><strong>CTLD.UnitCapabilities.length</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -25277,6 +25395,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<a href="Core.Point.html##(COORDINATE)">Core.Point#COORDINATE</a>
|
||||
<a id="#(CTLD_ENGINEERING).currwpt" ><strong>CTLD_ENGINEERING.currwpt</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -25930,6 +26059,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<a href="Core.Point.html##(COORDINATE)">Core.Point#COORDINATE</a>
|
||||
<a id="#(CTLD_ENGINEERING).currwpt" ><strong>CTLD_ENGINEERING.currwpt</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user