Jump to content

DAWS Save Mission


Recommended Posts

UPDATE:

beta version working with 1.5.7 can be downloaded here:

https://forums.eagle.ru/showpost.php?p=3063112&postcount=341

 

 

-------------------------------------------

 

 

Hello,

 

this mod's purpose is to be able to save the scenery in any moment into a new miz file that you can use to prepare the next mission.

 

Save Mission won't "freeze" the situation allowing you to resume the ongoing mission, but it will create a new mission file with ground groups having updated their units composition, position and situation. It will also create a dead static object for any unit that has been destroyed in the scenery, and update the scenery start date/hour, the warehouse contents and some other small things. You could also customize what can be kept in the saved file and what won't (See the manual for additional istructions). If you forgot to save the mission, DAWS Save Mission provide an autosave function that is left on by default.

 

Objective

This has been created for mission designer or mission planner, to allow them to easily create a sequential mission campaign. By design choice, air units won't be removed even if they were killed during the mission (but the dead static object will be created), cause mission designer could easily remove them if killed.

 

as for DAWS Weather and DAWS object persistence, this si going to be part of a bigger mod, which is slowly evolving trying to build some kind of dynamic campaign tool for multiplayer squadron use.

 

Installation

The attached Zip file is a JGSME compatible package, but as usual you could simply copy&paste the "DAWS Save Mission" folder content into your openbeta 1.5 main directory. Please check the manual in the "docs" subfolder for detailed information.

 

Please note that your main DCS directory (the one in "program files") must be allowed for modification by windows settings, else DAWS Save Mission won't be able to perform its work.

 

Usage

Once installed DAWS Save Mission will automatically generate the autosave file for each mission you will launch. To use the save mission manual command you need to use F10 radio menù, which in DCSW 1.5 is often available only inside the cockpit, or inside a vehicle, or in an external view.

 

Customization

Some parameters can be customized in the main lua file to better fit your needs. Those options are explained in the manual that you can find into the zip file.

 

Current version

Version 1.6.1 build 2221 for DCSW 1.5.5 stable

DAWS SaveMission manual.pdf


Edited by chromium
  • Like 2

ChromiumDis.png

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

  • Replies 442
  • Created
  • Last Reply

Top Posters In This Topic

Quick question. When trying to use this with your DAWS Dead objects persistence mod and installing using JGMSE which mod should I install first?

 

I'm getting this notice from JGMSE

 

"mist.lua" has already been altered by the "DAWS Save Mission" mod.

"MissionScripting.lua" has already been altered by the "DAWS Save Mission" mod.

 

If I install DAWS Save mission first and then install DAWS Dead objects then there is no F10 option.

 

 

Thanks Eric


Edited by eric963
new info
Link to comment
Share on other sites

One thing I have been hoping for is an 8 ship A-10C MP mission that could be hosted for an organized group for say 5 days, each day picking up where the previous day's progress left off rather than starting from the beginning each day. It would have to include a large number of tasking assignments that would stretch the span of the overall mission with each session lasting about 1 and 1/2 hours. This looks like the perfect tool to use to create it am I sure hoping that someone will whip up this mission idea soon. Ranger79? Wrecking Crew? Baltic Dragon? Let's get busy guys.:music_whistling:

Link to comment
Share on other sites

Quick question. When trying to use this with your DAWS Dead objects persistence mod and installing using JGMSE which mod should I install first?

 

I'm getting this notice from JGMSE

 

"mist.lua" has already been altered by the "DAWS Save Mission" mod.

"MissionScripting.lua" has already been altered by the "DAWS Save Mission" mod.

 

 

Thanks Eric

 

I don't if object persistence mod can be used in Openbeta 1.5, I didn't tried it yet :).

At the moment, only Save Mission and Weather are compatible in openbeta 1.5.

 

If you already had tried to use with success object persistence in 1.5, ok, I will look into this to undestand what should be installed first... but I believe that when compatible there won't be difference.

ChromiumDis.png

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

One thing I have been hoping for is an 8 ship A-10C MP mission that could be hosted for an organized group for say 5 days, each day picking up where the previous day's progress left off rather than starting from the beginning each day. It would have to include a large number of tasking assignments that would stretch the span of the overall mission with each session lasting about 1 and 1/2 hours. This looks like the perfect tool to use to create it am I sure hoping that someone will whip up this mission idea soon. Ranger79? Wrecking Crew? Baltic Dragon? Let's get busy guys.:music_whistling:

 

Those kind of thing are exactly why this tool has been prepared. But you will anyway require tons of skill (and time) for mission creation. I was working on a mission creation tool, that given a "zone", it will create a working AI flight with waypoint and tasking in the ME. It will need only coordinates and ranging. But I don't have much time now... I would love if someone could create that kind of tool.

ChromiumDis.png

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

Persistance is working but its using a strange file name.

 

that is because with 1.5 there were important changes to the mission file structure. I will try to update it as soon as I find time... to be exact, I would like to merge those two mod adding object persistence as an option of Save Mission (disabled by default).

