Jump to content

cfrag

Members
  • Posts

    3023
  • Joined

  • Last visited

  • Days Won

    1

Status Replies posted by cfrag

  1. A.F.

    A.F.    cfrag

    würde es dir etwas ausmachen, in deutsch zu schreiben?

    Es ist a)

    ich habe mal die Mission drangehängt. Ich habe noch wirklich keine Ahnung, aber vielleicht kannst Du mir Helfen.

    Ich würde gern mit der F 16 in die Zone "start" rollen, erst dann soll der Rauch erscheinen.

    Smoke.miz

    1. cfrag

      cfrag

      Sieht so aus - aber ich weiss ja nicht, was Du vorhattest 🙂 

       

    2. (See 4 other replies to this status update)

  2. A.F.

    A.F.    cfrag

    würde es dir etwas ausmachen, in deutsch zu schreiben?

    Es ist a)

    ich habe mal die Mission drangehängt. Ich habe noch wirklich keine Ahnung, aber vielleicht kannst Du mir Helfen.

    Ich würde gern mit der F 16 in die Zone "start" rollen, erst dann soll der Rauch erscheinen.

    Smoke.miz

    1. cfrag

      cfrag

      Hallo A.F.,

      DML funktioniert im Prinzip wie früher die Steckbaukästen (OK, die etwas erhabeneren mit Elektronik drin). Ein "Modul" wie 'Smoke" hat Funktionen, die aktiviert und de-aktiviert werden können. Bei den SmokeZones ist das der bunte Rauch.

      Doch wann wird der Rauch an- oder ausgeschaltet? Dann wenn ein Signal kommt. OK, was ist ein Signal (im Rahmen von DML)? Wenn ein 'Flag' den Wert wechselt (wenn Du noch nicht genau weisst, was Flags in DCS sind, dann musst Du das kurz nachlesen. Ist was ähnliches wie 'variablen' in Programmiersprachen, nur, dass sie nur ganze Zahlen enthalten können). 

      Aber wie weiss ein Modul, auf welches Flag es schauen soll, und nur dann reagieren soll, wenn genau dieses Flag den Wert wechselt? DAs wird in den attributsfeldern der Trigger zones vereinbart - da wo Du auch sagst, welche Farbe der Rauch hat. Bei den SmokeZones wird über das Attribut "startSmoke?" (achtung: das Fragezeichen gehört dazu) vereinbart, bei welchem Flag ein Wechsel des aktuellen Werten auf einen anderen Wert (es ist unerheblich, von wo nach wo der Wert wechselt  - da bei Missionsbeginn alle Flags auf den Wert 0 (Null) gesetzt werden, ist es fast immer ein wechsel von 0 auf irgend was anderes. DML reagiert normalerweise auf den Wertwechsel, nicht bestimmte Werte)

      Du hast bei einer der Trigger Zones bereits für startSmoke? den Flag"start" eingegeben.

      Das einzige, was Du jetzt noch machen musst, ist, dafür zu sorgen, dass der Wert von dem Flag mit Namen "start" (welches bei Missionbeginn von DCS auf '0' gesetzt wird) auf eineen anderen Wert geändert wird, damit der Rauch ausgelöst wird.

      Wie bekommst Du das hin? Am einfachsten, wenn Du einen Trigger baust, der als ACTION die Aktion "FLAG INCREASE" hat. Warum "increase"? Weil, egal, welcher Wert vorher da war, nach einem increase der Wert anders sein wird und DML auf Werteänderung reagiert.

      Und wann soll das ausgelöst werden? Wenn das Flugzeug in die Trigger Zone "Start the smoke" kommt. Dafür habe ich einen Trigger "starte den Rauch" gebaut. Er hat als condition "wenn ein Teil der Gruppe Luft-1 in der Zone "start the smoke" ist.

      Das ist eigentlich alles.

      "Aber", meinst Du jetzt, "als ich das versucht habe, da haben alle diese blöden smoker schon geraucht". Das ist richtig, denn Smoke Zones sind so voreingestellt, dass sie, ohne Deinen Gegenbefehl, sofort anfangen zu rauchen, wenn die Mission losgeht.

      Um das abzustellen, musst Du bei einer smokeZone noch ein zusätzliches attribut "paused" mit dem Wert "yes" oder "true" anhängen, das die Zone so konfiguriert, dass sie zu Anfang nicht raucht. Lässt du es weg, raucht es von Anfang an.

      Wenn Du jetzt die Mission laufen lässt, dann wird nur eine der Zonen anfangen zu rauchen, wenn du mit dem Vogel (ist nun eine Su-25T, kannst Du jederzeit auf eine Viper ändern) in die Zone kommst. Bei allen anderen fehlt noch ein Attribut, dass Du ergänzen must, als "Übung für den geneigten Studenten", sozusagen. Wenn das alles gut funktioniert, kannst Du noch die Farbe ändern.

      Und dann wäre es sicherlich von Vorteil, wenn noch einen Blick in das Manual wirfst. Das musst Du nicht durchlesen, aber ein Tipp ist, dass Du mal schaust, welche Demos (Du scheinst ja eine davon verwendet zu haben) für Dich interessant sind. Jede Demo hat ein eigenes Kapitel in dem Manual. Wenn Dir klar geworden ist, wie simpel eigentlich die Module gestrickt sind, schau mal in die Quick Ref, da wird für jedes Modul beschrieben, welches Attribut was steuert. Allzu kompliziert ist es nicht, aber zu Anfang sehr ungewohnt.

      Gruss,

      -ch

      Smoke.miz

    2. (See 4 other replies to this status update)

  3. Okay, dumb question I know...
    I have zero programming experience but would like to build missions. I downloaded the DML Zip file and documentation, but I can't find any instructions as to where or what directory I should unzip the file to. Should I just give up now before I get myself in trouble 😉 ?

    1. cfrag

      cfrag

      Hi Miccara,

         Thank you for your message. You can unzip DML to anywhere you like, I place it in a DML folder in my Missions directory. The reason that is so is because to use DML, you the mission designer decides what to add to your mission, there is no automation or mysterious files you need to change.

      I recommend that you unzip it somewhere, see if you deem it worth your while, and if you want to use it, move it to a location that makes sense to you.

      A word of caution: the manual in the „Doc“ directory may look intimidating. To get a headstart, look at the demos, and know that each and every demo that comes with DML has its own chapter that describes what‘s going on.

      And remember the main rule: using DML should be fun 🙂  

  4. One last thing. I am running the script and have the file in the hooks folder. I get the pope up that says that certain planes are blocked and some aren't but all are still flyable. I can still enter the client aircraft that are supposed to be blocked.

     

    1. cfrag

      cfrag

      Hi,

      it may be that the setup you are currently using requires a small adjustment. Can you tell me which scripts you installed where in order to get selective (by faction) slot blocking to run? SSB should be in /Hooks, ssbClient should be inside your mission. And you MUST run the mission as server, or it won't work. 

  5. Question about your modified SSB script. We run 4 servers off one machine and use the gui to run them. if i throw Ciribob script in the hooks folder is it gonna interfere with other servers? Alos what happens to client aircraft that are being piloted if the base they took off from are captured?

     

     

    1. cfrag

      cfrag

      Thank you for your message. SSB is only working on the server instance that is loading that /Hooks folder. It does not influence other servers, not even those that share the same /Hooks folders. All it does is control access to slots for the mission that runs in the mission instance on that server. SSB has no known side-effects on other servers, and (AFAIK) also comfortably coexists with 'slotblock.lua' used in the "Foothold" series.

      Please be aware of an important distinction that I probably have not made clear enough. ssbClient is not a modified SSB script, it's a separate script that is meant to be run inside a mission, and that interfaces with (i.e. requires) SSB running on the server. So to work, you need to install both: SSB in /Hooks, and ssbClient inside the mission that uses it

      So what happens to client aircraft whose originating base is being captured? Currently, the players find themselves booted from their aircraft. Depending on which version of ssbClient you are using (stand-alone or DML) there might be slight differences, but an overhaul of this somewhat silly behavior is only planned for the DML version

  6. Hi cfrag, I would like to know if it is possible to include in my created mission script(Lua) the RTB of an aircraft once the mission has reached a specific stage.

    Kind Regards

    foxit

    1. cfrag

      cfrag

      Hey foxit,

         thank you for your message. What is the exact question you are asking, and what have you tried already so we can build on that?

       

      Cheers,

      -ch

    2. (See 1 other reply to this status update)

  7. Hi,

    Here the link for the zip of the translated missions, but it is possible that some sentences are not translated.

    https://1drv.ms/u/s!AlGMbs83UEm4hY8w86gRBXVbG_1Pqg?e=7Wdd8J

    I will correct if there is any feedback.

    Merci 👍

    1. cfrag

      cfrag

      Thanks, I'll try and run it tonight

×
×
  • Create New...