Jump to content

[Solved]How to use Command: Attack MCU to target a spawns object?


Recommended Posts

Posted (edited)

I am trying to attack this train but can't get the AI to find it using the Command: Attack MCU

[Edit] Both the train and aircraft spawn and move. This issue I am having is with targeting.

 

image.png.c157aae81a6a2efa1ce0bfe1b3a24281.png

 

Any ideas?

 

[Edit] If some could look at only the train at Eindhoven, I can make changes to the rest. Thank you!

 

Edited by JG7_X-Man
Added Mission Folder
Posted (edited)

Can you show us more of your setup or (even better) post your mission please.

Edited by JimTM
  • Thanks 1
Posted
12 hours ago, JimTM said:

Can you show us more of your setup or (even better) post your mission please.

Done sir!

Adding timers to validate the Attack Command is being pulsed 2s after the initial WP is pulsed.

22 minutes ago, JG7_X-Man said:

Done sir!

Adding timers to validate the Attack Command is being pulsed 2s after the initial WP is pulsed.

 

...I think the issue is right in front of me! I need separate initial waypoint for each flight which pulses each flight's Command Attack.

Posted (edited)

You have quite complex logic that I don't really understand right now. Maybe a high-level explanation of the logic flow would help. Perhaps try a simple test case where you command one flight to attack one train to confirm that the flight will find and attack the train. Also, you could add some subtitle translators to the full mission to confirm that various actions are occurring (e.g., the attack command is being triggered for the train at Eindhoven).

Edited by JimTM
  • Thanks 1
Posted

@JimTM Thanks for that - You guys always spitball accurately! I can't have a single WP trigger multiple Command Attack MCUs. However, a single WP for each flight did the trick!

  • Upvote 2
  • JG7_X-Man changed the title to [Solved]How to use Command: Attack MCU to target a spawns object?
Posted

Great! You're welcome X-Man.

Posted

I am able to get some Ju87s to dive bomb on a moving target. Here's what it looks like:

 

image.thumb.png.e7f5b5016c5de8a54d5c2da83e5c2bc2.png

Boom!!!

 

image.thumb.png.9c92e0bdcfff7a43baf685cf658bc7b4.png

My train goes from West to East along the track. This is the overview of that logic.

 

image.thumb.png.9cba85db0734c8d466bc86a6732dbd56.png

I have some proximity triggers object linked to the train. When the bombers come in, the train will report that enemy bombers are near the train to friendlies.

 

 

image.thumb.png.75b9f55ee1112ef4f413ca5e235a53f7.png

I also have subtitles for when the train gets damaged or destroyed.

 

image.thumb.png.832afb7a58f5173de88d54a72cede70d.png

Finally for the train, I have a subtitle for when the train arrives at the waypoint.

 

 

 

FOR THE AI BOMBERS:

image.thumb.png.94ea308c867dbccf4d1ef8fa7ca9f654.png

Here is the overview of the bombers flight. Basically they fly to the ingress -> find the designated target -> bomb the poo out of it -> fly home once they run out of bombs

 

image.thumb.png.5bd5b77ce957fdc2e684b667d91d51ac.png

Bingo Bombs logic - For when the bombers run out of bombs

 

image.thumb.png.5a741a569b6fa5539fecfe77b25ad819.png

Command Attack Logic - Make sure to object link the bombers (they're the object performing the attack) and target link the train (the train is the target getting attacked). For the train, no need to attack the entire group, so it's unchecked. Check it if you have a convoy of vehicles or a flight of planes as a target.

 

 

Bombers Attack Train.zip

The mission for anyone to reverse engineer

 

 

 

 

 

  • Like 1
  • Upvote 2
Posted

@Sketch Thank you foe this! Where I have the "Tiffies" to attack the trains, you have given me ideas on communicating to the player what's going on!

"bomb the poo out of it" LOL :rofl:

  • Upvote 1
Posted

Great Find!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...