Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Applevangelist committed Aug 20, 2024
2 parents b1a4040 + e77d61c commit aee7bd8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Moose Development/Moose/Ops/CTLD.lua
Original file line number Diff line number Diff line change
Expand Up @@ -773,8 +773,8 @@ do
-- my_ctld.RadioSound = "beacon.ogg" -- -- this sound will be hearable if you tune in the beacon frequency. Add the sound file to your miz.
-- my_ctld.RadioSoundFC3 = "beacon.ogg" -- this sound will be hearable by FC3 users (actually all UHF radios); change to something like "beaconsilent.ogg" and add the sound file to your miz if you don't want to annoy FC3 pilots.
-- my_ctld.enableChinookGCLoading = true -- this will effectively suppress the crate load and drop for CTLD_CARGO.Enum.STATIc types for CTLD for the Chinook
-- my_ctld.TroopUnloadDistGround = 1.5 -- If hovering, spawn dropped troops this far away from the helo
-- my_ctld.TroopUnloadDistHover = 5 -- If grounded, spawn dropped troops this far away from the helo
-- my_ctld.TroopUnloadDistGround = 5 -- If hovering, spawn dropped troops this far away in meters from the helo
-- my_ctld.TroopUnloadDistHover = 1.5 -- If grounded, spawn dropped troops this far away in meters from the helo
--
-- ## 2.1 CH-47 Chinook support
--
Expand Down Expand Up @@ -1210,8 +1210,8 @@ CTLD = {
pickupZones = {},
DynamicCargo = {},
ChinookTroopCircleRadius = 5,
TroopUnloadDistGround = 1.5,
TroopUnloadDistHover = 5,
TroopUnloadDistGround = 5,
TroopUnloadDistHover = 1.5,
}

------------------------------
Expand Down Expand Up @@ -1316,7 +1316,7 @@ CTLD.UnitTypeCapabilities = {

--- CTLD class version.
-- @field #string version
CTLD.version="1.1.12"
CTLD.version="1.1.13"

--- Instantiate a new CTLD.
-- @param #CTLD self
Expand Down Expand Up @@ -3436,7 +3436,7 @@ function CTLD:_UnloadTroops(Group, Unit)
randomcoord = Group:GetCoordinate()
-- slightly left from us
local Angle = (heading+270)%360
local offset = hoverunload and self.TroopUnloadDistGround or self.TroopUnloadDistHover
local offset = hoverunload and self.TroopUnloadDistHover or self.TroopUnloadDistGround
randomcoord:Translate(offset,Angle,nil,true)
end
local tempcount = 0
Expand Down

0 comments on commit aee7bd8

Please sign in to comment.