ARMA 2: Operation Arrowhead - Missionseditor

Rund um das alltägliche Zocken auf dem BattleBox Armed Assault Server
User avatar
Cleaner
Posts: 1013
Joined: Mon 12. Nov 2007, 10:50

ARMA 2: Operation Arrowhead - Missionseditor

Post by Cleaner »

Diejenigen, die sich mal am Missionseditor versuchen wollen, sollten sich diese Tutorialvideos anschauen. Es ist wirklich ganz einfach, eine einfache Mission zu erstellen. Fortgeschrittene können damit fast alles realisieren, was man sich so vorstellen kann. Dann wird es aber auch etwas komplexer ... ;)

Für den Einstieg ist natürlich immer auch Mr. Murrays Editing Guide zu empfehlen. Der ist sogar komplett auf Deutsch ... ;)

Edit: Ich ergänze den Beitrag noch um ein paar nützliche Hilfsmittel:

Erklärungen zum Missionseditor von der "offiziellen" BIS WIKI Seite

Vorlage zum Erstellen von Missionen mit eingebauten Scripten wie z.B. Revive

Sämtliche Objekte aus OA mit den Namen der Objekten fürs Scripten(Classes)

Arma/OA Scripting Commands und Scripting Topics Bitte nicht erschrecken ... ;)

Vorgefertigte Editor Module

BIS WIKI zum Thema Briefing

Beispiel für ein Missionsbriefing einschließlich Aufgaben:

Code: Select all

===========================================================
// init.sqf - diese Datei muss immer im Missionsordner vorhanden sein

// Code:

execVM "briefing.sqf";

===========================================================

// briefing.sqf - diese Datei muss immer im Missionsordner vorhanden sein

// Code:

// since we're working with the player object here, make sure it exists

waitUntil { !isNil {player} };
waitUntil { player == player };
  
  
switch (side player) do 
{
    
    case WEST: // BLUFOR briefing goes here
    {
        player createDiaryRecord["Diary", ["Info", "<br/>Author - Jinef<br/>Version 1.00<br/>"]];
        player createDiaryRecord["Diary", ["Enemy forces", "<br/>Enemy forces are expected to consist of lightly armed locals mixed with trained regulars of the enemy. There are regular army aviation support and defence troops stationed at the airfield however after preliminary air strikes white flags have been seen, so we expect little resistance."]];
        player createDiaryRecord["Diary", ["Friendly forces", "<br/>1st Platoon will be deployed on the north flank. 2nd Platoon will capture the high ground overlooking the airfield. 3rd platoon will conduct the assault on the airfield.<br/><br/>Due to a risk of mines the first phase of the operation will be conducted dismounted only, the AAVs will hold the beach."]];
        player createDiaryRecord["Diary", ["Mission", "<br/>1st Platoon is to secure the northen flank of the island. This will be achieved by Alpha squad securing the town of Kamenyy, with Bravo and Charlie squads provding flank cover. Alpha squad will not proceed further than the limits of advance marked on your maps. 81mm mortar support is on call, however collateral damage is to be avoided at all costs."]];
        player createDiaryRecord["Diary", ["Situation", "<br/><img image='pic.jpg'/><br/><br/>Prior to our landing on the main island of Chenarus, our marine task force will secure the airfield on the small island of Utes. Our company will be performing the assault with support from the MEU task force units. The island is expected to be defended only very lightly by enemy forces with support from an disgruntled population. The key to our success is to quickly assert control over the island while maintaining civilian infrastructure and dignity."]];


        // Secondary Objective
        tskObj3 = player createSimpleTask["Secondary: Avoid Civilian Casualties"]; 
        tskObj3 setSimpleTaskDescription["The civilians here are relying on us to restore order and let them return to a peaceful life, we can't just blast our way through.", "Avoid Civilian Casualties", "Avoid Civilian Casualties"];            
        //>---------------------------------------------------------<
        // Secondary Objective
        tskObj2 = player createSimpleTask["Secondary: Avoid Friendly Casualties"]; 
        tskObj2 setSimpleTaskDescription["Let's not take any risks. It's not worth going home in a box for this. Stay frosty!", "Avoid Friendly Casualties", "Avoid Friendly Casualties"];
        //>---------------------------------------------------------<
        // Primary Objective
        tskObj1 = player createSimpleTask["Primary: Secure The Town"]; 
        tskObj1 setSimpleTaskDescription["Your squad has just landed on the beach <marker name='BAlpha'>here</marker>. Your task is to secure <marker name='BObj1'>this</marker> town ahead of the main landing force to ensure safe passage for further combat echelons. Meanwhile Bravo and Charlie squads will secure the enemy compounds on the flank and endeavour to prevent enemy reinforcments reaching the town.", "Secure The Town", "Secure The Town"];
        player setCurrentTask tskObj1;
    };
    
    
    case EAST: // REDFOR briefing goes here
    {
        
        
    };
    
    
    case RESISTANCE: // RESISTANCE/INDEPENDENT briefing goes here
    {
        
        
    };
    
    
    case CIVILIAN: // CIVILIAN briefing goes here
    {
        
        
    };
};



// run this file again when respawning (only setup the killed EH once though)

