Fandom

武装突袭 Wiki

Mission Editor: External

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

Mission Editor provides majority of tools required for designing a mission, but finishing touches are usually made outside of it. Briefings, custom scripts, multiplayer settings or final packing are only handled by separate files programs.

Mission Folder 编辑

Folder Name 编辑

File:Editor folder.jpg

Missions are stored as folders with name composed of mission name set in Save window and world name:

<mission name>.<world Name>

Examples:

TopGun.abel
SpyGame.Chernarus
Domino.ProvingGrounds_PMC

World name matches the class in CfgWorlds


Folder Directory 编辑

All single player missions are located in Missions folder, multiplayer missions can be found in MPMissions folder in same directory. Path varies depending on a project, see following table for specific directories:

Icon Game Path
File:Ofp 1.00.gif Arma: Cold War Assault %Arma: CWA directory%\Users\%player%\
File:Arma 1.00.gif Arma: Armed Assault My Documents\ArmA\
My Documents\ArmA Other Profiles\%player%\
File:Arma2 1.00.gifFile:Arma2oa 1.51.gif Arma 2
Arma 2: Operation Arrowhead
My Documents\ArmA 2\
My Documents\ArmA 2 Other Profiles\%player%\
File:TKOH 1.00.gif Take On Helicopters My Documents\Take On Helicopters\
My Documents\Take On Helicopters Other Profiles\%player%\
File:Arma3 1.00.gif Arma 3 My Documents\Arma 3\
My Documents\Arma 3 - Other Profiles\%player%\

Green text means variable, where you have to include either name of your profile or absolute path to an installed game.

Subfolders 编辑

Within the mission folder, you can create as many subfolders as desired. As paths in mission are relative, you can refer to such subfolder using:

\subFolderName\desiredFile.sqf


Files 编辑

Mission.sqm 编辑

File:Editor folder mission.jpg

The mission.sqm file is generated automatically by the Mission Editor. Any action you perform in Mission, Intro, OutroWin or OutroLoose is saved in this file.

Once you have completed your new mission, it's always good practice to check the mission.sqm for presence of unwanted addons in addOns and addOnsAuto arrays. They contain CfgPatches classes of used addons.

class Mission
{
	addOns[]=
	{
		"missions_ew",
		"cacharacters2",
		"ca_modules_functions",
		"chernarus"
	};
	addOnsAuto[]=
	{
		"missions_ew",
		"cacharacters2",
		"ca_modules_functions",
		"chernarus"
	};

Apart from class Mission, list of addons is present also in class Intro, class OutroWin and class OutroLoose.


Description.ext 编辑

File:Editor folder description.jpg

Main article: Description.ext


Scripts 编辑

File:Editor folder init.jpg

Main article: Script (File)

External script files are executed by filename, so they can have any filename the author chooses. There are however several special Event Scripts that are automatically executed by the game engine at certain times during the mission.

FSM 编辑

File:Editor folder fsm.jpg

Main article: FSM


Briefing.html 编辑

Main article: Briefing.html

File loaded automatically when the mission begins, providing mission plan and notes.

The briefing is broken into 4 main sections:

  • Notes
  • Plan
  • Objectives
  • Endings

To preview your briefing whilst in the editor, hold SHIFT while clicking 'Preview'.

Since ArmA 2, briefing.html is only used for the debriefing text. For more information see Arma 2 Briefing creation.

Overview.html 编辑

File:Editor folder overview.jpg

Main article: Overview.html

The overview.html contains simple mission description and picture visible in main menu mission selection.

更多维基

随机维基