Files
MissionTemplate/README.md
2024-02-07 23:25:23 -06:00

3.1 KiB

Installation Instructions

The only file which should be pre-existing in your mission folder is mission.sqm, once freshly saved from Arma 3's EDEN Editor.

Download the latest mission template zip from the latest release and copy its contents to the folder where your mission file lives.

Once copied, the final structure should appear similar to the following:

├── aaFrameworkUtils/
├── defines/
├── framework/
├── images/
├── scripts/
├── sounds/
├── textures/
├── CHANGELOG.md
├── description.ext
├── mission_settings.hpp
├── mission.jpg
├── mission.sqm

Note: If you're building a mission for use and not actively developing code, the aaFrameworkUtils and framework\x directories should be deleted. These are for the purposes of development and add size bloat to the mission download when players connect to your mission.

After the requisite configuration file edits have been made, your mission is ready to be packed into a pbo for deployment.

Files

Almost none of the template files should be edited in anyway as they have been formatted specially and specifically for their purpose.

The following files however must be edited: mission_settings.hpp

The following files however should be edited: mission.jpg

mission_settings.hpp

The contents of this file must be edited to reflect the naming of your mission for display purposes. All variables are self-documented inside the file to clearly identify the purpose of each piece of required text

The contents of the lower half of the file are where the mission maker is able to add/replace/modify the built in #ace-fortify preset

mission.jpg

This file will be displayed the client mission loading screen. File should remain small (under 300KiB) and should optimally be 1024px by 512px in resolution

defines/

This directory contains the definition files use by the framework in various places. Contents should not be edited

framework/

This directory contains the code for the mission framework. Contents must not be edited.

images/

This directory is for organizational purposes for any images you wish to use in your mission

scripts/

This directory is for organizational purposes for any custom scripts you wish to use in your mission.

Note

: Scripts may need to be edited to account for their new location

sounds/

This directory is for organizational purposes for any custom scripts you wish to use in your mission.

Note: Using custom sounds require adding the proper CfgSounds codeblock into mission_settings.hpp

textures/

This directory is for organizational purposes for textures files used by mission scripts.

Development Notes

All modules are broken apart as such in /framework. Client and server inits are managed in /framework/init.

Pay attention to framework/script_mod.hpp prior to deployment of releases, as the debug settings within will determine what is logged during prod missions.

CfgFunctions is sensitive to the folder/script_component.hpp of each module.