Jump to content

Need Help With User Missions?? Ask Your Questions Here


MrADATS
 Share

Best answer

Please read before posting...

When you post a question here please start with " @yourdonefor" so I receive a notification that you have posted a question. Its hard for me to monitor all of the necessary sections of the forum and doing this will definitely make me aware of your post so I can answer your question faster.

 

 

 

 

 

@_Catweazle_63

Share this post


Link to post
Share on other sites

On 2/22/2018 at 12:57 PM, Ww2Sn1p3r said:

Hello everyone,

 

Today I've made a small CDK mission with the "british" D.520 (I own it) where you fly with a SO.4050 Vautour IIA...

 

The mission work but my problem is that when I want to watch the replay it says "Hero in userMission must be a unit owned by player"...

 

Do you also own the Vautour IIA? Every time I've seen the "Hero" error message, it's because you don't own that unit.

medal medal medal medal medal medal medal

Share this post


Link to post
Share on other sites

I Hello @Kolo101Im not sure that there are requirements for this but i MAY be wrong. Multiplayer missions are not where i know best because i have never made one before. Try messaging @Flame2512 he might be able to assist you with that.

medal medal medal medal

Share this post


Link to post
Share on other sites

In that case you should be able to. The launch post said: 

Quote

Any player who purchased any War Thunder item that costs at least 10 Dollars or Euros in the Gaijin.Net Store will have an opportunity to do this now.

 Maybe contact support or ask in a tech support area of the forum. My only guess is they mean an individual item that cost 10 euros, not 10 euros in total.

medal medal medal medal medal

Share this post


Link to post
Share on other sites

37 minutes ago, nordkind said:

I have an issue, on my test mission tanks I put in to shoot at have emtpy ammo storages. Any clue for me how to fix that?

Best regards

Go under the weapons and bullet tab in unit properties and set them to have however much ammo you want.

Edited by Flame2512
medal medal medal medal medal

Share this post


Link to post
Share on other sites

I have a mission created with the previous CDK that works fine. With the new CDK (2018-03-16) when I rewrite the same file, with no modifications, it became not working because WT said "bad mission parameter". I compare the two file and find a lot of differences.

difference.txt

Edited by Gne73
medal

Share this post


Link to post
Share on other sites

Thank you for your help! However the issue is as follows: I have a user made mission at hand that I didnt create myself. Therefore  I only see the blk files which I then open in a texteditor. 

To be specific I am talking about the tank_polygon map for shell testing.

The creator missed to put shells in a lot of tanks.


Heres an example of one:
 

selected_tag:t=""
bin_dump_file:t=""

mission_settings{
  atmosphere{
    pressure:r=760
    temperature:r=15
  }

  stars{
    latitude:r=48
    longitude:r=44
    year:i=1940
    month:i=1
    day:i=15
    time:r=12
  }

  player{
    army:i=2
    wing:t="Player"
  }

  player_teamB{
    army:i=1
  }

  mission{
    name:t="TankPolygon_is_3"
    level:t="levels/avg_training_ground.bin"
    type:t="testFlight"
    restoreType:t="tactical control"
    optionalTakeOff:b=no
    campaign:t="TankPolygon"
    environment:t="Day"
    weather:t="hazy"
    missionDebriefing:t=""
    missionBriefing:t=""
	chapter:t="USSR"
	
    tags{
    }

    missionType{
      _Dom:b=no
      _Conq:b=no
      _Bttl:b=no
      _Bto:b=no
      _Flc:b=no
      _v1_race_straight:b=no
      _v1_race_inverted:b=no
      _v2_race_straight:b=no
      _v2_race_inverted:b=no
      _Conq1:b=no
      _Conq2:b=no
      _Conq3:b=no
      _Conq4:b=no
      _Conq5:b=no
      _Conq6:b=no
    }
  }

  spectator_points{
  }

  cover_points{
  }

  aiParams{
    aiEffectivenessViscosity:r=90
    effectivenessDistances:p2=2500, 7000
  }
}

imports{
  import_record{
    file:t = "UserMissions/TankPolygon/TankPolygon_Base_ranks46.blk"
    importAreas:b=yes
    importUnits:b=yes
    importTriggers:b=yes
    importMissionObjectives:b=yes
    importWayPoints:b=yes
    showAreas:b=yes
    showUnits:b=yes
    showTriggers:b=yes
    showMissionObjectives:b=yes
    showWayPoints:b=yes

    excludes{
    }
  }
}

triggers{
  isCategory:b=yes
  is_enabled:b=yes
}

mission_objectives{
  isCategory:b=yes
  is_enabled:b=yes
}

variables{
}

dialogs{
}

airfields{
}

effects{
}

