mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-17 03:11:28 +00:00
Added default CAP methods
* Added method :SetDefaultCapTimeInterval( CapMinSeconds, CapMaxSeconds ) for AI_A2A_DISPATCHER and AI_A2A_GCICAP. * Added method :SetDefaultCapLimit( CapLimit ) for AI_A2A_DISPATCHER and AI_A2A_GCICAP. Added documentation in chapter 10.7 and chapter 1.8. Changed Treshold to Threshold
This commit is contained in:
@@ -269,7 +269,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).PatrolDamageTreshold">AI_A2A.PatrolDamageTreshold</a></td>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).PatrolDamageThreshold">AI_A2A.PatrolDamageThreshold</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
@@ -281,7 +281,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).PatrolFuelTresholdPercentage">AI_A2A.PatrolFuelTresholdPercentage</a></td>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).PatrolFuelThresholdPercentage">AI_A2A.PatrolFuelThresholdPercentage</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
@@ -335,7 +335,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).SetDamageTreshold">AI_A2A:SetDamageTreshold(PatrolDamageTreshold)</a></td>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).SetDamageThreshold">AI_A2A:SetDamageThreshold(PatrolDamageThreshold)</a></td>
|
||||
<td class="summary">
|
||||
<p>When the AI is damaged beyond a certain treshold, it is required that the AI returns to the home base.</p>
|
||||
</td>
|
||||
@@ -347,7 +347,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).SetFuelTreshold">AI_A2A:SetFuelTreshold(PatrolFuelTresholdPercentage, PatrolOutOfFuelOrbitTime)</a></td>
|
||||
<td class="name" nowrap="nowrap"><a href="##(AI_A2A).SetFuelThreshold">AI_A2A:SetFuelThreshold(PatrolFuelThresholdPercentage, PatrolOutOfFuelOrbitTime)</a></td>
|
||||
<td class="summary">
|
||||
<p>When the AI is out of fuel, it is required that a new AI is started, before the old AI can return to the home base.</p>
|
||||
</td>
|
||||
@@ -1185,8 +1185,8 @@ Return false to cancel Transition.</p>
|
||||
<dt>
|
||||
|
||||
<em></em>
|
||||
<a id="#(AI_A2A).PatrolDamageTreshold" >
|
||||
<strong>AI_A2A.PatrolDamageTreshold</strong>
|
||||
<a id="#(AI_A2A).PatrolDamageThreshold" >
|
||||
<strong>AI_A2A.PatrolDamageThreshold</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
@@ -1213,8 +1213,8 @@ Return false to cancel Transition.</p>
|
||||
<dt>
|
||||
|
||||
<em></em>
|
||||
<a id="#(AI_A2A).PatrolFuelTresholdPercentage" >
|
||||
<strong>AI_A2A.PatrolFuelTresholdPercentage</strong>
|
||||
<a id="#(AI_A2A).PatrolFuelThresholdPercentage" >
|
||||
<strong>AI_A2A.PatrolFuelThresholdPercentage</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
@@ -1363,8 +1363,8 @@ self</p>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(AI_A2A).SetDamageTreshold" >
|
||||
<strong>AI_A2A:SetDamageTreshold(PatrolDamageTreshold)</strong>
|
||||
<a id="#(AI_A2A).SetDamageThreshold" >
|
||||
<strong>AI_A2A:SetDamageThreshold(PatrolDamageThreshold)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
@@ -1382,7 +1382,7 @@ So, in a group of 4 airplanes, 2 lost and 2 with damage 0.2, the damage treshold
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em>#number PatrolDamageTreshold </em></code>:
|
||||
<p><code><em>#number PatrolDamageThreshold </em></code>:
|
||||
The treshold in percentage (between 0 and 1) when the AI is considered to be damaged.</p>
|
||||
|
||||
</li>
|
||||
@@ -1418,8 +1418,8 @@ self</p>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(AI_A2A).SetFuelTreshold" >
|
||||
<strong>AI_A2A:SetFuelTreshold(PatrolFuelTresholdPercentage, PatrolOutOfFuelOrbitTime)</strong>
|
||||
<a id="#(AI_A2A).SetFuelThreshold" >
|
||||
<strong>AI_A2A:SetFuelThreshold(PatrolFuelThresholdPercentage, PatrolOutOfFuelOrbitTime)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
@@ -1435,7 +1435,7 @@ Once the time is finished, the old AI will return to the base.</p>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em>#number PatrolFuelTresholdPercentage </em></code>:
|
||||
<p><code><em>#number PatrolFuelThresholdPercentage </em></code>:
|
||||
The treshold in percentage (between 0 and 1) when the AIControllable is considered to get out of fuel.</p>
|
||||
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user