Help with Airborne ops (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios



Message


hasler -> Help with Airborne ops (6/27/2018 12:14:47 AM)

I am trying to drop the 82nd airborne in a scenario I am working on. The problem is I don't see any US paratroopers, or even US infantry available. The only troops I see are a generic 7.62 troops in 4 man fire teams. Is this correct? I guess I could try to do a Lua creation, but I would prefer to do a real cargo drop. Any insight would be appreciated.




Gunner98 -> RE: Help with Airborne ops (6/27/2018 1:31:07 AM)

If your asking about Database units there are plenty of US infantry units, although no specific US Para units except for some SF types.

If your asking about the cargo module, most elements are generic. A Brit 4 man section with an MG has the same capability as a US 4 man section with an MG etc.

Specific equipment are included such as specific AT weapons etc.




TyphoonFr -> RE: Help with Airborne ops (6/27/2018 5:40:42 PM)

Hi,

An LUA creation makes it possible to transform a generic unit disembarked into a specific unit, or to teleport a specific unit, to the place where the generic unit appeared.

Here is an example to transform different type of unit units disembarked (Mech, Inf, Armored, Arty),

s="GTIA"
local cargo = ScenEdit_UnitX()
local elev = World_GetElevation({latitude=cargo.latitude,longitude=cargo.longitude})

ScenEdit_DeleteUnit({s,name=cargo.name})

if cargo.dbid ==2984 then --a unit Mech Inf becomes a Mech Inf Plt (VBCI)
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2396,
name='92RI',
latitude=cargo.latitude,
longitude=cargo.longitude})

elseif cargo.dbid ==2990 then --a unit Landed Detachment becomes a Vehicule VBL
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2200,
name='3RICM',
latitude=cargo.latitude,
longitude=cargo.longitude})

elseif cargo.dbid ==2983 then --a unit Armored Plt Generic becomes a Armored Plt Amx-10RC
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2198,
name='3RICM',
latitude=cargo.latitude,
longitude=cargo.longitude})

elseif cargo.dbid ==2985 then -- a unit Arty Generic becomes a Arty Bty Caésar
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2401,
name='11RA',
latitude=cargo.latitude,
longitude=cargo.longitude})

end



For example a unit Mech Inf - Generic # 2984 becomes a Mech Inf Plt (VBCI) # 2396

Instead of creating a unit, you can teleport an existing unit to the landing position of the generic unit, changing its position with ScenEdit_SetUnit (unit)




hasler -> RE: Help with Airborne ops (6/28/2018 5:22:24 AM)

Thanks, that is a good set of functions to know.




tjhkkr -> RE: Help with Airborne ops (7/6/2018 2:21:54 PM)

Thanks TyphoonFR... very useful piece of LUA code.
====
quote:

ORIGINAL: TyphoonFr
Hi,

An LUA creation makes it possible to transform a generic unit disembarked into a specific unit, or to teleport a specific unit, to the place where the generic unit appeared.
Here is an example to transform different type of unit units disembarked (Mech, Inf, Armored, Arty),

s="GTIA"
local cargo = ScenEdit_UnitX()
local elev = World_GetElevation({latitude=cargo.latitude,longitude=cargo.longitude})

ScenEdit_DeleteUnit({s,name=cargo.name})

if cargo.dbid ==2984 then --a unit Mech Inf becomes a Mech Inf Plt (VBCI)
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2396,
name='92RI',
latitude=cargo.latitude,
longitude=cargo.longitude})

elseif cargo.dbid ==2990 then --a unit Landed Detachment becomes a Vehicule VBL
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2200,
name='3RICM',
latitude=cargo.latitude,
longitude=cargo.longitude})

elseif cargo.dbid ==2983 then --a unit Armored Plt Generic becomes a Armored Plt Amx-10RC
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2198,
name='3RICM',
latitude=cargo.latitude,
longitude=cargo.longitude})

elseif cargo.dbid ==2985 then -- a unit Arty Generic becomes a Arty Bty Caésar
local sgtia = ScenEdit_AddUnit({
side=s,
type='Facility',
dbid=2401,
name='11RA',
latitude=cargo.latitude,
longitude=cargo.longitude})

end


For example a unit Mech Inf - Generic # 2984 becomes a Mech Inf Plt (VBCI) # 2396

Instead of creating a unit, you can teleport an existing unit to the landing position of the generic unit, changing its position with ScenEdit_SetUnit (unit)







Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.75