dcs-liberation / dcs_liberation

DCS World dynamic campaign.
GNU Lesser General Public License v3.0
718 stars 184 forks source link

Helo missions and CTLD support #2163

Closed RndName closed 2 years ago

RndName commented 2 years ago

To bring in some missions for rotor pilots the CTLD (https://github.com/ciribob/DCS-CTLD) script has to be integrated into liberation. This issue is a placeholder for all the tasks to complete.

Requirements

optional

\ Two missions can be implemented at first:

Transport:

Air Assault (#527) :

This airassault flightplan allows to have a separate pick up and drop off location. The CTLD zones will be placed at the Waypoint location with a 300ft radius. The drop off location must not be at the targeted CP. The CP has a target zone with a range of 1500ft (or more?) which will be used for the deployed troops as target where they will head to. So you can drop infantry out of the way of the defenses and let them fight theyre way to the FOB and shred some tanks with RPGs or similar. grafik

\ More potential missions for later things

Hornet2041 commented 2 years ago

CSAR missions for shot aircrafts (Its fun but does not really fit the liberation game style as we do not really benefit of a recovered pilot atm

couldn't this tie into the existing pilot system? Recovering downed pilots could return them to the pool instead of having to wait for it being replenished by reinforcements

DanAlbert commented 2 years ago

If it doesn't the pilot feature was fairly pointless. That was always the motivation for doing it.

RndName commented 2 years ago

Good point (i never looked deeper into to the replenish function yet - shame on me i know :D) Gonna update the issue later. Reading this the CSAR can have more sense i initially thought :)

DanAlbert commented 2 years ago

The replenishment aspect is part of it, but the skill level is important too. Even with instant replenishment it'd be worth rescuing veteran pilots.

(Limited replenishment remains optional because we haven't come up with an economic balance that anyone thinks is an improvement yet)

SchmokedPancake commented 2 years ago

A note on csar, it works and tracks shot down planes as is.

Only thing to figure out is getting that event to liberation for squadrons replenishing. When they get shot down, or rescued (brought back to a fob or base)

and of course creating missions for it that accommodate picking up pilots who got shot down.

Abburo commented 2 years ago

Some suggestions from my side if I'm allowed. I'm not a programmer but was looking for a proper CTLD/CSAR/FAC implementations for Liberation. Not sure which will be your preferred programing env to create all these but I've been looking on MOOSE framework which has a lot of features built in and easy to cover the requirements listed here. I would enumerate some:

  1. MOOSE CTLD automatically reads pilots, units, triger zones etc, all it needs is just a naming alignment which is easy to get from Liberation
  2. AI capabilities for CARGO/CSAR already present in Moose
  3. possibility to create waypoints zones and patrol zones directly on F10 map so that AI units will act by themselves after unloading
  4. Integrated kind of unit limitations to be created directly in cargo definitions: my_ctld:AddTroopsCargo("Infantry Squad (6)",{"Infantry6"},CTLD_CARGO.Enum.TROOPS,6,soldierweight,2) The last number here which is "2", says that there might be spawned only to Infantry squads. This could be converted somehow to some monetization I think.
  5. Improved transport capabilities. A cargo unit can load multiple crates or troops as long the cargo capabilities definition are not exceeded. For example here a UH-60L can be set to transport more cargo crates then others, giving it more sense to be used.
  6. Arty function (mortar mainly) can be integrated as well and might support the troops with illumination "bombs"

All above and more can be quite easy to integrate however there is on important issue to overcome. The way MOOSE working requires what is called "templates" of units with "late activation" checked so that they can be spawned from crates or other mean. I found out that Liberation campaign definition does not allow custom units to be set in so that they can be automatically used by Moose CTLLD during campaign progression. If some changes could be introduced on Liberation level I think it would be a fantastic addition an maybe a consistent way too add proper logistic .

If interested please just let me know and I can share my findings with you anytime ! Logistics in Liberation is something I really want to happen!

RndName commented 2 years ago

Thanks for the inputs!

Actually i was not planning to support MOOSE framework. It is a full blown Framework for mission scripting which we basicly do not use for liberation as we create all the mission from python using the pydcs framework. So no special scripting and dynamic editing / spawning of units is necessary for the general purpose of liberation (for now). The possibilites using Moose are huge (i personally use it as well for my personal dcs testing mission where i try out new stuff) but for me there is no real benefit which would justify the amount of work to be done to integrate it.

The real strenght of Moose (personal opinion) is to give Mission Designers super powerful tools to create long running dynamic, persistent campaigns

The normal CTLD (using mist) for now works really great for the kind of missions there will be (transport & air assault).

SchmokedPancake commented 2 years ago

Good work Rndname, this will bring a whole new role to be played out.