Jump to content

Help With CDK (Mission Making)


MF_DOOMER
 Share

Hello, I am new to CDK but have been able to figure out things here and there with help from the limited tutorials on youtube and some forum posts.

My goal is to make a massive dogfight with as many planes as possible. Which should be a very simple task.

But I cannot figure out how to actually A.) Make the units spawn(I have placed them, messed around with their individual settings, they wont appear where I placed the asset) B.) Get them to move to a specific location and C.) Get them to attack eachother(from what I've seen they follow eachother but do not engage the enemy despite me setting their settings to attack air and whatnot).

If anyone can help I would greatly appreciate it and God Bless

external-content.duckasdasdsadasduckgo.com.jpg

Share this post


Link to post
Share on other sites

1 hour ago, MF_DOOMER said:

 A.) Make the units spawn(I have placed them, messed around with their individual settings, they wont appear where I placed the asset)

Add some areas, then assign units to them by using unitRespawn action.

 

1 hour ago, MF_DOOMER said:

B.) Get them to move to a specific location 

Use waypoints or something, unitMoveTo action should also work.

 

1 hour ago, MF_DOOMER said:

C.) Get them to attack eachother(from what I've seen they follow eachother but do not engage the enemy despite me setting their settings to attack air and whatnot).

Use unitAttackTarget action, otherwise they will just be flying around, also enable fireRandom option .

  • Thanks 1
medal medal medal medal

Share this post


Link to post
Share on other sites

9 hours ago, RideR2 said:

Add some areas, then assign units to them by using unitRespawn action.

 

Use waypoints or something, unitMoveTo action should also work.

 

Use unitAttackTarget action, otherwise they will just be flying around, also enable fireRandom option .

I've been messing around with all the settings for quite awhile now, and I've made great progress if I do say so myself. (For knowing nothing a day ago)

But I cannot figure out why the two teams aren't attacking eachother for the life of me.

I have their spawns correct, correlating teams is good, they fly to the area, I have two 'attack target actions' set (one for team A targeting team B and vice versa), I have the AI and all obvious options selected for battle....

Could there be an issue with the weaponry? I set the ammo for all their guns to 1000 (which is set to 0 originally [not 100% sure if 0 means unlimited]). They also seem to still somewhat follow eachother in a line, which I think would stop when a battle happens, the problem is just getting them to initiate one another with death

And one last thing, I have this one plane by itself that spawns as a grey blob, like the game didn't register which model it was.

I apologize if this is alot but I just really wanna figure this thing out, the possibilities are endless and the gameplay is way more fun than anything Arma could offer imo
 

Share this post


Link to post
Share on other sites

3 minutes ago, RideR2 said:

Upload the mission here.

Alright thank you man, before you open and think I am a total R though

The reason I have a single squad with 32 is because my main goal in learning this is to create a massive air battle with as many planes as possible (like 100 per team) so I was testing around with squads and team slots.

Also there are 10 individual planes per team, and these are the grey blobs for some reason. I figured maybe the 32 sized squad was the reason for engagement issues but turns out it is not.

Again thank you

perhaps.blk

Share this post


Link to post
Share on other sites

16 minutes ago, RideR2 said:

Is that supposed to be a singleplayer or multiplayer mission?

I want it to be a multiplayer mission in the end, for me and 4-5 buddies or so, but for right now I'm still just trying to learn the basics. So then later on I can make anything we want to

Share this post


Link to post
Share on other sites

 

1 hour ago, MF_DOOMER said:

I want it to be a multiplayer mission in the end, for me and 4-5 buddies or so, but for right now I'm still just trying to learn the basics. So then later on I can make anything we want to

Ok then, I fixed it and added some comments to it, so open it in the mission editor and read them.

 

Two versions with a slightly different AI

 

dumb one

done.blk

 

smart one

done.blk

Edited by RideR2
  • Like 1
medal medal medal medal

Share this post


Link to post
Share on other sites

36 minutes ago, RideR2 said:

Ok then, I fixed it and added some comments to it, so open it in the mission editor and read them.

 

done.blk 135.06 kB  ·  0 downloads

WOW! Thank you so much man. I greatly appreciate it!

I'm going to spend awhile studying what you've done to make it work.

Do you mind if I reply to this same convo and ask a few more questions to you as there isn't alot of resources I've found that could help and/or if you know any good sources for learning please share?

Again thank you, I'm so excited to be able to make my own missions and you've provided a huge boost forwards.

Share this post


Link to post
Share on other sites

11 minutes ago, MF_DOOMER said:

I'm going to spend awhile studying what you've done to make it work.

If you are planning to make simple missions only then use the "smart" AI, it's basically a "named bot" which you can for example see in custom battles when you enable bots and you enable its AI by using that one trigger, to switch it back you would need to set it to "missionFighter", so it is still possible to use it. Keep in mind that the "assaultBot" doesn't care about any unitMoveTo or unitAttack target actions, it will just keep doing its own stuff (so try to kill the enemy team).

Btw, AI in WT is extremly dumb anyway and that cannot really be fixed, if you are looking for a game with good AI in planes then just buy some other game like BMS Falcon or Strike Fighters (if you like jets) or IL-2 Great Battles.

At least the AI for the ground units can be customized to some extent and it is possible to make some decent and interesting missions.

 

About multiplayer missions, just check this page:

https://wiki.warthunder.com/Multiplayer_mission_creation

Edited by RideR2
  • Like 1
  • Thanks 1
medal medal medal medal

Share this post


Link to post
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...