ChromiumDis.png

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

Those kind of thing are exactly why this tool has been prepared. But you will anyway require tons of skill (and time) for mission creation. I was working on a mission creation tool, that given a "zone", it will create a working AI flight with waypoint and tasking in the ME. It will need only coordinates and ranging. But I don't have much time now... I would love if someone could create that kind of tool.

 

You migth have a look at the Dynamic Campaing for the Mig21 ( something, something.... Caucasus). It creates fligths to attack, and so on.... it could give you ideas.

Link to comment
Share on other sites

You migth have a look at the Dynamic Campaing for the Mig21 ( something, something.... Caucasus). It creates fligths to attack, and so on.... it could give you ideas.

 

I know it, and I use a similar way for that tool. I also wrote to Mbot some time ago. But I don't have that much time now, so I can't work on that for some time. I hope that someone else will made it.

ChromiumDis.png

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

Persistance is working but its using a strange file name.

 

I merged the mods, as described in the first post:

http://forums.eagle.ru/showpost.php?p=2514900&postcount=1

 

I still suggest to not use objects persistence unless necessary, but if you want it now you can. I hope that in the future I will be able to set a map object as dead, so that this feature could be fully implemented.:)

ChromiumDis.png

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

Hi Chromium, will this work with MIST 4.0? I notice you package a version of MIST with your mod and wondered if you are editing MIST.

 

Also, I'd be interested in what is wrong with Obj_Persistence as thats pretty handy to have working too - bridges and so on.

 

Also, is there any way to capture units waypoints as well as their location?

 

Lastly, sorry, is it possible that we can have the script without the menu items so we can just call it on a five minute timer with triggers (or maybe check which lines I can delete, my lua is non existent)

 

Thanks!

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Link to comment
Share on other sites

Hi Chromium, will this work with MIST 4.0? I notice you package a version of MIST with your mod and wondered if you are editing MIST.

 

Also, I'd be interested in what is wrong with Obj_Persistence as thats pretty handy to have working too - bridges and so on.

 

Also, is there any way to capture units waypoints as well as their location?

 

Lastly, sorry, is it possible that we can have the script without the menu items so we can just call it on a five minute timer with triggers (or maybe check which lines I can delete, my lua is non existent)

 

Thanks!

 

The mod include MIST 4.0.55 if I remember correctly. No modification to mist has been done. The script check if mist is already active in the mission: if not, it will load the local mist copy. If you use this mod and you're ok with MIST 4.0.55, you do not need to use mist. I will try to unchain the mod from mist, so that everyone can load it separately... but it's not that critical at the moment. If you run mist after the mission start, your version will overwrite this one and it should be ok.

 

There is a way to capture units waypoints but you have to be able to properly modify the script in lua. I can tell you where to put your hands to do that, but I can't guarantee that it's going to work properly. I don't have enough time now to modify the script making it a choosable option.

 

The autosave function is already there and it does not rely on trigger... it will simply save every 5 minutes overwriting the previous file. You can remove the menù item if you want, again by modify a simple line in the script. I have to check where the function is placed... I will answer here as soon as I can.

 

Obj Persistence isn't "wrong", but we actually can't access to the map objects as we do with static object. You can't set it as "dead", neither destroy them cause the function is bugged (note: destroy mean removing from the scenery leaving clean ground instead of the object).

 

So today Obj persistence rely on creating explosion at each mission start that will hit (kill, hopefully) any map object at exposions coordinates... which are collected during the previous mission. It's unreliable cause the coordinates are not stored in the mission file but in an external csv file, that recognize the correct mission only by sortie name. Also, hundreds of destroyed map object means hundreds of explosion at each mission start... and I don't think that performances are going to take this so well.

When proper tools will be available, I will try to integrate map objects destruction persistence in a more reliable solution.


Edited by chromium

ChromiumDis.png

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

Just ran you new merged version and noticed an issue with Object Persistence.

 

The first mission creates the csv file with the proper entries in it but when we run the next mission the test buildings that we destroyed are still intact and no explosions are seen.

 

If we end the second mission without destroying anything and view the csv file it is empty.

 

Thanks

Eric

Link to comment
Share on other sites

Just ran you new merged version and noticed an issue with Object Persistence.

 

The first mission creates the csv file with the proper entries in it but when we run the next mission the test buildings that we destroyed are still intact and no explosions are seen.

 

If we end the second mission without destroying anything and view the csv file it is empty.

 

Thanks

Eric

 

You're right. Yesterday evening during the merge action i tested if the "object:destroy()" function was still bugged, and it is... but i forgot to restore the destroying method in the LUA file.

 

Please download again now and it will be fixed.

ChromiumDis.png

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

This looks very promising, looking forward to test it.

 

And I'm looking forward to any feedback :)

ChromiumDis.png

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

No, but it should Correctly Save each trigger in the new mission file

ChromiumDis.png

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

  • Recently Browsing   0 members

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