mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update CSAR.lua
Updated documentation / clarification. Added feature docu on using SRS
This commit is contained in:
parent
10a0793af7
commit
270c69344f
@ -64,27 +64,37 @@
|
|||||||
--
|
--
|
||||||
-- ## 2. Options
|
-- ## 2. Options
|
||||||
--
|
--
|
||||||
-- The following options are available (with their defaults):
|
-- The following options are available (with their defaults). Only set the ones you want changed:
|
||||||
--
|
--
|
||||||
-- self.allowDownedPilotCAcontrol = false -- Set to false if you don't want to allow control by Combined Arms.
|
-- self.allowDownedPilotCAcontrol = false -- Set to false if you don't want to allow control by Combined Arms.
|
||||||
-- self.allowFARPRescue = true -- allows pilot to be rescued by landing at a FARP or Airbase. Else MASH only.
|
-- self.allowFARPRescue = true -- allows pilots to be rescued by landing at a FARP or Airbase. Else MASH only!
|
||||||
-- self.autosmoke = false -- automatically smoke downed pilot location when a heli is near.
|
-- self.autosmoke = false -- automatically smoke a downed pilot's location when a heli is near.
|
||||||
-- self.coordtype = 1 -- Use Lat/Long DDM (0), Lat/Long DMS (1), MGRS (2), Bullseye imperial (3) or Bullseye metric (4) for coordinates.
|
-- self.coordtype = 1 -- Use Lat/Long DDM (0), Lat/Long DMS (1), MGRS (2), Bullseye imperial (3) or Bullseye metric (4) for coordinates.
|
||||||
-- self.csarOncrash = true -- If set to true, will generate a downed pilot when a plane crashes as well.
|
-- self.csarOncrash = true -- (WIP) If set to true, will generate a downed pilot when a plane crashes as well.
|
||||||
-- self.csarPrefix = { "helicargo", "MEDEVAC"} -- prefixes used for useprefix=true - DO NOT use # in helicopter names in the Mission Editor!
|
-- self.enableForAI = true -- set to false to disable AI pilots from being rescued.
|
||||||
-- self.enableForAI = true -- set to false to disable AI units from being rescued.
|
-- self.pilotRuntoExtractPoint = true -- Downed pilot will run to the rescue helicopter up to self.extractDistance in meters.
|
||||||
-- self.extractDistance = 500 -- Distance the Downed pilot will run to the rescue helicopter.
|
-- self.extractDistance = 500 -- Distance the downed pilot will start to run to the rescue helicopter.
|
||||||
-- self.immortalcrew = true -- Set to true to make wounded crew immortal.
|
-- self.immortalcrew = true -- Set to true to make wounded crew immortal.
|
||||||
-- self.invisiblecrew = false -- Set to true to make wounded crew insvisible.
|
-- self.invisiblecrew = false -- Set to true to make wounded crew insvisible.
|
||||||
-- self.loadDistance = 75 -- configure distance for pilots to get into helicopter in meters.
|
-- self.loadDistance = 75 -- configure distance for pilots to get into helicopter in meters.
|
||||||
-- self.mashprefix = {"MASH"} -- prefixes of #GROUP objects used as MASHes.
|
-- self.mashprefix = {"MASH"} -- prefixes of #GROUP objects used as MASHes.
|
||||||
-- self.max_units = 6 -- number of pilots that can be carried if #CSAR.AircraftType is undefined.
|
-- self.max_units = 6 -- number of pilots that can be carried if #CSAR.AircraftType is undefined.
|
||||||
-- self.messageTime = 10 -- Time to show messages for in seconds. Doubled for long messages.
|
-- self.messageTime = 15 -- Time to show messages for in seconds. Doubled for long messages.
|
||||||
-- self.pilotRuntoExtractPoint = true -- Downed Pilot will run to the rescue helicopter up to self.extractDistance in meters.
|
-- self.radioSound = "beacon.ogg" -- the name of the sound file to use for the pilots' radio beacons.
|
||||||
-- self.radioSound = "beacon.ogg" -- the name of the sound file to use for the Pilot radio beacons.
|
-- self.smokecolor = 4 -- Color of smokemarker, 0 is green, 1 is red, 2 is white, 3 is orange and 4 is blue.
|
||||||
-- self.smokecolor = 4 -- Color of smokemarker for blue side, 0 is green, 1 is red, 2 is white, 3 is orange and 4 is blue.
|
-- self.useprefix = true -- Requires CSAR helicopter #GROUP names to have the prefix(es) defined below.
|
||||||
-- self.template = Template or "generic" -- late activated template for downed pilot, usually single infantry soldier.
|
-- self.csarPrefix = { "helicargo", "MEDEVAC"} -- #GROUP name prefixes used for useprefix=true - DO NOT use # in helicopter names in the Mission Editor!
|
||||||
-- self.useprefix = true -- Use the Prefixed defined below, Requires Unit have the Prefix defined below.
|
-- self.verbose = 0 -- set to > 1 for stats output for debugging.
|
||||||
|
--
|
||||||
|
-- ## 2.1 Experimental Features
|
||||||
|
--
|
||||||
|
-- WARNING - Here'll be dragons!
|
||||||
|
-- DANGER - For this to work you need to de-sanitize your mission environment (all three entries) in <DCS root>\Scripts\MissionScripting.lua
|
||||||
|
-- Needs SRS => 1.9.6 to work (works on the *server* side of SRS)
|
||||||
|
-- self.useSRS = false -- Set true to use FF's SRS integration
|
||||||
|
-- self.SRSPath = "E:\\Program Files\\DCS-SimpleRadio-Standalone\\" -- adjust your own path in your SRS installation -- server(!)
|
||||||
|
-- self.SRSchannel = 300 -- radio channel
|
||||||
|
-- self.SRSModulation = radio.modulation.AM -- modulation
|
||||||
--
|
--
|
||||||
-- ## 3. Events
|
-- ## 3. Events
|
||||||
--
|
--
|
||||||
@ -142,7 +152,7 @@
|
|||||||
-- @field #CSAR
|
-- @field #CSAR
|
||||||
CSAR = {
|
CSAR = {
|
||||||
ClassName = "CSAR",
|
ClassName = "CSAR",
|
||||||
verbose = 1,
|
verbose = 0,
|
||||||
lid = "",
|
lid = "",
|
||||||
coalition = 1,
|
coalition = 1,
|
||||||
coalitiontxt = "blue",
|
coalitiontxt = "blue",
|
||||||
@ -212,7 +222,7 @@ CSAR.AircraftType["Mi-24"] = 8
|
|||||||
|
|
||||||
--- CSAR class version.
|
--- CSAR class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
CSAR.version="0.1.2r1"
|
CSAR.version="0.1.2r2"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
-- ToDo list
|
-- ToDo list
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user