FlightControl Master MOOSE Versions Save

Mission Object Oriented Scripting Environment (MOOSE) for lua mission scripting design in DCS World

2.9.6

1 week ago

Star Wars Day Release! May the Force be with you!

Welcome to Late Spring 2024, and next to the F-4E we're now also waiting for the Afghanistan map, but got the Kola map in between. And a bunch of other things ... in two weeks ;) Enjoy!

This release contains functionality from both the master and the development branches in the attached .zip and .tar.gz files.

We concentrated on bug fixing, but also got a some new stuff and a class rewrite!

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :)

Special thanks to @funkyfranky and @kaltokri!

AIRBASE

  • Added Kola map airbases to the enumerator.

RAT

  • Completely rewritten by @funkyfranky to use OPS classes under the hood.

SHAPES

  • New class curtesy of @nielsvaes to find drawing objects made in the mission editor and make them into ZONE objects.

Fixes and minor additions in

CTLD, CSAR, STRATEGO, BEACON, WEAPON, SPAWN, UTILS, CLIENTMENU, NET ...

... and many, many more small additions and bug fixes as usual.

2.9.5

1 month ago

Easter 2024 Release!

Welcome to Spring 2024, and next to the F-4E we're now also waiting for the Afghanistan map ... in two weeks ;)

This release contains functionality from both the master and the development branches in the attached .zip and .tar.gz files.

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :)

Special thanks to @funkyfranky and @kaltokri!

Updates

AIRBASE

  • Added new Syria airbases to the enumerator
  • Added new Normandy airbases to the enumerator

AWACS

  • Remove duplicate outputs making AWACS too chatty
  • Fix tac radios when using an AWACS plane
  • AWACS info shows STN set

COMMANDER

  • Removed duplication of AltToKIAS resulting in wrong mission speeds for tankers etc

CTLD

  • Added option to inject cargo objects which will not show up in the menu - for inject and move around purposes.
  • Slightly vary troop positions when dropping troops so they do not spawn into another
  • Allow availability of crates restriction to one zone
  • Extract troops now makes troops run towards the helo

FOX

  • Added additional information to FOX:AddProtectedGroup method

MANTIS

  • Added and corrected some blue SAM firing data

MARKEROPS_BASE

  • Added coalition info on FSM events

MSRS

  • Fix for explicit Voice setting actually overwriting overall settings of a provider.

SCORING

  • Fixed some display issues for specific scores
  • Added function to use a SET for special scoring targets
  • Added option to give a file path for saving and an option to switch autosave off

STRATEGO

  • Added new class to feed your mission strategy by helping to select next target bases

STATIC

  • Added :FindByMatching() and :FindAllByMatching()

SPAWN

  • Try to ensure unique Link16 STN/SADL octal IDs
  • Added SPAWN:InitSTN(Octal) and SPAWN:InitSADL(Octal)
  • Added functions to set a specific speed on SPAWN
  • Fix an issue for SPAWN:NewFromTemplate when re-using same template over and again
  • Small change to allow to keep unitnames when using Razbam's setting IFF via unit names

... and many, many more small additions and bug fixes as usual.

2.9.4

3 months ago

Late Jan 2024 Relese

Welcome to 2024! Whilst we (ermm, so I, at least) await the F-4 to be released, here's the next Moose release!

This release contains the Moose.luas from both the master and the development branches in the attached .zip and .tar.gz files.

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :)

Special thanks to @funkyfranky and @kaltokri!

Updates

COORDINATE

  • Added function NewFromMGRSString()
  • Added missing ToStringLL()

CTLD

  • Added functionality to remove nearby crates to avoid crate spam
  • Dropped troops will now spawn in a nice circle on the left side of the helicopter

DETECTION

  • Added option to set the radar blur

GROUP

  • Added IsAAA() and IsSAM()

MSRS

  • Code refactoring, leading to multiple changes in many classes

SET

  • Added user-definable filter functions

SOUNDFILE

  • Fixed logic to play internal sound files with SRS

SPAWN

  • Added InitCallsign()

USERSOUND

  • Added :ToClient()

ZONE

  • Fixed filling of complex zones

... and many, many more small additions and bug fixes as usual.

2.9.3

5 months ago

December 2023 Release

Pre-Christmas/Festive Days release 2023! Enjoy!

This release addresses some more of the issues with DCS Open Beta 2.9.1.x.

This release contains the Moose.luas from both the master and the development branches in the attached .zip and .tar.gz files.

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :)

Special thanks to @funkyfranky and @kaltokri! Special thanks to @nielsvaes for his additions on ZONE and UTILS!

Updates

AIRBASE

  • Added further airfields in Normandy to the enumerator

ATC_GROUND

  • Fixed an issue where scheduler was not adjusted to changed parameters, preventing it from working at all.

ATIS

  • When using SRS, ATIS can now send on multiple frequencies

CONTROLLABLE

  • Fixed an issue in :OptionAAAttackRange()

CTLD

  • Added functionality to remove nearby crates via the F10 menu, thanks to @kestrels-seeker
  • Added info event for repairs and builds starting
  • If a unit cannot do troops/crates, those menus are not shown any more
  • Renamed UnitCapabilities() to SetUnitCapabilities() (old functional shell remains to ensure compatibility)

