This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arma3:missions [2013-05-06 12:21] snakeman created missions namespace. |
arma3:missions [2022-06-25 17:58] (current) snakeman added link. |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Missions ====== | + | ====== ArmA 3 Missions ====== |
- | This is all about missions and campaigns for ArmA 3. | + | See also [[:arma3:scripting|ArmA 3 Scripting]]. This is all about missions and campaigns for [[:arma3|ArmA 3]]. |
- | **Campaign Description.Ext** | + | | [[arma3:missions:campaign-missions|Campaign Missions]] | [[arma3:missions:campaign-description.ext|Campaign Description.ext]] | [[arma3:missions:campaign-savestatus|Campaign saveStatus]] | [[arma3:missions:campaign-weaponpool|Campaign weapoPool]] | [[arma3:missions:campaign-editing-tips|Campaign Editing Tips]] | [[arma3:missions:campaign-features|Campaign Features]] | |
+ | | [[arma3:missions:description.ext|Description.ext ]] | [[arma3:missions:good-old-2d-editor|Good Old 2D Editor]] | [[arma3:missions:misc|Misc]] | [[arma3:missions:steam-subscription-to-download-mission|Steam Subscription to Download Mission]] | [[arma3:missions:eden-editor|Eden Editor]] | [[arma3:missions:apex-protocol-analysis|Apex Protocol Analysis]] | | ||
+ | | [[arma3:missions:group-name-call-sign|Group name / call sign]] | [[arma3:missions:fire-and-smoke|Fire and Smoke]] | [[arma3:missions:east-wind-campaign-description.ext|East Wind Campaign Description.ext]] | [[arma3:missions:cfgcommunicationmenu|CfgCommunicationMenu]] | [[arma3:missions:trigger-seized-by|Trigger Seized By]] | | ||
- | When you are creating your ArmA 3 campaign and if you get this error: | + | [[arma3:missions:add-cargo-global|Add Cargo Global]]\\ |
- | <code> | + | [[arma3:missions:chernarus-airfield-ai-landing|Chernarus Airfield AI Landing]]\\ |
- | Warning Message: No entry 'Campaigns\<NAME>\description.ext/Campaign.briefingName'. | + | [[arma3:missions:delete-vehicle-at-waypoint|Delete Vehicle At Waypoint]]\\ |
- | </code> | + | [[arma3:missions:gunship-helicopter-survival|Gunship Helicopter Survival]]\\ |
- | You need to add one line in description.ext file: | + | [[arma3:missions:name-missing|Name Missing]]\\ |
- | <code> | + | |
- | briefingName = "My Campaign!"; | + | |
- | </code> | + | |
- | And its fixed. | + | |
- | **Campaign Missions** | ||
- | |||
- | mission\description.ext new features for ArmA 3: | ||
- | <code cpp> | ||
- | author = "Snake Man"; // Author | ||
- | onLoadName = "PMC 2 mission"; // Mission name (temporary solution; actual name set in editor will be used later in the alpha) | ||
- | onLoadMission = "Prepare to defend yourselves!"; // Description | ||
- | |||
- | class CfgDebriefing | ||
- | { | ||
- | class End1 | ||
- | { | ||
- | title = "End1 Activated"; | ||
- | subtitle = ""; | ||
- | description = "Yeah end1 rulez"; | ||
- | backgroundPicture = ""; | ||
- | picture = "b_inf"; | ||
- | pictureColor[] = {0.0,0.3,0.6,1}; | ||
- | }; | ||
- | |||
- | class pmc1 | ||
- | { | ||
- | title = "PMC 1 Activated"; | ||
- | subtitle = ""; | ||
- | description = "Yeah pmc1 rulez"; | ||
- | backgroundPicture = ""; | ||
- | picture = "b_inf"; | ||
- | pictureColor[] = {0.0,0.3,0.6,1}; | ||
- | }; | ||
- | }; | ||
- | </code> | ||
- | |||
- | Then any script or trigger during mission to end it: | ||
- | <code cpp> | ||
- | [ "end1", true, 2 ] call BIS_fnc_endMission; | ||
- | </code> | ||
- | |||
- | Or | ||
- | <code cpp> | ||
- | [ "pmc1", true, 2 ] call BIS_fnc_endMission; | ||
- | </code> | ||
- | |||
- | Its very cool now that we can define our own mission ending setups and are not limited to the existing 7 mission ending triggers available. |