Voodooflies Posted February 2, 2016 Posted February 2, 2016 (edited) Hello people ! Well I suppose this got asked many times, but I got submerged with all these precious informations out here. So first of all, I've just begin to spend some time in DCS editor, I got mission project on NTTR on which I've recorded ATIS, and ATC radio messages during all flight phases whiches involve taxi, take-off, departure, arrival, landing and taxi once again. All I've done is quite "system D", it's all about trigger zones in which a "part of the X group" needs to be "in", then the message is displayed and the sound is played. However, it is played only ONCE, since REPEATABLE just flood everything in sparse seconds. So I would like this sound to be able to be played multiple times, (for circuit training for instance), since the ATC of DCS is pretty crappy, I thought that would be a better idea to make my own one, of course my sounds are subject to change. It would be even more realistic if I'll get voice actors acting as ATIS/ground/tower/departure/approach controllers. I've heard about "flags/markers" things, but I've no idea how to set all this up. Thank you ! Edited February 3, 2016 by Sacha [sIGPIC][/sIGPIC]
Voodooflies Posted February 2, 2016 Author Posted February 2, 2016 (edited) Alright problem solved at 90% using CONDITION CHANGE triggers on all my ATC triggers instead of trying with ONCE, however I don't find a way to play the ATIS as soon as you get into the cockpit (it only works once using ONCE trigger), it doesn't work on CONDITION CHANGE one, I guess it makes sense. So the idea is as follows: everytime someone takes a new aircraft, I want the ATIS to be shown as message within' 10 seconds (+ sound file) for each group or for each member of Dodge Flight/Hawg Flight group. Then if you get killed, once you respawned, I want the ATIS to be played again. Any hint ? Edited February 3, 2016 by Sacha [sIGPIC][/sIGPIC]
Winston60 Posted February 3, 2016 Posted February 3, 2016 In your triggers list use "switched condition" instead of "once".
Voodooflies Posted February 3, 2016 Author Posted February 3, 2016 In your triggers list use "switched condition" instead of "once". Yep it worked, for all the triggers except the ATIS one which is right on top of aircrafts location once you spawned. The game doesn't consider this as a condition change so the trigger doesn't work using "SWITCHED CONDITION", it does only work using "ONCE", but of course it does work only one time. I want the ATIS to be repeatable every time someone spawns. Does it makes sense ? :smartass: [sIGPIC][/sIGPIC]
feefifofum Posted February 4, 2016 Posted February 4, 2016 Rather than using a trigger zone to detect when a friendly has spawned in, UNIT ALIVE may work better...try this: 1 SWITCHED CONDITION (player spawn 1, NO EVENT) UNIT ALIVE (player 1) MESSAGE TO GROUP (player 1, "blahblahblah", 10) THE GEORGIAN WAR - OFFICIAL F-15C DLC
Voodooflies Posted February 5, 2016 Author Posted February 5, 2016 Rather than using a trigger zone to detect when a friendly has spawned in, UNIT ALIVE may work better...try this: 1 SWITCHED CONDITION (player spawn 1, NO EVENT) UNIT ALIVE (player 1) MESSAGE TO GROUP (player 1, "blahblahblah", 10) Message works, but only once. Picking back the player 1 slot after being spectator = no message is shown. [sIGPIC][/sIGPIC]
Winston60 Posted February 5, 2016 Posted February 5, 2016 (edited) Sacha, are all players spawning in at the same airbase? Edited February 5, 2016 by Winston60
Wrecking Crew Posted February 5, 2016 Posted February 5, 2016 For Client detection in multiplayer I use Switched Condition Unit Alive (can also use Group Alive for a single unit Client a/c group) to set a flag, and also a Switched Condition Unit Dead with Conditions Unit Alive Flag is True and Time More than say 10 seconds. When Unit Dead is true I turn off the flag set by Unit Alive. That way the flag will cycle again when the Client comes back in. Of course, you have to set this up for every Client a/c. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Voodooflies Posted February 8, 2016 Author Posted February 8, 2016 (edited) I was not home guys for the past few days, so apologize if I'm quite late on the reply. Sacha, are all players spawning in at the same airbase? Yes sir ! For Client detection in multiplayer I use Switched Condition Unit Alive (can also use Group Alive for a single unit Client a/c group) to set a flag, and also a Switched Condition Unit Dead with Conditions Unit Alive Flag is True and Time More than say 10 seconds. When Unit Dead is true I turn off the flag set by Unit Alive. That way the flag will cycle again when the Client comes back in. Of course, you have to set this up for every Client a/c. WC I'll take a look mate, thanks for your help. Edited February 8, 2016 by Sacha [sIGPIC][/sIGPIC]
Winston60 Posted February 8, 2016 Posted February 8, 2016 (edited) If all players are spawning at the same airbase try this: You'll may have to limit each plane group to just one pilot/unit (client). Create a trigger zone that just covers the entire airbase, call it Trigger Zone 1. Set up your trigger like this: Type: Switched condition Condition: Unit inside zone (pilot #001, trigger zone 1) and so on for each pilot. Action: Sound to coalition (red or blue) or Message to coalition (red or blue. Should work, each time a player spawns into his cockpit, he will see or hear the message. If he dies and selects a plane again it will work again. If a player comes in late it will work. Let me know how this works in your case. Edited February 8, 2016 by Winston60
Voodooflies Posted February 9, 2016 Author Posted February 9, 2016 If all players are spawning at the same airbase try this: You'll may have to limit each plane group to just one pilot/unit (client). Create a trigger zone that just covers the entire airbase, call it Trigger Zone 1. Set up your trigger like this: Type: Switched condition Condition: Unit inside zone (pilot #001, trigger zone 1) and so on for each pilot. Action: Sound to coalition (red or blue) or Message to coalition (red or blue. Should work, each time a player spawns into his cockpit, he will see or hear the message. If he dies and selects a plane again it will work again. If a player comes in late it will work. Let me know how this works in your case. It works mate ! Thank you ! I believe there is no way to play a message/radio sound for a specific client which is within' a group. That's why you suggested me to make multiple groups made of single client right ? Due to the architecture of my mission it's gonna be quite a huge work to specify each flight phases for each client, so... at this point, what I'm thinking is giving you guys my mission, maybe you could improve it using my work since I don't have enough free time in my life to finnish it, you guys may have better ideas than me aswell. My template at Nellis might not be realistic enough, you guys can work on that using pictures as references, beware of the FPS on low specs computers though. When I firstly made this mission, I basically wanted to simulate a realistic ATC environnement for all flights during an operation since the current ATC is just a joke. I tried to recreate a realistic enemy FOB crafted all by hand (Ranger 79 Pack is needed to view some of my mission units which are objects in fact). At some point I was looking for some voice actors who could simulate other controllers, currently I made all controllers using my voice, so the result is less immersive. If you wanna use the same radio effects than I do, also, feel free to send me your .ogg voice files. As I said I don't have the time to make a full mission, which is realistic, has a nice content and a sweet storyline. For now, this work in progress mission includes: * Custom ATC voices using real world procedures. * Dynamic MEDEVAC missions on random locations. * Handcrafted enemy FOB. * Random infantries ambushes targetting ground forces (CA JTAC) on their way to the AO. Known bug: * ATC Take-off triggers needs a rework to avoid being initialized during touch'n'goes. * Tanker may have some weird departures on multiplayer session.EC 25 - Operation Linebacker.miz [sIGPIC][/sIGPIC]
Winston60 Posted February 10, 2016 Posted February 10, 2016 Yes, it would be great to have the action trigger: Sound to unit I think I'll go to the wishing well and ask for it!
Voodooflies Posted February 10, 2016 Author Posted February 10, 2016 Yes, it would be great to have the action trigger: Sound to unit I think I'll go to the wishing well and ask for it! Agree ! ED messed up on that one... Here's the link to download "Ranger79's pack" for those who which to edit my mission. http://forums.eagle.ru/showthread.php?t=121620 [sIGPIC][/sIGPIC]
Winston60 Posted February 11, 2016 Posted February 11, 2016 Sacha, If you don't mind making extra triggers you could use "Sound to group". Since there's only one plane in each group the sound would play for only the player spawning in and not keep playing again to everyone in the coalition that's already in the mission.
Voodooflies Posted February 11, 2016 Author Posted February 11, 2016 Sacha, If you don't mind making extra triggers you could use "Sound to group". Since there's only one plane in each group the sound would play for only the player spawning in and not keep playing again to everyone in the coalition that's already in the mission. Feel free to edit my mission mate. My mission didn't involve a group made of a single aircraft, there is a total of 4 flights, so I would have to change this and basically edit everything else regarding triggers and stuff; I don't have the time anymore. So, if you think this mission is valuable on some points feel free to edit it as your taste. [sIGPIC][/sIGPIC]
Voodooflies Posted February 22, 2016 Author Posted February 22, 2016 (edited) Hello guys, I finally found some time to edit my mission this weekend, if you guys wanna be part of the project, feel free to send me a private message with your ideas and what you're up to and I'll send you the updated version of my mission. Upgrades as follow: *Fixed ATC Takeoff trigger for Dodge and Hawg Flight *Added JTAC script for M2K CAS objective *Added random A2A threats *Added S3B Viking (Arco) for M2K AAR operation *Changed location of tankers (Arco & Shell) to Elgin area *Added AFB Nellis airborne and ground ambience for the sake of immersion *Changed CA JTAC (Playboy - requires a player) ambush location *Changed Chevy Flight flight plan. *Added new target area (which is upon creation) located at Hiko. *Changed mission briefing I'm currently looking for: - Voice actors (for ATIS/TWR/GND/DEP/APP/Command) - Any ideas regarding storyline - Additionnal mission makers Edited February 22, 2016 by Sacha [sIGPIC][/sIGPIC]
Recommended Posts