chromium Posted September 20, 2017 Posted September 20, 2017 Hi, I found a way to integrate DAWS weather into DAWS pacakge, that rely on DCS API. To trigger the miz file weather table edit, I use onMissionLoadBegin() callback, but sadly I got the edited file after the mission launch.. and this do not work. I might try to immediately reload the file right after the first load, but I think that is a very dirty workaround... do you know if there is a callback that could let me edit the file right before it's loaded? thanks. Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
HiJack Posted September 21, 2017 Posted September 21, 2017 Why not save it on the way out of the mission and ready for the next load? Many servers use the same mission over and over. Won't work for single player but there you have to create a "launch" application that edit the file before dcs.exe loads.
chromium Posted September 21, 2017 Author Posted September 21, 2017 Negative, I already got to load the very save mission with updated scenery situation anytime whitout external code in DAWS, any "n" hours (you will choose them in the options menù, min 2 max 24). Going to be released in the next update for 2.1.1... that will come once I solve this weather add-on. I want this auto-weather feature to work always if active, regardless of SP or MP mode: and I have all the code already working in updating weather. I only need to trigger the update event in the right moment. Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts