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 Both sides next revision
guides:missionmaking [2017/11/22 14:57]
127.0.0.1 external edit
guides:missionmaking [2018/10/17 08:19]
Brunius
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 120: Line 113:
 ====Step 4- 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. 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''​ +''​MyDocuments\Arma 3 - Other Profiles\User\missions\co10_HelloWorld_v1.Stratis\CBB_Framework''​ 
-We’re looking for ‘CBB_briefing_and_tasks.sqf’. Once this is open scroll down until you see these lines:+We’re looking for ‘briefing_and_tasks.sqf’. Once this is open scroll down until you see these lines:
 {{ :​guides:​mm25.png?​direct&​400 |}} {{ :​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. 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.
  • Last modified: 4 years ago
  • by Skeet