MANTIS

  • Added "Scoot&Shoot" option where driveable SHORAD units can randomly drive around between defined zones.

MSRS

  • Added functionality to auto-load a central config file for SRS TTS options. See MSRS:LoadConfigFile() for details.

SET

  • SET_CLIENT now can also include CLIENTS in CA slots.
  • Added SET_UNIT:GetAliveSet()

SPAWN

  • Ensure correct LINK16 STN/TN data on the respective AI planes when spawning from a template
  • Note There's a bug in MP which prevents you from joining AI to your Link16 network at the moment. ED is working on it.
  • Added GROUP:GetGroupSTN() and UNIT:GetSTN() to obtain that data from AI.
  • Added SPAWN:InitRandomizeCallsign()
  • When spawning a group with multiple units from a template with one unit, ensure consecutive callsigns are used. These are also shown correctly on the F10 map.

UTILS

  • Added a lot of helper functions from @nielsvaes

WEAPON

  • Class functional enhancements

ZONE

  • Added new ZONE_OVAL courtesy of @nielsvaes
  • Refactored maths and drawing options for ZONE_POLYGON, both courtesy of @nielsvaes, so we can finally use it with drawings made in the Mission Editor as well.

... and many more bug fixes as ususal.

2.9.2

5 months ago

November 2023 Release

This release addresses most of the issues with DCS Open Beta 2.9.1.48111. Bear with us as we find and smash more issues down the road.

This release contains the development branch items from Ops, also - but no worries, it is as stable as always, just gives you access to new features should you not use the ad-hoc builds anyway!

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :)

Special thanks to @funkyfranky! Special thanks and a kudos to @kaltokri who fixed an absolute metric ton of documentation links for us!

Further Changes:

ATIS

  • Added coordinate for SRS
  • Added SRS calling out take off AND landing runway (if set)

CTLD

  • Added functionality to re-pack dropped units into boxes

DATABASE and CLIENT

  • Register clients entering Combined Arms slots as clients in Moose

EVENT

  • On a MP server, added IniPlayerUCID and TgtPlayerUCID to the EventData structure (filled in applicable Events)

GROUP and UNIT

  • Added FindByMatching() and FindByAllMatching() to find objects with partial names and regex patterns

MANTIS and SEAD and SHORAD

  • Added "shoot and scoot" for MANTIS SHORAD systems
  • Added detection of TALD ADM-141A (all)
  • Added data for Tamir IDFA and Stunner IDFA (Iron Dome) to MANTIS

MESSAGE

  • ToSRS() fixed issues when using Microsoft as backend

RANGE

  • Added coalition parameter to New(), restricting menu builds of this range to a specific coalition

STORAGE

  • Build in a switch so this is ignored by the DCS stable version for the moment

... and many more bug fixes as ususal.

2.9.1

6 months ago

October 2023 Release (Spooky!)

Moved the build number to 2.9.1. This release contains the development branch items from Ops, also - but no worries, it is as stable as always, just gives you access to new features should you not use the ad-hoc builds anyway!

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :) Special thanks to @funkyfranky! Special thanks and a kudos to @kaltokri who lifted the build process to GitHub actions for us!

AIRBOSS

  • Added SRS TTS option
  • Added wind correction for turning into the wind

ATIS

  • Fixed Stop() FSM event not actually stopping ATIS
  • Added localization option
  • Added Spanish locale
  • Added German locale

CONTROLLABLE

  • Added CommandSetUnlimitedFuel()
  • Added TaskStrafing()
  • Added EnRouteTaskCAP()
  • Added Added PatrolRaceTrack()

MANTIS

  • Added CHM mod unit types
  • Added zone filter option

MESSAGE

  • Added ToSRS()

MSRS

  • Fixes for alternative backend gRPC server (which avoids the odd black window popping up)
  • Added option to load a general config file, centralizing configuration

RANGE

  • Fixed altitude being reported as meters, where it should be feet.

RECOVERTANKER

  • Added option for unlimited fuel

SEAD

  • Corrected calculation of timing to switch back on

SET_ZONE

  • Added GetAverageCoordinate()
  • Added Trigger() which watches for controllables entering, leaving a zone, with FSM event functions

SPAWN

  • Added option for Modex pre- and postfix strings
  • Added string check for SpawnAtParkingSpot when Airbase is handed as string

STORAGE

  • New class to represent the DCS in-game airbase warehouses, as introduced by ED in the last open beta.

UTILS

  • Added new tanker callsigns Navy One, Mauler, Bloodhound (S3-B)

ZONE

  • Fixed logic for for GetRandomCoordinateWithoutBuildings()
  • Added Trigger() which watches for controllables entering, leaving a zone, with FSM event functions

Further Bug-Fixes and Additions

  • ... a lot ... thanks to all contributors!

2.7.22

8 months ago

August 2023 Extra-Release!

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :) Special thanks to @funkyfranky as ususal :)

AIRBASE

  • Added functionality for the new STORAGE class

