diff --git a/Documentation/Core.Fsm.html b/Documentation/Core.Fsm.html index 2fa347885..5c035c055 100644 --- a/Documentation/Core.Fsm.html +++ b/Documentation/Core.Fsm.html @@ -5978,7 +5978,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
The AI is on by default when spawning a group.
-Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.
- @@ -3829,20 +3829,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -The internal counter of the amount of spawning the has happened since SpawnStart.
-Overwrite unit names by default with group name.
- @@ -4072,6 +4077,50 @@ When Moose is loaded statically, (as one file), tracing is switched off by defauBy default, no InitLimit
+ + + +we arrived here seeing that self.SpawnInitSADL == nil, but now that we have a SADL (num), we also need to set it to self.SpawnInitSADL in case - we need to get the next SADL from _DATABASE, or else UTILS.OctalToDecimal() will fail in GetNextSADL
-The octal number (digits 1..7, max 4 digits, i.e. 1..7777) to set the SADL to. Every SADL needs to be unique!
+The octal number (digits 0..7, max 4 digits, i.e. 1..7777, cannot be zero) to set the SADL to. Every SADL needs to be unique!
The octal number (digits 1..7, max 5 digits, i.e. 1..77777) to set the STN to. Every STN needs to be unique!
+The octal number (digits 0..7, max 5 digits, i.e. 1..77777, cannot be zero) to set the STN to. Every STN needs to be unique!
The AI is on by default when spawning a group.
-The internal counter of the amount of spawning the has happened since SpawnStart.
-we arrived here seeing that self.SpawnInitSADL == nil, but now that we have a SADL (num), we also need to set it to self.SpawnInitSADL in case - we need to get the next SADL from _DATABASE, or else UTILS.OctalToDecimal() will fail in GetNextSADL
-Kickspeed
+ @@ -4477,6 +4480,9 @@ An airbase can be specified to set the maximum kick speed for. + +Kickspeed
+ diff --git a/Documentation/Functional.Autolase.html b/Documentation/Functional.Autolase.html index c7aae72bb..0932e2e9b 100644 --- a/Documentation/Functional.Autolase.html +++ b/Documentation/Functional.Autolase.html @@ -2389,7 +2389,7 @@set up SRS
+ + + +Log SAM status in dcs.log every cycle if true.
-switch alarm state RED
- @@ -10456,8 +10398,8 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`Log SAM status in dcs.log every cycle if true.
-switch alarm state RED
- diff --git a/Documentation/Functional.RAT.html b/Documentation/Functional.RAT.html index 3ba0b47c6..0e219739d 100644 --- a/Documentation/Functional.RAT.html +++ b/Documentation/Functional.RAT.html @@ -3345,6 +3345,12 @@ manager:Stop(7200)Type of terminal to be used when spawning at an airbase.
+Type of terminal to be used when spawning at an airbase.
+ + + +Type of terminal to be used when spawning at an airbase.
+ + + +The octal number (digits 1..7, max 4 digits, i.e. 1..7777) to set the SADL to. Every SADL needs to be unique!
+The octal number (digits 0..7, max 4 digits, i.e. 1..7777, cannot be zero) to set the SADL to. Every SADL needs to be unique!
The octal number (digits 1..7, max 5 digits, i.e. 1..77777) to set the STN to. Every STN needs to be unique!
+The octal number (digits 0..7, max 5 digits, i.e. 1..77777, cannot be zero) to set the STN to. Every STN needs to be unique!
A capture zone has been setup that guards the presence of the troops. Troops are guarded by red forces. Blue is required to destroy the red forces and capture the zones.
-At first, we setup the Command Centers
- - do
-
- RU_CC = COMMANDCENTER:New( GROUP:FindByName( "REDHQ" ), "Russia HQ" )
- US_CC = COMMANDCENTER:New( GROUP:FindByName( "BLUEHQ" ), "USA HQ" )
-
- end
-
-
-Next, we define the mission, and add some scoring to it.
- - do -- Missions
-
- US_Mission_EchoBay = MISSION:New( US_CC, "Echo Bay", "Primary",
- "Welcome trainee. The airport Groom Lake in Echo Bay needs to be captured.\n" ..
- "There are five random capture zones located at the airbase.\n" ..
- "Move to one of the capture zones, destroy the fuel tanks in the capture zone, " ..
- "and occupy each capture zone with a platoon.\n " ..
- "Your orders are to hold position until all capture zones are taken.\n" ..
- "Use the map (F10) for a clear indication of the location of each capture zone.\n" ..
- "Note that heavy resistance can be expected at the airbase!\n" ..
- "Mission 'Echo Bay' is complete when all five capture zones are taken, and held for at least 5 minutes!"
- , coalition.side.RED )
-
- US_Mission_EchoBay:Start()
-
- end
-
-
-
-Now the real work starts. -We define a CaptureZone object, which is a ZONE object. +
We define a CaptureZone object, which is a ZONE object. Within the mission, a trigger zone is created with the name CaptureZone, with the defined radius within the mission editor.
CaptureZone = ZONE:New( "CaptureZone" )
@@ -1757,12 +1725,12 @@ Note the methods ZoneCaptureCoalition:GetZoneName().
self:E( { Coalition = Coalition } )
if Coalition == coalition.side.BLUE then
ZoneCaptureCoalition:Smoke( SMOKECOLOR.Blue )
- US_CC:MessageTypeToCoalition( string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
- RU_CC:MessageTypeToCoalition( string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
+ MESSAGE:New(string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.BLUE)
+ MESSAGE:New(string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.RED)
else
ZoneCaptureCoalition:Smoke( SMOKECOLOR.Red )
- RU_CC:MessageTypeToCoalition( string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
- US_CC:MessageTypeToCoalition( string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
+ MESSAGE:New(string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.BLUE)
+ MESSAGE:New(string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.RED)
end
end
end
@@ -1775,8 +1743,8 @@ Now we smoke the ZoneCaptureCoalition with a green color, using self:Smoke
-- @param Functional.Protect#ZONE_CAPTURE_COALITION self
function ZoneCaptureCoalition:OnEnterEmpty()
self:Smoke( SMOKECOLOR.Green )
- US_CC:MessageTypeToCoalition( string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
- RU_CC:MessageTypeToCoalition( string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
+ MESSAGE:New(string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.BLUE)
+ MESSAGE:New(string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.RED)
end
@@ -1789,11 +1757,11 @@ When the zone is Attacked, we smoke the zone white and send some messages to eac
local Coalition = self:GetCoalition()
self:E({Coalition = Coalition})
if Coalition == coalition.side.BLUE then
- US_CC:MessageTypeToCoalition( string.format( "%s is under attack by Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
- RU_CC:MessageTypeToCoalition( string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
+ MESSAGE:New(string.format( "%s is under attack by Russia", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.BLUE)
+ MESSAGE:New(string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.RED)
else
- RU_CC:MessageTypeToCoalition( string.format( "%s is under attack by the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
- US_CC:MessageTypeToCoalition( string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
+ MESSAGE:New(string.format( "%s is under attack by the USA", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.RED)
+ MESSAGE:New(string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.BLUE)
end
end
@@ -1806,11 +1774,11 @@ And we add some score.
local Coalition = self:GetCoalition()
self:E({Coalition = Coalition})
if Coalition == coalition.side.BLUE then
- RU_CC:MessageTypeToCoalition( string.format( "%s is captured by the USA, we lost it!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
- US_CC:MessageTypeToCoalition( string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
+ MESSAGE:New(string.format( "%s is captured by the USA, we lost it!", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.RED)
+ MESSAGE:New(string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.BLUE)
else
- US_CC:MessageTypeToCoalition( string.format( "%s is captured by Russia, we lost it!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
- RU_CC:MessageTypeToCoalition( string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information )
+ MESSAGE:New(string.format( "%s is captured by Russia, we lost it!", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.BLUE)
+ MESSAGE:New(string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ),15,MESSAGE.Type.Information):ToCoalition(coalition.side.RED)
end
self:__Guard( 30 )
@@ -1834,6 +1802,7 @@ We start the monitoring after 5 seconds, and will repeat every 30 seconds a chec
|
Capture Trigger for ZONE_CAPTURE_COALITION + |
+
+ |
| + |
+ Name of the class. |
|
-
+ Time interval in seconds before the zone goes from "Attacked" to "Guarded" state after the last hit. |
|
|
-
+ Time stamp in seconds when the last unit inside the zone was hit. |
|
|
-
+ If true, hit events are monitored and trigger the "Attack" event when a defending unit is hit. |
|
|
-
+ ID of blue F10 mark. |
|
|
-
+ If true, create marks of zone status on F10 map. |
|
|
-
+ ID of red F10 mark. |
|
|
-
+ Time in seconds after which the zone status is updated. |
|
|
-
+ Time in seconds after the status monitor is started. |
|
|
On enter "Guarded" state. + |
+
| Fields and Methods inherited from ZONE_GOAL_COALITION | +Description | +
|---|---|
| + | + + | +
| + |
+ Get the owning coalition of the zone. + |
+
| + |
+ Get the owning coalition name of the zone. + |
+
| + |
+ Get the previous coalition, i.e. + |
+
| + |
+ ZONE_GOAL_COALITION Constructor. + |
+
| + | + + | +
| + | + + | +
| + |
+ Set the owning coalition of the zone. + |
+
ZONE_CAPTURE_COALITION:SetObjectCategories(ObjectCategories) |
+
+ Set the owning coalition of the zone. + |
+
| + |
+ Set the owning coalition of the zone. + |
+
| + | + + | +
| + |
+ Check status Coalition ownership. + |
+
| + | + |
Time interval in seconds before the zone goes from "Attacked" to "Guarded" state after the last hit.
+ +Time stamp in seconds when the last unit inside the zone was hit.
+ +If true, hit events are monitored and trigger the "Attack" event when a defending unit is hit.
+ +ID of blue F10 mark.
If true, create marks of zone status on F10 map.
ID of red F10 mark.
+Time in seconds after which the zone status is updated.
Time in seconds after the status monitor is started.
+Name of the class.
+ +Time interval in seconds before the zone goes from "Attacked" to "Guarded" state after the last hit.
+ +Time stamp in seconds when the last unit inside the zone was hit.
+ +If true, hit events are monitored and trigger the "Attack" event when a defending unit is hit.
+ +ID of blue F10 mark.
+ +If true, create marks of zone status on F10 map.
+ +ID of red F10 mark.
+ +Time in seconds after which the zone status is updated.
+ +Start Status scheduler.
+ +Time in seconds after the status monitor is started.
+ +Get the owning coalition of the zone.
+ +#number:
+Coalition.
+ +Get the owning coalition name of the zone.
+ +#string:
+Coalition name.
+ +Get the previous coalition, i.e.
+ + +the one owning the zone before the current one.
+ +#number:
+Coalition.
+ +ZONE_GOAL_COALITION Constructor.
+ ++ Core.Zone#ZONE + Zone +
+A Core.Zone object with the goal to be achieved.
+ ++ #number + Coalition +
+(Optional) The initial coalition owning the zone. Default coalition.side.NEUTRAL.
+ ++ #table + UnitCategories +
+(Optional) Table of unit categories. See DCS Class Unit. Default {Unit.Category.GROUND_UNIT}.
+ +Set the owning coalition of the zone.
+ ++ #number + Coalition +
+The coalition ID, e.g. coalition.side.RED.
+ +Set the owning coalition of the zone.
+ ++ #table + ObjectCategories +
+(Optional) Table of unit categories. See DCS Class Object. Default {Object.Category.UNIT, Object.Category.STATIC}, i.e. all UNITS and STATICS.
+ +Set the owning coalition of the zone.
+ ++ #table + UnitCategories +
+(Optional) Table of unit categories. See DCS Class Unit. Default {Unit.Category.GROUND_UNIT}.
+ +Check status Coalition ownership.
+ +Mission Ingress waypoint coordinate.
+Mission Ingress waypoint coordinate.
+Mission Ingress waypoint coordinate.
+contain a table for each SAR with all units he has with the original names
- - - -counter for saved pilots
+ +counter for successful rescue landings at FARP/AFB/MASH
+ +Color of smokemarker for blue side, 0 is green, 1 is red, 2 is white, 3 is orange and 4 is blue
+contain a table for each SAR with all units he has with the original names
- - - -counter for saved pilots
+ +counter for successful rescue landings at FARP/AFB/MASH
+ +Color of smokemarker for blue side, 0 is green, 1 is red, 2 is white, 3 is orange and 4 is blue
+contain a table for each SAR with all units he has with the original names
- - - -counter for saved pilots
+ +counter for successful rescue landings at FARP/AFB/MASH
+ +Color of smokemarker for blue side, 0 is green, 1 is red, 2 is white, 3 is orange and 4 is blue
+Name of the class.
+ + + +holds #CTLD_ENGINEERING objects
+Beacons
+Folderpath.
-enfore engineer build only?
+ + + +noob catch
+time to repairor build a unit/group
@@ -7143,7 +7201,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defausub categories
+Name of the class.
+ + + +holds #CTLD_ENGINEERING objects
+Beacons
+Folderpath.
-enfore engineer build only?
+ + + +noob catch
+time to repairor build a unit/group
@@ -23858,7 +23977,7 @@ However, if you create a new folder inside the miz file, which contains the sounsub categories
+Name of the class.
+ + + +holds #CTLD_ENGINEERING objects
+Beacons
+Folderpath.
-enfore engineer build only?
+ + + +noob catch
+time to repairor build a unit/group
@@ -26709,7 +26889,7 @@ However, if you create a new folder inside the miz file, which contains the sounsub categories
+Set the destination base.
+ @@ -8058,6 +8061,20 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +No late activation.
+Spawn in uncontrolled state.
+ +Set the destination base.
+No late activation.
+Spawn in uncontrolled state.
+ +Set the destination base.
+No late activation.
+Spawn in uncontrolled state.
+ +Set the destination base.
+No late activation.
+Spawn in uncontrolled state.
+ +No of sight.
+Has line of sight.
Contested.
-Contested.
- @@ -9296,9 +9290,6 @@ myopszone = OPSZONE:New(ZONE_AIRBASE:New("Batumi",6000),coalition.side.BLUE) -- - -Contested.
- diff --git a/Documentation/Utilities.FiFo.html b/Documentation/Utilities.FiFo.html index 92a8445a3..33a820772 100644 --- a/Documentation/Utilities.FiFo.html +++ b/Documentation/Utilities.FiFo.html @@ -8041,6 +8041,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +Coordinate of the mark.
+ + + +Text displayed in the mark panel.
- - - -Coordinate of the mark.
+ + + +Text displayed in the mark panel.
- - - -Coordinate of the mark.
+ + + +Text displayed in the mark panel.
- - - -