Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guides:missionmaking [2017/07/22 22:11]
Comrade
guides:missionmaking [2020/07/16 07:44] (current)
Skeet
Line 13: Line 13:
   * **ARMA 3 -** duh   * **ARMA 3 -** duh
   * **The CBB mod preset -** this is probably a given, but just in case you have any doubts, you’ll be needing this.   * **The CBB mod preset -** this is probably a given, but just in case you have any doubts, you’ll be needing this.
-  * **Access to the CBB mission framework-** you can get this by asking for it in #workshop on Discord or by downloading it from the [[https://​code.clearbackblast.com/​users/sign_in|CBB Gitlab]]. It forms the basis for all of our missions and has some cool features.features. +  * **Access to the CBB mission framework-** you can get this by asking for it in #workshop on Discord or by downloading it from the [[https://​code.clearbackblast.com/​clear-backblast/members/​cbb-framework|CBB Gitlab]]. It forms the basis for all of our missions and has some cool features.features. 
-  * **A copy of the CBB compositions-** Again, these can be found on the [[https://​code.clearbackblast.com/​users/sign_in|CBB Gitlab]]. They are also available from the framework mission. Instructions on how to install them are [[https://​wiki.clearbackblast.com/​arma_editing:​missions:​compositions|here]].+  * **A copy of the CBB compositions-** Again, these can be found on the [[https://​code.clearbackblast.com/​clear-backblast/​members/cbb_compositions_a3|CBB Gitlab]]. They are also available from the framework mission. Instructions on how to install them are [[https://​wiki.clearbackblast.com/​arma_editing:​missions:​compositions|here]].
   * **Notepad++-** [[https://​notepad-plus-plus.org/​download/​v7.3.3.html|This]] tool is incredibly useful for editing .sqf, .hpp and .txt files. This (or a similar program, if you prefer) is a must have.   * **Notepad++-** [[https://​notepad-plus-plus.org/​download/​v7.3.3.html|This]] tool is incredibly useful for editing .sqf, .hpp and .txt files. This (or a similar program, if you prefer) is a must have.
  
Line 42: Line 42:
  
 ''​C:​\<​User>​\My Documents\Arma 3 - Other Profiles\<​ProfileName>​\missions''​ \\ ''​C:​\<​User>​\My Documents\Arma 3 - Other Profiles\<​ProfileName>​\missions''​ \\
-Once there, find the folder called ‘co10_HelloWorld_v1’ or whatever you called your mission. Opening this folder, you should discover a lonely file, called ‘mission.sqm’. This is the core of every mission- it is essentially a list of everything in the mission. In order to make this a CBB mission, we need to add the framework to it. Navigate to whichever folder you’re keeping it in and copy everything in ‘cbb_framework_a3.VR’ except the ‘mission.sqm’ into your own mission folder. +Once there, find the folder called ‘co10_HelloWorld_v1’ or whatever you called your mission. Opening this folder, you should discover a lonely file, called ‘mission.sqm’. This is the core of every mission- it is essentially a list of everything in the mission. In order to make this a CBB mission, we need to add the framework to it. Navigate to whichever folder you’re keeping it in and copy everything in ‘cbb-framework\mission’ into your own mission folder. 
-{{ :​guides:​mm5.png?​direct&​400 |}}+{{ :guides:mm5-rev1.png?​direct&​400 |}}
 Congratulations,​ you now have a CBB mission! We’re nearly a whole 10% done! Seriously though, we’re just getting started. With any luck and a basic ability to follow instructions,​ you should now have a folder with your mission’s name on it and the framework inside of it (minus the framework’s ‘mission.sqm’).\\ Congratulations,​ you now have a CBB mission! We’re nearly a whole 10% done! Seriously though, we’re just getting started. With any luck and a basic ability to follow instructions,​ you should now have a folder with your mission’s name on it and the framework inside of it (minus the framework’s ‘mission.sqm’).\\
-===Settings.hpp=== +===description.ext=== 
-First thing’s first, let’s go through ‘settings.hpp’- this file has a ton of cool features that not only make missions better, but also make our lives easier. +First thing’s first, let’s go through ‘description.ext’- this file has a ton of cool features that not only make missions better, but also make our lives easier. 
-{{ :​guides:​mm6.png?​direct&​400 |}} +{{ :guides:mm6-rev1.png?​direct&​400 |}} 
-Scroll down until you see these lines- ​I’ve gone ahead and edited the ones we’ll be looking at: ‘maxPlayers’,​ ‘onLoadNameauthoronLoadMission’ and overviewTextAll of these are self-explanatory,​ so feel free to fiddle and experiment with them. +Check out these lines at the very top of the file - onLoadName, author, onLoadMissionand overviewText. ​The comments in the file explain them pretty wellso I won't rehash ​it here
-{{ :​guides:​mm7.png?​direct&​400 |}} +===In-Editor Setup===
-One of the most important parts of this file is the respawn settingway down at the bottom. It is currently set to allow unlimited respawns. For the sake of simplicity, we will set the number of lives to ‘1’. This means that if someone dies, they will be put into spectator instead of respawning. There are several mechanisms for allowing respawn, but they will be covered at a different time.\\ +
-Once you’ve made the changes you want to, save the file and close it. Next, we’ll set up the gear script.\\ +
-===Gear=== +
- For our needs, we can use one of the many default gears that are in the framework. To set this up, navigate to: +
-''​co10_HelloWorld_v1.Stratis\CBB\gear\CBB_gear_init.sqf''​ +
-In this file, look for ‘CBB_soldierprep_west’. This line can be edited to change gear script that is run for the ‘West’ faction. Luckily for us, this script is already set to read as:\\ +
-‘CBB_soldier_west_rhs_usarmy.sqf’\\+
 With that set up, we can leave the sqf part of the framework for now (keep the folder handy though). To finish the framework, we still need to add a few compositions in order to make the mission run properly. With that set up, we can leave the sqf part of the framework for now (keep the folder handy though). To finish the framework, we still need to add a few compositions in order to make the mission run properly.
 {{ :​guides:​mm8.png?​direct&​400 |}} {{ :​guides:​mm8.png?​direct&​400 |}}
Line 105: Line 98:
 As these vehicles will be providing support for your foot soldiers, they need to carry the supplies to support them- luckily, the boffins at CBB Admin HQ have made sure that they are already pre-packed with these supplies. In future though, make sure you check that these vehicles have the right supplies for your guys. As these vehicles will be providing support for your foot soldiers, they need to carry the supplies to support them- luckily, the boffins at CBB Admin HQ have made sure that they are already pre-packed with these supplies. In future though, make sure you check that these vehicles have the right supplies for your guys.
 {{ :​guides:​mm21.png?​direct&​400 |}} {{ :​guides:​mm21.png?​direct&​400 |}}
 +In order to get a nice olive HumVee, you can change its skin in the relevant field in the attributes window. You’ll also want to check that the vehicle is set to be unlocked- this field should be checked on each vehicle (friendly and enemy) to make sure it’s set as desired. Players usually steal anything that isn’t nailed down, so make sure you have this set right.
 +Once that’s all set up, just copy and paste that HumVee so we have enough for all of our people. Alternatively,​ you can add a different vehicle so mix things up, as I’ve done below.
 +{{ :​guides:​mm22.png?​direct&​400 |}}
 +If you’ve got something that looks like that, you’re done with BLUFOR for now.
 +===Adding Enemies===
 +This is often the most tedious stage of mission making, at least personally. It will take a while, and as such I will simply cover the basics- there is little to no benefit to going over this in exhaustive detail. To start, let’s put a patrol in the first town. Open the ‘Groups’ tab [F2] and find the the ‘Russia (MSV)’ list. Select a Rifle Squad and place it down outside the down. Using [Shift+Right-click],​ place waypoints around the town in a circle. Once you have close this circle, change the last waypoint to ‘Cycle’ in the attributes window. You should end up with something like this:
 +{{ :​guides:​mm23.png?​direct&​400 |}}
 +If you open the attributes window of the first ‘MOVE’ waypoint, you will find a number of settings to control the attitude of the AI. To make them appear unaware of the players moving towards them, replicate the settings below. You do not need to do this for every waypoint, as they each inherit from the waypoint before them.
 +{{ :​guides:​mm24.png?​direct&​400 |}}
 +Make a few more patrols and mess about with their settings- try to familiarise yourself with this window, as it’s pretty handy. You may also want to place individual troops in key lcoations such as buildings. ​
 +===Props===
 +These are placed in order to provide additional world building or obstacles. These can be roadblocks, campsites, ammunition depots and even wrecked ships.\\
 +Once you have populated the map to your taste, we can move on to the final stages: placing props and making a briefing.
 +====Step 4- Briefing====
 +There are two means by which a briefing can be made: FHQ tasks and the framework’s .sqf briefing function. This tutorial will only concern itself with the latter for now. The file we will be using can be found in the mission folder, in the ‘CBB’ folder.
 +''​MyDocuments\Arma 3 - Other Profiles\User\missions\co10_HelloWorld_v1.Stratis\CBB_Framework''​
 +We’re looking for ‘briefing_and_tasks.sqf’. Once this is open scroll down until you see these lines:
 +{{ :​guides:​mm25.png?​direct&​400 |}}
 +Once we have this, we can begin to edit it to reflect the mission we have made. I won’t run through this line by line as it is quite well documented in itself. Instead, I have included an example of a briefing that was written for another mission.
 +{{ :​guides:​mm26.png?​direct&​400 |}}
 +This should give you a good idea of how a briefing is made. If not, ask in #workshop for help or examples.
 +====Step 5- Exporting the Mission====
 +Final step- make sure you’ve saved the mission, then go to File->​Export->​ Export to Multiplayer. This will save the mission as a .pbo in your main A3 directory.
 +That’s it. You’re done. If you have followed all of these steps, you will have a complete mission. In order to get it played, you will need to contact an admin in #workshop and see if it can be checked and tested.
 +If you are curious about adding more features or learning more about the way this works, feel free to ask around or continue browsing this bomb-ass wiki. Hopefully this has encouraged you to start making missions- feel free to drop a PM on Discord (‘GruntBuster7’) if you wish to add to this document or ask any questions. Have Fun!
  
 +====Caching====
  
 +CBB has our own in home AI caching system. The documentation for its use can be found below:
  
- +[[guides:​Simplecache]]
- +
- +
  • Last modified: 7 years ago
  • (external edit)