chromium Posted July 26, 2018 Share Posted July 26, 2018 Hello everyone. Given a mission loaded on a server, let's say "testmission.miz", I need to get this after "n" hour of execution: Step 1 - a custom mod edit "testmission.miz", change things and save as "testmission_edited.miz" Step 2 - server stops by custom hooks code; Step 3 - custom hooks code delete testmission.miz and rename testmission_edited.miz in testmission.miz Step 4 - custom hooks code load again "testmission.miz" (which has been edited) Well, DAWS provide step 1, other step are ok if: 1) I don't stop the server 2) I don't try to delete/overwrite/rename "testmission.miz" (cause it's used by DCS). If I stop the server, any reload thing makes DCS crash Do you know a way to perform those steps without external program, using DCS SSE & API lua code? thanks, it's important for future persistent server mod developement. 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. Link to comment Share on other sites More sharing options...
Recommended Posts