Mission Creation Advices, Ask Your Questions Here

That is weird. I checked your mission. Your UnitAttackTarget actions does not look normal.

Usually, when you add this action (UnitAttackTarget) you should select attacker (object) and target (target). See screenshot below.
Do not focus on attack type yet. Once you specify object and target, bots will fight. I have created many missions and never ever had a problem with this.

Spoiler

May I ask :
How to make the mission (single player) have a running in-game time (with a moving sun)?
I have made several attempts but failed, even only to set the ‘environment’ to ‘evening’ , (without setting anything else like the ‘stars’ etc.), during 40-60min period the sun looks static.

Anyone having constant crashes trying to load the CDK? I keep getting this error when I try to load the Sinai map.
image

Also not sure if it’s related or not but all maps are missing water textures for some reason.

It’s very much broken after the update, quite a few maps crash when loading. I would think that certain assets changed with the Poland and Eastern Europe map updates.

Hi everyone, I am a Battlefield 1942 modder and I’ve begun creating PvE mission for Custom Battles using the CDK. The program is constantly crashing, specifically when trying to place “objectGroups” with the “Show units assets” turned on. Can we have a dev look into this?

Currently, the CDK is unusable for me, which is frustrating.

Map I’m using is: arcade_normandy_fjords
but I am getting the same errors on many other maps too.

I filed a bug report:
https://community.gaijin.net/issues/p/warthunder/i/IclcNuzWjA10

2 Likes

I have started to get an issue with user models. To be specific, this mission does not work (see below).
The most intersting thing is that you can view BM-21 in CDK Mission Editor, when you click “Show Assets” button, but you cannot even add this unit as bot - it will simply does not appear in the game.
I hope this will be fixed.

Hello, does anyone know if its possible to access the .blk files for the normal or event missions? Or are those hidden?

I’ve replicated the SEAD mission from the previous events, you can try them here to view it yourself if that’s what you’re asking. [1][2][3]**

For the technical part: it’s a bit tricky, but not impossible. You have to first locate mis.vromfs.bin stored at the root of your game installation. Basically all the missions/events featured in the game is contained within the said file. I won’t cover the details of how/ways to obtain specific files, but there’s something to take note of. For a mission to function properly, you have to first locate 3 - 4 modular templates before working on the main mission file, or else your mission might not work at all. Cheers

** This mission might be bugged somehow, but I swear it’s the original mission

1 Like

How can I restrict the range of enemy aircraft? I set up an anchor area, but enemy planes still don’t fly according to my restrictions

here but there is not much use for it if you want to launch mission by yourself

Hello 👋 i was wondering if there was a guide or anything to help me make an AEC mission in the CDK?

There are no guides on creating AEC missions, but there are some guides on using CDK. Also, information of using tirggers can be found on the official website.
From my experience, you need to know the capability of triggers to be able to understand, what kind of missions can be created.

1 Like

Thanks, ill probably stick to single missions then

I personally prefer to create single missions via missions by URL.

Wdym?
I do them in user missions so that I can add custom camouflages

There are two types of missions - single missions (located in UserMissions folder) and custom (by URL).
In single mission you are limited with one vehicle only which is predetermined + you cannot select weapon presets for planes + cannot use your crew.
That is why I create custom missions, even for single player.

Both types of missions work based on the same triggers, though some triggers do not work in one or another type.

1 Like

Ahh that makes sense, id probably still make single missions for usermissions and MPnmissions for URL based 🤷‍♂️

Has anyone gotten the new Modern AAs to work using CDK ??
I am talking about the new models which have separate radare vehicle and missile launcher vehicles.

yes, although for me at least its not consistent between missions, use the UnitsSetSite trigger action for the SAMs

1 Like

If you could please share an example mission file, That would be great!