Implemented spawning of ship statics/units at naval control points instead of land structures or SHORAD sites.

This commit is contained in:
MetalStormGhost
2023-10-03 13:55:20 +03:00
parent 3d15505347
commit cf9538f7df
2 changed files with 259 additions and 196 deletions

View File

@@ -259,6 +259,28 @@ do
skill = "Excellent",
dataCategory= TemplateDB.type.group
}
TemplateDB.templates["blueShipGroup"] = {
units = {
"PERRY",
"USS_Arleigh_Burke_IIa",
"PERRY"
},
maxDist = 300,
skill = "Excellent",
dataCategory= TemplateDB.type.group
}
TemplateDB.templates["redShipGroup"] = {
units = {
"ALBATROS",
"NEUSTRASH",
"ALBATROS"
},
maxDist = 300,
skill = "Excellent",
dataCategory= TemplateDB.type.group
}
end
presets = {
@@ -523,10 +545,16 @@ presets = {
template='sa6',
}),
sa11 = Preset:new({
display = 'SAM',
cost=3000,
type='defense',
template='sa11',
}),
redShipGroup = Preset:new({
display = 'SAM',
cost=3000,
type='defense',
template='sa11',
template='redShipGroup',
})
},
blue = {
@@ -559,6 +587,12 @@ presets = {
cost=3000,
type='defense',
template='nasams',
}),
blueShipGroup = Preset:new({
display = 'SAM',
cost=3000,
type='defense',
template='blueShipGroup',
})
}
},