Mission.sqm: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed typo & forum link)
Line 1: Line 1:
[[category:Operation Flashpoint: Editing]]
#REDIRECT [[Mission_Editor:_External#Mission.sqm]]
===Introduction===
 
The '''mission.sqm''' file is generated automatically by the in game editor. Any action you perform within the editor is saved in this file.
 
===Addons===
 
Once you have completed your new mission it's always good practice to check the '''mission.sqm''' to remind yourself of what addons you used to make it. They will all be listed but they may not have the name you might expect them to.
 
'''Example:'''
class Mission
{
addOns[]=
{
"MTYDC3",
"sebnam_a",
"sebnam_wp",
"sebnam_nv"
};
addOnsAuto[]=
{
"MTYDC3",
"sebnam_a",
"sebnam_nv"
};
 
Remember that '''mission.sqm''' file contains not only Mission, but also Intro, OutroWin and OutroLoose. Make sure that you've checked all of these before releasing the mission.
 
If you are unsure of your addons you can ask community members for assistance, they will always be happy to help you track down missing addons.
 
AddonsAuto is a list of addons which were added automatically by mission editor and can be therefore also automatically removed when editor sees the addon is no longer used.
 
When adding addons manually into addons[], you usually do not want to add it into addonsAuto[], because if you will do, mission editor will remove the addon from both places again.
 
Here is the BIS missing addons thread on their official forum.
[http://forums.bistudio.com/showthread.php?t=23815 BI Forums Thread]

Revision as of 14:23, 25 October 2011