Jump to content

Recommended Posts

Posted

So quick version of a mission I'm working on: Blue force has to recon several different airbases/locations in red territory to find a specific vehicle (sam launcher). Once spotted, I want the blue force to use the radio options to tell the bombers where to go. Bombers will be AI.

 

So I have the bombers at a base with late activation, but is there a way I can set their bombing target via a trigger based from a radio option?

Coder - Oculus Rift Guy - Court Jester

Posted

I'm not sure that it's possible to dynamically alter flight plans for AI aircraft, but you could very successfully simulate what you want to do by actually creating AI bomber missions for all the potential target locations and having them all on late activation with different flag values used to activate each group. That way only the bomber flight that's appropriate to the actual discovered target location will actually be activated.

 

Hope that makes sense, I've just woken up and haven't had any coffee yet... :)

System Spec: Cooler Master Cosmos C700P Black Edition case. | AMD 5950X CPU | MSI RTX-3090 GPU | 32GB HyperX Predator PC4000 RAM | | TM Warthog stick & throttle | TrackIR 5 | Samsung 980 Pro NVMe 4 SSD 1TB (boot) | Samsung 870 QVO SSD 4TB (games) | Windows 10 Pro 64-bit.

 

Personal wish list: DCS: Su-27SM & DCS: Avro Vulcan.

Posted

If I understand correctly what you want to do, it is doable and actually quite simple as far as sending the bombers go, the only problem is to replicate the 'spotting' part. Still, here is what I would suggest:

 

SPOTTING

- Once players are in the mission area (one big zone) or once in one of the target areas (so several smaller zones) you can add several radio options to them, each describing different target (so,for instance: Report SA-9 next to a factory complex, 2.Report SA-15 next to factory complex, 3. Report SA-9 on the Southern side of a city next to a garage etc. Don't give specific grids, as then it would be too easy to find the target (unless you just add grid GH 13, which would be quite an area to check).

- This will force them to really check the target against the background to be sure that they have a specific one.

- Once they report in, bombers wil be sent to a specific location (see below). If you want to be nasty, you can program several targets for the bombers, which can even hit civilian target instead of chosen one if players make the wrong choice.

 

BOMBERS ATTACK

Send the bombers into specific waypoint and tell them to orbit the same moment players receive their choice of targets (so when they enter the target zone), otherwise the whole process may be too long.

 

Then use triggered actions tab for bomber (I think it is second or third tab after waypoints tab) and add "attack unit -> choose unit that needs to be destroyed. Give the task specific name (I.e. "attack main target"

 

Once players make their choice, in triggers use: flag is true (flag value of the given F10 radio option) -> AI task push -> Attack main target.

For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel.
Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.

Posted
If I understand correctly what you want to do, it is doable and actually quite simple as far as sending the bombers go, the only problem is to replicate the 'spotting' part. Still, here is what I would suggest:

 

SPOTTING

- Once players are in the mission area (one big zone) or once in one of the target areas (so several smaller zones) you can add several radio options to them, each describing different target (so,for instance: Report SA-9 next to a factory complex, 2.Report SA-15 next to factory complex, 3. Report SA-9 on the Southern side of a city next to a garage etc. Don't give specific grids, as then it would be too easy to find the target (unless you just add grid GH 13, which would be quite an area to check).

- This will force them to really check the target against the background to be sure that they have a specific one.

- Once they report in, bombers wil be sent to a specific location (see below). If you want to be nasty, you can program several targets for the bombers, which can even hit civilian target instead of chosen one if players make the wrong choice.

 

BOMBERS ATTACK

Send the bombers into specific waypoint and tell them to orbit the same moment players receive their choice of targets (so when they enter the target zone), otherwise the whole process may be too long.

 

Then use triggered actions tab for bomber (I think it is second or third tab after waypoints tab) and add "attack unit -> choose unit that needs to be destroyed. Give the task specific name (I.e. "attack main target"

 

Once players make their choice, in triggers use: flag is true (flag value of the given F10 radio option) -> AI task push -> Attack main target.

 

Thanks for the info. So as long as the target is always called the same it should be good. I'm going to experiement with using a random factor to putting it in a different location each time to add replayablitity to the mission.

Coder - Oculus Rift Guy - Court Jester

Posted

What baltic_dragon said. Yes about the orbiting waypoint to stage the bombers.

 

You can also use the Advanced Waypoint Actions to set up multiple, optional Bombing targets. Open any of those and then open the Condition... dialog. You can use an Is User Flag to Condition the action and that flag is set to 1 with the Radio F10 menu. I like to use five digit flags so I put this code into the Condition... 'Condition (LUA Predicate)' dialog box and check that box:

if trigger.misc.getUserFlag(90115) == 1 then 
return true
end

 

You can use this ^^^ for Stop Condition... as well.

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...