I couldnt really find any tutorial or guides on how to make delivery missions, and after couple of hours of tinkering I have found out. There will be some light file editing so i recommend Notepad++ Step 1: Open Wolrd Editor (F11) and make a new mission: Under Window > Missions > Missions Editor. Click file > New Mission. Name it whatever and select type delivery: Step 2: Basic mission Setup: Place the start trigger by clicking on the pencil icon, then on the map, Hold Shift, click and drag and release click. Scroll down and find TARGET, and do the same thing, TARGET is the end goal for the mission, the size matters as the trailer or the boxes on the trailer have to be in it. Make sure to constantly save on the top Step 3: Setting up the cars for the prefab: Exit world editor, and start spawning all the vehicles and props you want in the mission, i will just use a truck and a trailer. I have also lined up the truck and trailer so they attach: Make sure to place the truck and trailers where you want them to be in the map, as that will be the start point in the mission. Put the truck / trailer / props into a new group, and make it into a prefab: Save the prefab in the location of the mission, as vehicles.prefab.json. In my case that is Gameplay/missions/smallgrid/delivery/001-whatever/ If you are happy with the vehicles and the position, you can delete the prefab in the map. Step 4: Editing the json file: Now that we have setup the prefab, we have to define them. Go to the mission folder, if you cannot find it, go to the mission and click ... next to preview: Now open the vehicles.prefab.json in Notepad++. There you should see 3 rows if you have a truck and trailer. Scrolling right, next to "jbeam" it says us_semi, that is our truck. Scroll all the way to the right, and the line that is our truck, we will add the following at the end of it: ,"annotation":"CAR","internalName":"deplayer" Paste that right after the closing bracket ] , and right before the other closing bracket bracket }. It should look something like this: ],"annotation":"CAR","internalName":"deplayer"} Now do the same for the trailer but the "internalName" should be "trailerandcargo" and not "deplayer" If you also have some props, their interal name Should be "cargoA". If you have more cargo, name them cargoB, C , D, E... Potential Issues: 1. Loading into the mission i have a black/ blue or any kind of screen: The vehicles.prefab.json is setup incorrectly. Make sure you added internalName in the correct location and in the correct line.2. The vehicle is in the sky / wrong location. The prefab wasnt in a group before it was made, you can go to the last line and set "groupPosition" to :"0 0 0"3. The trailer isnt coupling: The trailer might be too close to the truck and is stuck in the truck, try to give them more space.--- Post updated --- I couldnt post any more images, so here are some images showing the json:
Thank you for doing this. You are right, there are barely any tutorials on setting up these missions. Most are somewhat straight forward but it is still important to know the correct file setup etc and to just have a tutorial quickly available is always very useful. I don“t know if you have the time and motivation but it would surely be helpful to have a tutorial for the other mission types aswel. Anyways, greatly appreciated thx a lot!
I will see. I was inspired by HighDef, as he has made most mission guides and it helped tremendously. He has made 7 videos and covered most of the missions. Other than that there are few more: scatterPickup (which is like collection mission but trash themed), Cannon, Crawl, hypermilling, long jump / target jump, precision parking and knockaway. Most of them are pretty straightfoward from what i've seen. Either dont have almost any setup, or are similar to others to setup. For example, from what i see, in knockaway mission, rather than placing a truck into a prefab, you place barrels around, and give them internalName "barrel01". Or hypermilling mission, you only really setup the start location.