mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
Fixed stinger unit typename
It appears that with DCS 2.5.6 ED remamed the unit Stinger manpad and removed the alternate versions that were assocaited with different countries. There is just now one unit named Soldier stringer
This commit is contained in:
6
CTLD.lua
6
CTLD.lua
@@ -489,7 +489,7 @@ ctld.spawnableCrates = {
|
|||||||
{ weight = 800, desc = "FOB Crate - Small", unit = "FOB-SMALL" }, -- Builds a FOB! - requires 3 * ctld.cratesRequiredForFOB
|
{ weight = 800, desc = "FOB Crate - Small", unit = "FOB-SMALL" }, -- Builds a FOB! - requires 3 * ctld.cratesRequiredForFOB
|
||||||
},
|
},
|
||||||
["AA Crates"] = {
|
["AA Crates"] = {
|
||||||
{ weight = 50, desc = "Stinger", unit = "Stinger manpad", side = 2 },
|
{ weight = 50, desc = "Stinger", unit = "Soldier stinger", side = 2 },
|
||||||
{ weight = 55, desc = "Igla", unit = "SA-18 Igla manpad", side = 1 },
|
{ weight = 55, desc = "Igla", unit = "SA-18 Igla manpad", side = 1 },
|
||||||
|
|
||||||
-- HAWK System
|
-- HAWK System
|
||||||
@@ -1819,7 +1819,7 @@ function ctld.generateTroopTypes(_side, _countOrTemplate, _country)
|
|||||||
|
|
||||||
if _countOrTemplate.aa then
|
if _countOrTemplate.aa then
|
||||||
if _side == 2 then
|
if _side == 2 then
|
||||||
_troops = ctld.insertIntoTroopsArray("Stinger manpad",_countOrTemplate.aa,_troops)
|
_troops = ctld.insertIntoTroopsArray("Soldier stinger",_countOrTemplate.aa,_troops)
|
||||||
else
|
else
|
||||||
_troops = ctld.insertIntoTroopsArray("SA-18 Igla manpad",_countOrTemplate.aa,_troops)
|
_troops = ctld.insertIntoTroopsArray("SA-18 Igla manpad",_countOrTemplate.aa,_troops)
|
||||||
end
|
end
|
||||||
@@ -1854,7 +1854,7 @@ function ctld.generateTroopTypes(_side, _countOrTemplate, _country)
|
|||||||
_unitType = "Soldier M4"
|
_unitType = "Soldier M4"
|
||||||
|
|
||||||
if _i <= 5 and ctld.spawnStinger then
|
if _i <= 5 and ctld.spawnStinger then
|
||||||
_unitType = "Stinger manpad"
|
_unitType = "Soldier stinger"
|
||||||
end
|
end
|
||||||
if _i <= 4 and ctld.spawnRPGWithCoalition then
|
if _i <= 4 and ctld.spawnRPGWithCoalition then
|
||||||
_unitType = "Paratrooper RPG-16"
|
_unitType = "Paratrooper RPG-16"
|
||||||
|
|||||||
Reference in New Issue
Block a user