User:RideR2
Revision as of 10:01, 22 October 2019 by RideR2 (talk | contribs) (Added imagines, changed formating, more text)
Just a test page.
Multiplayer Missions
Contents
How to create a basic multiplayer mission
- 1. Run mission editor (missioned.cmd in WarThunderCDK folder).
- 2. Choose Scene view tab and load one of game levels (it is location "britain" by default) where you want to create your mission.
- Note: Missions can be technically run on an location, choosing location scene is just a preview.
- 3. Go to tab Mission Editor.
- Choose the side toolbar Mission Settings -> mission
- Choose a name for your mission in name tab
- Note: You can't use capital letters and there should be no spaces
- Choose a name for your mission that will be displayed for other players in locName tab (you can use space there and for example write down [Multiplayer Mission] Test)
- Choose a description for your mission in locDesc tab
- Set a mission type to domination in type tab
- Choose a location map in level tab
- Choose time of a day and weather in Weather params tab
Creating slots for players
- 1. Create a new unit by pressing Create unit icon and place it somewhere (you can control the map view by pressing SPACE)
- 2. Open it's properties (by for example pressing P)
- Change the Name: to t1_player01
- Switch it's type to armada
- Find a dummy unit in Class tab and select it
- 3. Copy t1_player01 unit
- Note: We will need it to create slots for the mission, so it's preferable to create 16 of them, the game supports up to 32 players per team
- Select the unit
- Press W
- While holding Shift select one of displayed arrows and then drag it until a new unit appears
- The CDK will show you a new window, in this window change the Count of clones: amount to the number that you want for your mission
- Select Auto rename
- Press Ok
- Now you should see lots of copies of this unit named t1_player02, t1_player03, t1_player04 etc.
- 4. Create the same amount of t2_player units by copying t1_player units
- In Unit copying window change Name of clone(s): to t2_player01
- Change the Count of clones: amount to the number that equals amount of t1_player units (set it to 1)
- Press Ok
- Now you should see lots of copies of t1_player units named t2_player01, t2_player02, t2_player03 etc.
- 5. Go back to side toolbar Mission Settings to add these units to make them usable as slots for players in your multiplayer mission
- Select player_teamA
- Press wing to add new slots and add all t1_player units there one by one there
- Select player_teamB
- Press wing to add new slots and add all t2_player units there one by one there
Creating respawn zones for players
- 1. Choose the side toolbar Triggers / Missions Obj. Navigation
- 2. Press the Trigger button to create a new trigger
- 3. Press the Properties and Trigger/MissionObj info icon which you can find on top toolbar to show the tab with trigger properties
- 4. Select your new trigger and change it's Name to for example respawn
- 5. Make sure that Enabled is switched on
- 6. In lower part of this toolbar select periodicEvent {time=1.00} in the Elements: window, then select Elements button on the bottom and press periodicEvent (if nothing happens then select one of folders in the Elements: window and then switch back to periodicEvent {time=1.00})
- 7. A new window should appear, select initMission there and press Ok or double click on initMission
- 8. Press the Action button and below Filter: type missionMarkAsRespawnPoint and press Ok or double click on missionMarkAsRespawnPoint
- 9. Now you need to create a zone on the place where you want to players to spawn, you can do that by pressing one of icons on the top toolbar and then pressing the ground on the map view if you selected the first icon and pressing and dragging (you change it's size buy doing that) it if you selected other icons (sphere, cylinder or box)
- 10. In the Object Properties window you can change it's Name:, Zone type, Position or size (Radius, Height, Box size - depending on which zone type did you select), you should preferably call it t1_spawnarea_01 and make at least 10 of them, then copy all these areas and call them t2_spawnarea_01, t2_spawnarea_01, t2_spawnarea_01 etc. because you need them for both teams
- 11. 'Note: If those spawns are meant to be for airplanes then place them in the air, if for tanks then place them on the ground, if for ships then place them on the sea level
- 12. Go back to the side toolbar Triggers / Missions Obj. Navigation and select missionMarkAsRespawnPoint action in Elements: window, then adding all existing t1_spawnarea areas to the tab next to target, you can create more of them by just pressing a wide target tab below. When you do that you can choose the loc_name (name of that spawn zone which will be visible in game, you can use spaces and capital letters), below it you should see lots of options which can be able or disabled, for now leave them in current state, then press a wide team tab, a new selectable tab should appear, then press it and select A. On the bottom of available option you should see a wide tags tab, by pressing it you will create and expandable window with tabs of all unit types available in the game, select those that you want to use in your mission (air for airplanes, tank for ground units, ship for boats and ships)
- 13. When you are done look below the Elements: window, there should be a copy tab, select missionMarkAsRespawnPoint action and then press this copy tab, then press Paste ... tab, a new window should appear. Select missionMarkAsRespawnPoint action there and press ok, now you should see two the same actions in the Elements: window, select the second one. Now you need to change all target areas to those that are meant to be for the second team (B / T2). When you do that scroll down and in the team tab switch A to B
- Note: You can speed up changing target's by creating an area_squad unit and then putting all t2_spawnarea areas there, then selecting this squad in the missionMarkAsRespawnPoint action propeties
Creating capture zones
Saving your mission
- 1. On the most top bar select Mission Editor
- 2. Press Save mission (Ctrl+M)
- 3. Select where you want to save your mission and set it's name, remember to save it's as .blk file
That's all, now all you need is to upload your mission somewhere (any hosting service will do as long as it's link will end as .blk and don't forget to delete https:// part of that link, otherwise the game won't be able to read it unless it's a live.warthunder.com link) or live.warthunder.com site, but don't forget to add a proper image and description for your mission. More details you will find here.