vctpil Posted March 4, 2023 Posted March 4, 2023 Hi, I wanted to enhance a little bit a mission by using smoke marker on oil rig (see screenshot). Green, red and blue smoke are beautiful (), but the most realistic is the white smoke. I used this smoke because it's possilb eto set the altitude. So, is it possible to have black smoke for the marker? It should be better to use the fire and smoke effects, but the altitude cannot be set and the fire is to big for a oil rig. Thanks, vincent IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY
Dragon1-1 Posted March 4, 2023 Posted March 4, 2023 (edited) This really should be a separate torch effect. Although controllable black smoke would be handy, too. Edited March 4, 2023 by Dragon1-1
vctpil Posted March 4, 2023 Author Posted March 4, 2023 Agree, but adding a black smoke initially should be difficult. IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY
cfrag Posted March 4, 2023 Posted March 4, 2023 1 hour ago, vctpil said: I wanted to enhance a little bit a mission by using smoke marker on oil rig (see screenshot) Well, it may be a bit overkill, but with DML it's a matter of a few seconds. Add a trigger zone over the location that you want the smoke (with or without flame), add the 'smokeFX' and 'agl' attributes (height of the effect above ground level in meters), and you are done. If you don't want a flame, also add the flames=no attribute. I've attached a demo mission. Hope this helps, -ch big torch.miz 1
cfrag Posted March 4, 2023 Posted March 4, 2023 54 minutes ago, Elphaba said: set a 'smoke' no fire effect. I believe OP's issue was to place the affect at a point above ground level (an altitude), e.g. at the top of a chimney or drilling rig. AFAIK that's not currently possible with vanilla DCS.
TEMPEST.114 Posted March 4, 2023 Posted March 4, 2023 2 minutes ago, cfrag said: I believe OP's issue was to place the affect at a point above ground level (an altitude), e.g. at the top of a chimney or drilling rig. AFAIK that's not currently possible with vanilla DCS. Ah. didn't get that. Sorry.
vctpil Posted March 5, 2023 Author Posted March 5, 2023 Thanks for the .miz file. However, it seems that does not work with the Syria map. I even try a copy-paste of the trigger, but still nothing. IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY
cfrag Posted March 5, 2023 Posted March 5, 2023 1 hour ago, vctpil said: it seems that does not work with the Syria map I'm sure we can figure that out quickly - post the miz here or pm it to me and I'll see what went wrong
cfrag Posted March 5, 2023 Posted March 5, 2023 This may help you get started. The miz contains everything you need. To place smoke or flames to other locations in the same mission, simply copy and paste the trigger zones ("flame on top" or "smoke only"), nothing else required (to bring this ability to other missions, you need to copy the ON START trigger as well). And here's the miz for your tests. flames in the sand.miz 2
vctpil Posted March 5, 2023 Author Posted March 5, 2023 That's work great, thank you very much! IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY
cfrag Posted March 5, 2023 Posted March 5, 2023 (edited) It really is. Luckily, once you have put them in there, you never need to touch them again - everything in DML uses trigger zones with attributes that you can readily edit from within ME with the trigger zone editor (just click on the trigger zone). The easiest (and still annoying) way to get these scripts to your own mission is this: start a text editor (e.g. notepad -- I use notepad++) click in the text box of the first DOSCRIPT action of the MISSION START rule hit CTRL-A to select all text, CTRL-C to copy, click into text editor, hit CTRL-V to paste all text rinse and repeat for the other two DOSCRIPT actions. Make sure that you keep the order the same. Now, you can either choose to paste all three separate scripts into the same text document, or create three separate text documents. The important thing is that you get the text out of those text boxes so you don't have to rely on ME. Then open your target mission, create the MISSION START rule, and replicate the DOSCRIPT actions by pasting in the text from the text editor. If you have added all scripts to a single text document, you of course only need one DOSCRIPT action The reason that these scripts are separate in the miz I created is because I took them from a library of smaller scripts that can be put together much like LEGO bricks to build bigger functionality. Here, it's 'just' being able to easily place smoke and flames. But by keeping the modules separate, I don't have to add the full monty to a mission if I only need a small part. If you run into trouble with this, you can always ask here or PM me. Edited March 5, 2023 by cfrag
vctpil Posted March 5, 2023 Author Posted March 5, 2023 (edited) You are the best! I didn't know about CTRL-A. I saved the script text for futur. Have a great day, Vincent Edited March 5, 2023 by vctpil IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY
Recommended Posts