if ( isNil{player getVariable "mk_killedEHadded"} ) then 
{
    player addEventHandler ["killed", 
    { 
        [] spawn {
            waitUntil { alive player }; // waitUntil player has respawned
            execVM "briefing.sqf"; 
        };    
    }];
    player setVariable ["mk_killedEHadded", true];
};

===================================================================
BIS WIKI zum Thema description.ext

Tools zum "Tunen" der KI: Group Link 4 und/oder Dynamic-AI-Creator (DAC) V3.0.

Beispielscripte und Beispielmissionen zu diesen Scripten: ArmAScript Examples

Wird bei Bedarf fortgesetzt/ergänzt ...
Last edited by Cleaner on Mon 22. Nov 2010, 16:26, edited 10 times in total.
User avatar
Stoppelhopser
Posts: 1114
Joined: Sun 23. Nov 2008, 12:17

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by Stoppelhopser »

Hallo Cleaner

Habe das WE frei und werde mich mal damit auseinandersetzen, wenn mich meine Freundin lässt :mrgreen:

und dann werde ich mit Banyon die Missionen testen ;)
Image
_____________________________________Wer mich trifft ist einfach besser ;)_____________________________________
User avatar
Cleaner
Posts: 1013
Joined: Mon 12. Nov 2007, 10:50

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by Cleaner »

Stoppelhopser wrote:Habe das WE frei und werde mich mal damit auseinandersetzen, wenn mich meine Freundin lässt :mrgreen:
Die Freundin hat immer Vorrang. Sonst ist es sehr bald die EX-Freundin ... ;)

Probiert ruhig ein bisschen im Editor rum. Macht ein paar einfache Sachen - nichts komplexes. Anregungen könnt ihr euch aus dem Guide holen. Baut einfach was mit Wegpunkten und Auslösern nach und schaut, ob es wie gewünscht funktioniert. Der Appetit kommt beim Essen ... ;)
User avatar
Stoppelhopser
Posts: 1114
Joined: Sun 23. Nov 2008, 12:17

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by Stoppelhopser »

Cleaner wrote:Sonst ist es sehr bald die EX-Freundin
Das würde sie nicht machen...dafür liebt sie mich zu sehr :D

Habe diese Woche sogar an unserer 3 1/2 jähriges gedacht und sie voll überrascht damit :) *strike* :D
Cleaner wrote:Der Appetit kommt beim Essen ... ;)
Dann hoffe ich demnächst ein schönes 3 Gänge Menue präsentieren zu können ;)
Image
_____________________________________Wer mich trifft ist einfach besser ;)_____________________________________
User avatar
Banyon
Posts: 430
Joined: Mon 26. Jan 2009, 18:33
Location: Berlin

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by Banyon »

Der Analogie folgend werde ich derjenige sein, der dann in der Klinik landet, um mir als Stoppels Versuchskaninchen den Magen auspumpen lassen zu müssen. :shock: ;)
Image
User avatar
Vater der Runen
Posts: 521
Joined: Fri 11. Apr 2008, 00:35
Location: Saarland

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by Vater der Runen »

Stoppelhopser wrote:Habe diese Woche sogar an unserer 3 1/2 jähriges gedacht und sie voll überrascht damit :) *strike* :D
Das halbjährige hab ich bis jetzt immer vergessen, das letzte sogar, obwohl wir da grad zusammen in Südfrankreich im Urlaub waren. :mrgreen:
User avatar
Stoppelhopser
Posts: 1114
Joined: Sun 23. Nov 2008, 12:17

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by Stoppelhopser »

Vater der Runen wrote:obwohl wir da grad zusammen in Südfrankreich im Urlaub waren. :mrgreen:
dann hattest du einen gewissen Vorteil :mrgreen:
Image
_____________________________________Wer mich trifft ist einfach besser ;)_____________________________________
User avatar
oconner
Posts: 1563
Joined: Mon 12. Nov 2007, 05:53
Location: München

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by oconner »

Ihr seid süß :D ohhhh jetzt sind wir schon 10 Stunden zusammen :o zack und Blumenstrauß
Schatzi jetzt sind es schon 20 ich habs auch nicht vergessen :mrgreen: Auto schenk :shock: Weiter so männers, dann bleiben Euch Eure auch erhalten. :lol:
Ähh, nicht vergessen alles nur Spaß :)
User avatar
Stoppelhopser
Posts: 1114
Joined: Sun 23. Nov 2008, 12:17

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by Stoppelhopser »

Oconner du hast vergessen...

ohhhh jetzt hatten wir heute schon 10 mal Sex...darauf gleich ein Nümmerchen :mrgreen:
Image
_____________________________________Wer mich trifft ist einfach besser ;)_____________________________________
User avatar
oconner
Posts: 1563
Joined: Mon 12. Nov 2007, 05:53
Location: München

Re: ARMA 2: Operation Arrowhead - Missionseditor

Post by oconner »

Stoppelhopser wrote:Oconner du hast vergessen...ohhhh jetzt hatten wir heute schon 10 mal Sex...darauf gleich ein Nümmerchen :mrgreen:
Was uns natürlich wieder zum Thema bringt, wo plazieren wir im Editor, von Arma, die Feldbetten :D wie gehtn das hier mit der sche.. :lol:
Post Reply