How Fluorescence Microscopy Works - what is brightfield microscopy
I can drop some of the features first to get use to the mission editor. Do you know of a good vid tutorial that explains it.
1920×1080 442 KB I would add a second action line (in the Action column) that has another bandit. (i.e. Bandit 1, Bandit 3)
Secondly, note the red arrow marked with the numer 2. This trigger will activate when the boolean for flag 2 reads “TRUE”. The first thing this trigger will do is turn the boolean for flag 2 back to FALSE. So if we ever turn flag 2 to TRUE again, the whole mechanism of this trigger will work again.
942×530 149 KB Getting started. I gave myself an F-15 with a full compliment of slammers. We’re going to hunt various Red aircraft that will spam randomly, although only one at a time, above the flat plains in the Mozdok area.
I am trying to build a number of different training missions for F15C (1.5xx ver) where the enemy will spawn at random altitudes and have random skill level
Thanks Sryan, Well I will admit, I am trying to learn the mission builder (and I do seem confused by that alone right now) but was hoping that perhaps these 3rd party tools, would make thinks more understandable.
as a bonus I am also showing how to tell the unit that when it reaches its final destination, return to the first waypoint, so it will circle the 4 waypoints indefinitely.
To begin with, notice the orange 1 and connected elements. Instead of using the Mission Start or Once types, we’re using the SWITCHED CONDITION type for the first time! This is a ‘reusable’ trigger, one that we can activate an indefinite amount of times, unlike the ONCE trigger wich as the name suggests, can be used only once, or the MISSION START wich only checks once during the mission start (note that if you DO use mission start, and add conditions that are NOT met right at the start, that trigger will NEVER fire! the trigger we made at mission start had no conditions, so it will always work).
If you want to show me, I am willing to learn. As I have gone through the documentation and perhaps I don’t understand the documentation the way it should be understood (or am missing a thought point or two)…and the documentation doesn’t provide feedback, which is what I need.
The DCS user manual covers the entire editor in about 167 pages. You can find it in C:\Program Files\Eagle Dynamics\DCS\Doc
Fortunatly in DCS, you do not need to define what sort of information is stored in the variable/flag. DCS ‘sorts it out himself’ when the information is requested somewhere else. So if I created another trigger that would ask “Is Flag 1 true or false?” DCS would figure it out and answer “Flag 1 is true”. If I asked DCS “what is the integer of flag 1?” DCS would answer “The integer is 1”.
Flags are basically the one, single most potent function of the entire editor. Flags are basically a poor man’s version of what would be called variables in other languages of code. Basically, you can store information inside a flag/variable, and allow the code, or in this case, the sim, to act on it. In the most common languages of code, you can store three types of information in a variable.
This is so that I can learn using the missile and radar system without being overwhelmed and develop some skill in searching so that I don’t always know where they will be on what altitude.
Otherwise some other mission designers here on Mudspike may be able to help you as well in the meantime. Maybe @WreckingCrew or @near_blind par example, if they have the time for it.
So, our mission is complete. It will spawn one random enemy for you to kill. But wouldn’t it be cool that the sim observed your behaviour, and after you killed one, it will spawn someone else for you to kill? Let’s try to do just that. A fairly easy and visual way to accomplish that is by using a trigger zone. An area for DCS to check for bad guys. First, find the trigger zone functionality on the left side of the editor.
the PDF is called DCS User Manual. Another good source of documentation on the editor is the Hoggit Wiki. Clicking this will take you right to the mission editor part of the wiki.
All aircraft in each scenario would spawn in a certain area and random altitudes (between 2,000 to 30,000 ft) and have a random skill level. (easiest to medium only on some levels) or (Medium to excellent on other missions)
I have done some searches and saw how to create some random events, but not this specific type of spawning. Most vids I see with triggers are placement of vehicles, but not enemy AC.
Let’s place it somewhere, make it big enough for the enemies to spawn inside of it. Give it a name so you know what it means. You can give it a color if you want.
I created a new trigger, using the pretty cool TIME SINCE FLAG function I talked about. Remember that beforehand, I made a trigger that when the mission starts, flag 1 will get a value of 1. This new trigger I made will look for that flag 1 to become true, then wait 5 seconds and then proceed to turn flag 2 true as well. In normal English: I told the sim to start the game, then wait 5 seconds before proceeding with anything else, I made this as sort of a contigency, making sure everything is loaded in before Continuing.
I would like to first limit the type of aircraft that is spawned in a random event where it is a non-combat A/C such as the AN-26, AN-30, A-50, etc etc
In this image, I added a bandit candid. There are two important things to note here. The red arrow points towards the unit’s name. This is the name for this unit in the mission editor, and you can refer to it later. So name it something so you know what it is! The green arrow point towards a function called ‘late activation’. This means that this unit won’t exist in the actual sim until I tell the sim it’s time for this unit to spawn, using the trigger system.
Behold my contigency system, and allow me to explain. The respawn system is not really a respawn system, because you can’t really make units respawn without resorting to scripts (this is where those tools come in handy, IMO MiST is great at doing proper respawns). It simply selects another random bandit to spawn in. This means that after the first bandit, there’s a 10% chance an integer is chosen that is already ‘spent’. And after the 2nd enemy, a 20% chance and so on. This contigency is to make sure that even if an integer is chosen that will not work, the system will ‘cycle’ again to make sure a new integer is chosen until a new bandit does really show up.
But… we wanted our enemy in a random position at a random altitude right? Like I said before we cannot TRULY do that, but we can emulate it close enough for all purposes. Simply click on the Candid, and copy-paste it around for a bit. (Use CTRL-C to copy, CTRL-V to paste) Make sure to give them all a unique name (I named mine bandit01, bandit02, bandit03 etc) and let’s give them unique routes and altitudes. It may look a little like this. For the example I added 10 possible enemies, but there is no real limit on how many you can add.
The respawn system will work with either of these systems, and select two new integers for spawns. But the system won’t keep cycling until 2 aircraft have spawned. If there is just 1 plane in the area, the system is currently happy. There’s also ofcourse a 1 in 10 chance that the chosen integers are duplicates. If you want to make sure the respawn system keeps cycling until 2 aircraft are flying, we’ll have to modify it, probably using something like the handy [OR] function. If you want to, I’ll be happy to show you just like I did last time, sometime late tomorrow evening (Central european time) when I have acces to my simming computer again.
942×530 118 KB My very first action in the editor. I opened the trigger menu. I added a trigger that will fire right away as the mission starts. This trigger will turn flag 1 to a value of 1 (the function of FLAG ON)
Hi Sryan, I am able to duplicate what you have shown. (will use it as a go to guide for future missions. I think I better understand it, but it is still swirling around in my brain.
You could design a mission as you describe with only the editor if you’d be willing to drop a few features as random skill level, and changing from trully random altitude to a number of presets.
To what level do you already understand the mission editor? Are you still trying to learn the editor or is this just some MOOSE specific thing? IMO, as great as tools as MOOSE and MiST are, I’d think its best to learn with the editor just as it is, before adding advanced features with those 3rd party tools.
In DCS, there are 3 major ways to interact with a flag if you consider it a Boolean (true or false) via conditions (the 2nd row in the image)
There might be several ways to go at it, but this is the way I made it. Once the slumber time is over. This trigger will start checking if any RED unit is inside the trigger zone. If there is, it will wait. Once that unit is gone because it left the area or you killed it, it will fire flag 2 again, restarting the spawn system we created before! A new random integer is chosen for Flag 3, and a new enemy will appear Flag 11 will fire my contigency system.
Lastly, lets look at the juicy stuff for this trigger. The green arrow, marked with the number 3. What this does is give Flag 3 a random integer, that integer should be within the values of 1 and 10. See where this is going?
That looks like a lot of opponents right? But remember that we told the sim about ‘late activation’? If we start up the sim now, not a single enemy will appear, at all, ever. It’s time for us to dive back into the trigger system. This is the first ‘multi-pronged’ step we’re making, requiring several steps to get the sim to do what we want! Hopefully you can keep track.
Note that there is a handy CLONE function. Simply press the clone button with the correct trigger selected, then increment all the values marked by a red arrow by one. Now the trigger we created 2 images back can choose any random integer between 1 and 10, and the trigger system will spawn a random enemy for us based on that!
There are multiple roads that lead to Rome! But this should work. Actions in the trigger list are performed from the top down. So after one random integer is assigned and the corresponding unit spawned, it should immediatly assign a new integer, spawning another bandit. It might be worth testing to see if it works though, because that is a lot of actions in a short space of time, and DCS might skip some. To be on the safe side of things, you could also simply clone this entire trigger as is, and change the FLAG IS TRUE condition to TIME SINCE FLAG and make it wait 1 second after the flag turns true. On the first trigger (the one that simply has FLAG IS TRUE) remove the FLAG OFF action.
Most of the functions that consider a flag an integer are fairly self explanatory ( FLAG EQUALS, FLAG EQUALS FLAG, FLAG IS MORE, FLAG IS LESS, etc)
If I then continue as you have indicated and use the clone function in the Type column for as many times I want to repeat this, and add other bandit parings (I.e. Bandit 2, Bandit 5 - Bandit 3, Bandit 8 - Bandit 1, Bandit 9, etc. etc) I want to appear in the Action column it would give me at two bandits at a time.
We have created a new ONCE trigger.First, look at the conditions. If the integer of flag 3 equals to 1. Then the first Candid will be spawned in, the one flying at angels 15.
I have been going through the ones made by ranger79. but he concentrates on ground units and the A10 Do you know of a good vid tutorial that explains this stuff in a more layman terms.
There are two good habits I am hoping to teach you by showing you this. Flag 1 was the mission start flag. By telling it to wait 20 seconds after that flag activates, we’re pretty much tell it to slumber for some time until the normal spawn mechanism is done. Otherwise it might spawn one via the regular system, and one via the respawn system. The second habit is, I am Continuing using flag 10. Why flag 10 and not flag 4? No reason… Other than that the flag system has to make sense to only one person… YOU! the mission designer. Imagine if we wanted to add fighter escorts like you described later, would it not be nice if we could use sensible flags like 4,5,6 and 7 instead of having whatever flags come after the respawn systems we’re creating now?
I am trying to understand this Moose system, but I am getting very confused with the script language. I can’t figure out how to use the DCS trigger functions (as the drop downs don’t seem to accommodate this - as I understand them).