Jump to content

Recommended Posts

Posted

I've just started tinkering with the mission editor and I'm having a hard time understanding how to get a friendly AI plane to attack a building.

 

For practice I've setup an A-10 to fly out of an airport and gave it three waypoints: runway start, one just beyond the airport and one more near a barracks that I want the plane to destroy. The plane is loaded with 4 Mk-84s.

 

On the last waypoint, it has an Attack Unit("Barracks1") and the building I want it to destroy is called Barracks1. The plane just flies in the area and then lands back at the airport.

 

I've tried Ground Attack and Bombing but all it does is drop bombs on some random building on the map and then fly back home. How do I get the AI to fly to a place and destroy what is there?

Posted
Nevermind. I realized what the problem was.

 

What was the problem, for the rest of us? I believe you want to use the "Attack map object" for specific objects, but you can also use "Bombing" action and specify essentially a lat/long where AI will try to place bombs regardless of there being anything there at all.

"Snipe"

--------------------------------------------------------------------------------

OS => Win7 64-bit Ultimate | MOBO => ASUS M2N-SLI Deluxe | RAM => 8GB | VIDEO CARD => XFX ATI 4850 | CONTROLLER => Saitek X52 | DISPLAY => ASUS 25.5" 1600x1280 | HDD => 150GB WD Raptor (10K RPM)

Posted

Oh come on man. People, really now, get some brains working.

 

You're in a forum. When people have trouble they will use forum search and find your thread perhaps. They will go "hell yeah! no need to post a new thread since there is this one already" and all the will find is:

 

Nevermind. I realized what the problem was.

 

Come on man. That's no help. Explain what you did, I am interested in this as well!

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted
Oh come on man. People, really now, get some brains working.

 

Let's not be too hard on him. ;) After all we want to encourage people to feel comfortable posting! I know what you're saying of course! (thanks for the amen).

 

Cheers!

"Snipe"

--------------------------------------------------------------------------------

OS => Win7 64-bit Ultimate | MOBO => ASUS M2N-SLI Deluxe | RAM => 8GB | VIDEO CARD => XFX ATI 4850 | CONTROLLER => Saitek X52 | DISPLAY => ASUS 25.5" 1600x1280 | HDD => 150GB WD Raptor (10K RPM)

Posted

Sorry guys. I didn't mean to blow this thread off. Thanks for PMing me Megagoth and you are right, I should have posted my answer. I just felt a bit dumb after I figured it out.

 

Here are the details: I wanted the AI to attack a specific building so I can observe it in action as I was messing with a nearby tank trying to figure out how Combined Arms works.

 

Seems like changing the AI group's Task not only filters out the actions that can be selected in the Advanced (Waypoint Actions) section, but it also resets some of the parameters. Since I was switching between Attack Ground, Bombing and CAS, the parameter for the Attack Unit action kept being reset.

 

I wanted the AI to attack a specific building, not just random targets in the area. I got it to work by setting its Task to CAS. Then, on a waypoint close to the building (~2nm distance from target 4000 ft high), I added the Advanced Waypoint Action as follows:

 

Type = Perform Task

Action = Attack Unit

Static = Barracks1 (which is the name I gave to the building)

 

I was then able to watch the AI bomb the building from an Abrams tank I was controlling in the area.

Posted
I just felt a bit dumb after I figured it out.

 

Man I see myself much dumber whenever I am not able to answer a question properly. And then I get mad for people not telling me the final solution! :megalol: Especially your solution being pretty complicated. I wonder how long it would have taken ME to get that to work. Thanks for the reply man, it sure is helpful. :)

 

Thanks for not taking this the wrong way. We're a community here pretty much, so lets help as much as we can eh?

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted

No worries. I don't think your post came out offensively or anything. I assume sarcasm and good-natured chops-busting until proven otherwise :thumbup:

 

Trying to get good at this mission building thing so I can contribute something back to the community. Still a long ways away though :book:

 

Man I see myself much dumber whenever I am not able to answer a question properly. And then I get mad for people not telling me the final solution! :megalol: Especially your solution being pretty complicated. I wonder how long it would have taken ME to get that to work. Thanks for the reply man, it sure is helpful. :)

 

Thanks for not taking this the wrong way. We're a community here pretty much, so lets help as much as we can eh?

  • Recently Browsing   0 members

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