ATIS

  • Fix explicitly set RWY not reported via SRS

COORDINATE

  • Generalized MarkupToAllFreeForm()

CONTROLLABLE

  • Added Aerobtics tasks for planes - will be inherited by e.g. GROUP
  • Added EnRouteTaskCAP()

ENUMS

  • Added enumerator for use with STORAGE to add/remove/set storage of type "weapons" since these need to be strings, e.g. ENUMS.Storage.weapons.bombs.FAB_500M54 = "weapons.bombs.FAB-500M54"

RANGE

  • Fixed altitude being reported as meters, where it should be feet.

SCENERY, SET_SCENERY

  • Reworked COORDINATE scan as this doesn't seem to work
  • Added SET_SCENERY Filters, and FilterOnce() to apply them

STORAGE

  • New class to represent the DCS in-game airbase warehouses, as introduced by ED in the last open beta.

Further Bug-Fixes and Additions

  • ... a lot ... thanks to all contributors!

2.7.21

9 months ago

August 2023 release!

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :) Special thanks to @funkyfranky as ususal :)

AIRBASE

  • Added list of airbases of the Sinai map to the enumerator
  • Added two new airfields on the Marianas map
  • Removed three airfields from the Syria map as switched off by ED

ATIS

  • Fix for airbases which have no runways, e.g. Naqoura Syria

CONTROLLABLE

  • Added TaskGroundEscort()

CSAR

  • Corrected flare distance to kms

CTLD

  • Added option for troop subcategories

MANTIS

  • Added data for Current Hill Assets, keyword "CHM" for group names
  • Added option for SHORAD as keyword in group names

SPAWN

  • Added option for group initial position - if wanted different from template position, for use with e.g. SPAWN.SpawnScheduled().
    ** InitPositionCoordinate(): Set initial position of group via a COORDINATE. ** InitPositionVec2(): Set initial position of group via a VEC2.
  • Added option to set the positions of a group's units to absolute positions, or relative positions to unit No. 1 ** InitSetUnitRelativePositions(): Spawn the UNITs of this group with individual relative positions to unit #1 and individual headings. ** InitSetUnitAbsolutePositions(): Spawn the UNITs of this group with individual absolute positions and individual headings.
  • Refactored NewFromTemplate() to actually work and register the group with Moose

SPOT

  • Fixed laser not following unit any longer when switched off and on again

Further Bug-Fixes and Additions

  • ... a lot ... thanks to all contributors!

2.7.20

11 months ago

May 2023 release!

Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :) Special thanks to @funkyfranky as ususal :)

AIRBASE

  • Completed list of Normandy airbases in the enumerator

COORDINATE

  • Added IsInSteepArea()and IsInFlatArea()

CTLD

  • Allow save/loadback with precise(r) coordinates for vehicles and troops with myctld.useprecisecoordloads = true
  • Fix allowing minus signs in template names for repairs
  • Included current group structure in load/save functions
  • Fixed placement of dropped crates to better align to unit length
  • Corrected VHF modulation to AM for beacons
  • Added option to have a different sound file for UHF, in case you want to silent FC3 radios

NET

  • Fix for UCID sometimes being nil

POINT

  • Added FindClosestStatic()

SPAWN

  • Improved NewFromTemplate(), and added a better example

UTILS

  • Added UTILS.PrintTableToLog()

ZONE

  • Added RemoveJunk() for ZONE_RADIUS and ZONE_POLYGON - Hint - reports in that these functions might crash your MP server!

WAREHOUSE

  • Fixed one omission for SHIP transport types

Further Bug-Fixes and Additions

  • ... a lot ... thanks to all contributors!

2.7.19

1 year ago

April 2023 release! Happy Easter everyone!

Thanks to all contributors to keep this project alive! :) Special thanks to @funkyfranky as ususal

AIRBASE

  • Added all new airfields in the South Atlantic to the enumerator from the last open beta releases

CLIENT

CSAR

  • Fixed an issue with reloaded zone beacons

CTLD

  • CTLD_HERCULES - fixed an issue spawning 90 paratroopers instead of 30
  • Added method CTLD:PreloadCrates
  • Added get/set/add functions for stock
  • Added option for Hercules to not immediately unpack crates after landing

NET

  • Added new class NET as wrapper for various API net functions added by ED
  • NET

PATHLINE

  • Added new class PATHLINE to inherit map drawings into Moose
  • PATHLINE

SCORING

  • Bug fixes for messages, threat levels and accounting

SET

SPAWN

  • Added a parameter to SPAWN:SpawnScheduled( SpawnTime, SpawnTimeVariation, WithDelay ) for a delayed 1st spawn
  • SpawnScheduled
  • Added new method to init relative unit positions of a group SPAWN:InitSetUnitRelativePositions(Positions)
  • InitSetUnitRelativePositions
  • Added new method to init absolute unit positions of a group SPAWN:InitSetUnitAbsolutePositions(Positions)
  • InitSetUnitAbsolutePositions

UTILS

WEAPON

  • Added new class WEAPON to track weapons in-air
  • WEAPON

Further Bug-Fixes and Additions

  • ... a lot ... thanks to all contributors!