Jump to content

Question regarding triggers for airspace


Recommended Posts

Posted

Hi!

Is anyone able to help me with the following problem:

I am trying to accomplish this: Around an airfield i want to set up a trigger zone that gives the group a message that it is entering that airfields airspace, and ask the group to increase the altitude. However, i also want to set up two entrypoints, from which the group can enter, where this condition does not appear, where they get the message welcome to XXXX approach, continue inbound. Idea will have to hav a bigger trigger zone around the airfield, and use airspace below 3000ft. and a smaller trigger zone for the entry point, with the same airspace.

 

Any ideas on how to accomplish this? and is it doable at all?

 

NECK

"When once you have tasted flight, you will forever walk the earth with your eyes

turned skyward for there you have been, and there you will always long to return"

Neck.png

132nd Public documents - Want to apply? - 132nd Youtube channel - 132nd Discord Channel

  • ED Team
Posted

I am guessing by using 2 different zones and units altitude

 

so in conditions on one trigger

 

unit in zone (airfield zone)

units altitude above (3000)

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal

  • ED Team
Posted

then set up 2 more zones within the larger zone

 

unit in zone (airfield zone)

unit in zone (airfield entry zone 1)

units altitude below (3000)

 

??

 

there is probably a better way of doing it, and guys with a lot more knowledge then me will help i am sure :)

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal

Posted (edited)

Just messed about with this idea. It's actually pretty complicated. In zone/out of zone and going back and forth is pretty easy, if you don't need anything else. However, you also need to check altitude while in that zone, so flags are necessary. Exactly how to frame the logic needed to check whether a given unit is in zone A and while in that zone if the unit's altitude is +/- a given altitude, started throwing me for a loop. Unless I missed it entirely, you can check for this OR that, but not this AND that. Plus, sending a warning to a specific unit I don't think is possible. You can check if a singe unit (ie, plane) is in the zone, but if that unit has a wingman that is no where near the zone, if the first unit is in zone and gets the warning, so will his wingman (group msg exists, unit msg doesn't)

 

I also had the idea of several small zones leading to/from runway, then one large zone centered over those. But again, the logic of checking in this zone ok, that zone bad, in both zones, you're ok, escaped me.

 

I'm sure it can be done, but it seems to be rather convoluted. Plus, you will be always checking every unit (all units you want to apply this to, anyway) for these conditions. For single player, it's not so bad, but I'd hate to have to set it up for multi-player scenerio.

 

Update: actually, it might not be too bad: set flag 1 true if below 3000ft. set flag 2 true if in zone (both of these can be switched). then check continuously: if flag 1 equals flag 2, then you're ok. if flag 2 is greater than flag 1 (ie in zone, not below 3000ft), then play message "get out".

 

I'm tired, time for bed. I'd like to actually work on this but need to get off computer now.

Edited by Evil.Bonsai
Posted

Let me rephrase( english is not my native language, so it might be the reason for the complexity)

I have set up a triggerzone around, lets say kobuleti, with radius 5 nm. I have set up trigger and conditions so each group entering the zone below 3000ft get a message asking them to climb above 3000 ft.

 

What I want to accomplish is to set up one designated entrypoint, so that each group that flys to the entrypoint will not get this message. This entrypoint can be on the edge of the already established triggerzone around kobuleti, or outside. Do i make myself more understood now?

"When once you have tasted flight, you will forever walk the earth with your eyes

turned skyward for there you have been, and there you will always long to return"

Neck.png

132nd Public documents - Want to apply? - 132nd Youtube channel - 132nd Discord Channel

Posted

Yes. set an 'entry zone'; now set a flag so that when a unit enter's THAT zone, the flag is switched ON.

 

if in larger zone (airspace), you need to 'verify' each units flag for that entry zone. If the unit passed through that zone, it's flag is on, thus it's ok to be in the larger zone. if a unit did not pass through that zone, it's flag will be off, such that when checked while in the large zone, it'll get the message to depart.

 

Then, once the unit leaves the larger zone, the entry flag is turned OFF and you can start the process all over.

Posted (edited)

You are going to have to set and clear flags to do that

 

CONTINUOUS -> Time Since Flag 1 is TRUE (300 secs) AND unit (pilotname) speed greater than 80 -> set flag 1 false

SWITCHED CONDITION -> unit in zone (small app zone) -> set flag 1 true AND grp message (pilotname) 'welcome to XXXX approach, continue inbound'

SWITCHED CONDITION -> unit in zone (airfield zone) AND unit alt < 3000 AND flag1 is false -> grp (pilotname) message 'climb above 3000ft'

 

Note aircraft only has 5 mins after entering approach zone in which to land (change 300 secs to higher value if req'd) after which the process is reset and if he is airborne (speed > 80), leaves zone and re-enters above 3000ft he will get correct message. Also once he takes off (speed >80) he'll get the message 'climb above 3000ft'

Edited by Druid_

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...