units{
  tankModels{
    name:t="Player"
    tm:m=[[-0.737277, 0.67559, -1.70831e-007] [0.67559, 0.737277, -5.10056e-008] [9.1491e-008, -1.53017e-007, -1] [1759.78, 219.107, 1554.46]]
    unit_class:t="ussr_is_3"
    objLayer:i=1
    closed_waypoints:b=no
    weapons:t="ussr_is_3_default"
    bullets0:t="122mm_ussr_APCBC"
    bullets1:t="122mm_ussr_APHE"
    bullets2:t="122mm_ussr_HE"
    bullets3:t=""
    bulletsCount0:i=7
    bulletsCount1:i=13
    bulletsCount2:i=5
    bulletsCount3:i=5

    props{
      army:i=2
      count:i=1
      formation_type:t="rows"
      formation_div:i=3
      formation_step:p2=2.5, 2
      formation_noise:p2=0.1, 0.1
      uniqueName:t="Player"
      attack_type:t="fire_at_will"
      skin:t="forest"
    }

    way{
    }
  }
}

areas{
}

objLayers{
  layer{
    enabled:b=yes
  }

  layer{
    enabled:b=yes
  }

  layer{
    enabled:b=yes
  }

  layer{
    enabled:b=yes
  }
}

wayPoints{
}



Now the tank does not carry any ammunition on the map. Even though theres ammuntion set in the code. I think the ammo type might be wrong? Or what could be the issues? Maybe this code sequence is not even the issue and I have to look somewhere else?

Am I able to open user made missions in the cdk and adjust them by myself?

Thank you very much for your help!

 

 

Edit: For anyone wondering; the shell amount and type is indeed the following code:

    weapons:t="germ_kpz_70_default"
    bullets0:t=""
    bullets1:t=""
    bullets2:t=""
    bullets3:t=""
    bulletsCount0:i=20
    bulletsCount1:i=20
    bulletsCount2:i=20
    bulletsCount3:i=20

And you dont need to set a realistic amount of shells. If you fill in more than the tank has, it still works and fills the ammo racks.

Edited by nordkind
medal medal medal medal medal

Share this post


Link to post
Share on other sites

2 hours ago, Flame2512 said:

Honestly I have no idea how to read that file.

Lol, the file differece.txt that I posted is a product of "diff" command under Linux.

The string after ">" is the string that appears on new file after using new CDK

The numbers are corresponding at the line of the file analysed.

 

I also check it manually. problematic strings are the following:

 

 object_var_comp_op:t="equal"
 object_var_value:i=0
 object_var_name:t=""

 

Afetr removed this it works fine.

Edited by Gne73
new information
medal

Share this post


Link to post
Share on other sites

Is there a way to make single vehicle type missions so that users can select ammo types and amount before going in, like war thunder's own game modes?

Edited by Zegera
medal

Share this post


Link to post
Share on other sites

  • 2 weeks later...

user missions will not work. i have mission in a folder, but its not showing when i open missions.

when i loaded the game there was no user mission folder in with the others.

 

has any one had this to?

using win 7

 

does the folder have to be a short cut ?

medal medal medal medal

Share this post


Link to post
Share on other sites

  • Senior Technical Moderator
8 minutes ago, tango72125 said:

user missions will not work. i have mission in a folder, but its not showing when i open missions.

when i loaded the game there was no user mission folder in with the others.

 

has any one had this to?

using win 7

 

does the folder have to be a short cut ?

You can manually create the UserMission folder in your root folder, if it doesn't exist. Like this: Warthunder/UserMissions

Share this post


Link to post
Share on other sites

  • 2 months later...

@yourdonefor

I've watched the 2014 CDK videos. Are there any up to date tutorial videos out there? I want to start by making a very simple tank mission. Advice and/or help greatly appreciated. Thanks for your hard work!

Edited by Rangerxian

Share this post


Link to post
Share on other sites

  • 1 month later...
  • 2 weeks later...

Hello @yourdonefor 

I just started with mission editor and looking to create multiplayer historical mission, battle of Sedan 1940.

 

My first question is about the units. Where can I find all types of artillery and anti tank guns? The only piece of artillery I found is howitzer. Couple of years ago, there were anti tank guns at Kursk map, they were removed. I wonder if they are still available in editor?

 

I also cannot find pillboxes, which I need to recreate French defenses on hills overlooking Meuse river.

 

Thanks!

medal medal medal

Share this post


Link to post
Share on other sites

1 hour ago, Sputnik_77 said:

My first question is about the units. Where can I find all types of artillery and anti tank guns? The only piece of artillery I found is howitzer. Couple of years ago, there were anti tank guns at Kursk map, they were removed. I wonder if they are still available in editor?

1. Create an unit:

y4j15YI.png

 

2. Press P to show the object properties

ztf8Qw7.png

 

Artillery, pillboxes (they are called uk_bunker, uk_bunker_light etc.) and other similar units should be in the "structures" type.

The "objectGroups" type contains indestructible objects (trenches, airfields etc.)

AAA units you should be able to find in the "air_defence" type.

Edited by RideR2
medal medal medal medal

Share this post


Link to post
Share on other sites

Thanks @RideR2

Is there any way to make field guns and bunkers more accurate? I set up 5 bunkers and 76mm field guns and driving in a tank in front of them at 500-800m and they cannot hit me even once. Is the fire mode 'fire at will' just make them fire in random directions?

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...