mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
Compare commits
3 Commits
20210827.0
...
20211113.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f70c6a7131 | ||
|
|
3717f0f11b | ||
|
|
1911c608bb |
15
CTLD.lua
15
CTLD.lua
@@ -26,7 +26,7 @@ ctld = {} -- DONT REMOVE!
|
|||||||
ctld.Id = "CTLD - "
|
ctld.Id = "CTLD - "
|
||||||
|
|
||||||
--- Version.
|
--- Version.
|
||||||
ctld.Version = "20210827.01"
|
ctld.Version = "20211113.01"
|
||||||
|
|
||||||
-- debug level, specific to this module
|
-- debug level, specific to this module
|
||||||
ctld.Debug = true
|
ctld.Debug = true
|
||||||
@@ -74,7 +74,7 @@ ctld.vehiclesWeight = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctld.aaLaunchers = 3 -- controls how many launchers to add to the kub/buk when its spawned.
|
ctld.aaLaunchers = 3 -- controls how many launchers to add to the kub/buk when its spawned.
|
||||||
ctld.hawkLaunchers = 5 -- controls how many launchers to add to the hawk when its spawned.
|
ctld.hawkLaunchers = 8 -- controls how many launchers to add to the hawk when its spawned.
|
||||||
|
|
||||||
ctld.spawnRPGWithCoalition = true --spawns a friendly RPG unit with Coalition forces
|
ctld.spawnRPGWithCoalition = true --spawns a friendly RPG unit with Coalition forces
|
||||||
ctld.spawnStinger = false -- spawns a stinger / igla soldier with a group of 6 or more soldiers!
|
ctld.spawnStinger = false -- spawns a stinger / igla soldier with a group of 6 or more soldiers!
|
||||||
@@ -542,7 +542,7 @@ ctld.spawnableCrates = {
|
|||||||
{ weight = 545, desc = "HAWK Search Radar", unit = "Hawk sr", side = 2 },
|
{ weight = 545, desc = "HAWK Search Radar", unit = "Hawk sr", side = 2 },
|
||||||
{ weight = 546, desc = "HAWK Track Radar", unit = "Hawk tr", side = 2 },
|
{ weight = 546, desc = "HAWK Track Radar", unit = "Hawk tr", side = 2 },
|
||||||
{ weight = 547, desc = "HAWK PCP", unit = "Hawk pcp" , side = 2 }, -- Remove this if on 1.2
|
{ weight = 547, desc = "HAWK PCP", unit = "Hawk pcp" , side = 2 }, -- Remove this if on 1.2
|
||||||
{ weight = 548, desc = "HAWK CWAR", unit = "Hawk cwar" , side = 2 }, -- Remove this if on 2.5
|
{ weight = 548, desc = "HAWK CWAR", unit = "Hawk cwar" , side = 2 }, -- Remove this if on 2.5
|
||||||
{ weight = 549, desc = "HAWK Repair", unit = "HAWK Repair" , side = 2 },
|
{ weight = 549, desc = "HAWK Repair", unit = "HAWK Repair" , side = 2 },
|
||||||
-- End of HAWK
|
-- End of HAWK
|
||||||
|
|
||||||
@@ -4172,15 +4172,6 @@ function ctld.spawnCrateGroup(_heli, _positions, _types)
|
|||||||
|
|
||||||
local _spawnedGroup = Group.getByName(mist.dynAdd(_group).name)
|
local _spawnedGroup = Group.getByName(mist.dynAdd(_group).name)
|
||||||
|
|
||||||
--local _spawnedGroup = coalition.addGroup(_heli:getCountry(), Group.Category.GROUND, _group)
|
|
||||||
|
|
||||||
--activate by moving and so we can set ROE and Alarm state
|
|
||||||
|
|
||||||
local _dest = _spawnedGroup:getUnit(1):getPoint()
|
|
||||||
_dest = { x = _dest.x + 0.5, _y = _dest.y + 0.5, z = _dest.z + 0.5 }
|
|
||||||
|
|
||||||
ctld.orderGroupToMoveToPoint(_spawnedGroup:getUnit(1), _dest)
|
|
||||||
|
|
||||||
return _spawnedGroup
|
return _spawnedGroup
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
BIN
test-mission.miz
BIN
test-mission.miz
Binary file not shown.
Reference in New Issue
Block a user